subcategory | layout | page_title | sidebar_current | description |
---|---|---|---|---|
Application Performance Management(APM) |
tencentcloud |
TencentCloud: tencentcloud_apm_instance |
docs-tencentcloud-resource-apm_instance |
Provides a resource to create a apm instance |
Provides a resource to create a apm instance
~> NOTE: To use the field pay_mode
, you need to contact official customer service to join the whitelist.
resource "tencentcloud_apm_instance" "example" {
name = "tf-example"
description = "desc."
trace_duration = 15
span_daily_counters = 0
tags = {
createdBy = "terraform"
}
}
The following arguments are supported:
name
- (Required, String) Name Of Instance.description
- (Optional, String) Description Of Instance.pay_mode
- (Optional, Int) Modify the billing mode:1
means prepaid,0
means pay-as-you-go, the default value is0
.span_daily_counters
- (Optional, Int) Quota Of Instance Reporting.tags
- (Optional, Map) Tag description list.trace_duration
- (Optional, Int) Duration Of Trace Data.
In addition to all arguments above, the following attributes are exported:
id
- ID of the resource.
apm instance can be imported using the id, e.g.
terraform import tencentcloud_apm_instance.example apm-IMVrxXl1K