Skip to content

Commit

Permalink
docs: Improves example for arms_dispatch_rule.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenHanZhang committed Dec 13, 2024
1 parent 7e28484 commit 28f7c78
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/docs/d/arms_dispatch_rules.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ resource "alicloud_arms_dispatch_rule" "default" {
}
}
data "alicloud_arms_dispatch_rules" "ids" {}
data "alicloud_arms_dispatch_rules" "ids" {
ids = [alicloud_arms_dispatch_rule.default.id]
}
output "arms_dispatch_rule_id_1" {
value = data.alicloud_arms_dispatch_rules.ids.rules.0.id
Expand Down Expand Up @@ -112,7 +114,7 @@ The following attributes are exported in addition to the arguments listed above:
* `name` - The name of the contact or contact group.
* `notify_type` - The type of the alert contact.

* `notify_template` - The notification method.
* `notify_template` - (Available since v1.238.0) The notification method.
* `email_content` - The content of the email.
* `email_title` - The title of the email.
* `email_recover_title` - The title of the email.
Expand Down

0 comments on commit 28f7c78

Please sign in to comment.