pulumi-alicloud 3.70.0a1734412500__py3-none-any.whl → 3.71.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 (49) hide show
  1. pulumi_alicloud/__init__.py +35 -0
  2. pulumi_alicloud/arms/_inputs.py +185 -0
  3. pulumi_alicloud/arms/dispatch_rule.py +70 -1
  4. pulumi_alicloud/arms/get_dispatch_rules.py +2 -2
  5. pulumi_alicloud/arms/get_prometheis.py +2 -2
  6. pulumi_alicloud/arms/get_remote_writes.py +2 -2
  7. pulumi_alicloud/arms/outputs.py +258 -11
  8. pulumi_alicloud/cen/private_zone.py +73 -69
  9. pulumi_alicloud/cen/transit_router_multicast_domain_peer_member.py +2 -2
  10. pulumi_alicloud/cfg/rule.py +2 -2
  11. pulumi_alicloud/ecs/ecs_snapshot.py +65 -9
  12. pulumi_alicloud/ecs/get_instance_types.py +1 -1
  13. pulumi_alicloud/ecs/outputs.py +78 -1
  14. pulumi_alicloud/ecs/security_group.py +161 -81
  15. pulumi_alicloud/ecs/snapshot.py +40 -0
  16. pulumi_alicloud/eds/ram_directory.py +4 -0
  17. pulumi_alicloud/ess/_inputs.py +54 -0
  18. pulumi_alicloud/ess/outputs.py +51 -0
  19. pulumi_alicloud/ess/scaling_configuration.py +47 -0
  20. pulumi_alicloud/ess/scaling_group.py +47 -0
  21. pulumi_alicloud/expressconnect/__init__.py +1 -0
  22. pulumi_alicloud/expressconnect/router_grant_association.py +477 -0
  23. pulumi_alicloud/fc/v3_trigger.py +96 -0
  24. pulumi_alicloud/kms/_inputs.py +5 -5
  25. pulumi_alicloud/kms/outputs.py +3 -3
  26. pulumi_alicloud/kvstore/backup_policy.py +32 -24
  27. pulumi_alicloud/live/__init__.py +8 -0
  28. pulumi_alicloud/live/caster.py +1343 -0
  29. pulumi_alicloud/nas/access_group.py +10 -2
  30. pulumi_alicloud/nas/access_point.py +10 -2
  31. pulumi_alicloud/nas/fileset.py +2 -2
  32. pulumi_alicloud/oos/execution.py +18 -10
  33. pulumi_alicloud/oos/template.py +14 -6
  34. pulumi_alicloud/pai/__init__.py +1 -0
  35. pulumi_alicloud/pai/service.py +501 -0
  36. pulumi_alicloud/polardb/cluster.py +47 -0
  37. pulumi_alicloud/privatelink/vpc_endpoint.py +143 -69
  38. pulumi_alicloud/privatelink/vpc_endpoint_service.py +47 -0
  39. pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +2 -2
  40. pulumi_alicloud/pulumi-plugin.json +1 -1
  41. pulumi_alicloud/rdc/get_organizations.py +12 -2
  42. pulumi_alicloud/rdc/organization.py +6 -2
  43. pulumi_alicloud/redis/tair_instance.py +47 -0
  44. pulumi_alicloud/vpc/__init__.py +1 -0
  45. pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +545 -0
  46. {pulumi_alicloud-3.70.0a1734412500.dist-info → pulumi_alicloud-3.71.0.dist-info}/METADATA +1 -1
  47. {pulumi_alicloud-3.70.0a1734412500.dist-info → pulumi_alicloud-3.71.0.dist-info}/RECORD +49 -44
  48. {pulumi_alicloud-3.70.0a1734412500.dist-info → pulumi_alicloud-3.71.0.dist-info}/WHEEL +0 -0
  49. {pulumi_alicloud-3.70.0a1734412500.dist-info → pulumi_alicloud-3.71.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,477 @@
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__ = ['RouterGrantAssociationArgs', 'RouterGrantAssociation']
18
+
19
+ @pulumi.input_type
20
+ class RouterGrantAssociationArgs:
21
+ def __init__(__self__, *,
22
+ ecr_id: pulumi.Input[str],
23
+ ecr_owner_ali_uid: pulumi.Input[int],
24
+ instance_id: pulumi.Input[str],
25
+ instance_region_id: pulumi.Input[str],
26
+ instance_type: pulumi.Input[str]):
27
+ """
28
+ The set of arguments for constructing a RouterGrantAssociation resource.
29
+ :param pulumi.Input[str] ecr_id: The ID of the associated Leased Line Gateway instance.
30
+ :param pulumi.Input[int] ecr_owner_ali_uid: The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
31
+ :param pulumi.Input[str] instance_id: The ID of the network instance.
32
+ :param pulumi.Input[str] instance_region_id: The ID of the region where the authorized network instance is located.
33
+ :param pulumi.Input[str] instance_type: The type of the network instance. Value:
34
+ - `VBR`: the VBR instance.
35
+ - `VPC`: VPC instance.
36
+ """
37
+ pulumi.set(__self__, "ecr_id", ecr_id)
38
+ pulumi.set(__self__, "ecr_owner_ali_uid", ecr_owner_ali_uid)
39
+ pulumi.set(__self__, "instance_id", instance_id)
40
+ pulumi.set(__self__, "instance_region_id", instance_region_id)
41
+ pulumi.set(__self__, "instance_type", instance_type)
42
+
43
+ @property
44
+ @pulumi.getter(name="ecrId")
45
+ def ecr_id(self) -> pulumi.Input[str]:
46
+ """
47
+ The ID of the associated Leased Line Gateway instance.
48
+ """
49
+ return pulumi.get(self, "ecr_id")
50
+
51
+ @ecr_id.setter
52
+ def ecr_id(self, value: pulumi.Input[str]):
53
+ pulumi.set(self, "ecr_id", value)
54
+
55
+ @property
56
+ @pulumi.getter(name="ecrOwnerAliUid")
57
+ def ecr_owner_ali_uid(self) -> pulumi.Input[int]:
58
+ """
59
+ The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
60
+ """
61
+ return pulumi.get(self, "ecr_owner_ali_uid")
62
+
63
+ @ecr_owner_ali_uid.setter
64
+ def ecr_owner_ali_uid(self, value: pulumi.Input[int]):
65
+ pulumi.set(self, "ecr_owner_ali_uid", value)
66
+
67
+ @property
68
+ @pulumi.getter(name="instanceId")
69
+ def instance_id(self) -> pulumi.Input[str]:
70
+ """
71
+ The ID of the network instance.
72
+ """
73
+ return pulumi.get(self, "instance_id")
74
+
75
+ @instance_id.setter
76
+ def instance_id(self, value: pulumi.Input[str]):
77
+ pulumi.set(self, "instance_id", value)
78
+
79
+ @property
80
+ @pulumi.getter(name="instanceRegionId")
81
+ def instance_region_id(self) -> pulumi.Input[str]:
82
+ """
83
+ The ID of the region where the authorized network instance is located.
84
+ """
85
+ return pulumi.get(self, "instance_region_id")
86
+
87
+ @instance_region_id.setter
88
+ def instance_region_id(self, value: pulumi.Input[str]):
89
+ pulumi.set(self, "instance_region_id", value)
90
+
91
+ @property
92
+ @pulumi.getter(name="instanceType")
93
+ def instance_type(self) -> pulumi.Input[str]:
94
+ """
95
+ The type of the network instance. Value:
96
+ - `VBR`: the VBR instance.
97
+ - `VPC`: VPC instance.
98
+ """
99
+ return pulumi.get(self, "instance_type")
100
+
101
+ @instance_type.setter
102
+ def instance_type(self, value: pulumi.Input[str]):
103
+ pulumi.set(self, "instance_type", value)
104
+
105
+
106
+ @pulumi.input_type
107
+ class _RouterGrantAssociationState:
108
+ def __init__(__self__, *,
109
+ ecr_id: Optional[pulumi.Input[str]] = None,
110
+ ecr_owner_ali_uid: Optional[pulumi.Input[int]] = None,
111
+ instance_id: Optional[pulumi.Input[str]] = None,
112
+ instance_region_id: Optional[pulumi.Input[str]] = None,
113
+ instance_type: Optional[pulumi.Input[str]] = None,
114
+ status: Optional[pulumi.Input[str]] = None):
115
+ """
116
+ Input properties used for looking up and filtering RouterGrantAssociation resources.
117
+ :param pulumi.Input[str] ecr_id: The ID of the associated Leased Line Gateway instance.
118
+ :param pulumi.Input[int] ecr_owner_ali_uid: The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
119
+ :param pulumi.Input[str] instance_id: The ID of the network instance.
120
+ :param pulumi.Input[str] instance_region_id: The ID of the region where the authorized network instance is located.
121
+ :param pulumi.Input[str] instance_type: The type of the network instance. Value:
122
+ - `VBR`: the VBR instance.
123
+ - `VPC`: VPC instance.
124
+ :param pulumi.Input[str] status: The status of the resource
125
+ """
126
+ if ecr_id is not None:
127
+ pulumi.set(__self__, "ecr_id", ecr_id)
128
+ if ecr_owner_ali_uid is not None:
129
+ pulumi.set(__self__, "ecr_owner_ali_uid", ecr_owner_ali_uid)
130
+ if instance_id is not None:
131
+ pulumi.set(__self__, "instance_id", instance_id)
132
+ if instance_region_id is not None:
133
+ pulumi.set(__self__, "instance_region_id", instance_region_id)
134
+ if instance_type is not None:
135
+ pulumi.set(__self__, "instance_type", instance_type)
136
+ if status is not None:
137
+ pulumi.set(__self__, "status", status)
138
+
139
+ @property
140
+ @pulumi.getter(name="ecrId")
141
+ def ecr_id(self) -> Optional[pulumi.Input[str]]:
142
+ """
143
+ The ID of the associated Leased Line Gateway instance.
144
+ """
145
+ return pulumi.get(self, "ecr_id")
146
+
147
+ @ecr_id.setter
148
+ def ecr_id(self, value: Optional[pulumi.Input[str]]):
149
+ pulumi.set(self, "ecr_id", value)
150
+
151
+ @property
152
+ @pulumi.getter(name="ecrOwnerAliUid")
153
+ def ecr_owner_ali_uid(self) -> Optional[pulumi.Input[int]]:
154
+ """
155
+ The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
156
+ """
157
+ return pulumi.get(self, "ecr_owner_ali_uid")
158
+
159
+ @ecr_owner_ali_uid.setter
160
+ def ecr_owner_ali_uid(self, value: Optional[pulumi.Input[int]]):
161
+ pulumi.set(self, "ecr_owner_ali_uid", value)
162
+
163
+ @property
164
+ @pulumi.getter(name="instanceId")
165
+ def instance_id(self) -> Optional[pulumi.Input[str]]:
166
+ """
167
+ The ID of the network instance.
168
+ """
169
+ return pulumi.get(self, "instance_id")
170
+
171
+ @instance_id.setter
172
+ def instance_id(self, value: Optional[pulumi.Input[str]]):
173
+ pulumi.set(self, "instance_id", value)
174
+
175
+ @property
176
+ @pulumi.getter(name="instanceRegionId")
177
+ def instance_region_id(self) -> Optional[pulumi.Input[str]]:
178
+ """
179
+ The ID of the region where the authorized network instance is located.
180
+ """
181
+ return pulumi.get(self, "instance_region_id")
182
+
183
+ @instance_region_id.setter
184
+ def instance_region_id(self, value: Optional[pulumi.Input[str]]):
185
+ pulumi.set(self, "instance_region_id", value)
186
+
187
+ @property
188
+ @pulumi.getter(name="instanceType")
189
+ def instance_type(self) -> Optional[pulumi.Input[str]]:
190
+ """
191
+ The type of the network instance. Value:
192
+ - `VBR`: the VBR instance.
193
+ - `VPC`: VPC instance.
194
+ """
195
+ return pulumi.get(self, "instance_type")
196
+
197
+ @instance_type.setter
198
+ def instance_type(self, value: Optional[pulumi.Input[str]]):
199
+ pulumi.set(self, "instance_type", value)
200
+
201
+ @property
202
+ @pulumi.getter
203
+ def status(self) -> Optional[pulumi.Input[str]]:
204
+ """
205
+ The status of the resource
206
+ """
207
+ return pulumi.get(self, "status")
208
+
209
+ @status.setter
210
+ def status(self, value: Optional[pulumi.Input[str]]):
211
+ pulumi.set(self, "status", value)
212
+
213
+
214
+ class RouterGrantAssociation(pulumi.CustomResource):
215
+ @overload
216
+ def __init__(__self__,
217
+ resource_name: str,
218
+ opts: Optional[pulumi.ResourceOptions] = None,
219
+ ecr_id: Optional[pulumi.Input[str]] = None,
220
+ ecr_owner_ali_uid: Optional[pulumi.Input[int]] = None,
221
+ instance_id: Optional[pulumi.Input[str]] = None,
222
+ instance_region_id: Optional[pulumi.Input[str]] = None,
223
+ instance_type: Optional[pulumi.Input[str]] = None,
224
+ __props__=None):
225
+ """
226
+ Provides a Express Connect Router Grant Association resource.
227
+
228
+ Network instances authorized to the leased line Gateway.
229
+
230
+ For information about Express Connect Router Grant Association and how to use it, see [What is Grant Association](https://www.alibabacloud.com/help/en/).
231
+
232
+ > **NOTE:** Available since v1.239.0.
233
+
234
+ ## Example Usage
235
+
236
+ Basic Usage
237
+
238
+ ```python
239
+ import pulumi
240
+ import pulumi_alicloud as alicloud
241
+
242
+ config = pulumi.Config()
243
+ name = config.get("name")
244
+ if name is None:
245
+ name = "terraform-example"
246
+ vpc_id = config.get("vpcId")
247
+ if vpc_id is None:
248
+ vpc_id = "vpc-xxx"
249
+ ecr_owner_uid = config.get("ecrOwnerUid")
250
+ if ecr_owner_uid is None:
251
+ ecr_owner_uid = "18xxx"
252
+ ecr_id = config.get("ecrId")
253
+ if ecr_id is None:
254
+ ecr_id = "ecr-xxx"
255
+ region = config.get("region")
256
+ if region is None:
257
+ region = "cn-hangzhou"
258
+ default = alicloud.expressconnect.RouterGrantAssociation("default",
259
+ ecr_id=ecr_id,
260
+ instance_region_id=region,
261
+ instance_id=vpc_id,
262
+ ecr_owner_ali_uid=ecr_owner_uid,
263
+ instance_type="VPC")
264
+ ```
265
+
266
+ ## Import
267
+
268
+ Express Connect Router Grant Association can be imported using the id, e.g.
269
+
270
+ ```sh
271
+ $ pulumi import alicloud:expressconnect/routerGrantAssociation:RouterGrantAssociation example <ecr_id>:<instance_id>:<instance_region_id>:<ecr_owner_ali_uid>:<instance_type>
272
+ ```
273
+
274
+ :param str resource_name: The name of the resource.
275
+ :param pulumi.ResourceOptions opts: Options for the resource.
276
+ :param pulumi.Input[str] ecr_id: The ID of the associated Leased Line Gateway instance.
277
+ :param pulumi.Input[int] ecr_owner_ali_uid: The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
278
+ :param pulumi.Input[str] instance_id: The ID of the network instance.
279
+ :param pulumi.Input[str] instance_region_id: The ID of the region where the authorized network instance is located.
280
+ :param pulumi.Input[str] instance_type: The type of the network instance. Value:
281
+ - `VBR`: the VBR instance.
282
+ - `VPC`: VPC instance.
283
+ """
284
+ ...
285
+ @overload
286
+ def __init__(__self__,
287
+ resource_name: str,
288
+ args: RouterGrantAssociationArgs,
289
+ opts: Optional[pulumi.ResourceOptions] = None):
290
+ """
291
+ Provides a Express Connect Router Grant Association resource.
292
+
293
+ Network instances authorized to the leased line Gateway.
294
+
295
+ For information about Express Connect Router Grant Association and how to use it, see [What is Grant Association](https://www.alibabacloud.com/help/en/).
296
+
297
+ > **NOTE:** Available since v1.239.0.
298
+
299
+ ## Example Usage
300
+
301
+ Basic Usage
302
+
303
+ ```python
304
+ import pulumi
305
+ import pulumi_alicloud as alicloud
306
+
307
+ config = pulumi.Config()
308
+ name = config.get("name")
309
+ if name is None:
310
+ name = "terraform-example"
311
+ vpc_id = config.get("vpcId")
312
+ if vpc_id is None:
313
+ vpc_id = "vpc-xxx"
314
+ ecr_owner_uid = config.get("ecrOwnerUid")
315
+ if ecr_owner_uid is None:
316
+ ecr_owner_uid = "18xxx"
317
+ ecr_id = config.get("ecrId")
318
+ if ecr_id is None:
319
+ ecr_id = "ecr-xxx"
320
+ region = config.get("region")
321
+ if region is None:
322
+ region = "cn-hangzhou"
323
+ default = alicloud.expressconnect.RouterGrantAssociation("default",
324
+ ecr_id=ecr_id,
325
+ instance_region_id=region,
326
+ instance_id=vpc_id,
327
+ ecr_owner_ali_uid=ecr_owner_uid,
328
+ instance_type="VPC")
329
+ ```
330
+
331
+ ## Import
332
+
333
+ Express Connect Router Grant Association can be imported using the id, e.g.
334
+
335
+ ```sh
336
+ $ pulumi import alicloud:expressconnect/routerGrantAssociation:RouterGrantAssociation example <ecr_id>:<instance_id>:<instance_region_id>:<ecr_owner_ali_uid>:<instance_type>
337
+ ```
338
+
339
+ :param str resource_name: The name of the resource.
340
+ :param RouterGrantAssociationArgs args: The arguments to use to populate this resource's properties.
341
+ :param pulumi.ResourceOptions opts: Options for the resource.
342
+ """
343
+ ...
344
+ def __init__(__self__, resource_name: str, *args, **kwargs):
345
+ resource_args, opts = _utilities.get_resource_args_opts(RouterGrantAssociationArgs, pulumi.ResourceOptions, *args, **kwargs)
346
+ if resource_args is not None:
347
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
348
+ else:
349
+ __self__._internal_init(resource_name, *args, **kwargs)
350
+
351
+ def _internal_init(__self__,
352
+ resource_name: str,
353
+ opts: Optional[pulumi.ResourceOptions] = None,
354
+ ecr_id: Optional[pulumi.Input[str]] = None,
355
+ ecr_owner_ali_uid: Optional[pulumi.Input[int]] = None,
356
+ instance_id: Optional[pulumi.Input[str]] = None,
357
+ instance_region_id: Optional[pulumi.Input[str]] = None,
358
+ instance_type: Optional[pulumi.Input[str]] = None,
359
+ __props__=None):
360
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
361
+ if not isinstance(opts, pulumi.ResourceOptions):
362
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
363
+ if opts.id is None:
364
+ if __props__ is not None:
365
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
366
+ __props__ = RouterGrantAssociationArgs.__new__(RouterGrantAssociationArgs)
367
+
368
+ if ecr_id is None and not opts.urn:
369
+ raise TypeError("Missing required property 'ecr_id'")
370
+ __props__.__dict__["ecr_id"] = ecr_id
371
+ if ecr_owner_ali_uid is None and not opts.urn:
372
+ raise TypeError("Missing required property 'ecr_owner_ali_uid'")
373
+ __props__.__dict__["ecr_owner_ali_uid"] = ecr_owner_ali_uid
374
+ if instance_id is None and not opts.urn:
375
+ raise TypeError("Missing required property 'instance_id'")
376
+ __props__.__dict__["instance_id"] = instance_id
377
+ if instance_region_id is None and not opts.urn:
378
+ raise TypeError("Missing required property 'instance_region_id'")
379
+ __props__.__dict__["instance_region_id"] = instance_region_id
380
+ if instance_type is None and not opts.urn:
381
+ raise TypeError("Missing required property 'instance_type'")
382
+ __props__.__dict__["instance_type"] = instance_type
383
+ __props__.__dict__["status"] = None
384
+ super(RouterGrantAssociation, __self__).__init__(
385
+ 'alicloud:expressconnect/routerGrantAssociation:RouterGrantAssociation',
386
+ resource_name,
387
+ __props__,
388
+ opts)
389
+
390
+ @staticmethod
391
+ def get(resource_name: str,
392
+ id: pulumi.Input[str],
393
+ opts: Optional[pulumi.ResourceOptions] = None,
394
+ ecr_id: Optional[pulumi.Input[str]] = None,
395
+ ecr_owner_ali_uid: Optional[pulumi.Input[int]] = None,
396
+ instance_id: Optional[pulumi.Input[str]] = None,
397
+ instance_region_id: Optional[pulumi.Input[str]] = None,
398
+ instance_type: Optional[pulumi.Input[str]] = None,
399
+ status: Optional[pulumi.Input[str]] = None) -> 'RouterGrantAssociation':
400
+ """
401
+ Get an existing RouterGrantAssociation resource's state with the given name, id, and optional extra
402
+ properties used to qualify the lookup.
403
+
404
+ :param str resource_name: The unique name of the resulting resource.
405
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
406
+ :param pulumi.ResourceOptions opts: Options for the resource.
407
+ :param pulumi.Input[str] ecr_id: The ID of the associated Leased Line Gateway instance.
408
+ :param pulumi.Input[int] ecr_owner_ali_uid: The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
409
+ :param pulumi.Input[str] instance_id: The ID of the network instance.
410
+ :param pulumi.Input[str] instance_region_id: The ID of the region where the authorized network instance is located.
411
+ :param pulumi.Input[str] instance_type: The type of the network instance. Value:
412
+ - `VBR`: the VBR instance.
413
+ - `VPC`: VPC instance.
414
+ :param pulumi.Input[str] status: The status of the resource
415
+ """
416
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
417
+
418
+ __props__ = _RouterGrantAssociationState.__new__(_RouterGrantAssociationState)
419
+
420
+ __props__.__dict__["ecr_id"] = ecr_id
421
+ __props__.__dict__["ecr_owner_ali_uid"] = ecr_owner_ali_uid
422
+ __props__.__dict__["instance_id"] = instance_id
423
+ __props__.__dict__["instance_region_id"] = instance_region_id
424
+ __props__.__dict__["instance_type"] = instance_type
425
+ __props__.__dict__["status"] = status
426
+ return RouterGrantAssociation(resource_name, opts=opts, __props__=__props__)
427
+
428
+ @property
429
+ @pulumi.getter(name="ecrId")
430
+ def ecr_id(self) -> pulumi.Output[str]:
431
+ """
432
+ The ID of the associated Leased Line Gateway instance.
433
+ """
434
+ return pulumi.get(self, "ecr_id")
435
+
436
+ @property
437
+ @pulumi.getter(name="ecrOwnerAliUid")
438
+ def ecr_owner_ali_uid(self) -> pulumi.Output[int]:
439
+ """
440
+ The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
441
+ """
442
+ return pulumi.get(self, "ecr_owner_ali_uid")
443
+
444
+ @property
445
+ @pulumi.getter(name="instanceId")
446
+ def instance_id(self) -> pulumi.Output[str]:
447
+ """
448
+ The ID of the network instance.
449
+ """
450
+ return pulumi.get(self, "instance_id")
451
+
452
+ @property
453
+ @pulumi.getter(name="instanceRegionId")
454
+ def instance_region_id(self) -> pulumi.Output[str]:
455
+ """
456
+ The ID of the region where the authorized network instance is located.
457
+ """
458
+ return pulumi.get(self, "instance_region_id")
459
+
460
+ @property
461
+ @pulumi.getter(name="instanceType")
462
+ def instance_type(self) -> pulumi.Output[str]:
463
+ """
464
+ The type of the network instance. Value:
465
+ - `VBR`: the VBR instance.
466
+ - `VPC`: VPC instance.
467
+ """
468
+ return pulumi.get(self, "instance_type")
469
+
470
+ @property
471
+ @pulumi.getter
472
+ def status(self) -> pulumi.Output[str]:
473
+ """
474
+ The status of the resource
475
+ """
476
+ return pulumi.get(self, "status")
477
+
@@ -457,6 +457,54 @@ class V3Trigger(pulumi.CustomResource):
457
457
  function_name=function.function_name)
