Skip to content

fix(tmp): [123456789] update doc #2762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 43 additions & 43 deletions tencentcloud/services/tmp/data_source_tc_monitor_tmp_instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
Type: schema.TypeInt,
},
Description: "Filter according to instance status.\n" +
"- 1: Creating;\n" +
"- 2: In operation;\n" +
"- 3: Abnormal;\n" +
"- 4: Reconstruction;\n" +
"- 5: Destruction;\n" +
"- 6: Stopped taking;\n" +
"- 8: Suspension of service due to arrears;\n" +
"- 9: Service has been suspended due to arrears.",
" - 1: Creating;\n" +
" - 2: In operation;\n" +
" - 3: Abnormal;\n" +
" - 4: Reconstruction;\n" +
" - 5: Destruction;\n" +
" - 6: Stopped taking;\n" +
" - 8: Suspension of service due to arrears;\n" +
" - 9: Service has been suspended due to arrears.",
},

"instance_name": {
Expand Down Expand Up @@ -89,8 +89,8 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
Optional: true,
Type: schema.TypeInt,
Description: "Filter according to instance charge type.\n" +
"- 2: Prepaid;\n" +
"- 3: Postpaid by hour.",
" - 2: Prepaid;\n" +
" - 3: Postpaid by hour.",
},

