pulumi-alicloud 3.70.0__py3-none-any.whl → 3.70.0a1733793116__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/__init__.py +0 -27
  2. pulumi_alicloud/arms/_inputs.py +0 -185
  3. pulumi_alicloud/arms/dispatch_rule.py +1 -70
  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 +11 -258
  8. pulumi_alicloud/cen/private_zone.py +69 -73
  9. pulumi_alicloud/cen/transit_router_multicast_domain_peer_member.py +2 -2
  10. pulumi_alicloud/cfg/rule.py +2 -2
  11. pulumi_alicloud/ess/_inputs.py +0 -54
  12. pulumi_alicloud/ess/outputs.py +0 -51
  13. pulumi_alicloud/ess/scaling_configuration.py +0 -47
  14. pulumi_alicloud/ess/scaling_group.py +0 -47
  15. pulumi_alicloud/fc/v3_trigger.py +0 -96
  16. pulumi_alicloud/kms/_inputs.py +5 -5
  17. pulumi_alicloud/kms/outputs.py +3 -3
  18. pulumi_alicloud/nas/access_group.py +2 -10
  19. pulumi_alicloud/nas/access_point.py +2 -10
  20. pulumi_alicloud/nas/fileset.py +2 -2
  21. pulumi_alicloud/oos/execution.py +10 -18
  22. pulumi_alicloud/oos/template.py +6 -14
  23. pulumi_alicloud/pai/__init__.py +0 -1
  24. pulumi_alicloud/pulumi-plugin.json +1 -1
  25. pulumi_alicloud/rdc/get_organizations.py +2 -12
  26. pulumi_alicloud/rdc/organization.py +2 -6
  27. pulumi_alicloud/vpc/__init__.py +0 -1
  28. {pulumi_alicloud-3.70.0.dist-info → pulumi_alicloud-3.70.0a1733793116.dist-info}/METADATA +3 -3
  29. {pulumi_alicloud-3.70.0.dist-info → pulumi_alicloud-3.70.0a1733793116.dist-info}/RECORD +31 -35
  30. pulumi_alicloud/live/__init__.py +0 -8
  31. pulumi_alicloud/live/caster.py +0 -1343
  32. pulumi_alicloud/pai/service.py +0 -501
  33. pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +0 -545
  34. {pulumi_alicloud-3.70.0.dist-info → pulumi_alicloud-3.70.0a1733793116.dist-info}/WHEEL +0 -0
  35. {pulumi_alicloud-3.70.0.dist-info → pulumi_alicloud-3.70.0a1733793116.dist-info}/top_level.txt +0 -0
@@ -187,8 +187,6 @@ if typing.TYPE_CHECKING:
187
187
  kvstore = __kvstore
188
188
  import pulumi_alicloud.lindorm as __lindorm
189
189
  lindorm = __lindorm
190
- import pulumi_alicloud.live as __live
191
- live = __live
192
190
  import pulumi_alicloud.log as __log
193
191
  log = __log
194
192
  import pulumi_alicloud.marketplace as __marketplace
@@ -376,7 +374,6 @@ else:
376
374
  kms = _utilities.lazy_import('pulumi_alicloud.kms')
377
375
  kvstore = _utilities.lazy_import('pulumi_alicloud.kvstore')
378
376
  lindorm = _utilities.lazy_import('pulumi_alicloud.lindorm')
379
- live = _utilities.lazy_import('pulumi_alicloud.live')
380
377
  log = _utilities.lazy_import('pulumi_alicloud.log')
381
378
  marketplace = _utilities.lazy_import('pulumi_alicloud.marketplace')
382
379
  maxcompute = _utilities.lazy_import('pulumi_alicloud.maxcompute')
@@ -4969,14 +4966,6 @@ _utilities.register(
4969
4966
  "alicloud:lindorm/instance:Instance": "Instance"
4970
4967
  }
4971
4968
  },
4972
- {
4973
- "pkg": "alicloud",
4974
- "mod": "live/caster",
4975
- "fqn": "pulumi_alicloud.live",
4976
- "classes": {
4977
- "alicloud:live/caster:Caster": "Caster"
4978
- }
4979
- },
4980
4969
  {
4981
4970
  "pkg": "alicloud",
4982
4971
  "mod": "log/alert",
@@ -5761,14 +5750,6 @@ _utilities.register(
5761
5750
  "alicloud:ots/tunnel:Tunnel": "Tunnel"
5762
5751
  }
5763
5752
  },