458
458
  ```
459
459
 
460
+ HTTP Trigger
461
+
462
+ ```python
463
+ import pulumi
464
+ import json
465
+ import pulumi_alicloud as alicloud
466
+
467
+ config = pulumi.Config()
468
+ name = config.get("name")
469
+ if name is None:
470
+ name = "terraform-example"
471
+ function_name = config.get("functionName")
472
+ if function_name is None:
473
+ function_name = "TerraformTriggerResourceAPI"
474
+ trigger_name = config.get("triggerName")
475
+ if trigger_name is None:
476
+ trigger_name = "TerraformTrigger_HTTP"
477
+ function = alicloud.fc.V3Function("function",
478
+ memory_size=512,
479
+ cpu=0.5,
480
+ handler="index.Handler",
481
+ code={
482
+ "zip_file": "UEsDBBQACAAIAAAAAAAAAAAAAAAAAAAAAAAIAAAAaW5kZXgucHmEkEFKxEAQRfd9ig9ZTCJOooIwDMwNXLqXnnQlaalUhU5lRj2KZ/FOXkESGR114bJ/P/7jV4b1xRq1hijtFpM1682cuNgPmgysbRulPT0fRxXnMtwrSPyeCdYRokSLnuMLJTTkbUqEvDMbxm1VdcRD6Tk+T1LW2ldB66knsYdA5iNX17ebm6tN2VnPhcswMPmREPuBacb+CiapLarAj9gT6/H97dVlCNScY3mtYvRkxdZlwDKDEnanPWVLdrdkeXEGlFEazVdfPVHaVeHc3N15CUwppwOJXeK7HshAB8NuOU7J6sP4SRXuH/EvbUfMiqMmDqv5M5FNSfAj/wgAAP//UEsHCPl//NYAAQAArwEAAFBLAQIUABQACAAIAAAAAAD5f/zWAAEAAK8BAAAIAAAAAAAAAAAAAAAAAAAAAABpbmRleC5weVBLBQYAAAAAAQABADYAAAA2AQAAAAA=",
483
+ },
484
+ function_name=name,
485
+ runtime="python3.9",
486
+ disk_size=512,
487
+ log_config={
488
+ "log_begin_rule": "None",
489
+ })
490
+ current = alicloud.get_account()
491
+ default = alicloud.fc.V3Trigger("default",
492
+ trigger_type="http",
493
+ trigger_name=name,
494
+ description="create",
495
+ qualifier="LATEST",
496
+ trigger_config=json.dumps({
497
+ "authType": "anonymous",
498
+ "methods": [
499
+ "GET",
500
+ "POST",
501
+ ],
502
+ }),
503
+ function_name=function.function_name)
504
+ pulumi.export("outputCalicloudFcv3TriggerInternet", alicloud_fcv3_trigger["default"]["httpTrigger"][0]["urlInternet"])
505
+ pulumi.export("outputCalicloudFcv3TriggerIntranet", alicloud_fcv3_trigger["default"]["httpTrigger"][0]["urlIntranet"])
506
+ ```
507
+
460
508
  ## Import
461
509
 
462
510
  FCV3 Trigger can be imported using the id, e.g.
@@ -542,6 +590,54 @@ class V3Trigger(pulumi.CustomResource):
542
590
  function_name=function.function_name)
543
591
  ```
