pulumi-alicloud 3.66.0a1731501166__py3-none-any.whl → 3.66.0a1731648019__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 (35) hide show
  1. pulumi_alicloud/alb/load_balancer.py +1 -1
  2. pulumi_alicloud/arms/environment.py +7 -7
  3. pulumi_alicloud/arms/get_remote_writes.py +4 -4
  4. pulumi_alicloud/arms/prometheus_alert_rule.py +58 -0
  5. pulumi_alicloud/arms/remote_write.py +2 -2
  6. pulumi_alicloud/cen/transit_router_vbr_attachment.py +96 -74
  7. pulumi_alicloud/cms/hybrid_monitor_fc_task.py +28 -26
  8. pulumi_alicloud/cr/chain.py +22 -14
  9. pulumi_alicloud/cr/chart_repository.py +14 -6
  10. pulumi_alicloud/cr/repo.py +8 -8
  11. pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +14 -6
  12. pulumi_alicloud/databasefilesystem/instance_attachment.py +59 -63
  13. pulumi_alicloud/databasefilesystem/snapshot.py +53 -109
  14. pulumi_alicloud/ecs/instance.py +7 -7
  15. pulumi_alicloud/ess/scaling_configuration.py +7 -7
  16. pulumi_alicloud/fc/trigger.py +202 -138
  17. pulumi_alicloud/ga/custom_routing_endpoint_traffic_policy.py +48 -44
  18. pulumi_alicloud/governance/_inputs.py +54 -0
  19. pulumi_alicloud/governance/account.py +49 -14
  20. pulumi_alicloud/governance/outputs.py +51 -0
  21. pulumi_alicloud/gpdb/instance.py +196 -15
  22. pulumi_alicloud/kms/instance.py +28 -0
  23. pulumi_alicloud/nas/data_flow.py +6 -6
  24. pulumi_alicloud/nas/fileset.py +6 -6
  25. pulumi_alicloud/nas/lifecycle_policy.py +6 -6
  26. pulumi_alicloud/nas/recycle_bin.py +6 -6
  27. pulumi_alicloud/nas/snapshot.py +6 -6
  28. pulumi_alicloud/pulumi-plugin.json +1 -1
  29. pulumi_alicloud/redis/tair_instance.py +1102 -71
  30. pulumi_alicloud/threatdetection/honeypot_preset.py +2 -0
  31. pulumi_alicloud/vpn/gateway_vco_route.py +28 -8
  32. {pulumi_alicloud-3.66.0a1731501166.dist-info → pulumi_alicloud-3.66.0a1731648019.dist-info}/METADATA +1 -1
  33. {pulumi_alicloud-3.66.0a1731501166.dist-info → pulumi_alicloud-3.66.0a1731648019.dist-info}/RECORD +35 -35
  34. {pulumi_alicloud-3.66.0a1731501166.dist-info → pulumi_alicloud-3.66.0a1731648019.dist-info}/WHEEL +0 -0
  35. {pulumi_alicloud-3.66.0a1731501166.dist-info → pulumi_alicloud-3.66.0a1731648019.dist-info}/top_level.txt +0 -0
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
13
13
  else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
16
18
 
17
19
  __all__ = ['AccountArgs', 'Account']
18
20
 
@@ -22,6 +24,7 @@ class AccountArgs:
22
24
  baseline_id: pulumi.Input[str],
23
25
  account_id: Optional[pulumi.Input[int]] = None,
24
26
  account_name_prefix: Optional[pulumi.Input[str]] = None,
27
+ account_tags: Optional[pulumi.Input[Sequence[pulumi.Input['AccountAccountTagArgs']]]] = None,
25
28
  default_domain_name: Optional[pulumi.Input[str]] = None,
26
29
  display_name: Optional[pulumi.Input[str]] = None,
27
30
  folder_id: Optional[pulumi.Input[str]] = None,
@@ -37,9 +40,8 @@ class AccountArgs:
37
40
  :param pulumi.Input[str] account_name_prefix: Account name prefix.
