Skip to content

Commit

Permalink
enable git and doc definition panel (#11)
Browse files Browse the repository at this point in the history
* enable git

* enable doc panel

* fix doc issue

* add css for webview

* fix resource tips

* 0.0.24
  • Loading branch information
lyu571 authored Dec 12, 2023
1 parent 265c3ed commit a781d8b
Show file tree
Hide file tree
Showing 1,667 changed files with 116,680 additions and 81 deletions.
39 changes: 39 additions & 0 deletions config/docs/d/address_template_groups.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
subcategory: "Virtual Private Cloud(VPC)"
layout: "tencentcloud"
page_title: "TencentCloud: tencentcloud_address_template_groups"
sidebar_current: "docs-tencentcloud-datasource-address_template_groups"
description: |-
Use this data source to query detailed information of address template groups.
---

# tencentcloud_address_template_groups

Use this data source to query detailed information of address template groups.

## Example Usage

```hcl
data "tencentcloud_address_template_groups" "name" {
name = "test"
}
```

## Argument Reference

The following arguments are supported:

* `id` - (Optional, String) Id of the address template group to query.
* `name` - (Optional, String) Name of the address template group to query.
* `result_output_file` - (Optional, String) Used to save results.

## Attributes Reference

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

* `group_list` - Information list of the dedicated address template groups.
* `id` - Id of the address template group.
* `name` - Name of address template group.
* `template_ids` - ID set of the address template.


39 changes: 39 additions & 0 deletions config/docs/d/address_templates.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
subcategory: "Virtual Private Cloud(VPC)"
layout: "tencentcloud"
page_title: "TencentCloud: tencentcloud_address_templates"
sidebar_current: "docs-tencentcloud-datasource-address_templates"
description: |-
Use this data source to query detailed information of address templates.
---

# tencentcloud_address_templates

Use this data source to query detailed information of address templates.

## Example Usage

```hcl
data "tencentcloud_address_templates" "name" {
name = "test"
}
```

## Argument Reference

The following arguments are supported:

* `id` - (Optional, String) ID of the address template to query.
* `name` - (Optional, String) Name of the address template to query.
* `result_output_file` - (Optional, String) Used to save results.

## Attributes Reference

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

* `template_list` - Information list of the dedicated address templates.
* `addresses` - Set of the addresses.
* `id` - ID of the address template.
* `name` - Name of address template.


45 changes: 45 additions & 0 deletions config/docs/d/antiddos_basic_device_status.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
subcategory: "Anti-DDoS"
layout: "tencentcloud"
page_title: "TencentCloud: tencentcloud_antiddos_basic_device_status"
sidebar_current: "docs-tencentcloud-datasource-antiddos_basic_device_status"
description: |-
Use this data source to query detailed information of antiddos basic_device_status
---

# tencentcloud_antiddos_basic_device_status

Use this data source to query detailed information of antiddos basic_device_status

## Example Usage

```hcl
data "tencentcloud_antiddos_basic_device_status" "basic_device_status" {
ip_list = [
"127.0.0.1"
]
filter_region = 1
}
```

## Argument Reference

The following arguments are supported:

* `filter_region` - (Optional, Int) Region Id.
* `id_list` - (Optional, Set: [`String`]) Named resource transfer ID.
* `ip_list` - (Optional, Set: [`String`]) Ip resource list.
* `result_output_file` - (Optional, String) Used to save results.

## Attributes Reference

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

* `clb_data` - Note: This field may return null, indicating that a valid value cannot be obtained.
* `key` - Properties name.
* `value` - Properties value.
* `data` - Return resources and status, status code: 1- Blocking status 2- Normal status 3- Attack status.
* `key` - Properties name.
* `value` - Properties value.


47 changes: 47 additions & 0 deletions config/docs/d/antiddos_bgp_biz_trend.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
subcategory: "Anti-DDoS"
layout: "tencentcloud"
page_title: "TencentCloud: tencentcloud_antiddos_bgp_biz_trend"
sidebar_current: "docs-tencentcloud-datasource-antiddos_bgp_biz_trend"
description: |-
Use this data source to query detailed information of antiddos bgp_biz_trend
---

# tencentcloud_antiddos_bgp_biz_trend

Use this data source to query detailed information of antiddos bgp_biz_trend

## Example Usage

```hcl
data "tencentcloud_antiddos_bgp_biz_trend" "bgp_biz_trend" {
business = "bgp-multip"
start_time = "2023-11-22 09:25:00"
end_time = "2023-11-22 10:25:00"
metric_name = "intraffic"
instance_id = "bgp-00000ry7"
flag = 0
}
```

## Argument Reference

The following arguments are supported:

* `business` - (Required, String) Dayu sub product code (bgpip represents advanced defense IP; net represents professional version of advanced defense IP).
* `end_time` - (Required, String) Statistic end time.
* `flag` - (Required, Int) 0 represents fixed time, 1 represents custom time.
* `instance_id` - (Required, String) Antiddos InstanceId.
* `metric_name` - (Required, String) Statistic metric name, for example: intraffic, outtraffic, inpkg, outpkg.
* `start_time` - (Required, String) Statistic start time.
* `result_output_file` - (Optional, String) Used to save results.

## Attributes Reference

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

* `data_list` - Values at various time points on the graph.
* `max_data` - Returns the maximum value of an array.
* `total` - Number of values in the curve graph.


67 changes: 67 additions & 0 deletions config/docs/d/antiddos_list_listener.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
subcategory: "Anti-DDoS"
layout: "tencentcloud"
page_title: "TencentCloud: tencentcloud_antiddos_list_listener"
sidebar_current: "docs-tencentcloud-datasource-antiddos_list_listener"
description: |-
Use this data source to query detailed information of antiddos list_listener
---

# tencentcloud_antiddos_list_listener

Use this data source to query detailed information of antiddos list_listener

## Example Usage

```hcl
data "tencentcloud_antiddos_list_listener" "list_listener" {
}
```

## Argument Reference

The following arguments are supported:

* `result_output_file` - (Optional, String) Used to save results.

## Attributes Reference

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

* `layer4_listeners` - L4 listener list.
* `backend_port` - Origin port, value 1~65535.
* `frontend_port` - Forwarding port, value 1~65535.
* `instance_detail_rule` - Resource instance to which the rule belongs.
* `cname` - Instance cname.
* `eip_list` - Resource instance ip.
* `instance_id` - InstanceId.
* `instance_details` - Resource instance.
* `eip_list` - Instance ip.
* `instance_id` - InstanceId.
* `protocol` - TCP or UDP.
* `real_servers` - Source server list.
* `port` - 0~65535.
* `real_server` - Source server addr, ip or domain.
* `rs_type` - 1: domain, 2: ip.
* `weight` - The return weight of the source station, ranging from 1 to 100.
* `layer7_listeners` - Layer 7 forwarding listener list.
* `domain` - Domain.
* `instance_detail_rule` - Resource instance to which the rule belongs.
* `cname` - Cname.
* `eip_list` - Instance ip list.
* `instance_id` - Instance id.
* `instance_details` - InstanceDetails.
* `eip_list` - Instance ip list.
* `instance_id` - Instance id.
* `protocol` - Protocol.
* `proxy_type_list` - List of forwarding types.
* `proxy_ports` - Forwarding listening port list, port value is 1~65535.
* `proxy_type` - Http, https.
* `real_servers` - Source server list.
* `port` - 0-65535.
* `real_server` - Source server list.
* `rs_type` - 1: domain, 2: ip.
* `weight` - Weight: 1-100.
* `vport` - Port.


44 changes: 44 additions & 0 deletions config/docs/d/antiddos_overview_attack_trend.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
subcategory: "Anti-DDoS"
layout: "tencentcloud"
page_title: "TencentCloud: tencentcloud_antiddos_overview_attack_trend"
sidebar_current: "docs-tencentcloud-datasource-antiddos_overview_attack_trend"
description: |-
Use this data source to query detailed information of antiddos overview_attack_trend
---

# tencentcloud_antiddos_overview_attack_trend

Use this data source to query detailed information of antiddos overview_attack_trend

## Example Usage

```hcl
data "tencentcloud_antiddos_overview_attack_trend" "overview_attack_trend" {
type = "ddos"
dimension = "attackcount"
period = 86400
start_time = "2023-11-21 10:28:31"
end_time = "2023-11-22 10:28:31"
}
```

## Argument Reference

The following arguments are supported:

* `dimension` - (Required, String) Latitude, currently only attackcount is supported.
* `end_time` - (Required, String) Protection Overview Attack Trend End Time.
* `period` - (Required, Int) Period, currently only 86400 is supported.
* `start_time` - (Required, String) Protection Overview Attack Trend Start Time.
* `type` - (Required, String) Attack type: cc, ddos.
* `result_output_file` - (Optional, String) Used to save results.

## Attributes Reference

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

* `data` - Number of attacks per cycle point.
* `period_point_count` - Number of period points included.


44 changes: 44 additions & 0 deletions config/docs/d/antiddos_overview_cc_trend.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
subcategory: "Anti-DDoS(DayuV2)"
layout: "tencentcloud"
page_title: "TencentCloud: tencentcloud_antiddos_overview_cc_trend"
sidebar_current: "docs-tencentcloud-datasource-antiddos_overview_cc_trend"
description: |-
Use this data source to query detailed information of antiddos overview_cc_trend
---

# tencentcloud_antiddos_overview_cc_trend

Use this data source to query detailed information of antiddos overview_cc_trend

## Example Usage

```hcl
data "tencentcloud_antiddos_overview_cc_trend" "overview_cc_trend" {
period = 300
start_time = "2023-11-20 00:00:00"
end_time = "2023-11-21 00:00:00"
metric_name = "inqps"
business = "bgpip"
}
```

## Argument Reference

The following arguments are supported:

* `end_time` - (Required, String) EndTime.
* `metric_name` - (Required, String) Indicator, values [inqps (peak total requests, dropqps (peak attack requests)), incount (number of requests), dropcount (number of attacks)].
* `period` - (Required, Int) Statistical granularity, values [300 (5 minutes), 3600 (hours), 86400 (days)].
* `start_time` - (Required, String) StartTime.
* `business` - (Optional, String) Dayu sub product code (bgpip represents advanced defense IP; net represents professional version of advanced defense IP).
* `ip_list` - (Optional, Set: [`String`]) resource id list.
* `result_output_file` - (Optional, String) Used to save results.

## Attributes Reference

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

* `data` - Data.


50 changes: 50 additions & 0 deletions config/docs/d/antiddos_overview_ddos_event_list.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
subcategory: "Anti-DDoS(DayuV2)"
layout: "tencentcloud"
page_title: "TencentCloud: tencentcloud_antiddos_overview_ddos_event_list"
sidebar_current: "docs-tencentcloud-datasource-antiddos_overview_ddos_event_list"
description: |-
Use this data source to query detailed information of antiddos overview_ddos_event_list
---

# tencentcloud_antiddos_overview_ddos_event_list

Use this data source to query detailed information of antiddos overview_ddos_event_list

## Example Usage

```hcl
data "tencentcloud_antiddos_overview_ddos_event_list" "overview_ddos_event_list" {
start_time = "2023-11-20 00:00:00"
end_time = "2023-11-21 00:00:00"
attack_status = "end"
}
```

## Argument Reference

The following arguments are supported:

* `end_time` - (Required, String) EndTime.
* `start_time` - (Required, String) StartTime.
* `attack_status` - (Optional, String) filter event by attack status, start: attacking; end: attack end.
* `result_output_file` - (Optional, String) Used to save results.

## Attributes Reference

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

* `event_list` - EventList.
* `attack_status` - Attack status, 0: Under attack; 1: End of attack.
* `attack_type` - AttackType.
* `business` - Dayu sub product code (bgpip represents advanced defense IP; net represents professional version of advanced defense IP).
* `end_time` - EndTime.
* `id` - event id.
* `instance_id` - InstanceId.
* `instance_name` - InstanceId.
* `mbps` - Attack traffic, unit Mbps.
* `pps` - unit Mbps.
* `start_time` - StartTime.
* `vip` - ip.


Loading

0 comments on commit a781d8b

Please sign in to comment.