5764
- {
5765
- "pkg": "alicloud",
5766
- "mod": "pai/service",
5767
- "fqn": "pulumi_alicloud.pai",
5768
- "classes": {
5769
- "alicloud:pai/service:Service": "Service"
5770
- }
5771
- },
5772
5753
  {
5773
5754
  "pkg": "alicloud",
5774
5755
  "mod": "pai/workspaceCodeSource",
@@ -7441,14 +7422,6 @@ _utilities.register(
7441
7422
  "alicloud:vpc/ipamIpamPool:IpamIpamPool": "IpamIpamPool"
7442
7423
  }
7443
7424
  },
7444
- {
7445
- "pkg": "alicloud",
7446
- "mod": "vpc/ipamIpamPoolAllocation",
7447
- "fqn": "pulumi_alicloud.vpc",
7448
- "classes": {
7449
- "alicloud:vpc/ipamIpamPoolAllocation:IpamIpamPoolAllocation": "IpamIpamPoolAllocation"
7450
- }
7451
- },
7452
7425
  {
7453
7426
  "pkg": "alicloud",
7454
7427
  "mod": "vpc/ipamIpamPoolCidr",
@@ -27,8 +27,6 @@ __all__ = [
27
27
  'DispatchRuleNotifyRuleArgsDict',
28
28
  'DispatchRuleNotifyRuleNotifyObjectArgs',
29
29
  'DispatchRuleNotifyRuleNotifyObjectArgsDict',
30
- 'DispatchRuleNotifyTemplateArgs',
31
- 'DispatchRuleNotifyTemplateArgsDict',
32
30
  'PrometheusAlertRuleAnnotationArgs',
33
31
  'PrometheusAlertRuleAnnotationArgsDict',
34
32
  'PrometheusAlertRuleLabelArgs',
@@ -494,189 +492,6 @@ class DispatchRuleNotifyRuleNotifyObjectArgs:
494
492
  pulumi.set(self, "notify_type", value)
495
493
 
496
494
 
497
- if not MYPY:
498
- class DispatchRuleNotifyTemplateArgsDict(TypedDict):
499
- email_content: pulumi.Input[str]
500
- """
501
- The content of the email notification.
502
- """
503
- email_recover_content: pulumi.Input[str]
504
- """
505
- The content of the email notification for restored alerts.
506
- """
507
- email_recover_title: pulumi.Input[str]
508
- """
509
- The title of the email notification for restored alerts.
510
- """
511
- email_title: pulumi.Input[str]
512
- """
513
- The title of the email notification.
514
- """
515
- robot_content: pulumi.Input[str]
516
- """
517
- The content of the robot notification.
518
- """
519
- sms_content: pulumi.Input[str]
520
- """
521
- The content of the SMS notification.
522
- """
523
- sms_recover_content: pulumi.Input[str]
524
- """
525
- The content of the SMS notification for restored alerts.
526
- """
527
- tts_content: pulumi.Input[str]
528
- """
529
- The content of the TTS notification.
530
- """
531
- tts_recover_content: pulumi.Input[str]
532
- """
533
- The content of the TTS notification for restored alerts.
534
- """
535
- elif False:
536
- DispatchRuleNotifyTemplateArgsDict: TypeAlias = Mapping[str, Any]
537
-
538
- @pulumi.input_type
539
- class DispatchRuleNotifyTemplateArgs:
540
- def __init__(__self__, *,
541
- email_content: pulumi.Input[str],
542
- email_recover_content: pulumi.Input[str],
543
- email_recover_title: pulumi.Input[str],
544
- email_title: pulumi.Input[str],
545
- robot_content: pulumi.Input[str],
546
- sms_content: pulumi.Input[str],
547
- sms_recover_content: pulumi.Input[str],
548
- tts_content: pulumi.Input[str],
549
- tts_recover_content: pulumi.Input[str]):
550
- """
551
- :param pulumi.Input[str] email_content: The content of the email notification.
552
- :param pulumi.Input[str] email_recover_content: The content of the email notification for restored alerts.
553
- :param pulumi.Input[str] email_recover_title: The title of the email notification for restored alerts.
554
- :param pulumi.Input[str] email_title: The title of the email notification.
555
- :param pulumi.Input[str] robot_content: The content of the robot notification.
556
- :param pulumi.Input[str] sms_content: The content of the SMS notification.
557
- :param pulumi.Input[str] sms_recover_content: The content of the SMS notification for restored alerts.
558
- :param pulumi.Input[str] tts_content: The content of the TTS notification.
559
- :param pulumi.Input[str] tts_recover_content: The content of the TTS notification for restored alerts.
560
- """
561
- pulumi.set(__self__, "email_content", email_content)
562
- pulumi.set(__self__, "email_recover_content", email_recover_content)
563
- pulumi.set(__self__, "email_recover_title", email_recover_title)
564
- pulumi.set(__self__, "email_title", email_title)
565
- pulumi.set(__self__, "robot_content", robot_content)
566
- pulumi.set(__self__, "sms_content", sms_content)
567
- pulumi.set(__self__, "sms_recover_content", sms_recover_content)
568
- pulumi.set(__self__, "tts_content", tts_content)
569
- pulumi.set(__self__, "tts_recover_content", tts_recover_content)
570
-
571
- @property
572
- @pulumi.getter(name="emailContent")
573
- def email_content(self) -> pulumi.Input[str]:
574
- """
575
- The content of the email notification.
576
- """
577
- return pulumi.get(self, "email_content")
578
-
579
- @email_content.setter
580
- def email_content(self, value: pulumi.Input[str]):
581
- pulumi.set(self, "email_content", value)
582
-
583
- @property
584
- @pulumi.getter(name="emailRecoverContent")
585
- def email_recover_content(self) -> pulumi.Input[str]:
586
- """
587
- The content of the email notification for restored alerts.
588
- """
589
- return pulumi.get(self, "email_recover_content")
590
-
591
- @email_recover_content.setter
592
- def email_recover_content(self, value: pulumi.Input[str]):
593
- pulumi.set(self, "email_recover_content", value)
594
-
595
- @property
596
- @pulumi.getter(name="emailRecoverTitle")
597
- def email_recover_title(self) -> pulumi.Input[str]:
598
- """
599
- The title of the email notification for restored alerts.
600
- """
601
- return pulumi.get(self, "email_recover_title")
602
-
603
- @email_recover_title.setter
604
- def email_recover_title(self, value: pulumi.Input[str]):
605
- pulumi.set(self, "email_recover_title", value)
606
-
607
- @property
608
- @pulumi.getter(name="emailTitle")
609
- def email_title(self) -> pulumi.Input[str]:
610
- """
611
- The title of the email notification.
612
- """
613
- return pulumi.get(self, "email_title")
614
-
615
- @email_title.setter
616
- def email_title(self, value: pulumi.Input[str]):
617
- pulumi.set(self, "email_title", value)
618
-
619
- @property
620
- @pulumi.getter(name="robotContent")
621
- def robot_content(self) -> pulumi.Input[str]:
622
- """
623
- The content of the robot notification.
624
- """
625
- return pulumi.get(self, "robot_content")
626
-
627
- @robot_content.setter
628
- def robot_content(self, value: pulumi.Input[str]):
629
- pulumi.set(self, "robot_content", value)
630
-
631
- @property
632
- @pulumi.getter(name="smsContent")
633
- def sms_content(self) -> pulumi.Input[str]:
634
- """
635
- The content of the SMS notification.
636
- """
637
- return pulumi.get(self, "sms_content")
638
-
639
- @sms_content.setter
640
- def sms_content(self, value: pulumi.Input[str]):
641
- pulumi.set(self, "sms_content", value)
642
-
643
- @property
644
- @pulumi.getter(name="smsRecoverContent")
645
- def sms_recover_content(self) -> pulumi.Input[str]:
646
- """
647
- The content of the SMS notification for restored alerts.
648
- """
649
- return pulumi.get(self, "sms_recover_content")
650
-
651
- @sms_recover_content.setter
652
- def sms_recover_content(self, value: pulumi.Input[str]):
653
- pulumi.set(self, "sms_recover_content", value)
654
-
655
- @property
656
- @pulumi.getter(name="ttsContent")
657
- def tts_content(self) -> pulumi.Input[str]:
658
- """
659
- The content of the TTS notification.
660
- """
661
- return pulumi.get(self, "tts_content")
662
-
663
- @tts_content.setter
664
- def tts_content(self, value: pulumi.Input[str]):
665
- pulumi.set(self, "tts_content", value)
666
-
667
- @property
668
- @pulumi.getter(name="ttsRecoverContent")
669
- def tts_recover_content(self) -> pulumi.Input[str]:
670
- """
671
- The content of the TTS notification for restored alerts.
672
- """
673
- return pulumi.get(self, "tts_recover_content")
674
-
675
- @tts_recover_content.setter
676
- def tts_recover_content(self, value: pulumi.Input[str]):
677
- pulumi.set(self, "tts_recover_content", value)
678
-
679
-
680
495
  if not MYPY:
681
496
  class PrometheusAlertRuleAnnotationArgsDict(TypedDict):
682
497
  name: NotRequired[pulumi.Input[str]]
@@ -26,8 +26,7 @@ class DispatchRuleArgs:
26
26
  label_match_expression_grids: pulumi.Input[Sequence[pulumi.Input['DispatchRuleLabelMatchExpressionGridArgs']]],
27
27
  notify_rules: pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyRuleArgs']]],
28
28
  dispatch_type: Optional[pulumi.Input[str]] = None,
29
- is_recover: Optional[pulumi.Input[bool]] = None,
30
- notify_templates: Optional[pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyTemplateArgs']]]] = None):
29
+ is_recover: Optional[pulumi.Input[bool]] = None):
31
30
  """
32
31
  The set of arguments for constructing a DispatchRule resource.
33
32
  :param pulumi.Input[str] dispatch_rule_name: The name of the dispatch policy.
@@ -36,7 +35,6 @@ class DispatchRuleArgs:
36
35
  :param pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyRuleArgs']]] notify_rules: Sets the notification rule. See `notify_rules` below. It will be ignored when `dispatch_type = "DISCARD_ALERT"`.
37
36
  :param pulumi.Input[str] dispatch_type: The alert handling method. Valid values: CREATE_ALERT: generates an alert. DISCARD_ALERT: discards the alert event and generates no alert.
38
37
  :param pulumi.Input[bool] is_recover: Specifies whether to send the restored alert. Valid values: true: sends the alert. false: does not send the alert.
39
- :param pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyTemplateArgs']]] notify_templates: Sets the notification template. See `notify_template` below.
40
38
  """
41
39
  pulumi.set(__self__, "dispatch_rule_name", dispatch_rule_name)
42
40
  pulumi.set(__self__, "group_rules", group_rules)
@@ -46,8 +44,6 @@ class DispatchRuleArgs:
46
44
  pulumi.set(__self__, "dispatch_type", dispatch_type)
47
45
  if is_recover is not None:
48
46
  pulumi.set(__self__, "is_recover", is_recover)
49
- if notify_templates is not None:
50
- pulumi.set(__self__, "notify_templates", notify_templates)
51
47
 
52
48
  @property
53
49
  @pulumi.getter(name="dispatchRuleName")
@@ -121,18 +117,6 @@ class DispatchRuleArgs:
121
117
  def is_recover(self, value: Optional[pulumi.Input[bool]]):
122
118
  pulumi.set(self, "is_recover", value)
123
119
 
124
- @property
125
- @pulumi.getter(name="notifyTemplates")
126
- def notify_templates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyTemplateArgs']]]]:
127
- """
128
- Sets the notification template. See `notify_template` below.
129
- """
130
- return pulumi.get(self, "notify_templates")
131
-
132
- @notify_templates.setter
133
- def notify_templates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyTemplateArgs']]]]):
134
- pulumi.set(self, "notify_templates", value)
135
-
136
120
 
137
121
  @pulumi.input_type
138
122
  class _DispatchRuleState:
@@ -143,7 +127,6 @@ class _DispatchRuleState:
143
127
  is_recover: Optional[pulumi.Input[bool]] = None,
144
128
  label_match_expression_grids: Optional[pulumi.Input[Sequence[pulumi.Input['DispatchRuleLabelMatchExpressionGridArgs']]]] = None,
145
129
  notify_rules: Optional[pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyRuleArgs']]]] = None,
146
- notify_templates: Optional[pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyTemplateArgs']]]] = None,
147
130
  status: Optional[pulumi.Input[str]] = None):
148
131
  """
149
132
  Input properties used for looking up and filtering DispatchRule resources.
@@ -153,7 +136,6 @@ class _DispatchRuleState:
153
136
  :param pulumi.Input[bool] is_recover: Specifies whether to send the restored alert. Valid values: true: sends the alert. false: does not send the alert.
154
137
  :param pulumi.Input[Sequence[pulumi.Input['DispatchRuleLabelMatchExpressionGridArgs']]] label_match_expression_grids: Sets the dispatch rule. See `label_match_expression_grid` below.
155
138
  :param pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyRuleArgs']]] notify_rules: Sets the notification rule. See `notify_rules` below. It will be ignored when `dispatch_type = "DISCARD_ALERT"`.
156
- :param pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyTemplateArgs']]] notify_templates: Sets the notification template. See `notify_template` below.
157
139
  :param pulumi.Input[str] status: The resource status of Alert Dispatch Rule.
158
140
  """
159
141
  if dispatch_rule_name is not None:
@@ -168,8 +150,6 @@ class _DispatchRuleState:
168
150
  pulumi.set(__self__, "label_match_expression_grids", label_match_expression_grids)
169
151
  if notify_rules is not None:
170
152
  pulumi.set(__self__, "notify_rules", notify_rules)
171
- if notify_templates is not None:
172
- pulumi.set(__self__, "notify_templates", notify_templates)
173
153
  if status is not None:
174
154
  pulumi.set(__self__, "status", status)
175
155
 
@@ -245,18 +225,6 @@ class _DispatchRuleState:
245
225
  def notify_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyRuleArgs']]]]):
246
226
  pulumi.set(self, "notify_rules", value)
247
227
 
248
- @property
249
- @pulumi.getter(name="notifyTemplates")
250
- def notify_templates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyTemplateArgs']]]]:
251
- """
252
- Sets the notification template. See `notify_template` below.
253
- """
254
- return pulumi.get(self, "notify_templates")
255
-
256
- @notify_templates.setter
257
- def notify_templates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DispatchRuleNotifyTemplateArgs']]]]):
258
- pulumi.set(self, "notify_templates", value)
259
-
260
228
  @property
261
229
  @pulumi.getter
262
230
  def status(self) -> Optional[pulumi.Input[str]]:
@@ -281,7 +249,6 @@ class DispatchRule(pulumi.CustomResource):
281
249
  is_recover: Optional[pulumi.Input[bool]] = None,
282
250
  label_match_expression_grids: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleLabelMatchExpressionGridArgs', 'DispatchRuleLabelMatchExpressionGridArgsDict']]]]] = None,
283
251
  notify_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleNotifyRuleArgs', 'DispatchRuleNotifyRuleArgsDict']]]]] = None,
284
- notify_templates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleNotifyTemplateArgs', 'DispatchRuleNotifyTemplateArgsDict']]]]] = None,
285
252
  __props__=None):
286
253
  """
287
254
  Provides a Application Real-Time Monitoring Service (ARMS) Alert Dispatch Rule resource.
@@ -341,17 +308,6 @@ class DispatchRule(pulumi.CustomResource):
341
308
  ],
342
309
  "notify_start_time": "10:00",
343
310
  "notify_end_time": "23:00",
344
- }],
345
- notify_templates=[{
346
- "email_title": "example_email_title",
347
- "email_content": "example_email_content",
348
- "email_recover_title": "example_email_recover_title",
349
- "email_recover_content": "example_email_recover_content",
350
- "sms_content": "example_sms_content",
351
- "sms_recover_content": "example_sms_recover_content",
352
- "tts_content": "example_tts_content",
353
- "tts_recover_content": "example_tts_recover_content",
354
- "robot_content": "example_robot_content",
355
311
  }])
356
312
  ```
357
313
 
@@ -371,7 +327,6 @@ class DispatchRule(pulumi.CustomResource):
371
327
  :param pulumi.Input[bool] is_recover: Specifies whether to send the restored alert. Valid values: true: sends the alert. false: does not send the alert.
372
328
  :param pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleLabelMatchExpressionGridArgs', 'DispatchRuleLabelMatchExpressionGridArgsDict']]]] label_match_expression_grids: Sets the dispatch rule. See `label_match_expression_grid` below.
373
329
  :param pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleNotifyRuleArgs', 'DispatchRuleNotifyRuleArgsDict']]]] notify_rules: Sets the notification rule. See `notify_rules` below. It will be ignored when `dispatch_type = "DISCARD_ALERT"`.
374
- :param pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleNotifyTemplateArgs', 'DispatchRuleNotifyTemplateArgsDict']]]] notify_templates: Sets the notification template. See `notify_template` below.
375
330
  """
376
331
  ...
377
332
  @overload
@@ -437,17 +392,6 @@ class DispatchRule(pulumi.CustomResource):
437
392
  ],
438
393
  "notify_start_time": "10:00",
439
394
  "notify_end_time": "23:00",
440
- }],
441
- notify_templates=[{
442
- "email_title": "example_email_title",
443
- "email_content": "example_email_content",
444
- "email_recover_title": "example_email_recover_title",
445
- "email_recover_content": "example_email_recover_content",
446
- "sms_content": "example_sms_content",
447
- "sms_recover_content": "example_sms_recover_content",
448
- "tts_content": "example_tts_content",
449
- "tts_recover_content": "example_tts_recover_content",
450
- "robot_content": "example_robot_content",
451
395
  }])