38
41
  - This parameter is required if you are creating a new resource account.
39
42
  - If the registration application is applied to an existing account, this parameter does not need to be filled in.
43
+ :param pulumi.Input[Sequence[pulumi.Input['AccountAccountTagArgs']]] account_tags: The tags of the account See `account_tags` below.
40
44
  :param pulumi.Input[str] default_domain_name: The domain name is used to qualify the login name of RAM users and RAM roles.
41
-
42
- Format: \\<AccountAlias>.onaliyun.com where \\<AccountAlias> is the account alias, and the default value is the Aliyun account ID. The default domain name must end with the .onaliyun.com suffix. The maximum length of the default domain name (including suffix) is 64 characters. It can contain English letters, numbers, English periods (.) , dashes (-) and underscores (_).
43
45
  :param pulumi.Input[str] display_name: The account display name.
44
46
  - This parameter is required if you are creating a new resource account.
45
47
  - If the registration application is applied to an existing account, this parameter does not need to be filled in.
@@ -55,6 +57,8 @@ class AccountArgs:
55
57
  pulumi.set(__self__, "account_id", account_id)
56
58
  if account_name_prefix is not None:
57
59
  pulumi.set(__self__, "account_name_prefix", account_name_prefix)
60
+ if account_tags is not None:
61
+ pulumi.set(__self__, "account_tags", account_tags)
58
62
  if default_domain_name is not None:
59
63
  pulumi.set(__self__, "default_domain_name", default_domain_name)
60
64
  if display_name is not None:
@@ -106,13 +110,23 @@ class AccountArgs:
106
110
  def account_name_prefix(self, value: Optional[pulumi.Input[str]]):
107
111
  pulumi.set(self, "account_name_prefix", value)
108
112
 
113
+ @property
114
+ @pulumi.getter(name="accountTags")
115
+ def account_tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AccountAccountTagArgs']]]]:
116
+ """
117
+ The tags of the account See `account_tags` below.
118
+ """
119
+ return pulumi.get(self, "account_tags")
120
+
121
+ @account_tags.setter
122
+ def account_tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AccountAccountTagArgs']]]]):
123
+ pulumi.set(self, "account_tags", value)
124
+
109
125
  @property
110
126
  @pulumi.getter(name="defaultDomainName")
111
127
  def default_domain_name(self) -> Optional[pulumi.Input[str]]:
112
128
  """
113
129
  The domain name is used to qualify the login name of RAM users and RAM roles.
114
-
115
- Format: \\<AccountAlias>.onaliyun.com where \\<AccountAlias> is the account alias, and the default value is the Aliyun account ID. The default domain name must end with the .onaliyun.com suffix. The maximum length of the default domain name (including suffix) is 64 characters. It can contain English letters, numbers, English periods (.) , dashes (-) and underscores (_).
116
130
  """
117
131
  return pulumi.get(self, "default_domain_name")
118
132
 
