pulumi-alicloud 3.69.0__py3-none-any.whl → 3.69.0a1733203178__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 (47) hide show
  1. pulumi_alicloud/__init__.py +0 -56
  2. pulumi_alicloud/adb/db_cluster.py +0 -7
  3. pulumi_alicloud/arms/__init__.py +0 -2
  4. pulumi_alicloud/arms/_inputs.py +4 -42
  5. pulumi_alicloud/arms/dispatch_rule.py +0 -4
  6. pulumi_alicloud/arms/get_dispatch_rules.py +6 -99
  7. pulumi_alicloud/arms/outputs.py +13 -154
  8. pulumi_alicloud/cfg/rule.py +4 -4
  9. pulumi_alicloud/cs/autoscaling_config.py +0 -51
  10. pulumi_alicloud/dataworks/__init__.py +0 -4
  11. pulumi_alicloud/dataworks/outputs.py +0 -44
  12. pulumi_alicloud/dataworks/project.py +140 -294
  13. pulumi_alicloud/ecs/__init__.py +0 -1
  14. pulumi_alicloud/ecs/_inputs.py +0 -34
  15. pulumi_alicloud/ecs/disk.py +14 -156
  16. pulumi_alicloud/ecs/ecs_disk.py +97 -308
  17. pulumi_alicloud/ecs/ecs_key_pair.py +49 -77
  18. pulumi_alicloud/ecs/instance.py +0 -145
  19. pulumi_alicloud/ecs/key_pair.py +7 -27
  20. pulumi_alicloud/ecs/outputs.py +0 -37
  21. pulumi_alicloud/oss/__init__.py +0 -1
  22. pulumi_alicloud/oss/_inputs.py +0 -1750
  23. pulumi_alicloud/oss/outputs.py +0 -1338
  24. pulumi_alicloud/polardb/cluster.py +7 -7
  25. pulumi_alicloud/polardb/get_clusters.py +1 -1
  26. pulumi_alicloud/polardb/outputs.py +2 -2
  27. pulumi_alicloud/pulumi-plugin.json +1 -1
  28. pulumi_alicloud/redis/tair_instance.py +30 -63
  29. pulumi_alicloud/sae/application.py +1 -1
  30. pulumi_alicloud/slb/attachment.py +6 -2
  31. pulumi_alicloud/sls/__init__.py +0 -1
  32. pulumi_alicloud/sls/_inputs.py +0 -484
  33. pulumi_alicloud/sls/outputs.py +0 -346
  34. pulumi_alicloud/vpc/network.py +7 -7
  35. {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/METADATA +1 -1
  36. {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/RECORD +38 -47
  37. pulumi_alicloud/arms/alert_robot.py +0 -421
  38. pulumi_alicloud/arms/get_alert_robots.py +0 -230
  39. pulumi_alicloud/dataworks/_inputs.py +0 -95
  40. pulumi_alicloud/dataworks/data_source.py +0 -686
  41. pulumi_alicloud/dataworks/data_source_shared_rule.py +0 -378
  42. pulumi_alicloud/dataworks/project_member.py +0 -380
  43. pulumi_alicloud/ecs/image_pipeline_execution.py +0 -245
  44. pulumi_alicloud/oss/bucket_website.py +0 -416
  45. pulumi_alicloud/sls/oss_export_sink.py +0 -428
  46. {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/WHEEL +0 -0
  47. {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/top_level.txt +0 -0
@@ -918,14 +918,6 @@ _utilities.register(
918
918
  "alicloud:arms/alertContactGroup:AlertContactGroup": "AlertContactGroup"
919
919
  }
920
920
  },
921
- {
922
- "pkg": "alicloud",
923
- "mod": "arms/alertRobot",
924
- "fqn": "pulumi_alicloud.arms",
925
- "classes": {
926
- "alicloud:arms/alertRobot:AlertRobot": "AlertRobot"
927
- }
928
- },
929
921
  {
930
922
  "pkg": "alicloud",
931
923
  "mod": "arms/dispatchRule",
@@ -2366,22 +2358,6 @@ _utilities.register(
2366
2358
  "alicloud:datahub/topic:Topic": "Topic"
2367
2359
  }
2368
2360
  },
2369
- {
2370
- "pkg": "alicloud",
2371
- "mod": "dataworks/dataSource",
2372
- "fqn": "pulumi_alicloud.dataworks",
2373
- "classes": {
2374
- "alicloud:dataworks/dataSource:DataSource": "DataSource"
2375
- }
2376
- },
2377
- {
2378
- "pkg": "alicloud",
2379
- "mod": "dataworks/dataSourceSharedRule",
2380
- "fqn": "pulumi_alicloud.dataworks",
2381
- "classes": {
2382
- "alicloud:dataworks/dataSourceSharedRule:DataSourceSharedRule": "DataSourceSharedRule"
2383
- }
2384
- },
2385
2361
  {
2386
2362
  "pkg": "alicloud",
2387
2363
  "mod": "dataworks/folder",
@@ -2398,14 +2374,6 @@ _utilities.register(
2398
2374
  "alicloud:dataworks/project:Project": "Project"
2399
2375
  }
2400
2376
  },
2401
- {
2402
- "pkg": "alicloud",
2403
- "mod": "dataworks/projectMember",
2404
- "fqn": "pulumi_alicloud.dataworks",
2405
- "classes": {
2406
- "alicloud:dataworks/projectMember:ProjectMember": "ProjectMember"
2407
- }
2408
- },
2409
2377
  {
2410
2378
  "pkg": "alicloud",
2411
2379
  "mod": "dbs/backupPlan",
@@ -3334,14 +3302,6 @@ _utilities.register(
3334
3302
  "alicloud:ecs/imageImport:ImageImport": "ImageImport"
3335
3303
  }
3336
3304
  },
3337
- {
3338
- "pkg": "alicloud",
3339
- "mod": "ecs/imagePipelineExecution",
3340
- "fqn": "pulumi_alicloud.ecs",
3341
- "classes": {
3342
- "alicloud:ecs/imagePipelineExecution:ImagePipelineExecution": "ImagePipelineExecution"
3343
- }
3344
- },
3345
3305
  {
3346
3306
  "pkg": "alicloud",
3347
3307
  "mod": "ecs/imageSharePermission",
@@ -5694,14 +5654,6 @@ _utilities.register(
5694
5654
  "alicloud:oss/bucketVersioning:BucketVersioning": "BucketVersioning"
5695
5655
  }
5696
5656
  },
5697
- {
5698
- "pkg": "alicloud",
5699
- "mod": "oss/bucketWebsite",
5700
- "fqn": "pulumi_alicloud.oss",
5701
- "classes": {
5702
- "alicloud:oss/bucketWebsite:BucketWebsite": "BucketWebsite"
5703
- }
5704
- },
5705
5657
  {
5706
5658
  "pkg": "alicloud",
5707
5659
  "mod": "ots/instance",
@@ -7070,14 +7022,6 @@ _utilities.register(
7070
7022
  "alicloud:sls/collectionPolicy:CollectionPolicy": "CollectionPolicy"
7071
7023
  }
7072
7024
  },
7073
- {
7074
- "pkg": "alicloud",
7075
- "mod": "sls/ossExportSink",
7076
- "fqn": "pulumi_alicloud.sls",
7077
- "classes": {
7078
- "alicloud:sls/ossExportSink:OssExportSink": "OssExportSink"
7079
- }
7080
- },
7081
7025
  {
7082
7026
  "pkg": "alicloud",
7083
7027
  "mod": "sls/scheduledSql",
@@ -65,7 +65,6 @@ class DBClusterArgs:
65
65
  :param pulumi.Input[str] elastic_io_resource_size: The specifications of a single elastic resource node. Default Value: `8Core64GB`. Valid values:
66
66
  - `8Core64GB`: If you set `elastic_io_resource_size` to `8Core64GB`, the specifications of an EIU are 24 cores and 192 GB memory.
67
67
  - `12Core96GB`: If you set `elastic_io_resource_size` to `12Core96GB`, the specifications of an EIU are 36 cores and 288 GB memory.
68
- - `16Core128GB`: (Available since v1.237.0)If you set `elastic_io_resource_size` to `16Core128GB`, the specifications of an EIU are 48 cores and 384 GB memory.
69
68
  :param pulumi.Input[bool] enable_ssl: Specifies whether to enable SSL encryption. Default Value: `false`. Valid values: `true`, `false`.
70
69
  :param pulumi.Input[str] kms_id: The Key Management Service (KMS) ID that is used for disk encryption. `kms_id` is valid only when `disk_encryption` is set to `true`.
71
70
  :param pulumi.Input[str] maintain_time: The maintenance window of the cluster. Format: hh:mmZ-hh:mmZ.
@@ -311,7 +310,6 @@ class DBClusterArgs:
311
310
  The specifications of a single elastic resource node. Default Value: `8Core64GB`. Valid values:
312
311
  - `8Core64GB`: If you set `elastic_io_resource_size` to `8Core64GB`, the specifications of an EIU are 24 cores and 192 GB memory.
313
312
  - `12Core96GB`: If you set `elastic_io_resource_size` to `12Core96GB`, the specifications of an EIU are 36 cores and 288 GB memory.
314
- - `16Core128GB`: (Available since v1.237.0)If you set `elastic_io_resource_size` to `16Core128GB`, the specifications of an EIU are 48 cores and 384 GB memory.
315
313
  """
316
314
  return pulumi.get(self, "elastic_io_resource_size")
317
315
 
@@ -546,7 +544,6 @@ class _DBClusterState:
546
544
  :param pulumi.Input[str] elastic_io_resource_size: The specifications of a single elastic resource node. Default Value: `8Core64GB`. Valid values:
547
545
  - `8Core64GB`: If you set `elastic_io_resource_size` to `8Core64GB`, the specifications of an EIU are 24 cores and 192 GB memory.
548
546
  - `12Core96GB`: If you set `elastic_io_resource_size` to `12Core96GB`, the specifications of an EIU are 36 cores and 288 GB memory.
549
- - `16Core128GB`: (Available since v1.237.0)If you set `elastic_io_resource_size` to `16Core128GB`, the specifications of an EIU are 48 cores and 384 GB memory.
550
547
  :param pulumi.Input[bool] enable_ssl: Specifies whether to enable SSL encryption. Default Value: `false`. Valid values: `true`, `false`.
551
548
  :param pulumi.Input[str] kms_id: The Key Management Service (KMS) ID that is used for disk encryption. `kms_id` is valid only when `disk_encryption` is set to `true`.
552
549
  :param pulumi.Input[str] maintain_time: The maintenance window of the cluster. Format: hh:mmZ-hh:mmZ.
@@ -803,7 +800,6 @@ class _DBClusterState:
803
800
  The specifications of a single elastic resource node. Default Value: `8Core64GB`. Valid values:
804
801
  - `8Core64GB`: If you set `elastic_io_resource_size` to `8Core64GB`, the specifications of an EIU are 24 cores and 192 GB memory.
805
802
  - `12Core96GB`: If you set `elastic_io_resource_size` to `12Core96GB`, the specifications of an EIU are 36 cores and 288 GB memory.
806
- - `16Core128GB`: (Available since v1.237.0)If you set `elastic_io_resource_size` to `16Core128GB`, the specifications of an EIU are 48 cores and 384 GB memory.
807
803
  """
808
804
  return pulumi.get(self, "elastic_io_resource_size")
809
805
 
@@ -1082,7 +1078,6 @@ class DBCluster(pulumi.CustomResource):
1082
1078
  :param pulumi.Input[str] elastic_io_resource_size: The specifications of a single elastic resource node. Default Value: `8Core64GB`. Valid values:
1083
1079
  - `8Core64GB`: If you set `elastic_io_resource_size` to `8Core64GB`, the specifications of an EIU are 24 cores and 192 GB memory.
1084
1080
  - `12Core96GB`: If you set `elastic_io_resource_size` to `12Core96GB`, the specifications of an EIU are 36 cores and 288 GB memory.
1085
- - `16Core128GB`: (Available since v1.237.0)If you set `elastic_io_resource_size` to `16Core128GB`, the specifications of an EIU are 48 cores and 384 GB memory.
1086
1081
  :param pulumi.Input[bool] enable_ssl: Specifies whether to enable SSL encryption. Default Value: `false`. Valid values: `true`, `false`.
1087
1082
  :param pulumi.Input[str] kms_id: The Key Management Service (KMS) ID that is used for disk encryption. `kms_id` is valid only when `disk_encryption` is set to `true`.
1088
1083
  :param pulumi.Input[str] maintain_time: The maintenance window of the cluster. Format: hh:mmZ-hh:mmZ.
@@ -1270,7 +1265,6 @@ class DBCluster(pulumi.CustomResource):
1270
1265
  :param pulumi.Input[str] elastic_io_resource_size: The specifications of a single elastic resource node. Default Value: `8Core64GB`. Valid values:
1271
1266
  - `8Core64GB`: If you set `elastic_io_resource_size` to `8Core64GB`, the specifications of an EIU are 24 cores and 192 GB memory.
1272
1267
  - `12Core96GB`: If you set `elastic_io_resource_size` to `12Core96GB`, the specifications of an EIU are 36 cores and 288 GB memory.
1273
- - `16Core128GB`: (Available since v1.237.0)If you set `elastic_io_resource_size` to `16Core128GB`, the specifications of an EIU are 48 cores and 384 GB memory.
1274
1268
  :param pulumi.Input[bool] enable_ssl: Specifies whether to enable SSL encryption. Default Value: `false`. Valid values: `true`, `false`.
1275
1269
  :param pulumi.Input[str] kms_id: The Key Management Service (KMS) ID that is used for disk encryption. `kms_id` is valid only when `disk_encryption` is set to `true`.
1276
1270
  :param pulumi.Input[str] maintain_time: The maintenance window of the cluster. Format: hh:mmZ-hh:mmZ.
@@ -1443,7 +1437,6 @@ class DBCluster(pulumi.CustomResource):
1443
1437
  The specifications of a single elastic resource node. Default Value: `8Core64GB`. Valid values:
1444
1438
  - `8Core64GB`: If you set `elastic_io_resource_size` to `8Core64GB`, the specifications of an EIU are 24 cores and 192 GB memory.
1445
1439
  - `12Core96GB`: If you set `elastic_io_resource_size` to `12Core96GB`, the specifications of an EIU are 36 cores and 288 GB memory.
1446
- - `16Core128GB`: (Available since v1.237.0)If you set `elastic_io_resource_size` to `16Core128GB`, the specifications of an EIU are 48 cores and 384 GB memory.
1447
1440
  """
1448
1441
  return pulumi.get(self, "elastic_io_resource_size")
1449
1442
 
@@ -8,7 +8,6 @@ import typing
8
8
  from .addon_release import *
9
9
  from .alert_contact import *
10
10
  from .alert_contact_group import *
11
- from .alert_robot import *
12
11
  from .dispatch_rule import *
13
12
  from .env_custom_job import *
14
13
  from .env_feature import *
@@ -17,7 +16,6 @@ from .env_service_monitor import *
17
16
  from .environment import *
18
17
  from .get_alert_contact_groups import *
19
18
  from .get_alert_contacts import *
20
- from .get_alert_robots import *
21
19
  from .get_dispatch_rules import *
22
20
  from .get_integration_exporters import *
23
21
  from .get_prometheis import *
@@ -341,18 +341,10 @@ if not MYPY:
341
341
  """
342
342
  The notification method. Valid values: dingTalk, sms, webhook, email, and wechat.
343
343
  """
344
- notify_end_time: pulumi.Input[str]
345
- """
346
- End time of notification.
347
- """
348
344
  notify_objects: pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyRuleNotifyObjectArgsDict']]]
349
345
  """
350
346
  Sets the notification object. See `notify_objects` below.
351
347
  """
352
- notify_start_time: pulumi.Input[str]
353
- """
354
- Start time of notification.
355
- """
356
348
  elif False:
357
349
  DispatchRuleNotifyRuleArgsDict: TypeAlias = Mapping[str, Any]
358
350
 
@@ -360,19 +352,13 @@ elif False:
360
352
  class DispatchRuleNotifyRuleArgs:
361
353
  def __init__(__self__, *,
362
354
  notify_channels: pulumi.Input[Sequence[pulumi.Input[str]]],
363
- notify_end_time: pulumi.Input[str],
364
- notify_objects: pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyRuleNotifyObjectArgs']]],
365
- notify_start_time: pulumi.Input[str]):
355
+ notify_objects: pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyRuleNotifyObjectArgs']]]):
366
356
  """
367
357
  :param pulumi.Input[Sequence[pulumi.Input[str]]] notify_channels: The notification method. Valid values: dingTalk, sms, webhook, email, and wechat.
368
- :param pulumi.Input[str] notify_end_time: End time of notification.
369
358
  :param pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyRuleNotifyObjectArgs']]] notify_objects: Sets the notification object. See `notify_objects` below.
370
- :param pulumi.Input[str] notify_start_time: Start time of notification.
371
359
  """
372
360
  pulumi.set(__self__, "notify_channels", notify_channels)
373
- pulumi.set(__self__, "notify_end_time", notify_end_time)
374
361
  pulumi.set(__self__, "notify_objects", notify_objects)
375
- pulumi.set(__self__, "notify_start_time", notify_start_time)
376
362
 
377
363
  @property
378
364
  @pulumi.getter(name="notifyChannels")
@@ -386,18 +372,6 @@ class DispatchRuleNotifyRuleArgs:
386
372
  def notify_channels(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
387
373
  pulumi.set(self, "notify_channels", value)
388
374
 
389
- @property
390
- @pulumi.getter(name="notifyEndTime")
391
- def notify_end_time(self) -> pulumi.Input[str]:
392
- """
393
- End time of notification.
394
- """
395
- return pulumi.get(self, "notify_end_time")
396
-
397
- @notify_end_time.setter
398
- def notify_end_time(self, value: pulumi.Input[str]):
399
- pulumi.set(self, "notify_end_time", value)
400
-
401
375
  @property
402
376
  @pulumi.getter(name="notifyObjects")
403
377
  def notify_objects(self) -> pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyRuleNotifyObjectArgs']]]:
@@ -410,18 +384,6 @@ class DispatchRuleNotifyRuleArgs:
410
384
  def notify_objects(self, value: pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyRuleNotifyObjectArgs']]]):
411
385
  pulumi.set(self, "notify_objects", value)
412
386
 
413
- @property
414
- @pulumi.getter(name="notifyStartTime")
415
- def notify_start_time(self) -> pulumi.Input[str]:
416
- """
417
- Start time of notification.
418
- """
419
- return pulumi.get(self, "notify_start_time")
420
-
421
- @notify_start_time.setter
422
- def notify_start_time(self, value: pulumi.Input[str]):
423
- pulumi.set(self, "notify_start_time", value)
424
-
425
387
 
426
388
  if not MYPY:
427
389
  class DispatchRuleNotifyRuleNotifyObjectArgsDict(TypedDict):
@@ -435,7 +397,7 @@ if not MYPY:
435
397
  """
436
398
  notify_type: pulumi.Input[str]
437
399
  """
438
- The type of the alert contact. Valid values: ARMS_ROBOT: robot. ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
400
+ The type of the alert contact. Valid values: ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
439
401
  """
440
402
  elif False:
441
403
  DispatchRuleNotifyRuleNotifyObjectArgsDict: TypeAlias = Mapping[str, Any]
@@ -449,7 +411,7 @@ class DispatchRuleNotifyRuleNotifyObjectArgs:
449
411
  """
450
412
  :param pulumi.Input[str] name: The name of the contact or contact group.
451
413
  :param pulumi.Input[str] notify_object_id: The ID of the contact or contact group.
452
- :param pulumi.Input[str] notify_type: The type of the alert contact. Valid values: ARMS_ROBOT: robot. ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
414
+ :param pulumi.Input[str] notify_type: The type of the alert contact. Valid values: ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
453
415
  """
454
416
  pulumi.set(__self__, "name", name)
455
417
  pulumi.set(__self__, "notify_object_id", notify_object_id)
@@ -483,7 +445,7 @@ class DispatchRuleNotifyRuleNotifyObjectArgs:
483
445
  @pulumi.getter(name="notifyType")
484
446
  def notify_type(self) -> pulumi.Input[str]:
485
447
  """
486
- The type of the alert contact. Valid values: ARMS_ROBOT: robot. ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
448
+ The type of the alert contact. Valid values: ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
487
449
  """
488
450
  return pulumi.get(self, "notify_type")
489
451
 
@@ -306,8 +306,6 @@ class DispatchRule(pulumi.CustomResource):
306
306
  "dingTalk",
307
307
  "wechat",
308
308
  ],
309
- "notify_start_time": "10:00",
310
- "notify_end_time": "23:00",
311
309
  }])