544
592
 
593
+ HTTP Trigger
594
+
595
+ ```python
596
+ import pulumi
597
+ import json
598
+ import pulumi_alicloud as alicloud
599
+
600
+ config = pulumi.Config()
601
+ name = config.get("name")
602
+ if name is None:
603
+ name = "terraform-example"
604
+ function_name = config.get("functionName")
605
+ if function_name is None:
606
+ function_name = "TerraformTriggerResourceAPI"
607
+ trigger_name = config.get("triggerName")
608
+ if trigger_name is None:
609
+ trigger_name = "TerraformTrigger_HTTP"
610
+ function = alicloud.fc.V3Function("function",
611
+ memory_size=512,
612
+ cpu=0.5,
613
+ handler="index.Handler",
614
+ code={
615
+ "zip_file": "UEsDBBQACAAIAAAAAAAAAAAAAAAAAAAAAAAIAAAAaW5kZXgucHmEkEFKxEAQRfd9ig9ZTCJOooIwDMwNXLqXnnQlaalUhU5lRj2KZ/FOXkESGR114bJ/P/7jV4b1xRq1hijtFpM1682cuNgPmgysbRulPT0fRxXnMtwrSPyeCdYRokSLnuMLJTTkbUqEvDMbxm1VdcRD6Tk+T1LW2ldB66knsYdA5iNX17ebm6tN2VnPhcswMPmREPuBacb+CiapLarAj9gT6/H97dVlCNScY3mtYvRkxdZlwDKDEnanPWVLdrdkeXEGlFEazVdfPVHaVeHc3N15CUwppwOJXeK7HshAB8NuOU7J6sP4SRXuH/EvbUfMiqMmDqv5M5FNSfAj/wgAAP//UEsHCPl//NYAAQAArwEAAFBLAQIUABQACAAIAAAAAAD5f/zWAAEAAK8BAAAIAAAAAAAAAAAAAAAAAAAAAABpbmRleC5weVBLBQYAAAAAAQABADYAAAA2AQAAAAA=",
616
+ },
617
+ function_name=name,
618
+ runtime="python3.9",
619
+ disk_size=512,
620
+ log_config={
621
+ "log_begin_rule": "None",
622
+ })
623
+ current = alicloud.get_account()
624
+ default = alicloud.fc.V3Trigger("default",
625
+ trigger_type="http",
626
+ trigger_name=name,
627
+ description="create",
628
+ qualifier="LATEST",
629
+ trigger_config=json.dumps({
630
+ "authType": "anonymous",
631
+ "methods": [
632
+ "GET",
633
+ "POST",
634
+ ],
635
+ }),
636
+ function_name=function.function_name)
637
+ pulumi.export("outputCalicloudFcv3TriggerInternet", alicloud_fcv3_trigger["default"]["httpTrigger"][0]["urlInternet"])
638
+ pulumi.export("outputCalicloudFcv3TriggerIntranet", alicloud_fcv3_trigger["default"]["httpTrigger"][0]["urlIntranet"])
639
+ ```
640
+
545
641
  ## Import
