Skip to content

Files

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Latest commit

Jul 4, 2024
f1c1c73 · Jul 4, 2024

History

History
56 lines (39 loc) · 1.41 KB

apm_instance.html.markdown

File metadata and controls

56 lines (39 loc) · 1.41 KB
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

tencentcloud_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.

Example Usage

resource "tencentcloud_apm_instance" "example" {
  name                = "tf-example"
  description         = "desc."
  trace_duration      = 15
  span_daily_counters = 0
  tags = {
    createdBy = "terraform"
  }
}

Argument Reference

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 is 0.
  • span_daily_counters - (Optional, Int) Quota Of Instance Reporting.
  • tags - (Optional, Map) Tag description list.
  • trace_duration - (Optional, Int) Duration Of Trace Data.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - ID of the resource.

Import

apm instance can be imported using the id, e.g.

terraform import tencentcloud_apm_instance.example apm-IMVrxXl1K