"instance_set": {
Expand All @@ -113,8 +113,8 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
Type: schema.TypeInt,
Computed: true,
Description: "Instance charge type.\n" +
"- 2: Prepaid;\n" +
"- 3: Postpaid by hour.",
" - 2: Prepaid;\n" +
" - 3: Postpaid by hour.",
},
"region_id": {
Type: schema.TypeInt,
Expand Down Expand Up @@ -145,14 +145,14 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
Type: schema.TypeInt,
Computed: true,
Description: "Filter according to instance status.\n" +
"- 1: Creating;\n" +
"- 2: In operation;\n" +
"- 3: Abnormal;\n" +
"- 4: Reconstruction;\n" +
"- 5: Destruction;\n" +
"- 6: Stopped taking;\n" +
"- 8: Suspension of service due to arrears;\n" +
"- 9: Service has been suspended due to arrears.",
" - 1: Creating;\n" +
" - 2: In operation;\n" +
" - 3: Abnormal;\n" +
" - 4: Reconstruction;\n" +
" - 5: Destruction;\n" +
" - 6: Stopped taking;\n" +
" - 8: Suspension of service due to arrears;\n" +
" - 9: Service has been suspended due to arrears.",
},
"grafana_url": {
Type: schema.TypeString,
Expand All @@ -168,8 +168,8 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
Type: schema.TypeInt,
Computed: true,
Description: "Whether to enable grafana.\n" +
"- 0: closed;\n" +
"- 1: open.",
" - 0: closed;\n" +
" - 1: open.",
},
"ipv4_address": {
Type: schema.TypeString,
Expand Down Expand Up @@ -204,11 +204,11 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
Type: schema.TypeInt,
Computed: true,
Description: "Charge status.\n" +
"- 1: Normal;\n" +
"- 2: Expires;\n" +
"- 3: Destruction;\n" +
"- 4: Allocation;\n" +
"- 5: Allocation failed.",
" - 1: Normal;\n" +
" - 2: Expires;\n" +
" - 3: Destruction;\n" +
" - 4: Allocation;\n" +
" - 5: Allocation failed.",
},
"spec_name": {
Type: schema.TypeString,
Expand All @@ -219,17 +219,17 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
Type: schema.TypeInt,
Computed: true,
Description: "Automatic renewal flag.\n" +
"- 0: No automatic renewal;\n" +
"- 1: Enable automatic renewal;\n" +
"- 2: Automatic renewal is prohibited;\n" +
"- -1: Invalid.",
" - 0: No automatic renewal;\n" +
" - 1: Enable automatic renewal;\n" +
" - 2: Automatic renewal is prohibited;\n" +
" - -1: Invalid.",
},
"is_near_expire": {
Type: schema.TypeInt,
Computed: true,
Description: "Whether it is about to expire.\n" +
"- 0: No;\n" +
"- 1: Expiring soon.",
" - 0: No;\n" +
" - 1: Expiring soon.",
},
"auth_token": {
Type: schema.TypeString,
Expand All @@ -255,13 +255,13 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
Type: schema.TypeInt,
Computed: true,
Description: "Grafana status.\n" +
"- 1: Creating;\n" +
"- 2: In operation;\n" +
"- 3: Abnormal;\n" +
"- 4: Rebooting;\n" +
"- 5: Destruction;\n" +
"- 6: Shutdown;\n" +
"- 7: Deleted.",
" - 1: Creating;\n" +
" - 2: In operation;\n" +
" - 3: Abnormal;\n" +
" - 4: Rebooting;\n" +
" - 5: Destruction;\n" +
" - 6: Shutdown;\n" +
" - 7: Deleted.",
},
"grafana_ip_white_list": {
Type: schema.TypeString,
Expand Down Expand Up @@ -326,9 +326,9 @@ func DataSourceTencentCloudMonitorTmpInstances() *schema.Resource {
Type: schema.TypeInt,
Computed: true,
Description: "Migration status.\n" +
"- 0: Not in migration;\n+" +
"- 1: Migrating, original instance;\n+" +
"- 2: Migrating, target instance.",
" - 0: Not in migration;\n+" +
" - 1: Migrating, original instance;\n+" +
" - 2: Migrating, target instance.",
},
},
},
Expand Down
86 changes: 43 additions & 43 deletions website/docs/d/monitor_tmp_instances.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ data "tencentcloud_monitor_tmp_instances" "tmp_instances" {
The following arguments are supported:

* `instance_charge_type` - (Optional, Int) Filter according to instance charge type.
- 2: Prepaid;
- 3: Postpaid by hour.
- 2: Prepaid;
- 3: Postpaid by hour.
* `instance_ids` - (Optional, Set: [`String`]) Query according to one or more instance IDs. The instance ID is like: prom-xxxx. The maximum number of instances requested is 100.
* `instance_name` - (Optional, String) Filter according to instance name.
* `instance_status` - (Optional, Set: [`Int`]) Filter according to instance status.
- 1: Creating;
- 2: In operation;
- 3: Abnormal;
- 4: Reconstruction;
- 5: Destruction;
- 6: Stopped taking;
- 8: Suspension of service due to arrears;
- 9: Service has been suspended due to arrears.
- 1: Creating;
- 2: In operation;
- 3: Abnormal;
- 4: Reconstruction;
- 5: Destruction;
- 6: Stopped taking;
- 8: Suspension of service due to arrears;
- 9: Service has been suspended due to arrears.
* `ipv4_address` - (Optional, Set: [`String`]) Filter according to ipv4 address.
* `result_output_file` - (Optional, String) Used to save results.
* `tag_filters` - (Optional, List) Filter according to tag Key-Value pair. The tag-key is replaced with a specific label key.
Expand All @@ -56,32 +56,32 @@ In addition to all arguments above, the following attributes are exported:
* `api_root_path` - Prometheus http api root address.
* `auth_token` - Token required for data writing.
* `auto_renew_flag` - Automatic renewal flag.
- 0: No automatic renewal;
- 1: Enable automatic renewal;
- 2: Automatic renewal is prohibited;
- -1: Invalid.
- 0: No automatic renewal;
- 1: Enable automatic renewal;
- 2: Automatic renewal is prohibited;
- -1: Invalid.
* `charge_status` - Charge status.
- 1: Normal;
- 2: Expires;
- 3: Destruction;
- 4: Allocation;
- 5: Allocation failed.
- 1: Normal;
- 2: Expires;
- 3: Destruction;
- 4: Allocation;
- 5: Allocation failed.
* `created_at` - Created_at.
* `data_retention_time` - Data retention time.
* `enable_grafana` - Whether to enable grafana.
- 0: closed;
- 1: open.
- 0: closed;
- 1: open.
* `expire_time` - Expires for purchased instances.
* `grafana_instance_id` - Binding grafana instance id.
* `grafana_ip_white_list` - Grafana IP whitelist list.
* `grafana_status` - Grafana status.
- 1: Creating;
- 2: In operation;
- 3: Abnormal;
- 4: Rebooting;
- 5: Destruction;
- 6: Shutdown;
- 7: Deleted.
- 1: Creating;
- 2: In operation;
- 3: Abnormal;
- 4: Rebooting;
- 5: Destruction;
- 6: Shutdown;
- 7: Deleted.
* `grafana_url` - Grafana panel url.
* `grant` - Authorization information for the instance.
* `has_agent_manage` - Whether you have permission to manage the agent (1=yes, 2=no).
Expand All @@ -91,27 +91,27 @@ In addition to all arguments above, the following attributes are exported:
* `has_tke_manage` - Whether you have permission to manage TKE integration (1=yes, 2=no).
* `has_vpc_display` - Whether to display VPC information (1=yes, 2=no).
* `instance_charge_type` - Instance charge type.
- 2: Prepaid;
- 3: Postpaid by hour.
- 2: Prepaid;
- 3: Postpaid by hour.
* `instance_id` - Instance id.
* `instance_name` - Instance name.
* `instance_status` - Filter according to instance status.
- 1: Creating;
- 2: In operation;
- 3: Abnormal;
- 4: Reconstruction;
- 5: Destruction;
- 6: Stopped taking;
- 8: Suspension of service due to arrears;
- 9: Service has been suspended due to arrears.
- 1: Creating;
- 2: In operation;
- 3: Abnormal;
- 4: Reconstruction;
- 5: Destruction;
- 6: Stopped taking;
- 8: Suspension of service due to arrears;
- 9: Service has been suspended due to arrears.
* `ipv4_address` - IPV4 address.
* `is_near_expire` - Whether it is about to expire.
- 0: No;
- 1: Expiring soon.
- 0: No;
- 1: Expiring soon.
* `migration_type` - Migration status.
- 0: Not in migration;
+- 1: Migrating, original instance;
+- 2: Migrating, target instance.
- 0: Not in migration;
+ - 1: Migrating, original instance;
+ - 2: Migrating, target instance.
* `proxy_address` - Proxy address.
* `recording_rule_limit` - Pre-aggregation rule limitations.
* `region_id` - Region id.
Expand Down
Loading