452
396
  ```
453
397
 
@@ -480,7 +424,6 @@ class DispatchRule(pulumi.CustomResource):
480
424
  is_recover: Optional[pulumi.Input[bool]] = None,
481
425
  label_match_expression_grids: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleLabelMatchExpressionGridArgs', 'DispatchRuleLabelMatchExpressionGridArgsDict']]]]] = None,
482
426
  notify_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleNotifyRuleArgs', 'DispatchRuleNotifyRuleArgsDict']]]]] = None,
483
- notify_templates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleNotifyTemplateArgs', 'DispatchRuleNotifyTemplateArgsDict']]]]] = None,
484
427
  __props__=None):
485
428
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
486
429
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -504,7 +447,6 @@ class DispatchRule(pulumi.CustomResource):
504
447
  if notify_rules is None and not opts.urn:
505
448
  raise TypeError("Missing required property 'notify_rules'")
506
449
  __props__.__dict__["notify_rules"] = notify_rules
507
- __props__.__dict__["notify_templates"] = notify_templates
508
450
  __props__.__dict__["status"] = None
509
451
  super(DispatchRule, __self__).__init__(
510
452
  'alicloud:arms/dispatchRule:DispatchRule',
@@ -522,7 +464,6 @@ class DispatchRule(pulumi.CustomResource):
522
464
  is_recover: Optional[pulumi.Input[bool]] = None,
523
465
  label_match_expression_grids: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleLabelMatchExpressionGridArgs', 'DispatchRuleLabelMatchExpressionGridArgsDict']]]]] = None,
524
466
  notify_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleNotifyRuleArgs', 'DispatchRuleNotifyRuleArgsDict']]]]] = None,
525
- notify_templates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleNotifyTemplateArgs', 'DispatchRuleNotifyTemplateArgsDict']]]]] = None,
526
467
  status: Optional[pulumi.Input[str]] = None) -> 'DispatchRule':
527
468
  """
528
469
  Get an existing DispatchRule resource's state with the given name, id, and optional extra
@@ -537,7 +478,6 @@ class DispatchRule(pulumi.CustomResource):
537
478
  :param pulumi.Input[bool] is_recover: Specifies whether to send the restored alert. Valid values: true: sends the alert. false: does not send the alert.
538
479
  :param pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleLabelMatchExpressionGridArgs', 'DispatchRuleLabelMatchExpressionGridArgsDict']]]] label_match_expression_grids: Sets the dispatch rule. See `label_match_expression_grid` below.
539
480
  :param pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleNotifyRuleArgs', 'DispatchRuleNotifyRuleArgsDict']]]] notify_rules: Sets the notification rule. See `notify_rules` below. It will be ignored when `dispatch_type = "DISCARD_ALERT"`.
540
- :param pulumi.Input[Sequence[pulumi.Input[Union['DispatchRuleNotifyTemplateArgs', 'DispatchRuleNotifyTemplateArgsDict']]]] notify_templates: Sets the notification template. See `notify_template` below.
541
481
  :param pulumi.Input[str] status: The resource status of Alert Dispatch Rule.
542
482
  """
543
483
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -550,7 +490,6 @@ class DispatchRule(pulumi.CustomResource):
550
490
  __props__.__dict__["is_recover"] = is_recover
551
491
  __props__.__dict__["label_match_expression_grids"] = label_match_expression_grids
552
492
  __props__.__dict__["notify_rules"] = notify_rules
553
- __props__.__dict__["notify_templates"] = notify_templates
554
493
  __props__.__dict__["status"] = status
555
494
  return DispatchRule(resource_name, opts=opts, __props__=__props__)
556
495
 
@@ -602,14 +541,6 @@ class DispatchRule(pulumi.CustomResource):
602
541
  """
603
542
  return pulumi.get(self, "notify_rules")
604
543
 
605
- @property
606
- @pulumi.getter(name="notifyTemplates")
607
- def notify_templates(self) -> pulumi.Output[Optional[Sequence['outputs.DispatchRuleNotifyTemplate']]]:
608
- """
609
- Sets the notification template. See `notify_template` below.
610
- """
611
- return pulumi.get(self, "notify_templates")
612
-
613
544
  @property
614
545
  @pulumi.getter
615
546
  def status(self) -> pulumi.Output[str]:
@@ -185,7 +185,7 @@ def get_dispatch_rules(dispatch_rule_name: Optional[str] = None,
185
185
  "notify_start_time": "10:00",
186
186
  "notify_end_time": "23:00",
187
187
  }])
188
- ids = alicloud.arms.get_dispatch_rules_output(ids=[default_dispatch_rule.id])
188
+ ids = alicloud.arms.get_dispatch_rules()
189
189
  pulumi.export("armsDispatchRuleId1", ids.rules[0].id)
190
190
  ```