@@ -168,6 +182,7 @@ class _AccountState:
168
182
  def __init__(__self__, *,
169
183
  account_id: Optional[pulumi.Input[int]] = None,
170
184
  account_name_prefix: Optional[pulumi.Input[str]] = None,
185
+ account_tags: Optional[pulumi.Input[Sequence[pulumi.Input['AccountAccountTagArgs']]]] = None,
171
186
  baseline_id: Optional[pulumi.Input[str]] = None,
172
187
  default_domain_name: Optional[pulumi.Input[str]] = None,
173
188
  display_name: Optional[pulumi.Input[str]] = None,
@@ -182,12 +197,11 @@ class _AccountState:
182
197
  :param pulumi.Input[str] account_name_prefix: Account name prefix.
183
198
  - This parameter is required if you are creating a new resource account.
184
199
  - If the registration application is applied to an existing account, this parameter does not need to be filled in.
200
+ :param pulumi.Input[Sequence[pulumi.Input['AccountAccountTagArgs']]] account_tags: The tags of the account See `account_tags` below.
185
201
  :param pulumi.Input[str] baseline_id: The baseline ID.
186
202
 
187
203
  If it is left blank, the system default baseline is used by default.
188
204
  :param pulumi.Input[str] default_domain_name: The domain name is used to qualify the login name of RAM users and RAM roles.
189
-
190
- Format: \\<AccountAlias>.onaliyun.com where \\<AccountAlias> is the account alias, and the default value is the Aliyun account ID. The default domain name must end with the .onaliyun.com suffix. The maximum length of the default domain name (including suffix) is 64 characters. It can contain English letters, numbers, English periods (.) , dashes (-) and underscores (_).
191
205
  :param pulumi.Input[str] display_name: The account display name.
192
206
  - This parameter is required if you are creating a new resource account.
193
207
  - If the registration application is applied to an existing account, this parameter does not need to be filled in.
@@ -203,6 +217,8 @@ class _AccountState:
203
217
  pulumi.set(__self__, "account_id", account_id)
204
218
  if account_name_prefix is not None:
205
219
  pulumi.set(__self__, "account_name_prefix", account_name_prefix)
220
+ if account_tags is not None:
221
+ pulumi.set(__self__, "account_tags", account_tags)
206
222
  if baseline_id is not None:
207
223
  pulumi.set(__self__, "baseline_id", baseline_id)
208
224
  if default_domain_name is not None:
@@ -244,6 +260,18 @@ class _AccountState:
244
260
  def account_name_prefix(self, value: Optional[pulumi.Input[str]]):
245
261
  pulumi.set(self, "account_name_prefix", value)
246
262
 
263
+ @property
264
+ @pulumi.getter(name="accountTags")
265
+ def account_tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AccountAccountTagArgs']]]]:
266
+ """
267
+ The tags of the account See `account_tags` below.
268
+ """
269
+ return pulumi.get(self, "account_tags")
270
+
271
+ @account_tags.setter
272
+ def account_tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AccountAccountTagArgs']]]]):
273
+ pulumi.set(self, "account_tags", value)
274
+
247
275
  @property
248
276
  @pulumi.getter(name="baselineId")
249
277
  def baseline_id(self) -> Optional[pulumi.Input[str]]:
@@ -263,8 +291,6 @@ class _AccountState:
263
291
  def default_domain_name(self) -> Optional[pulumi.Input[str]]:
264
292
  """
265
293
  The domain name is used to qualify the login name of RAM users and RAM roles.
266
-
267
- Format: \\<AccountAlias>.onaliyun.com where \\<AccountAlias> is the account alias, and the default value is the Aliyun account ID. The default domain name must end with the .onaliyun.com suffix. The maximum length of the default domain name (including suffix) is 64 characters. It can contain English letters, numbers, English periods (.) , dashes (-) and underscores (_).
268
294
  """
269
295
  return pulumi.get(self, "default_domain_name")
270
296
 
@@ -334,6 +360,7 @@ class Account(pulumi.CustomResource):
334
360
  opts: Optional[pulumi.ResourceOptions] = None,
335
361
  account_id: Optional[pulumi.Input[int]] = None,
336
362
  account_name_prefix: Optional[pulumi.Input[str]] = None,
363
+ account_tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AccountAccountTagArgs', 'AccountAccountTagArgsDict']]]]] = None,
337
364
  baseline_id: Optional[pulumi.Input[str]] = None,
338
365
  default_domain_name: Optional[pulumi.Input[str]] = None,
339
366
  display_name: Optional[pulumi.Input[str]] = None,
@@ -357,12 +384,11 @@ class Account(pulumi.CustomResource):
357
384
  :param pulumi.Input[str] account_name_prefix: Account name prefix.
358
385
  - This parameter is required if you are creating a new resource account.
359
386
  - If the registration application is applied to an existing account, this parameter does not need to be filled in.
387
+ :param pulumi.Input[Sequence[pulumi.Input[Union['AccountAccountTagArgs', 'AccountAccountTagArgsDict']]]] account_tags: The tags of the account See `account_tags` below.
360
388
  :param pulumi.Input[str] baseline_id: The baseline ID.
361
389
 
362
390
  If it is left blank, the system default baseline is used by default.
363
391
  :param pulumi.Input[str] default_domain_name: The domain name is used to qualify the login name of RAM users and RAM roles.
364
-
365
- Format: \\<AccountAlias>.onaliyun.com where \\<AccountAlias> is the account alias, and the default value is the Aliyun account ID. The default domain name must end with the .onaliyun.com suffix. The maximum length of the default domain name (including suffix) is 64 characters. It can contain English letters, numbers, English periods (.) , dashes (-) and underscores (_).
366
392
  :param pulumi.Input[str] display_name: The account display name.
367
393
  - This parameter is required if you are creating a new resource account.
368
394
  - If the registration application is applied to an existing account, this parameter does not need to be filled in.
@@ -405,6 +431,7 @@ class Account(pulumi.CustomResource):
405
431
  opts: Optional[pulumi.ResourceOptions] = None,
406
432
  account_id: Optional[pulumi.Input[int]] = None,
407
433
  account_name_prefix: Optional[pulumi.Input[str]] = None,
434
+ account_tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AccountAccountTagArgs', 'AccountAccountTagArgsDict']]]]] = None,
408
435
  baseline_id: Optional[pulumi.Input[str]] = None,
409
436
  default_domain_name: Optional[pulumi.Input[str]] = None,
410
437
  display_name: Optional[pulumi.Input[str]] = None,
@@ -421,6 +448,7 @@ class Account(pulumi.CustomResource):
421
448
 
422
449
  __props__.__dict__["account_id"] = account_id
423
450
  __props__.__dict__["account_name_prefix"] = account_name_prefix
451
+ __props__.__dict__["account_tags"] = account_tags
424
452
  if baseline_id is None and not opts.urn:
425
453
  raise TypeError("Missing required property 'baseline_id'")
426
454
  __props__.__dict__["baseline_id"] = baseline_id
@@ -441,6 +469,7 @@ class Account(pulumi.CustomResource):
441
469
  opts: Optional[pulumi.ResourceOptions] = None,
442
470
  account_id: Optional[pulumi.Input[int]] = None,
443
471
  account_name_prefix: Optional[pulumi.Input[str]] = None,
472
+ account_tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AccountAccountTagArgs', 'AccountAccountTagArgsDict']]]]] = None,
444
473
  baseline_id: Optional[pulumi.Input[str]] = None,
445
474
  default_domain_name: Optional[pulumi.Input[str]] = None,
446
475
  display_name: Optional[pulumi.Input[str]] = None,
@@ -460,12 +489,11 @@ class Account(pulumi.CustomResource):
460
489
  :param pulumi.Input[str] account_name_prefix: Account name prefix.
461
490
  - This parameter is required if you are creating a new resource account.
462
491
  - If the registration application is applied to an existing account, this parameter does not need to be filled in.
492
+ :param pulumi.Input[Sequence[pulumi.Input[Union['AccountAccountTagArgs', 'AccountAccountTagArgsDict']]]] account_tags: The tags of the account See `account_tags` below.
463
493
  :param pulumi.Input[str] baseline_id: The baseline ID.
464
494
 
465
495
  If it is left blank, the system default baseline is used by default.
466
496
  :param pulumi.Input[str] default_domain_name: The domain name is used to qualify the login name of RAM users and RAM roles.
467
-
468
- Format: \\<AccountAlias>.onaliyun.com where \\<AccountAlias> is the account alias, and the default value is the Aliyun account ID. The default domain name must end with the .onaliyun.com suffix. The maximum length of the default domain name (including suffix) is 64 characters. It can contain English letters, numbers, English periods (.) , dashes (-) and underscores (_).
469
497
  :param pulumi.Input[str] display_name: The account display name.
470
498
  - This parameter is required if you are creating a new resource account.
471
499
  - If the registration application is applied to an existing account, this parameter does not need to be filled in.
@@ -483,6 +511,7 @@ class Account(pulumi.CustomResource):
483
511
 
484
512
  __props__.__dict__["account_id"] = account_id
485
513
  __props__.__dict__["account_name_prefix"] = account_name_prefix
514
+ __props__.__dict__["account_tags"] = account_tags
486
515
  __props__.__dict__["baseline_id"] = baseline_id
487
516
  __props__.__dict__["default_domain_name"] = default_domain_name
488
517
  __props__.__dict__["display_name"] = display_name
@@ -511,6 +540,14 @@ class Account(pulumi.CustomResource):
511
540
  """
512
541
  return pulumi.get(self, "account_name_prefix")
513
542
 
543
+ @property
544
+ @pulumi.getter(name="accountTags")
545
+ def account_tags(self) -> pulumi.Output[Optional[Sequence['outputs.AccountAccountTag']]]:
546
+ """
547
+ The tags of the account See `account_tags` below.
548
+ """
549
+ return pulumi.get(self, "account_tags")
550
+
514
551
  @property
515
552
  @pulumi.getter(name="baselineId")
516
553
  def baseline_id(self) -> pulumi.Output[str]:
@@ -526,8 +563,6 @@ class Account(pulumi.CustomResource):
526
563
  def default_domain_name(self) -> pulumi.Output[Optional[str]]:
527
564
  """
528
565
  The domain name is used to qualify the login name of RAM users and RAM roles.
529
-
530
- Format: \\<AccountAlias>.onaliyun.com where \\<AccountAlias> is the account alias, and the default value is the Aliyun account ID. The default domain name must end with the .onaliyun.com suffix. The maximum length of the default domain name (including suffix) is 64 characters. It can contain English letters, numbers, English periods (.) , dashes (-) and underscores (_).
531
566
  """
532
567
  return pulumi.get(self, "default_domain_name")
533
568
 
@@ -15,10 +15,61 @@ else:
15
15
  from .. import _utilities
16
16
 
17
17
  __all__ = [
18
+ 'AccountAccountTag',
18
19
  'BaselineBaselineItem',
19
20
  'GetBaselinesBaselineResult',
20
21
  ]
21
22
 
23
+ @pulumi.output_type
24
+ class AccountAccountTag(dict):
25
+ @staticmethod
26
+ def __key_warning(key: str):
27
+ suggest = None
28
+ if key == "tagKey":
29
+ suggest = "tag_key"
30
+ elif key == "tagValue":
31
+ suggest = "tag_value"
32
+
33
+ if suggest:
34
+ pulumi.log.warn(f"Key '{key}' not found in AccountAccountTag. Access the value via the '{suggest}' property getter instead.")
35
+
36
+ def __getitem__(self, key: str) -> Any:
37
+ AccountAccountTag.__key_warning(key)
38
+ return super().__getitem__(key)
39
+
40
+ def get(self, key: str, default = None) -> Any:
41
+ AccountAccountTag.__key_warning(key)
42
+ return super().get(key, default)
43
+
44
+ def __init__(__self__, *,
45
+ tag_key: Optional[str] = None,
46
+ tag_value: Optional[str] = None):
47
+ """
48
+ :param str tag_key: The key of the tags
49
+ :param str tag_value: The value of the tags
50
+ """
51
+ if tag_key is not None:
52
+ pulumi.set(__self__, "tag_key", tag_key)
53
+ if tag_value is not None:
54
+ pulumi.set(__self__, "tag_value", tag_value)
55
+
56
+ @property
57
+ @pulumi.getter(name="tagKey")
58
+ def tag_key(self) -> Optional[str]:
59
+ """
60
+ The key of the tags
61
+ """
62
+ return pulumi.get(self, "tag_key")
63
+
64
+ @property
65
+ @pulumi.getter(name="tagValue")
66
+ def tag_value(self) -> Optional[str]:
67
+ """
68
+ The value of the tags
69
+ """
70
+ return pulumi.get(self, "tag_value")
71
+
72
+
22
73
  @pulumi.output_type
23
74
  class BaselineBaselineItem(dict):
24
75
  def __init__(__self__, *,