pulumi-alicloud 3.62.1a1726481120__py3-none-any.whl → 3.63.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.
- pulumi_alicloud/__init__.py +24 -0
- pulumi_alicloud/alb/acl.py +18 -19
- pulumi_alicloud/alb/health_check_template.py +96 -88
- pulumi_alicloud/cms/_inputs.py +6 -6
- pulumi_alicloud/cms/outputs.py +6 -6
- pulumi_alicloud/ddos/_inputs.py +8 -9
- pulumi_alicloud/ddos/domain_resource.py +446 -90
- pulumi_alicloud/ddos/outputs.py +7 -8
- pulumi_alicloud/eci/container_group.py +47 -0
- pulumi_alicloud/ecs/ecs_snapshot.py +199 -77
- pulumi_alicloud/ecs/snapshot.py +26 -8
- pulumi_alicloud/ess/__init__.py +1 -0
- pulumi_alicloud/ess/alarm.py +47 -0
- pulumi_alicloud/ess/server_group_attachment.py +552 -0
- pulumi_alicloud/ga/_inputs.py +23 -5
- pulumi_alicloud/ga/outputs.py +21 -5
- pulumi_alicloud/governance/account.py +61 -0
- pulumi_alicloud/gpdb/__init__.py +4 -0
- pulumi_alicloud/gpdb/_inputs.py +361 -3
- pulumi_alicloud/gpdb/db_instance_ip_array.py +533 -0
- pulumi_alicloud/gpdb/get_data_backups.py +288 -0
- pulumi_alicloud/gpdb/get_log_backups.py +225 -0
- pulumi_alicloud/gpdb/instance.py +47 -0
- pulumi_alicloud/gpdb/outputs.py +597 -4
- pulumi_alicloud/gpdb/streaming_job.py +1568 -0
- pulumi_alicloud/nlb/load_balancer.py +116 -0
- pulumi_alicloud/oos/get_secret_parameters.py +111 -9
- pulumi_alicloud/oos/outputs.py +22 -11
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_account_alias.py +35 -2
- pulumi_alicloud/rds/instance.py +21 -21
- pulumi_alicloud/rocketmq/_inputs.py +79 -22
- pulumi_alicloud/rocketmq/outputs.py +85 -21
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +307 -113
- pulumi_alicloud/vpc/peer_connection.py +127 -59
- pulumi_alicloud/vpc/peer_connection_accepter.py +263 -42
- pulumi_alicloud/vpc/route_entry.py +232 -210
- {pulumi_alicloud-3.62.1a1726481120.dist-info → pulumi_alicloud-3.63.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.62.1a1726481120.dist-info → pulumi_alicloud-3.63.0.dist-info}/RECORD +41 -36
- {pulumi_alicloud-3.62.1a1726481120.dist-info → pulumi_alicloud-3.63.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.62.1a1726481120.dist-info → pulumi_alicloud-3.63.0.dist-info}/top_level.txt +0 -0
|
@@ -767,6 +767,64 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
767
767
|
])
|
|
768
768
|
```
|
|
769
769
|
|
|
770
|
+
DualStack Usage
|
|
771
|
+
|
|
772
|
+
```python
|
|
773
|
+
import pulumi
|
|
774
|
+
import pulumi_alicloud as alicloud
|
|
775
|
+
|
|
776
|
+
config = pulumi.Config()
|
|
777
|
+
name = config.get("name")
|
|
778
|
+
if name is None:
|
|
779
|
+
name = "tf-example"
|
|
780
|
+
zone = config.get_object("zone")
|
|
781
|
+
if zone is None:
|
|
782
|
+
zone = [
|
|
783
|
+
"cn-beijing-i",
|
|
784
|
+
"cn-beijing-k",
|
|
785
|
+
"cn-beijing-l",
|
|
786
|
+
]
|
|
787
|
+
vpc = alicloud.vpc.Network("vpc",
|
|
788
|
+
vpc_name=name,
|
|
789
|
+
cidr_block="10.2.0.0/16",
|
|
790
|
+
enable_ipv6=True)
|
|
791
|
+
vsw = []
|
|
792
|
+
for range in [{"value": i} for i in range(0, 2)]:
|
|
793
|
+
vsw.append(alicloud.vpc.Switch(f"vsw-{range['value']}",
|
|
794
|
+
enable_ipv6=True,
|
|
795
|
+
ipv6_cidr_block_mask=f"1{range['value']}",
|
|
796
|
+
vswitch_name=f"vsw-{range['value']}-for-nlb",
|
|
797
|
+
vpc_id=vpc.id,
|
|
798
|
+
cidr_block=f"10.2.1{range['value']}.0/24",
|
|
799
|
+
zone_id=zone[range["value"]]))
|
|
800
|
+
default = alicloud.vpc.Ipv6Gateway("default",
|
|
801
|
+
ipv6_gateway_name=name,
|
|
802
|
+
vpc_id=vpc.id)
|
|
803
|
+
nlb = alicloud.nlb.LoadBalancer("nlb",
|
|
804
|
+
load_balancer_name=name,
|
|
805
|
+
load_balancer_type="Network",
|
|
806
|
+
address_type="Intranet",
|
|
807
|
+
address_ip_version="DualStack",
|
|
808
|
+
ipv6_address_type="Internet",
|
|
809
|
+
vpc_id=vpc.id,
|
|
810
|
+
cross_zone_enabled=False,
|
|
811
|
+
tags={
|
|
812
|
+
"Created": "TF",
|
|
813
|
+
"For": "example",
|
|
814
|
+
},
|
|
815
|
+
zone_mappings=[
|
|
816
|
+
{
|
|
817
|
+
"vswitch_id": vsw[0].id,
|
|
818
|
+
"zone_id": zone[0],
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"vswitch_id": vsw[1].id,
|
|
822
|
+
"zone_id": zone[1],
|
|
823
|
+
},
|
|
824
|
+
],
|
|
825
|
+
opts = pulumi.ResourceOptions(depends_on=[default]))
|
|
826
|
+
```
|
|
827
|
+
|
|
770
828
|
## Import
|
|
771
829
|
|
|
772
830
|
NLB Load Balancer can be imported using the id, e.g.
|
|
@@ -868,6 +926,64 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
868
926
|
])
|
|
869
927
|
```
|
|
870
928
|
|
|
929
|
+
DualStack Usage
|
|
930
|
+
|
|
931
|
+
```python
|
|
932
|
+
import pulumi
|
|
933
|
+
import pulumi_alicloud as alicloud
|
|
934
|
+
|
|
935
|
+
config = pulumi.Config()
|
|
936
|
+
name = config.get("name")
|
|
937
|
+
if name is None:
|
|
938
|
+
name = "tf-example"
|
|
939
|
+
zone = config.get_object("zone")
|
|
940
|
+
if zone is None:
|
|
941
|
+
zone = [
|
|
942
|
+
"cn-beijing-i",
|
|
943
|
+
"cn-beijing-k",
|
|
944
|
+
"cn-beijing-l",
|
|
945
|
+
]
|
|
946
|
+
vpc = alicloud.vpc.Network("vpc",
|
|
947
|
+
vpc_name=name,
|
|
948
|
+
cidr_block="10.2.0.0/16",
|
|
949
|
+
enable_ipv6=True)
|
|
950
|
+
vsw = []
|
|
951
|
+
for range in [{"value": i} for i in range(0, 2)]:
|
|
952
|
+
vsw.append(alicloud.vpc.Switch(f"vsw-{range['value']}",
|
|
953
|
+
enable_ipv6=True,
|
|
954
|
+
ipv6_cidr_block_mask=f"1{range['value']}",
|
|
955
|
+
vswitch_name=f"vsw-{range['value']}-for-nlb",
|
|
956
|
+
vpc_id=vpc.id,
|
|
957
|
+
cidr_block=f"10.2.1{range['value']}.0/24",
|
|
958
|
+
zone_id=zone[range["value"]]))
|
|
959
|
+
default = alicloud.vpc.Ipv6Gateway("default",
|
|
960
|
+
ipv6_gateway_name=name,
|
|
961
|
+
vpc_id=vpc.id)
|
|
962
|
+
nlb = alicloud.nlb.LoadBalancer("nlb",
|
|
963
|
+
load_balancer_name=name,
|
|
964
|
+
load_balancer_type="Network",
|
|
965
|
+
address_type="Intranet",
|
|
966
|
+
address_ip_version="DualStack",
|
|
967
|
+
ipv6_address_type="Internet",
|
|
968
|
+
vpc_id=vpc.id,
|
|
969
|
+
cross_zone_enabled=False,
|
|
970
|
+
tags={
|
|
971
|
+
"Created": "TF",
|
|
972
|
+
"For": "example",
|
|
973
|
+
},
|
|
974
|
+
zone_mappings=[
|
|
975
|
+
{
|
|
976
|
+
"vswitch_id": vsw[0].id,
|
|
977
|
+
"zone_id": zone[0],
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"vswitch_id": vsw[1].id,
|
|
981
|
+
"zone_id": zone[1],
|
|
982
|
+
},
|
|
983
|
+
],
|
|
984
|
+
opts = pulumi.ResourceOptions(depends_on=[default]))
|
|
985
|
+
```
|
|
986
|
+
|
|
871
987
|
## Import
|
|
872
988
|
|
|
873
989
|
NLB Load Balancer can be imported using the id, e.g.
|
|
@@ -22,7 +22,7 @@ class GetSecretParametersResult:
|
|
|
22
22
|
"""
|
|
23
23
|
A collection of values returned by getSecretParameters.
|
|
24
24
|
"""
|
|
25
|
-
def __init__(__self__, enable_details=None, id=None, ids=None, name_regex=None, names=None, output_file=None, parameters=None, resource_group_id=None, secret_parameter_name=None, sort_field=None, sort_order=None, tags=None):
|
|
25
|
+
def __init__(__self__, enable_details=None, id=None, ids=None, name_regex=None, names=None, output_file=None, parameters=None, resource_group_id=None, secret_parameter_name=None, sort_field=None, sort_order=None, tags=None, with_decryption=None):
|
|
26
26
|
if enable_details and not isinstance(enable_details, bool):
|
|
27
27
|
raise TypeError("Expected argument 'enable_details' to be a bool")
|
|
28
28
|
pulumi.set(__self__, "enable_details", enable_details)
|
|
@@ -59,6 +59,9 @@ class GetSecretParametersResult:
|
|
|
59
59
|
if tags and not isinstance(tags, dict):
|
|
60
60
|
raise TypeError("Expected argument 'tags' to be a dict")
|
|
61
61
|
pulumi.set(__self__, "tags", tags)
|
|
62
|
+
if with_decryption and not isinstance(with_decryption, bool):
|
|
63
|
+
raise TypeError("Expected argument 'with_decryption' to be a bool")
|
|
64
|
+
pulumi.set(__self__, "with_decryption", with_decryption)
|
|
62
65
|
|
|
63
66
|
@property
|
|
64
67
|
@pulumi.getter(name="enableDetails")
|
|
@@ -86,6 +89,9 @@ class GetSecretParametersResult:
|
|
|
86
89
|
@property
|
|
87
90
|
@pulumi.getter
|
|
88
91
|
def names(self) -> Sequence[str]:
|
|
92
|
+
"""
|
|
93
|
+
A list of Secret Parameter names.
|
|
94
|
+
"""
|
|
89
95
|
return pulumi.get(self, "names")
|
|
90
96
|
|
|
91
97
|
@property
|
|
@@ -96,16 +102,25 @@ class GetSecretParametersResult:
|
|
|
96
102
|
@property
|
|
97
103
|
@pulumi.getter
|
|
98
104
|
def parameters(self) -> Sequence['outputs.GetSecretParametersParameterResult']:
|
|
105
|
+
"""
|
|
106
|
+
A list of Oos Secret Parameters. Each element contains the following attributes:
|
|
107
|
+
"""
|
|
99
108
|
return pulumi.get(self, "parameters")
|
|
100
109
|
|
|
101
110
|
@property
|
|
102
111
|
@pulumi.getter(name="resourceGroupId")
|
|
103
112
|
def resource_group_id(self) -> Optional[str]:
|
|
113
|
+
"""
|
|
114
|
+
The ID of the Resource Group.
|
|
115
|
+
"""
|
|
104
116
|
return pulumi.get(self, "resource_group_id")
|
|
105
117
|
|
|
106
118
|
@property
|
|
107
119
|
@pulumi.getter(name="secretParameterName")
|
|
108
120
|
def secret_parameter_name(self) -> Optional[str]:
|
|
121
|
+
"""
|
|
122
|
+
The name of the encryption parameter.
|
|
123
|
+
"""
|
|
109
124
|
return pulumi.get(self, "secret_parameter_name")
|
|
110
125
|
|
|
111
126
|
@property
|
|
@@ -121,8 +136,16 @@ class GetSecretParametersResult:
|
|
|
121
136
|
@property
|
|
122
137
|
@pulumi.getter
|
|
123
138
|
def tags(self) -> Optional[Mapping[str, str]]:
|
|
139
|
+
"""
|
|
140
|
+
The tags of the parameter.
|
|
141
|
+
"""
|
|
124
142
|
return pulumi.get(self, "tags")
|
|
125
143
|
|
|
144
|
+
@property
|
|
145
|
+
@pulumi.getter(name="withDecryption")
|
|
146
|
+
def with_decryption(self) -> Optional[bool]:
|
|
147
|
+
return pulumi.get(self, "with_decryption")
|
|
148
|
+
|
|
126
149
|
|
|
127
150
|
class AwaitableGetSecretParametersResult(GetSecretParametersResult):
|
|
128
151
|
# pylint: disable=using-constant-test
|
|
@@ -141,7 +164,8 @@ class AwaitableGetSecretParametersResult(GetSecretParametersResult):
|
|
|
141
164
|
secret_parameter_name=self.secret_parameter_name,
|
|
142
165
|
sort_field=self.sort_field,
|
|
143
166
|
sort_order=self.sort_order,
|
|
144
|
-
tags=self.tags
|
|
167
|
+
tags=self.tags,
|
|
168
|
+
with_decryption=self.with_decryption)
|
|
145
169
|
|
|
146
170
|
|
|
147
171
|
def get_secret_parameters(enable_details: Optional[bool] = None,
|
|
@@ -153,20 +177,58 @@ def get_secret_parameters(enable_details: Optional[bool] = None,
|
|
|
153
177
|
sort_field: Optional[str] = None,
|
|
154
178
|
sort_order: Optional[str] = None,
|
|
155
179
|
tags: Optional[Mapping[str, str]] = None,
|
|
180
|
+
with_decryption: Optional[bool] = None,
|
|
156
181
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretParametersResult:
|
|
157
182
|
"""
|
|
158
183
|
This data source provides the Oos Secret Parameters of the current Alibaba Cloud user.
|
|
159
184
|
|
|
160
|
-
> **NOTE:** Available
|
|
185
|
+
> **NOTE:** Available since v1.147.0.
|
|
186
|
+
|
|
187
|
+
## Example Usage
|
|
188
|
+
|
|
189
|
+
Basic Usage
|
|
190
|
+
|
|
191
|
+
```python
|
|
192
|
+
import pulumi
|
|
193
|
+
import pulumi_alicloud as alicloud
|
|
161
194
|
|
|
195
|
+
config = pulumi.Config()
|
|
196
|
+
name = config.get("name")
|
|
197
|
+
if name is None:
|
|
198
|
+
name = "terraform-example"
|
|
199
|
+
default = alicloud.oos.SecretParameter("default",
|
|
200
|
+
secret_parameter_name=name,
|
|
201
|
+
value="tf-testacc-oos_secret_parameter",
|
|
202
|
+
type="Secret",
|
|
203
|
+
description=name,
|
|
204
|
+
constraints=\"\"\" {
|
|
205
|
+
"AllowedValues": [
|
|
206
|
+
"tf-testacc-oos_secret_parameter"
|
|
207
|
+
],
|
|
208
|
+
"AllowedPattern": "tf-testacc-oos_secret_parameter",
|
|
209
|
+
"MinLength": 1,
|
|
210
|
+
"MaxLength": 100
|
|
211
|
+
}
|
|
212
|
+
\"\"\",
|
|
213
|
+
tags={
|
|
214
|
+
"Created": "TF",
|
|
215
|
+
"For": "SecretParameter",
|
|
216
|
+
})
|
|
217
|
+
ids = alicloud.oos.get_secret_parameters_output(ids=[default.id])
|
|
218
|
+
pulumi.export("oosSecretParameterId0", ids.parameters[0].id)
|
|
219
|
+
```
|
|
162
220
|
|
|
163
|
-
|
|
221
|
+
|
|
222
|
+
:param bool enable_details: Whether to query the detailed list of resource attributes. Default value: `false`.
|
|
164
223
|
:param Sequence[str] ids: A list of Secret Parameter IDs.
|
|
165
224
|
:param str name_regex: A regex string to filter results by Secret Parameter name.
|
|
166
225
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
167
226
|
:param str resource_group_id: The ID of the Resource Group.
|
|
168
|
-
:param str secret_parameter_name: The name of the
|
|
227
|
+
:param str secret_parameter_name: The name of the Secret Parameter.
|
|
228
|
+
:param str sort_field: The field used to sort the query results. Valid values: `Name`, `CreatedDate`.
|
|
229
|
+
:param str sort_order: The order in which the entries are sorted. Default value: `Descending`. Valid values: `Ascending`, `Descending`.
|
|
169
230
|
:param Mapping[str, str] tags: A mapping of tags to assign to the resource.
|
|
231
|
+
:param bool with_decryption: Specifies whether to decrypt the parameter value. Default value: `false`. **Note:** `with_decryption` takes effect only if `enable_details` is set to `true`.
|
|
170
232
|
"""
|
|
171
233
|
__args__ = dict()
|
|
172
234
|
__args__['enableDetails'] = enable_details
|
|
@@ -178,6 +240,7 @@ def get_secret_parameters(enable_details: Optional[bool] = None,
|
|
|
178
240
|
__args__['sortField'] = sort_field
|
|
179
241
|
__args__['sortOrder'] = sort_order
|
|
180
242
|
__args__['tags'] = tags
|
|
243
|
+
__args__['withDecryption'] = with_decryption
|
|
181
244
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
182
245
|
__ret__ = pulumi.runtime.invoke('alicloud:oos/getSecretParameters:getSecretParameters', __args__, opts=opts, typ=GetSecretParametersResult).value
|
|
183
246
|
|
|
@@ -193,7 +256,8 @@ def get_secret_parameters(enable_details: Optional[bool] = None,
|
|
|
193
256
|
secret_parameter_name=pulumi.get(__ret__, 'secret_parameter_name'),
|
|
194
257
|
sort_field=pulumi.get(__ret__, 'sort_field'),
|
|
195
258
|
sort_order=pulumi.get(__ret__, 'sort_order'),
|
|
196
|
-
tags=pulumi.get(__ret__, 'tags')
|
|
259
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
260
|
+
with_decryption=pulumi.get(__ret__, 'with_decryption'))
|
|
197
261
|
|
|
198
262
|
|
|
199
263
|
@_utilities.lift_output_func(get_secret_parameters)
|
|
@@ -206,19 +270,57 @@ def get_secret_parameters_output(enable_details: Optional[pulumi.Input[Optional[
|
|
|
206
270
|
sort_field: Optional[pulumi.Input[Optional[str]]] = None,
|
|
207
271
|
sort_order: Optional[pulumi.Input[Optional[str]]] = None,
|
|
208
272
|
tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
|
|
273
|
+
with_decryption: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
209
274
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretParametersResult]:
|
|
210
275
|
"""
|
|
211
276
|
This data source provides the Oos Secret Parameters of the current Alibaba Cloud user.
|
|
212
277
|
|
|
213
|
-
> **NOTE:** Available
|
|
278
|
+
> **NOTE:** Available since v1.147.0.
|
|
279
|
+
|
|
280
|
+
## Example Usage
|
|
281
|
+
|
|
282
|
+
Basic Usage
|
|
283
|
+
|
|
284
|
+
```python
|
|
285
|
+
import pulumi
|
|
286
|
+
import pulumi_alicloud as alicloud
|
|
287
|
+
|
|
288
|
+
config = pulumi.Config()
|
|
289
|
+
name = config.get("name")
|
|
290
|
+
if name is None:
|
|
291
|
+
name = "terraform-example"
|
|
292
|
+
default = alicloud.oos.SecretParameter("default",
|
|
293
|
+
secret_parameter_name=name,
|
|
294
|
+
value="tf-testacc-oos_secret_parameter",
|
|
295
|
+
type="Secret",
|
|
296
|
+
description=name,
|
|
297
|
+
constraints=\"\"\" {
|
|
298
|
+
"AllowedValues": [
|
|
299
|
+
"tf-testacc-oos_secret_parameter"
|
|
300
|
+
],
|
|
301
|
+
"AllowedPattern": "tf-testacc-oos_secret_parameter",
|
|
302
|
+
"MinLength": 1,
|
|
303
|
+
"MaxLength": 100
|
|
304
|
+
}
|
|
305
|
+
\"\"\",
|
|
306
|
+
tags={
|
|
307
|
+
"Created": "TF",
|
|
308
|
+
"For": "SecretParameter",
|
|
309
|
+
})
|
|
310
|
+
ids = alicloud.oos.get_secret_parameters_output(ids=[default.id])
|
|
311
|
+
pulumi.export("oosSecretParameterId0", ids.parameters[0].id)
|
|
312
|
+
```
|
|
214
313
|
|
|
215
314
|
|
|
216
|
-
:param bool enable_details:
|
|
315
|
+
:param bool enable_details: Whether to query the detailed list of resource attributes. Default value: `false`.
|
|
217
316
|
:param Sequence[str] ids: A list of Secret Parameter IDs.
|
|
218
317
|
:param str name_regex: A regex string to filter results by Secret Parameter name.
|
|
219
318
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
220
319
|
:param str resource_group_id: The ID of the Resource Group.
|
|
221
|
-
:param str secret_parameter_name: The name of the
|
|
320
|
+
:param str secret_parameter_name: The name of the Secret Parameter.
|
|
321
|
+
:param str sort_field: The field used to sort the query results. Valid values: `Name`, `CreatedDate`.
|
|
322
|
+
:param str sort_order: The order in which the entries are sorted. Default value: `Descending`. Valid values: `Ascending`, `Descending`.
|
|
222
323
|
:param Mapping[str, str] tags: A mapping of tags to assign to the resource.
|
|
324
|
+
:param bool with_decryption: Specifies whether to decrypt the parameter value. Default value: `false`. **Note:** `with_decryption` takes effect only if `enable_details` is set to `true`.
|
|
223
325
|
"""
|
|
224
326
|
...
|
pulumi_alicloud/oos/outputs.py
CHANGED
|
@@ -787,23 +787,25 @@ class GetSecretParametersParameterResult(dict):
|
|
|
787
787
|
tags: Mapping[str, str],
|
|
788
788
|
type: str,
|
|
789
789
|
updated_by: str,
|
|
790
|
-
updated_date: str
|
|
790
|
+
updated_date: str,
|
|
791
|
+
value: str):
|
|
791
792
|
"""
|
|
792
|
-
:param str constraints: The constraints of the encryption parameter.
|
|
793
|
+
:param str constraints: The constraints of the encryption parameter. **Note:** `constraints` takes effect only if `enable_details` is set to `true`.
|
|
793
794
|
:param str create_time: The time when the encryption parameter was created.
|
|
794
795
|
:param str created_by: The user who created the encryption parameter.
|
|
795
796
|
:param str description: The description of the encryption parameter.
|
|
796
797
|
:param str id: The ID of the Secret Parameter.
|
|
797
|
-
:param str key_id:
|
|
798
|
+
:param str key_id: The ID of the key of Key Management Service (KMS) that is used for encryption.
|
|
798
799
|
:param int parameter_version: The version number of the encryption parameter.
|
|
799
800
|
:param str resource_group_id: The ID of the Resource Group.
|
|
800
801
|
:param str secret_parameter_id: The ID of the encryption parameter.
|
|
801
|
-
:param str secret_parameter_name: The name of the
|
|
802
|
+
:param str secret_parameter_name: The name of the Secret Parameter.
|
|
802
803
|
:param str share_type: The share type of the encryption parameter.
|
|
803
|
-
:param Mapping[str, str] tags:
|
|
804
|
-
:param str type: The
|
|
804
|
+
:param Mapping[str, str] tags: A mapping of tags to assign to the resource.
|
|
805
|
+
:param str type: The type of the parameter.
|
|
805
806
|
:param str updated_by: The user who updated the encryption parameter.
|
|
806
807
|
:param str updated_date: The time when the encryption parameter was updated.
|
|
808
|
+
:param str value: (Available since v1.231.0) The value of the encryption parameter. **Note:** `value` takes effect only if `with_decryption` is set to `true`.
|
|
807
809
|
"""
|
|
808
810
|
pulumi.set(__self__, "constraints", constraints)
|
|
809
811
|
pulumi.set(__self__, "create_time", create_time)
|
|
@@ -820,12 +822,13 @@ class GetSecretParametersParameterResult(dict):
|
|
|
820
822
|
pulumi.set(__self__, "type", type)
|
|
821
823
|
pulumi.set(__self__, "updated_by", updated_by)
|
|
822
824
|
pulumi.set(__self__, "updated_date", updated_date)
|
|
825
|
+
pulumi.set(__self__, "value", value)
|
|
823
826
|
|
|
824
827
|
@property
|
|
825
828
|
@pulumi.getter
|
|
826
829
|
def constraints(self) -> str:
|
|
827
830
|
"""
|
|
828
|
-
The constraints of the encryption parameter.
|
|
831
|
+
The constraints of the encryption parameter. **Note:** `constraints` takes effect only if `enable_details` is set to `true`.
|
|
829
832
|
"""
|
|
830
833
|
return pulumi.get(self, "constraints")
|
|
831
834
|
|
|
@@ -865,7 +868,7 @@ class GetSecretParametersParameterResult(dict):
|
|
|
865
868
|
@pulumi.getter(name="keyId")
|
|
866
869
|
def key_id(self) -> str:
|
|
867
870
|
"""
|
|
868
|
-
|
|
871
|
+
The ID of the key of Key Management Service (KMS) that is used for encryption.
|
|
869
872
|
"""
|
|
870
873
|
return pulumi.get(self, "key_id")
|
|
871
874
|
|
|
@@ -897,7 +900,7 @@ class GetSecretParametersParameterResult(dict):
|
|
|
897
900
|
@pulumi.getter(name="secretParameterName")
|
|
898
901
|
def secret_parameter_name(self) -> str:
|
|
899
902
|
"""
|
|
900
|
-
The name of the
|
|
903
|
+
The name of the Secret Parameter.
|
|
901
904
|
"""
|
|
902
905
|
return pulumi.get(self, "secret_parameter_name")
|
|
903
906
|
|
|
@@ -913,7 +916,7 @@ class GetSecretParametersParameterResult(dict):
|
|
|
913
916
|
@pulumi.getter
|
|
914
917
|
def tags(self) -> Mapping[str, str]:
|
|
915
918
|
"""
|
|
916
|
-
|
|
919
|
+
A mapping of tags to assign to the resource.
|
|
917
920
|
"""
|
|
918
921
|
return pulumi.get(self, "tags")
|
|
919
922
|
|
|
@@ -921,7 +924,7 @@ class GetSecretParametersParameterResult(dict):
|
|
|
921
924
|
@pulumi.getter
|
|
922
925
|
def type(self) -> str:
|
|
923
926
|
"""
|
|
924
|
-
The
|
|
927
|
+
The type of the parameter.
|
|
925
928
|
"""
|
|
926
929
|
return pulumi.get(self, "type")
|
|
927
930
|
|
|
@@ -941,6 +944,14 @@ class GetSecretParametersParameterResult(dict):
|
|
|
941
944
|
"""
|
|
942
945
|
return pulumi.get(self, "updated_date")
|
|
943
946
|
|
|
947
|
+
@property
|
|
948
|
+
@pulumi.getter
|
|
949
|
+
def value(self) -> str:
|
|
950
|
+
"""
|
|
951
|
+
(Available since v1.231.0) The value of the encryption parameter. **Note:** `value` takes effect only if `with_decryption` is set to `true`.
|
|
952
|
+
"""
|
|
953
|
+
return pulumi.get(self, "value")
|
|
954
|
+
|
|
944
955
|
|
|
945
956
|
@pulumi.output_type
|
|
946
957
|
class GetStateConfigurationsConfigurationResult(dict):
|
|
@@ -35,6 +35,9 @@ class GetAccountAliasResult:
|
|
|
35
35
|
@property
|
|
36
36
|
@pulumi.getter(name="accountAlias")
|
|
37
37
|
def account_alias(self) -> str:
|
|
38
|
+
"""
|
|
39
|
+
Alias of the account.
|
|
40
|
+
"""
|
|
38
41
|
return pulumi.get(self, "account_alias")
|
|
39
42
|
|
|
40
43
|
@property
|
|
@@ -65,7 +68,22 @@ class AwaitableGetAccountAliasResult(GetAccountAliasResult):
|
|
|
65
68
|
def get_account_alias(output_file: Optional[str] = None,
|
|
66
69
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountAliasResult:
|
|
67
70
|
"""
|
|
68
|
-
|
|
71
|
+
This data source provides an alias for the Alibaba Cloud account.
|
|
72
|
+
|
|
73
|
+
> **NOTE:** Available since v1.0.0+.
|
|
74
|
+
|
|
75
|
+
## Example Usage
|
|
76
|
+
|
|
77
|
+
```python
|
|
78
|
+
import pulumi
|
|
79
|
+
import pulumi_alicloud as alicloud
|
|
80
|
+
|
|
81
|
+
alias_ds = alicloud.ram.get_account_alias(output_file="alias.txt")
|
|
82
|
+
pulumi.export("accountAlias", alias_ds.account_alias)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
69
87
|
"""
|
|
70
88
|
__args__ = dict()
|
|
71
89
|
__args__['outputFile'] = output_file
|
|
@@ -82,6 +100,21 @@ def get_account_alias(output_file: Optional[str] = None,
|
|
|
82
100
|
def get_account_alias_output(output_file: Optional[pulumi.Input[Optional[str]]] = None,
|
|
83
101
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountAliasResult]:
|
|
84
102
|
"""
|
|
85
|
-
|
|
103
|
+
This data source provides an alias for the Alibaba Cloud account.
|
|
104
|
+
|
|
105
|
+
> **NOTE:** Available since v1.0.0+.
|
|
106
|
+
|
|
107
|
+
## Example Usage
|
|
108
|
+
|
|
109
|
+
```python
|
|
110
|
+
import pulumi
|
|
111
|
+
import pulumi_alicloud as alicloud
|
|
112
|
+
|
|
113
|
+
alias_ds = alicloud.ram.get_account_alias(output_file="alias.txt")
|
|
114
|
+
pulumi.export("accountAlias", alias_ds.account_alias)
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
86
119
|
"""
|
|
87
120
|
...
|