191
191
 
@@ -277,7 +277,7 @@ def get_dispatch_rules_output(dispatch_rule_name: Optional[pulumi.Input[Optional
277
277
  "notify_start_time": "10:00",
278
278
  "notify_end_time": "23:00",
279
279
  }])
280
- ids = alicloud.arms.get_dispatch_rules_output(ids=[default_dispatch_rule.id])
280
+ ids = alicloud.arms.get_dispatch_rules()
281
281
  pulumi.export("armsDispatchRuleId1", ids.rules[0].id)
282
282
  ```
283
283
 
@@ -146,7 +146,7 @@ def get_prometheis(enable_details: Optional[bool] = None,
146
146
 
147
147
  > **NOTE:** Available since v1.203.0.
148
148
 
149
- > **DEPRECATED:** This data source has been renamed to arms.Prometheus from version 1.214.0.
149
+ > **DEPRECATED:** This resource has been renamed to ecs.EcsDisk from version 1.214.0.
150
150
 
151
151
  ## Example Usage
152
152
 
@@ -220,7 +220,7 @@ def get_prometheis_output(enable_details: Optional[pulumi.Input[Optional[bool]]]
220
220
 
221
221
  > **NOTE:** Available since v1.203.0.
222
222
 
223
- > **DEPRECATED:** This data source has been renamed to arms.Prometheus from version 1.214.0.
223
+ > **DEPRECATED:** This resource has been renamed to ecs.EcsDisk from version 1.214.0.
224
224
 
225
225
  ## Example Usage
226
226
 
@@ -123,7 +123,7 @@ def get_remote_writes(cluster_id: Optional[str] = None,
123
123
 
124
124
  > **NOTE:** Available since v1.204.0.
125
125
 
126
- > **DEPRECATED:** This data source has been deprecated since v1.228.0.
126
+ > **DEPRECATED:** This resource has been deprecated since v1.228.0.
127
127
 
128
128
  ## Example Usage
129
129
 
@@ -173,7 +173,7 @@ def get_remote_writes_output(cluster_id: Optional[pulumi.Input[str]] = None,
173
173
 
174
174
  > **NOTE:** Available since v1.204.0.
175
175
 
176
- > **DEPRECATED:** This data source has been deprecated since v1.228.0.
176
+ > **DEPRECATED:** This resource has been deprecated since v1.228.0.
177
177
 
178
178
  ## Example Usage
179
179