546
642
 
547
643
  FCV3 Trigger can be imported using the id, e.g.
@@ -31,7 +31,7 @@ if not MYPY:
31
31
  """
32
32
  VPC ID.
33
33
  """
34
- vpc_owner_id: NotRequired[pulumi.Input[int]]
34
+ vpc_owner_id: NotRequired[pulumi.Input[str]]
35
35
  """
36
36
  VPC owner root user ID.
37
37
  """
@@ -47,12 +47,12 @@ class InstanceBindVpcArgs:
47
47
  def __init__(__self__, *,
48
48
  region_id: Optional[pulumi.Input[str]] = None,
49
49
  vpc_id: Optional[pulumi.Input[str]] = None,
50
- vpc_owner_id: Optional[pulumi.Input[int]] = None,
50
+ vpc_owner_id: Optional[pulumi.Input[str]] = None,
51
51
  vswitch_id: Optional[pulumi.Input[str]] = None):
52
52
  """
53
53
  :param pulumi.Input[str] region_id: region id.
54
54
  :param pulumi.Input[str] vpc_id: VPC ID.
55
- :param pulumi.Input[int] vpc_owner_id: VPC owner root user ID.
55
+ :param pulumi.Input[str] vpc_owner_id: VPC owner root user ID.
56
56
  :param pulumi.Input[str] vswitch_id: vswitch id.
57
57
  """
