Skip to content

Commit

Permalink
fix: modify doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gitmkn committed Oct 11, 2023
1 parent 363b527 commit 081bab7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tencentcloud/data_source_tc_pts_scenario_with_jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ func dataSourceTencentCloudPtsScenarioWithJobs() *schema.Resource {
Computed: true,
Description: "The notice ID bound with this alert channel.",
},
"a_m_p_consumer_id": {
"amp_consumer_id": {
Type: schema.TypeString,
Computed: true,
Description: "AMP consumer ID.",
Expand Down Expand Up @@ -2017,7 +2017,7 @@ func dataSourceTencentCloudPtsScenarioWithJobsRead(d *schema.ResourceData, meta
}

if scenario.SLAPolicy.AlertChannel.AMPConsumerId != nil {
alertChannelMap["a_m_p_consumer_id"] = scenario.SLAPolicy.AlertChannel.AMPConsumerId
alertChannelMap["amp_consumer_id"] = scenario.SLAPolicy.AlertChannel.AMPConsumerId
}

sLAPolicyMap["alert_channel"] = []interface{}{alertChannelMap}
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/pts_scenario_with_jobs.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ In addition to all arguments above, the following attributes are exported:
* `sla_id` - The ID of the SLA policy.
* `sla_policy` - The SLA policy.
* `alert_channel` - The alert channel.
* `a_m_p_consumer_id` - AMP consumer ID.
* `amp_consumer_id` - AMP consumer ID.
* `notice_id` - The notice ID bound with this alert channel.
* `sla_rules` - The SLA rules.
* `abort_flag` - Whether to abort the load test job.
Expand Down

0 comments on commit 081bab7

Please sign in to comment.