From 55473002e7087f3cb09504eaf13bba492d25f812 Mon Sep 17 00:00:00 2001 From: mikatong Date: Mon, 9 Oct 2023 20:12:33 +0800 Subject: [PATCH] add changelog and update doc --- .changelog/2183.txt | 43 +++++++++ .../data_source_tc_gaap_proxy_statistics.go | 2 +- ...data_source_tc_gaap_real_servers_status.go | 2 +- .../docs/d/gaap_access_regions.html.markdown | 41 +++++++++ ...ccess_regions_by_dest_region.html.markdown | 45 +++++++++ .../docs/d/gaap_black_header.html.markdown | 33 +++++++ .../d/gaap_country_area_mapping.html.markdown | 40 ++++++++ .../docs/d/gaap_custom_header.html.markdown | 37 ++++++++ .../docs/d/gaap_dest_regions.html.markdown | 41 +++++++++ .../docs/d/gaap_proxy_detail.html.markdown | 91 +++++++++++++++++++ .../gaap_proxy_group_statistics.html.markdown | 47 ++++++++++ .../docs/d/gaap_proxy_groups.html.markdown | 73 +++++++++++++++ .../d/gaap_proxy_statistics.html.markdown | 48 ++++++++++ .../d/gaap_real_servers_status.html.markdown | 39 ++++++++ website/tencentcloud.erb | 33 +++++++ 15 files changed, 613 insertions(+), 2 deletions(-) create mode 100644 .changelog/2183.txt create mode 100644 website/docs/d/gaap_access_regions.html.markdown create mode 100644 website/docs/d/gaap_access_regions_by_dest_region.html.markdown create mode 100644 website/docs/d/gaap_black_header.html.markdown create mode 100644 website/docs/d/gaap_country_area_mapping.html.markdown create mode 100644 website/docs/d/gaap_custom_header.html.markdown create mode 100644 website/docs/d/gaap_dest_regions.html.markdown create mode 100644 website/docs/d/gaap_proxy_detail.html.markdown create mode 100644 website/docs/d/gaap_proxy_group_statistics.html.markdown create mode 100644 website/docs/d/gaap_proxy_groups.html.markdown create mode 100644 website/docs/d/gaap_proxy_statistics.html.markdown create mode 100644 website/docs/d/gaap_real_servers_status.html.markdown diff --git a/.changelog/2183.txt b/.changelog/2183.txt new file mode 100644 index 0000000000..6c5c6cbe06 --- /dev/null +++ b/.changelog/2183.txt @@ -0,0 +1,43 @@ +```release-note:new-data-source +tencentcloud_gaap_access_regions +``` + +```release-note:new-data-source +tencentcloud_gaap_access_regions_by_dest_region +``` + +```release-note:new-data-source +tencentcloud_gaap_black_header +``` + +```release-note:new-data-source +tencentcloud_gaap_country_area_mapping +``` + +```release-note:new-data-source +tencentcloud_gaap_custom_header +``` + +```release-note:new-data-source +tencentcloud_gaap_dest_regions +``` + +```release-note:new-data-source +tencentcloud_gaap_proxy_detail +``` + +```release-note:new-data-source +tencentcloud_gaap_proxy_groups +``` + +```release-note:new-data-source +tencentcloud_gaap_proxy_statistics +``` + +```release-note:new-data-source +tencentcloud_gaap_proxy_group_statistics +``` + +```release-note:new-data-source +tencentcloud_gaap_real_servers_status +``` \ No newline at end of file diff --git a/tencentcloud/data_source_tc_gaap_proxy_statistics.go b/tencentcloud/data_source_tc_gaap_proxy_statistics.go index 9c6a538043..ff2fb5b1b1 100644 --- a/tencentcloud/data_source_tc_gaap_proxy_statistics.go +++ b/tencentcloud/data_source_tc_gaap_proxy_statistics.go @@ -52,7 +52,7 @@ func dataSourceTencentCloudGaapProxyStatistics() *schema.Resource { Elem: &schema.Schema{ Type: schema.TypeString, }, - Description: "Metric Names. 支持 InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency,HttpQPS, HttpsQPS.", + Description: "Metric Names. Valid values: InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency, HttpQPS, HttpsQPS.", }, "granularity": { diff --git a/tencentcloud/data_source_tc_gaap_real_servers_status.go b/tencentcloud/data_source_tc_gaap_real_servers_status.go index 3dff622ecb..823919fe43 100644 --- a/tencentcloud/data_source_tc_gaap_real_servers_status.go +++ b/tencentcloud/data_source_tc_gaap_real_servers_status.go @@ -47,7 +47,7 @@ func dataSourceTencentCloudGaapRealServersStatus() *schema.Resource { "bind_status": { Type: schema.TypeInt, Computed: true, - Description: "Bind Status, 0 indicates unbound ,1 indicates bound by rules or listeners.", + Description: "Bind Status, 0 indicates unbound, 1 indicates bound by rules or listeners.", }, "proxy_id": { Type: schema.TypeString, diff --git a/website/docs/d/gaap_access_regions.html.markdown b/website/docs/d/gaap_access_regions.html.markdown new file mode 100644 index 0000000000..45ed93ce77 --- /dev/null +++ b/website/docs/d/gaap_access_regions.html.markdown @@ -0,0 +1,41 @@ +--- +subcategory: "Global Application Acceleration(GAAP)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_gaap_access_regions" +sidebar_current: "docs-tencentcloud-datasource-gaap_access_regions" +description: |- + Use this data source to query detailed information of gaap access regions +--- + +# tencentcloud_gaap_access_regions + +Use this data source to query detailed information of gaap access regions + +## Example Usage + +```hcl +data "tencentcloud_gaap_access_regions" "access_regions" { +} +``` + +## 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: + +* `access_region_set` - Acceleration Zone Details List. + * `feature_bitmap` - Property bitmap, where each bit represents a property, where:0, indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained. + * `idc_type` - The type of computer room, where dc represents the DataCenter data center and ec represents the EdgeComputing edge node. + * `region_area_name` - Name of the region to which the computer room belongs. + * `region_area` - Region of the computer room. + * `region_id` - Region id. + * `region_name` - English or Chinese name of the region. + * `support_feature` - Ability to access regional supportNote: This field may return null, indicating that a valid value cannot be obtained. + * `network_type` - A list of network types supported by the access area, with normal indicating support for regular BGP, cn2 indicating premium BGP, triple indicating three networks, and secure_ EIP represents a custom secure EIP. + + diff --git a/website/docs/d/gaap_access_regions_by_dest_region.html.markdown b/website/docs/d/gaap_access_regions_by_dest_region.html.markdown new file mode 100644 index 0000000000..4d1d293cb3 --- /dev/null +++ b/website/docs/d/gaap_access_regions_by_dest_region.html.markdown @@ -0,0 +1,45 @@ +--- +subcategory: "Global Application Acceleration(GAAP)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_gaap_access_regions_by_dest_region" +sidebar_current: "docs-tencentcloud-datasource-gaap_access_regions_by_dest_region" +description: |- + Use this data source to query detailed information of gaap access regions by dest region +--- + +# tencentcloud_gaap_access_regions_by_dest_region + +Use this data source to query detailed information of gaap access regions by dest region + +## Example Usage + +```hcl +data "tencentcloud_gaap_access_regions_by_dest_region" "access_regions_by_dest_region" { + dest_region = "SouthChina" +} +``` + +## Argument Reference + +The following arguments are supported: + +* `dest_region` - (Required, String) Origin region. +* `ip_address_version` - (Optional, String) IP version, can be taken as IPv4 or IPv6, with a default value of IPv4. +* `package_type` - (Optional, String) Channel package type, where Thunder represents a standard proxy group, Accelerator represents a game accelerator proxy, and CrossBorder represents a cross-border proxy. +* `result_output_file` - (Optional, String) Used to save results. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `access_region_set` - List of available acceleration zone information. + * `bandwidth_list` - Optional bandwidth value array. + * `concurrent_list` - Optional concurrency value array. + * `feature_bitmap` - The type of computer room, where dc represents the DataCenter data center, ec represents the feature bitmap, and each bit represents a feature, where:0, indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained. Edge nodes. + * `idc_type` - The type of computer room, where dc represents the DataCenter data center and ec represents the EdgeComputing edge node. + * `region_area_name` - Region name of the computer room. + * `region_area` - Region of the computer room. + * `region_id` - Region id. + * `region_name` - Chinese or English name of the region. + + diff --git a/website/docs/d/gaap_black_header.html.markdown b/website/docs/d/gaap_black_header.html.markdown new file mode 100644 index 0000000000..7b90bfd133 --- /dev/null +++ b/website/docs/d/gaap_black_header.html.markdown @@ -0,0 +1,33 @@ +--- +subcategory: "Global Application Acceleration(GAAP)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_gaap_black_header" +sidebar_current: "docs-tencentcloud-datasource-gaap_black_header" +description: |- + Use this data source to query detailed information of gaap black header +--- + +# tencentcloud_gaap_black_header + +Use this data source to query detailed information of gaap black header + +## Example Usage + +```hcl +data "tencentcloud_gaap_black_header" "black_header" { +} +``` + +## 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: + +* `black_headers` - Disabled custom header listNote: This field may return null, indicating that a valid value cannot be obtained. + + diff --git a/website/docs/d/gaap_country_area_mapping.html.markdown b/website/docs/d/gaap_country_area_mapping.html.markdown new file mode 100644 index 0000000000..26bf4b3215 --- /dev/null +++ b/website/docs/d/gaap_country_area_mapping.html.markdown @@ -0,0 +1,40 @@ +--- +subcategory: "Global Application Acceleration(GAAP)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_gaap_country_area_mapping" +sidebar_current: "docs-tencentcloud-datasource-gaap_country_area_mapping" +description: |- + Use this data source to query detailed information of gaap country area mapping +--- + +# tencentcloud_gaap_country_area_mapping + +Use this data source to query detailed information of gaap country area mapping + +## Example Usage + +```hcl +data "tencentcloud_gaap_country_area_mapping" "country_area_mapping" { +} +``` + +## 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: + +* `country_area_mapping_list` - Country/region code mapping table. + * `continent_inner_code` - Continental Code. + * `continent_name` - The name of the continent. + * `geographical_zone_inner_code` - Region code. + * `geographical_zone_name` - Region name. + * `nation_country_inner_code` - Country code. + * `nation_country_name` - Country name. + * `remark` - Annotation InformationNote: This field may return null, indicating that a valid value cannot be obtained. + + diff --git a/website/docs/d/gaap_custom_header.html.markdown b/website/docs/d/gaap_custom_header.html.markdown new file mode 100644 index 0000000000..cf80b66f8d --- /dev/null +++ b/website/docs/d/gaap_custom_header.html.markdown @@ -0,0 +1,37 @@ +--- +subcategory: "Global Application Acceleration(GAAP)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_gaap_custom_header" +sidebar_current: "docs-tencentcloud-datasource-gaap_custom_header" +description: |- + Use this data source to query detailed information of gaap custom header +--- + +# tencentcloud_gaap_custom_header + +Use this data source to query detailed information of gaap custom header + +## Example Usage + +```hcl +data "tencentcloud_gaap_custom_header" "custom_header" { + rule_id = "rule-9sdhv655" +} +``` + +## Argument Reference + +The following arguments are supported: + +* `rule_id` - (Required, String) Rule IdNote: This field may return null, indicating that a valid value cannot be obtained. +* `result_output_file` - (Optional, String) Used to save results. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `headers` - HeadersNote: This field may return null, indicating that a valid value cannot be obtained. + * `header_name` - Header Name. + * `header_value` - Header Value. + + diff --git a/website/docs/d/gaap_dest_regions.html.markdown b/website/docs/d/gaap_dest_regions.html.markdown new file mode 100644 index 0000000000..f03b8cfba3 --- /dev/null +++ b/website/docs/d/gaap_dest_regions.html.markdown @@ -0,0 +1,41 @@ +--- +subcategory: "Global Application Acceleration(GAAP)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_gaap_dest_regions" +sidebar_current: "docs-tencentcloud-datasource-gaap_dest_regions" +description: |- + Use this data source to query detailed information of gaap dest regions +--- + +# tencentcloud_gaap_dest_regions + +Use this data source to query detailed information of gaap dest regions + +## Example Usage + +```hcl +data "tencentcloud_gaap_dest_regions" "dest_regions" { +} +``` + +## 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: + +* `dest_region_set` - Source Site Area Details List. + * `feature_bitmap` - Property bitmap, where each bit represents a property, where:0, indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained. + * `idc_type` - The type of computer room, where dc represents the DataCenter data center and ec represents the EdgeComputing edge node. + * `region_area_name` - Region name of the computer room. + * `region_area` - Region of the computer room. + * `region_id` - region ID. + * `region_name` - region name. + * `support_feature` - Ability to access regional supportNote: This field may return null, indicating that a valid value cannot be obtained. + * `network_type` - A list of network types supported by the access area, with normal indicating support for regular BGP, cn2 indicating premium BGP, triple indicating three networks, and secure_EIP represents a custom secure EIP. + + diff --git a/website/docs/d/gaap_proxy_detail.html.markdown b/website/docs/d/gaap_proxy_detail.html.markdown new file mode 100644 index 0000000000..c7e6e3ce68 --- /dev/null +++ b/website/docs/d/gaap_proxy_detail.html.markdown @@ -0,0 +1,91 @@ +--- +subcategory: "Global Application Acceleration(GAAP)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_gaap_proxy_detail" +sidebar_current: "docs-tencentcloud-datasource-gaap_proxy_detail" +description: |- + Use this data source to query detailed information of gaap proxy detail +--- + +# tencentcloud_gaap_proxy_detail + +Use this data source to query detailed information of gaap proxy detail + +## Example Usage + +```hcl +data "tencentcloud_gaap_proxy_detail" "proxy_detail" { + proxy_id = "link-8lpyo88p" +} +``` + +## Argument Reference + +The following arguments are supported: + +* `proxy_id` - (Required, String) Proxy Id. +* `result_output_file` - (Optional, String) Used to save results. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `proxy_detail` - Proxy Detail. + * `access_region_info` - Detailed information about the access region, including the region ID and domain name.Note: This field may return null, indicating that a valid value cannot be obtained. + * `feature_bitmap` - Property bitmap, where each bit represents a property, where:0 indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained. + * `idc_type` - The type of computer room, where dc represents the DataCenter data center and ec represents the EdgeComputing edge node. + * `region_area_name` - Region name of the computer room. + * `region_area` - Region of the computer room. + * `region_id` - Region Id. + * `region_name` - Region Name. + * `support_feature` - Ability to access regional supportNote: This field may return null, indicating that a valid value cannot be obtained. + * `network_type` - A list of network types supported by the access area, with normal indicating support for regular BGP, cn2 indicating premium BGP, triple indicating three networks, and secure_EIP represents a custom secure EIP. + * `access_region` - Access Region. + * `ban_status` - Blocking and Unblocking Status: BANNED indicates that the ban has been lifted, RECOVER indicates that the ban has been lifted or not, BANNING indicates that the ban is in progress, RECOVERING indicates that the ban is being lifted, BAN_FAILED indicates that the ban has failed, RECOVER_FAILED indicates that the unblocking has failed.Note: This field may return null, indicating that a valid value cannot be obtained. + * `bandwidth` - Band width, in Mbps. + * `billing_type` - Billing type: 0 represents bandwidth based billing, and 1 represents traffic based billing.Note: This field may return null, indicating that a valid value cannot be obtained. + * `client_ip_method` - The method of obtaining client IP through proxys, where 0 represents TOA and 1 represents Proxy ProtocolNote: This field may return null, indicating that a valid value cannot be obtained. + * `concurrent` - Concurrent, in 10000 pieces/second. + * `create_time` - The creation time, using a Unix timestamp, represents the number of seconds that have passed since January 1, 1970 (midnight UTC/GMT). + * `domain` - Domain. + * `feature_bitmap` - Property bitmap, where each bit represents a property, where:0 indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained.Note: This field may return null, indicating that a valid value cannot be obtained. + * `forward_ip` - proxy forwarding IP. + * `group_id` - proxy group ID, which exists when a proxy belongs to a certain proxy group.Note: This field may return null, indicating that a valid value cannot be obtained. + * `http3_supported` - Identification that supports the Http3 protocol, where:0 indicates shutdown;1 indicates enabled.Note: This field may return null, indicating that a valid value cannot be obtained. + * `in_ban_blacklist` - Is it on the banned blacklist? 0 indicates not on the blacklist, and 1 indicates on the blacklist.Note: This field may return null, indicating that a valid value cannot be obtained. + * `instance_id` - (Old parameter, please use ProxyId) Proxy instance ID.Note: This field may return null, indicating that a valid value cannot be obtained. + * `ip_address_version` - IP version: IPv4, IPv6Note: This field may return null, indicating that a valid value cannot be obtained. + * `ip_list` - IP ListNote: This field may return null, indicating that a valid value cannot be obtained. + * `bandwidth` - Band width. + * `ip` - IP. + * `provider` - Supplier, BGP represents default, CMCC represents China Mobile, CUCC represents China Unicom, and CTCC represents China Telecom. + * `ip` - IP. + * `modify_config_time` - Configuration change timeNote: This field may return null, indicating that a valid value cannot be obtained. + * `network_type` - Network type: normal represents regular BGP, cn2 represents premium BGP, triple represents triple network, secure_EIP represents customized security EIPNote: This field may return null, indicating that a valid value cannot be obtained. + * `package_type` - proxy package type: Thunder represents standard proxy, Accelerator represents silver acceleration proxy,CrossBorder represents a cross-border proxy.Note: This field may return null, indicating that a valid value cannot be obtained. + * `policy_id` - Security policy ID, which exists when a security policy is set.Note: This field may return null, indicating that a valid value cannot be obtained. + * `project_id` - Project Id. + * `proxy_id` - (New parameter) proxy instance ID.Note: This field may return null, indicating that a valid value cannot be obtained. + * `proxy_name` - Proxy Name. + * `proxy_type` - proxy type, 100 represents THUNDER proxy, 103 represents Microsoft cooperation proxyNote: This field may return null, indicating that a valid value cannot be obtained. + * `real_server_region_info` - Detailed information of the real server region, including the region ID and domain name.Note: This field may return null, indicating that a valid value cannot be obtained. + * `feature_bitmap` - Property bitmap, where each bit represents a property, where:0 indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained. + * `idc_type` - The type of computer room, where dc represents the DataCenter data center and ec represents the EdgeComputing edge node. + * `region_area_name` - Region name of the computer room. + * `region_area` - Region of the computer room. + * `region_id` - Region Id. + * `region_name` - Region Name. + * `support_feature` - Ability to access regional supportNote: This field may return null, indicating that a valid value cannot be obtained. + * `network_type` - A list of network types supported by the access area, with normal indicating support for regular BGP, cn2 indicating premium BGP, triple indicating three networks, and secure_EIP represents a custom secure EIP. + * `real_server_region` - Real Server Region. + * `related_global_domains` - List of domain names associated with resolutionNote: This field may return null, indicating that a valid value cannot be obtained. + * `scalarable` - 1. This proxy can be scaled and expanded; 0, this proxy cannot be scaled or expanded. + * `status` - proxy status. Among them:RUNNING indicates running;CREATING indicates being created;DESTROYING indicates being destroyed;OPENING indicates being opened;CLOSING indicates being closed;Closed indicates that it has been closed;ADJUSTING represents a configuration change in progress;ISOLATING indicates being isolated;ISOLATED indicates that it has been isolated;CLONING indicates copying;RECOVERING indicates that the proxy is being maintained;MOVING indicates that migration is in progress. + * `support_protocols` - Supported protocol types. + * `support_security` - Does it support security group configurationNote: This field may return null, indicating that a valid value cannot be obtained. + * `tag_set` - tag list, when there are no labels, this field is an empty list.Note: This field may return null, indicating that a valid value cannot be obtained. + * `tag_key` - Tag Key. + * `tag_value` - Tag Value. + * `version` - Version 1.0, 2.0, 3.0. + + diff --git a/website/docs/d/gaap_proxy_group_statistics.html.markdown b/website/docs/d/gaap_proxy_group_statistics.html.markdown new file mode 100644 index 0000000000..e25000dc46 --- /dev/null +++ b/website/docs/d/gaap_proxy_group_statistics.html.markdown @@ -0,0 +1,47 @@ +--- +subcategory: "Global Application Acceleration(GAAP)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_gaap_proxy_group_statistics" +sidebar_current: "docs-tencentcloud-datasource-gaap_proxy_group_statistics" +description: |- + Use this data source to query detailed information of gaap proxy group statistics +--- + +# tencentcloud_gaap_proxy_group_statistics + +Use this data source to query detailed information of gaap proxy group statistics + +## Example Usage + +```hcl +data "tencentcloud_gaap_proxy_group_statistics" "proxy_group_statistics" { + group_id = "link-8lpyo88p" + start_time = "2023-10-09 00:00:00" + end_time = "2023-10-09 23:59:59" + metric_names = ["InBandwidth", "OutBandwidth", "InFlow", "OutFlow"] + granularity = 300 +} +``` + +## Argument Reference + +The following arguments are supported: + +* `end_time` - (Required, String) End Time. +* `granularity` - (Required, Int) Monitoring granularity, currently supporting 60 300 3600 86400, in seconds.When the time range does not exceed 1 day, support a minimum granularity of 60 seconds;When the time range does not exceed 7 days, support a minimum granularity of 3600 seconds;When the time range does not exceed 30 days, the minimum granularity supported is 86400 seconds. +* `group_id` - (Required, String) Group Id. +* `metric_names` - (Required, Set: [`String`]) Metric Names. support, InBandwidth, OutBandwidth, Concurrent, InPackets, OutPackets. +* `start_time` - (Required, String) Start Time. +* `result_output_file` - (Optional, String) Used to save results. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `statistics_data` - proxy Group Statistics. + * `metric_data` - Metric Data. + * `data` - DataNote: This field may return null, indicating that a valid value cannot be obtained. + * `time` - Time. + * `metric_name` - Metric Name. + + diff --git a/website/docs/d/gaap_proxy_groups.html.markdown b/website/docs/d/gaap_proxy_groups.html.markdown new file mode 100644 index 0000000000..2cc9eb0534 --- /dev/null +++ b/website/docs/d/gaap_proxy_groups.html.markdown @@ -0,0 +1,73 @@ +--- +subcategory: "Global Application Acceleration(GAAP)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_gaap_proxy_groups" +sidebar_current: "docs-tencentcloud-datasource-gaap_proxy_groups" +description: |- + Use this data source to query detailed information of gaap proxy groups +--- + +# tencentcloud_gaap_proxy_groups + +Use this data source to query detailed information of gaap proxy groups + +## Example Usage + +```hcl +data "tencentcloud_gaap_proxy_groups" "proxy_groups" { + project_id = 0 + filters { + name = "GroupId" + values = ["lg-5anbbou5"] + } +} +``` + +## Argument Reference + +The following arguments are supported: + +* `project_id` - (Required, Int) Project ID. Value range:-1, All projects under this user0, default projectOther values, specified items. +* `filters` - (Optional, List) Filter conditions,The upper limit of Filter.Values per request is 5.RealServerRegion - String - Required: No - (filtering criteria) Filter by real server region, refer to the RegionId in the returned results of the DescribeDestRegions interface.PackageType - String - Required: No - (Filter condition) proxy group type, where 'Thunder' represents the standard proxy group and 'Accelerator' represents the silver acceleration proxy group. +* `result_output_file` - (Optional, String) Used to save results. +* `tag_set` - (Optional, List) Tag list, when this field exists, pulls the resource list under the corresponding tag.Supports a maximum of 5 labels. When there are two or more labels and any one of them is met, the proxy group will be pulled out. + +The `filters` object supports the following: + +* `name` - (Required, String) Filter conditions. +* `values` - (Required, Set) filtering value. + +The `tag_set` object supports the following: + +* `tag_key` - (Required, String) Tag Key. +* `tag_value` - (Required, String) Tag Value. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `proxy_group_list` - List of proxy groups.Note: This field may return null, indicating that a valid value cannot be obtained. + * `create_time` - Create TimeNote: This field may return null, indicating that a valid value cannot be obtained. + * `domain` - proxy group domain nameNote: This field may return null, indicating that a valid value cannot be obtained. + * `feature_bitmap` - Property bitmap, where each bit represents a property, where:0, indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained. + * `group_id` - proxy group Id. + * `group_name` - proxy Group NameNote: This field may return null, indicating that a valid value cannot be obtained. + * `http3_supported` - Supports the identification of Http3 features, where:0 indicates shutdown;1 indicates enabled.Note: This field may return null, indicating that a valid value cannot be obtained. + * `project_id` - Project Id. + * `proxy_type` - Does the proxy group include Microsoft proxysNote: This field may return null, indicating that a valid value cannot be obtained. + * `real_server_region_info` - Real Server Region Info. + * `feature_bitmap` - Property bitmap, where each bit represents a property, where:0, indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained. + * `idc_type` - The type of computer room, where 'dc' represents the DataCenter data center and 'ec' represents the EdgeComputing edge node. + * `region_area_name` - Region name of the computer room. + * `region_area` - Region of the computer room. + * `region_id` - Region Id. + * `region_name` - Region Name. + * `support_feature` - Ability to access regional supportNote: This field may return null, indicating that a valid value cannot be obtained. + * `network_type` - A list of network types supported by the access area, with 'normal' indicating support for regular BGP, 'cn2' indicating premium BGP, 'triple' indicating three networks, and 'secure_EIP' represents a custom secure EIP. + * `status` - proxy group status.Among them,'RUNNING' indicates running;'CREATING' indicates being created;'DESTROYING' indicates being destroyed;'MOVING' indicates that the proxy is being migrated;'CHANGING' indicates partial deployment. + * `tag_set` - Tag Set. + * `tag_key` - Tag Key. + * `tag_value` - Tag Value. + * `version` - proxy Group VersionNote: This field may return null, indicating that a valid value cannot be obtained. + + diff --git a/website/docs/d/gaap_proxy_statistics.html.markdown b/website/docs/d/gaap_proxy_statistics.html.markdown new file mode 100644 index 0000000000..626e1a0f05 --- /dev/null +++ b/website/docs/d/gaap_proxy_statistics.html.markdown @@ -0,0 +1,48 @@ +--- +subcategory: "Global Application Acceleration(GAAP)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_gaap_proxy_statistics" +sidebar_current: "docs-tencentcloud-datasource-gaap_proxy_statistics" +description: |- + Use this data source to query detailed information of gaap proxy statistics +--- + +# tencentcloud_gaap_proxy_statistics + +Use this data source to query detailed information of gaap proxy statistics + +## Example Usage + +```hcl +data "tencentcloud_gaap_proxy_statistics" "proxy_statistics" { + proxy_id = "link-8lpyo88p" + start_time = "2023-10-09 00:00:00" + end_time = "2023-10-09 23:59:59" + metric_names = ["InBandwidth", "OutBandwidth", "InFlow", "OutFlow", "InPackets", "OutPackets", "Concurrent", "HttpQPS", "HttpsQPS", "Latency", "PacketLoss"] + granularity = 300 +} +``` + +## Argument Reference + +The following arguments are supported: + +* `end_time` - (Required, String) End Time(2019-03-25 12:00:00). +* `granularity` - (Required, Int) Monitoring granularity, currently supporting 60 300 3600 86400, in seconds.When the time range does not exceed 3 days, support a minimum granularity of 60 seconds;When the time range does not exceed 7 days, support a minimum granularity of 300 seconds;When the time range does not exceed 30 days, the minimum granularity supported is 3600 seconds. +* `metric_names` - (Required, Set: [`String`]) Metric Names. Valid values: InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency, HttpQPS, HttpsQPS. +* `proxy_id` - (Required, String) Proxy Id. +* `start_time` - (Required, String) Start Time(2019-03-25 12:00:00). +* `isp` - (Optional, String) Operator (valid when the proxy is a three network proxy), supports CMCC, CUCC, CTCC, and merges data from the three operators if null values are passed or not passed. +* `result_output_file` - (Optional, String) Used to save results. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `statistics_data` - proxy Statistics. + * `metric_data` - Metric Data. + * `data` - DataNote: This field may return null, indicating that a valid value cannot be obtained. + * `time` - Time. + * `metric_name` - Metric Name. + + diff --git a/website/docs/d/gaap_real_servers_status.html.markdown b/website/docs/d/gaap_real_servers_status.html.markdown new file mode 100644 index 0000000000..77055e1c47 --- /dev/null +++ b/website/docs/d/gaap_real_servers_status.html.markdown @@ -0,0 +1,39 @@ +--- +subcategory: "Global Application Acceleration(GAAP)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_gaap_real_servers_status" +sidebar_current: "docs-tencentcloud-datasource-gaap_real_servers_status" +description: |- + Use this data source to query detailed information of gaap real servers status +--- + +# tencentcloud_gaap_real_servers_status + +Use this data source to query detailed information of gaap real servers status + +## Example Usage + +```hcl +data "tencentcloud_gaap_real_servers_status" "real_servers_status" { + real_server_ids = ["rs-qcygnwpd"] +} +``` + +## Argument Reference + +The following arguments are supported: + +* `real_server_ids` - (Required, Set: [`String`]) Real Server Ids. +* `result_output_file` - (Optional, String) Used to save results. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `real_server_status_set` - Real Server Status Set. + * `bind_status` - Bind Status, 0 indicates unbound, 1 indicates bound by rules or listeners. + * `group_id` - Bind the group ID of this real server, which is an empty string when not bound.Note: This field may return null, indicating that a valid value cannot be obtained. + * `proxy_id` - Bind the proxy ID of this real server, which is an empty string when not bound. + * `real_server_id` - Real Server Id. + + diff --git a/website/tencentcloud.erb b/website/tencentcloud.erb index 75786c7068..e0c8795f01 100644 --- a/website/tencentcloud.erb +++ b/website/tencentcloud.erb @@ -1918,9 +1918,27 @@
  • Data Sources