Skip to content

Commit

Permalink
feat/waf
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenEarth committed Sep 20, 2023
1 parent 79c3105 commit d00e303
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tencentcloud/resource_tc_waf_clb_instance.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/*
Provides a resource to create a waf clb instance
~> **NOTE:** Before creating, please ensure that the account region and `is_cn_mainland` are consistent.
Example Usage
Create a basic waf premium clb instance
Expand Down Expand Up @@ -367,7 +369,8 @@ func resourceTencentCloudWafClbInstanceRead(d *schema.ResourceData, meta interfa
}

if instanceInfo.QPS != nil {
_ = d.Set("qps_pkg_count", instanceInfo.QPS.Count)
qpsCount := *instanceInfo.QPS.Count / 1000
_ = d.Set("qps_pkg_count", qpsCount)
}

if instanceInfo.Edition != nil {
Expand Down
2 changes: 2 additions & 0 deletions tencentcloud/resource_tc_waf_saas_instance.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/*
Provides a resource to create a waf saas instance
~> **NOTE:** Before creating, please ensure that the account region and `is_cn_mainland` are consistent.
Example Usage
Create a basic waf premium saas instance
Expand Down
2 changes: 2 additions & 0 deletions website/docs/r/waf_clb_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ description: |-

Provides a resource to create a waf clb instance

~> **NOTE:** Before creating, please ensure that the account region and `is_cn_mainland` are consistent.

## Example Usage

### Create a basic waf premium clb instance
Expand Down
2 changes: 2 additions & 0 deletions website/docs/r/waf_saas_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ description: |-

Provides a resource to create a waf saas instance

~> **NOTE:** Before creating, please ensure that the account region and `is_cn_mainland` are consistent.

## Example Usage

### Create a basic waf premium saas instance
Expand Down

0 comments on commit d00e303

Please sign in to comment.