58
58
  if region_id is not None:
@@ -90,14 +90,14 @@ class InstanceBindVpcArgs:
90
90
 
91
91
  @property
92
92
  @pulumi.getter(name="vpcOwnerId")
93
- def vpc_owner_id(self) -> Optional[pulumi.Input[int]]:
93
+ def vpc_owner_id(self) -> Optional[pulumi.Input[str]]:
94
94
  """
95
95
  VPC owner root user ID.
96
96
  """
97
97
  return pulumi.get(self, "vpc_owner_id")
98
98
 
99
99
  @vpc_owner_id.setter
100
- def vpc_owner_id(self, value: Optional[pulumi.Input[int]]):
100
+ def vpc_owner_id(self, value: Optional[pulumi.Input[str]]):
101
101
  pulumi.set(self, "vpc_owner_id", value)
102
102
 
103
103
  @property
@@ -51,12 +51,12 @@ class InstanceBindVpc(dict):
51
51
  def __init__(__self__, *,
52
52
  region_id: Optional[str] = None,
53
53
  vpc_id: Optional[str] = None,
54
- vpc_owner_id: Optional[int] = None,
54
+ vpc_owner_id: Optional[str] = None,
55
55
  vswitch_id: Optional[str] = None):
56
56
  """
57
57
  :param str region_id: region id.
58
58
  :param str vpc_id: VPC ID.
59
- :param int vpc_owner_id: VPC owner root user ID.
59
+ :param str vpc_owner_id: VPC owner root user ID.
60
60
  :param str vswitch_id: vswitch id.
61
61
  """
62
62
  if region_id is not None:
@@ -86,7 +86,7 @@ class InstanceBindVpc(dict):
86
86
 
87
87
  @property
88
88
  @pulumi.getter(name="vpcOwnerId")
89
- def vpc_owner_id(self) -> Optional[int]:
89
+ def vpc_owner_id(self) -> Optional[str]:
90
90
  """
91
91
  VPC owner root user ID.
92
92
  """