312
310
  ```
313
311
 
@@ -390,8 +388,6 @@ class DispatchRule(pulumi.CustomResource):
390
388
  "dingTalk",
391
389
  "wechat",
392
390
  ],
393
- "notify_start_time": "10:00",
394
- "notify_end_time": "23:00",
395
391
  }])
396
392
  ```
397
393
 
@@ -56,9 +56,6 @@ class GetDispatchRulesResult:
56
56
  @property
57
57
  @pulumi.getter(name="dispatchRuleName")
58
58
  def dispatch_rule_name(self) -> Optional[str]:
59
- """
60
- The name of the dispatch rule.
61
- """
62
59
  return pulumi.get(self, "dispatch_rule_name")
63
60
 
64
61
  @property
@@ -87,9 +84,6 @@ class GetDispatchRulesResult:
87
84
  @property
88
85
  @pulumi.getter
89
86
  def names(self) -> Sequence[str]:
90
- """
91
- A list of Dispatch Rule names.
92
- """
93
87
  return pulumi.get(self, "names")
94
88
 
95
89
  @property
@@ -100,9 +94,6 @@ class GetDispatchRulesResult:
100
94
  @property
101
95
  @pulumi.getter
102
96
  def rules(self) -> Sequence['outputs.GetDispatchRulesRuleResult']:
103
- """
104
- A list of Arms Dispatch Rules. Each element contains the following attributes:
105
- """
106
97
  return pulumi.get(self, "rules")
107
98
 
108
99
 
@@ -131,7 +122,7 @@ def get_dispatch_rules(dispatch_rule_name: Optional[str] = None,
131
122
  """
132
123
  This data source provides the Arms Dispatch Rules of the current Alibaba Cloud user.
133
124
 
134
- > **NOTE:** Available since v1.136.0.
125
+ > **NOTE:** Available in v1.136.0+.
135
126
 
136
127
  ## Example Usage
137
128
 
@@ -141,52 +132,10 @@ def get_dispatch_rules(dispatch_rule_name: Optional[str] = None,
141
132
  import pulumi
142
133
  import pulumi_alicloud as alicloud
143
134
 
144
- default = alicloud.arms.AlertContact("default",
145
- alert_contact_name="example_value",
146
- email="example_value@aaa.com")
147
- default_alert_contact_group = alicloud.arms.AlertContactGroup("default",
148
- alert_contact_group_name="example_value",
149
- contact_ids=[default.id])
150
- default_dispatch_rule = alicloud.arms.DispatchRule("default",
151
- dispatch_rule_name="example_value",
152
- dispatch_type="CREATE_ALERT",
153
- group_rules=[{
154
- "group_wait_time": 5,
155
- "group_interval": 15,
156
- "repeat_interval": 100,
157
- "grouping_fields": ["alertname"],
158
- }],
159
- label_match_expression_grids=[{
160
- "label_match_expression_groups": [{
161
- "label_match_expressions": [{
162
- "key": "_aliyun_arms_involvedObject_kind",
163
- "value": "app",
164
- "operator": "eq",
165
- }],
166
- }],
167
- }],
168
- notify_rules=[{
169
- "notify_objects": [
170
- {
171
- "notify_object_id": default.id,
172
- "notify_type": "ARMS_CONTACT",
173
- "name": "example_value",
174
- },
175
- {
176
- "notify_object_id": default_alert_contact_group.id,
177
- "notify_type": "ARMS_CONTACT_GROUP",
178
- "name": "example_value",
179
- },
180
- ],
181
- "notify_channels": [
182
- "dingTalk",
183
- "wechat",
184
- ],
185
- "notify_start_time": "10:00",
186
- "notify_end_time": "23:00",
187
- }])
188
135
  ids = alicloud.arms.get_dispatch_rules()
189
136
  pulumi.export("armsDispatchRuleId1", ids.rules[0].id)
137
+ name_regex = alicloud.arms.get_dispatch_rules(name_regex="^my-DispatchRule")
138
+ pulumi.export("armsDispatchRuleId2", name_regex.rules[0].id)
190
139
  ```
191
140
 
192
141
 
@@ -223,7 +172,7 @@ def get_dispatch_rules_output(dispatch_rule_name: Optional[pulumi.Input[Optional
223
172
  """
224
173
  This data source provides the Arms Dispatch Rules of the current Alibaba Cloud user.
225
174
 
226
- > **NOTE:** Available since v1.136.0.
175
+ > **NOTE:** Available in v1.136.0+.
227
176
 
228
177
  ## Example Usage
229
178
 
@@ -233,52 +182,10 @@ def get_dispatch_rules_output(dispatch_rule_name: Optional[pulumi.Input[Optional
233
182
  import pulumi
234
183
  import pulumi_alicloud as alicloud
235
184
 
236
- default = alicloud.arms.AlertContact("default",
237
- alert_contact_name="example_value",
238
- email="example_value@aaa.com")
239
- default_alert_contact_group = alicloud.arms.AlertContactGroup("default",
240
- alert_contact_group_name="example_value",
241
- contact_ids=[default.id])
242
- default_dispatch_rule = alicloud.arms.DispatchRule("default",
243
- dispatch_rule_name="example_value",
244
- dispatch_type="CREATE_ALERT",
245
- group_rules=[{
246
- "group_wait_time": 5,
247
- "group_interval": 15,
248
- "repeat_interval": 100,
249
- "grouping_fields": ["alertname"],
250
- }],
251
- label_match_expression_grids=[{
252
- "label_match_expression_groups": [{
253
- "label_match_expressions": [{
254
- "key": "_aliyun_arms_involvedObject_kind",
255
- "value": "app",
256
- "operator": "eq",
257
- }],
258
- }],
259
- }],
260
- notify_rules=[{
261
- "notify_objects": [
262
- {
263
- "notify_object_id": default.id,
264
- "notify_type": "ARMS_CONTACT",
265
- "name": "example_value",
266
- },
267
- {
268
- "notify_object_id": default_alert_contact_group.id,
269
- "notify_type": "ARMS_CONTACT_GROUP",
270
- "name": "example_value",
271
- },
272
- ],
273
- "notify_channels": [
274
- "dingTalk",
275
- "wechat",
276
- ],
277
- "notify_start_time": "10:00",
278
- "notify_end_time": "23:00",
279
- }])
280
185
  ids = alicloud.arms.get_dispatch_rules()
281
186
  pulumi.export("armsDispatchRuleId1", ids.rules[0].id)
187
+ name_regex = alicloud.arms.get_dispatch_rules(name_regex="^my-DispatchRule")
188
+ pulumi.export("armsDispatchRuleId2", name_regex.rules[0].id)
282
189
  ```
283
190
 
284
191