diff --git a/go.mod b/go.mod
index 398915bced..5f9a19c386 100644
--- a/go.mod
+++ b/go.mod
@@ -46,7 +46,7 @@ require (
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.984
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.544
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.970
- github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1012
+ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1013
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.960
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp v1.0.762
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb v1.0.692
@@ -90,7 +90,7 @@ require (
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdcpg v1.0.533
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq v1.0.955
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem v1.0.578
- github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo v1.0.912
+ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo v1.0.1013
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke v1.0.1008
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trocket v1.0.947
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse v1.0.857
diff --git a/go.sum b/go.sum
index 4e51eaa67f..ef130917ae 100644
--- a/go.sum
+++ b/go.sum
@@ -929,6 +929,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1011 h1:cjq
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1011/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1012 h1:OoaOmkAWsCfP8CZ2RUkwYtFciN1sJBcp6FmQJf0WGSY=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1012/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
+github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1013 h1:Q+QHJ/OUKnofZG742sk0Xtzdb5uAWq8OkhpdQE0UgXY=
+github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1013/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/controlcenter v1.0.993 h1:WlPgXldQCxt7qi5Xrc6j6zTrsXWzN5BcOGs7Irq7fwQ=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/controlcenter v1.0.993/go.mod h1:Z9U8zNtyuyKhjS0698wqsrG/kLx1TQ5CEixXBwVe7xY=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/csip v1.0.860 h1:F3esKBIT3HW9+7Gt8cVgf8X06VdGIczpgLBUECzSEzU=
@@ -1027,6 +1029,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem v1.0.578 h1:vBpQhUr
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem v1.0.578/go.mod h1:UlojGQh/9wb7/uXPNi7PvMral1CNAskVDNgqJEV83l0=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo v1.0.912 h1:XGOKd5umgbXDDTSOuLmoLDfNdh712lCIgIzw5SQItrA=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo v1.0.912/go.mod h1:iqTDU0pVTQ8RCeMJPk/PAWl9HeI1DFMd1h07yMH7RGU=
+github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo v1.0.1013 h1:Vcub4gbcTIs/uYINllI8eHXAhv652PpPLM+f/LWZroA=
+github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo v1.0.1013/go.mod h1:QUt5DeP3jmoYPrWwgupRPg/Xus21MjEiUzzhEUv0tOY=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/thpc v1.0.998 h1:f4/n0dVKQTD06xJ84B5asHViNJHrZmGojdAWEPIsITM=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/thpc v1.0.998/go.mod h1:fyi/HUwCwVe2NCCCjz8k/C5GwPu3QazCZO+OBJ3MhLk=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke v1.0.1008 h1:Cz7JSuS2zxIBzAuZ2bKk3EmrZ1QgS2QAHmCDTDPWBz0=
diff --git a/tencentcloud/connectivity/client.go b/tencentcloud/connectivity/client.go
index 2cf72c4197..f0fe7e59ff 100644
--- a/tencentcloud/connectivity/client.go
+++ b/tencentcloud/connectivity/client.go
@@ -213,6 +213,7 @@ type TencentCloudClient struct {
//omit nil client
omitNilConn *common.Client
emrv20190103Conn *emr.Client
+ teov20220901Conn *teo.Client
}
// NewClientProfile returns a new ClientProfile
@@ -1830,3 +1831,16 @@ func (me *TencentCloudClient) UseEmrV20190103Client() *emr.Client {
return me.emrv20190103Conn
}
+
+// UseTeoV20220901Client return TEO client for service
+func (me *TencentCloudClient) UseTeoV20220901Client() *teo.Client {
+ if me.teov20220901Conn != nil {
+ return me.teov20220901Conn
+ }
+ cpf := me.NewClientProfile(300)
+ cpf.Language = "zh-CN"
+ me.teov20220901Conn, _ = teo.NewClient(me.Credential, me.Region, cpf)
+ me.teov20220901Conn.WithHttpTransport(&LogRoundTripper{})
+
+ return me.teov20220901Conn
+}
diff --git a/tencentcloud/provider.go b/tencentcloud/provider.go
index c4cd57710e..97d942afac 100644
--- a/tencentcloud/provider.go
+++ b/tencentcloud/provider.go
@@ -1702,6 +1702,7 @@ func Provider() *schema.Provider {
"tencentcloud_teo_application_proxy": teo.ResourceTencentCloudTeoApplicationProxy(),
"tencentcloud_teo_application_proxy_rule": teo.ResourceTencentCloudTeoApplicationProxyRule(),
"tencentcloud_teo_realtime_log_delivery": teo.ResourceTencentCloudTeoRealtimeLogDelivery(),
+ "tencentcloud_teo_security_ip_group": teo.ResourceTencentCloudTeoSecurityIpGroup(),
"tencentcloud_tcm_mesh": tcm.ResourceTencentCloudTcmMesh(),
"tencentcloud_tcm_cluster_attachment": tcm.ResourceTencentCloudTcmClusterAttachment(),
"tencentcloud_tcm_prometheus_attachment": tcm.ResourceTencentCloudTcmPrometheusAttachment(),
diff --git a/tencentcloud/services/teo/resource_tc_teo_security_ip_group.go b/tencentcloud/services/teo/resource_tc_teo_security_ip_group.go
new file mode 100644
index 0000000000..8dd9978d94
--- /dev/null
+++ b/tencentcloud/services/teo/resource_tc_teo_security_ip_group.go
@@ -0,0 +1,301 @@
+// Code generated by iacg; DO NOT EDIT.
+package teo
+
+import (
+ "context"
+ "fmt"
+ "log"
+ "strings"
+
+ "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
+ "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
+ teov20220901 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901"
+
+ tccommon "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/common"
+ "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper"
+)
+
+func ResourceTencentCloudTeoSecurityIpGroup() *schema.Resource {
+ return &schema.Resource{
+ Create: resourceTencentCloudTeoSecurityIpGroupCreate,
+ Read: resourceTencentCloudTeoSecurityIpGroupRead,
+ Update: resourceTencentCloudTeoSecurityIpGroupUpdate,
+ Delete: resourceTencentCloudTeoSecurityIpGroupDelete,
+ Importer: &schema.ResourceImporter{
+ State: schema.ImportStatePassthrough,
+ },
+ Schema: map[string]*schema.Schema{
+ "zone_id": {
+ Type: schema.TypeString,
+ Required: true,
+ Description: "Site ID.",
+ },
+
+ "ip_group": {
+ Type: schema.TypeList,
+ Required: true,
+ MaxItems: 1,
+ Description: "IP group information, replace all when modifying.",
+ Elem: &schema.Resource{
+ Schema: map[string]*schema.Schema{
+ "group_id": {
+ Type: schema.TypeInt,
+ Computed: true,
+ Description: "Group ID.",
+ },
+ "name": {
+ Type: schema.TypeString,
+ Required: true,
+ Description: "Group name.",
+ },
+ "content": {
+ Type: schema.TypeSet,
+ Required: true,
+ Description: "IP group content. Only supports IP and IP mask.",
+ Elem: &schema.Schema{
+ Type: schema.TypeString,
+ },
+ },
+ },
+ },
+ },
+ },
+ }
+}
+
+func resourceTencentCloudTeoSecurityIpGroupCreate(d *schema.ResourceData, meta interface{}) error {
+ defer tccommon.LogElapsed("resource.tencentcloud_teo_security_ip_group.create")()
+ defer tccommon.InconsistentCheck(d, meta)()
+
+ logId := tccommon.GetLogId(tccommon.ContextNil)
+
+ ctx := tccommon.NewResourceLifeCycleHandleFuncContext(context.Background(), logId, d, meta)
+
+ var (
+ zoneId string
+ groupId int64
+ )
+ var (
+ request = teov20220901.NewCreateSecurityIPGroupRequest()
+ response = teov20220901.NewCreateSecurityIPGroupResponse()
+ )
+
+ if v, ok := d.GetOk("zone_id"); ok {
+ zoneId = v.(string)
+ }
+
+ request.ZoneId = helper.String(zoneId)
+
+ if iPGroupMap, ok := helper.InterfacesHeadMap(d, "ip_group"); ok {
+ iPGroup := teov20220901.IPGroup{}
+ if v, ok := iPGroupMap["group_id"]; ok {
+ iPGroup.GroupId = helper.IntInt64(v.(int))
+ }
+ if v, ok := iPGroupMap["name"]; ok {
+ iPGroup.Name = helper.String(v.(string))
+ }
+ if v, ok := iPGroupMap["content"]; ok {
+ contentSet := v.(*schema.Set).List()
+ for i := range contentSet {
+ content := contentSet[i].(string)
+ iPGroup.Content = append(iPGroup.Content, helper.String(content))
+ }
+ }
+ request.IPGroup = &iPGroup
+ }
+
+ if err := resourceTencentCloudTeoSecurityIpGroupCreatePostFillRequest0(ctx, request); err != nil {
+ return err
+ }
+
+ err := resource.Retry(tccommon.WriteRetryTimeout, func() *resource.RetryError {
+ result, e := meta.(tccommon.ProviderMeta).GetAPIV3Conn().UseTeoV20220901Client().CreateSecurityIPGroupWithContext(ctx, request)
+ if e != nil {
+ return tccommon.RetryError(e)
+ } else {
+ log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n", logId, request.GetAction(), request.ToJsonString(), result.ToJsonString())
+ }
+ response = result
+ return nil
+ })
+ if err != nil {
+ log.Printf("[CRITAL]%s create teo security ip group failed, reason:%+v", logId, err)
+ return err
+ }
+
+ groupId = *response.Response.GroupId
+
+ d.SetId(strings.Join([]string{zoneId, helper.Int64ToStr(groupId)}, tccommon.FILED_SP))
+
+ return resourceTencentCloudTeoSecurityIpGroupRead(d, meta)
+}
+
+func resourceTencentCloudTeoSecurityIpGroupRead(d *schema.ResourceData, meta interface{}) error {
+ defer tccommon.LogElapsed("resource.tencentcloud_teo_security_ip_group.read")()
+ defer tccommon.InconsistentCheck(d, meta)()
+
+ logId := tccommon.GetLogId(tccommon.ContextNil)
+
+ ctx := tccommon.NewResourceLifeCycleHandleFuncContext(context.Background(), logId, d, meta)
+
+ service := TeoService{client: meta.(tccommon.ProviderMeta).GetAPIV3Conn()}
+
+ idSplit := strings.Split(d.Id(), tccommon.FILED_SP)
+ if len(idSplit) != 2 {
+ return fmt.Errorf("id is broken,%s", d.Id())
+ }
+ zoneId := idSplit[0]
+ groupId := idSplit[1]
+
+ _ = d.Set("zone_id", zoneId)
+
+ respData, err := service.DescribeTeoSecurityIpGroupById(ctx, zoneId, groupId)
+ if err != nil {
+ return err
+ }
+
+ if respData == nil {
+ d.SetId("")
+ log.Printf("[WARN]%s resource `teo_security_ip_group` [%s] not found, please check if it has been deleted.\n", logId, d.Id())
+ return nil
+ }
+ iPGroupsList := make([]map[string]interface{}, 0, len(respData.IPGroups))
+ if respData.IPGroups != nil {
+ for _, iPGroups := range respData.IPGroups {
+ iPGroupsMap := map[string]interface{}{}
+
+ if iPGroups.GroupId != nil {
+ iPGroupsMap["group_id"] = iPGroups.GroupId
+ }
+
+ if iPGroups.Name != nil {
+ iPGroupsMap["name"] = iPGroups.Name
+ }
+
+ if iPGroups.Content != nil {
+ iPGroupsMap["content"] = iPGroups.Content
+ }
+
+ iPGroupsList = append(iPGroupsList, iPGroupsMap)
+ }
+
+ _ = d.Set("ip_group", iPGroupsList)
+ }
+
+ return nil
+}
+
+func resourceTencentCloudTeoSecurityIpGroupUpdate(d *schema.ResourceData, meta interface{}) error {
+ defer tccommon.LogElapsed("resource.tencentcloud_teo_security_ip_group.update")()
+ defer tccommon.InconsistentCheck(d, meta)()
+
+ logId := tccommon.GetLogId(tccommon.ContextNil)
+
+ ctx := tccommon.NewResourceLifeCycleHandleFuncContext(context.Background(), logId, d, meta)
+
+ immutableArgs := []string{"zone_id"}
+ for _, v := range immutableArgs {
+ if d.HasChange(v) {
+ return fmt.Errorf("argument `%s` cannot be changed", v)
+ }
+ }
+ idSplit := strings.Split(d.Id(), tccommon.FILED_SP)
+ if len(idSplit) != 2 {
+ return fmt.Errorf("id is broken,%s", d.Id())
+ }
+ zoneId := idSplit[0]
+ groupId := idSplit[1]
+
+ needChange := false
+ mutableArgs := []string{"ip_group"}
+ for _, v := range mutableArgs {
+ if d.HasChange(v) {
+ needChange = true
+ break
+ }
+ }
+
+ if needChange {
+ request := teov20220901.NewModifySecurityIPGroupRequest()
+
+ request.ZoneId = helper.String(zoneId)
+
+ if iPGroupMap, ok := helper.InterfacesHeadMap(d, "ip_group"); ok {
+ iPGroup := teov20220901.IPGroup{}
+ iPGroup.GroupId = helper.StrToInt64Point(groupId)
+ if v, ok := iPGroupMap["name"]; ok {
+ iPGroup.Name = helper.String(v.(string))
+ }
+ if v, ok := iPGroupMap["content"]; ok {
+ contentSet := v.(*schema.Set).List()
+ for i := range contentSet {
+ content := contentSet[i].(string)
+ iPGroup.Content = append(iPGroup.Content, helper.String(content))
+ }
+ }
+ request.IPGroup = &iPGroup
+ }
+
+ if err := resourceTencentCloudTeoSecurityIpGroupUpdatePostFillRequest0(ctx, request); err != nil {
+ return err
+ }
+
+ err := resource.Retry(tccommon.WriteRetryTimeout, func() *resource.RetryError {
+ result, e := meta.(tccommon.ProviderMeta).GetAPIV3Conn().UseTeoV20220901Client().ModifySecurityIPGroupWithContext(ctx, request)
+ if e != nil {
+ return tccommon.RetryError(e)
+ } else {
+ log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n", logId, request.GetAction(), request.ToJsonString(), result.ToJsonString())
+ }
+ return nil
+ })
+ if err != nil {
+ log.Printf("[CRITAL]%s update teo security ip group failed, reason:%+v", logId, err)
+ return err
+ }
+ }
+
+ return resourceTencentCloudTeoSecurityIpGroupRead(d, meta)
+}
+
+func resourceTencentCloudTeoSecurityIpGroupDelete(d *schema.ResourceData, meta interface{}) error {
+ defer tccommon.LogElapsed("resource.tencentcloud_teo_security_ip_group.delete")()
+ defer tccommon.InconsistentCheck(d, meta)()
+
+ logId := tccommon.GetLogId(tccommon.ContextNil)
+ ctx := tccommon.NewResourceLifeCycleHandleFuncContext(context.Background(), logId, d, meta)
+
+ idSplit := strings.Split(d.Id(), tccommon.FILED_SP)
+ if len(idSplit) != 2 {
+ return fmt.Errorf("id is broken,%s", d.Id())
+ }
+ zoneId := idSplit[0]
+ groupId := idSplit[1]
+
+ var (
+ request = teov20220901.NewDeleteSecurityIPGroupRequest()
+ response = teov20220901.NewDeleteSecurityIPGroupResponse()
+ )
+
+ request.ZoneId = helper.String(zoneId)
+
+ request.GroupId = helper.StrToInt64Point(groupId)
+
+ err := resource.Retry(tccommon.WriteRetryTimeout, func() *resource.RetryError {
+ result, e := meta.(tccommon.ProviderMeta).GetAPIV3Conn().UseTeoV20220901Client().DeleteSecurityIPGroupWithContext(ctx, request)
+ if e != nil {
+ return tccommon.RetryError(e)
+ } else {
+ log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n", logId, request.GetAction(), request.ToJsonString(), result.ToJsonString())
+ }
+ response = result
+ return nil
+ })
+ if err != nil {
+ log.Printf("[CRITAL]%s delete teo security ip group failed, reason:%+v", logId, err)
+ return err
+ }
+
+ _ = response
+ return nil
+}
diff --git a/tencentcloud/services/teo/resource_tc_teo_security_ip_group.md b/tencentcloud/services/teo/resource_tc_teo_security_ip_group.md
new file mode 100644
index 0000000000..71b4997158
--- /dev/null
+++ b/tencentcloud/services/teo/resource_tc_teo_security_ip_group.md
@@ -0,0 +1,25 @@
+Provides a resource to create a teo teo_security_ip_group
+
+Example Usage
+
+```hcl
+resource "tencentcloud_teo_security_ip_group" "teo_security_ip_group" {
+ zone_id = "zone-2qtuhspy7cr6"
+ ip_group {
+ content = [
+ "10.1.1.1",
+ "10.1.1.2",
+ "10.1.1.3",
+ ]
+ name = "bbbbb"
+ }
+}
+```
+
+Import
+
+teo teo_security_ip_group can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_teo_security_ip_group.teo_security_ip_group zone_id#group_id
+```
diff --git a/tencentcloud/services/teo/resource_tc_teo_security_ip_group_extension.go b/tencentcloud/services/teo/resource_tc_teo_security_ip_group_extension.go
new file mode 100644
index 0000000000..3d02879251
--- /dev/null
+++ b/tencentcloud/services/teo/resource_tc_teo_security_ip_group_extension.go
@@ -0,0 +1,18 @@
+package teo
+
+import (
+ "context"
+
+ v20220901 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901"
+ "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper"
+)
+
+func resourceTencentCloudTeoSecurityIpGroupCreatePostFillRequest0(ctx context.Context, req *v20220901.CreateSecurityIPGroupRequest) error {
+ req.IPGroup.GroupId = helper.IntInt64(0)
+ return nil
+}
+
+func resourceTencentCloudTeoSecurityIpGroupUpdatePostFillRequest0(ctx context.Context, req *v20220901.ModifySecurityIPGroupRequest) error {
+ req.Mode = helper.String("update")
+ return nil
+}
diff --git a/tencentcloud/services/teo/resource_tc_teo_security_ip_group_test.go b/tencentcloud/services/teo/resource_tc_teo_security_ip_group_test.go
new file mode 100644
index 0000000000..63d7d97977
--- /dev/null
+++ b/tencentcloud/services/teo/resource_tc_teo_security_ip_group_test.go
@@ -0,0 +1,76 @@
+package teo_test
+
+import (
+ "testing"
+
+ "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
+
+ tcacctest "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/acctest"
+)
+
+// go test -test.run TestAccTencentCloudTeoSecurityIpGroupResource_basic -v
+func TestAccTencentCloudTeoSecurityIpGroupResource_basic(t *testing.T) {
+ t.Parallel()
+ resource.Test(t, resource.TestCase{
+ PreCheck: func() {
+ tcacctest.AccPreCheck(t)
+ },
+ Providers: tcacctest.AccProviders,
+ Steps: []resource.TestStep{
+ {
+ Config: testAccTeoSecurityIpGroup,
+ Check: resource.ComposeTestCheckFunc(
+ resource.TestCheckResourceAttrSet("tencentcloud_teo_security_ip_group.teo_security_ip_group", "id"),
+ resource.TestCheckResourceAttr("tencentcloud_teo_security_ip_group.teo_security_ip_group", "ip_group.#", "1"),
+ resource.TestCheckResourceAttr("tencentcloud_teo_security_ip_group.teo_security_ip_group", "ip_group.0.name", "aaaaa"),
+ resource.TestCheckResourceAttr("tencentcloud_teo_security_ip_group.teo_security_ip_group", "ip_group.0.content.#", "2"),
+ ),
+ },
+ {
+ ResourceName: "tencentcloud_teo_security_ip_group.teo_security_ip_group",
+ ImportState: true,
+ ImportStateVerify: true,
+ },
+ {
+ Config: testAccTeoSecurityIpGroupUp,
+ Check: resource.ComposeTestCheckFunc(
+ resource.TestCheckResourceAttrSet("tencentcloud_teo_security_ip_group.teo_security_ip_group", "id"),
+ resource.TestCheckResourceAttr("tencentcloud_teo_security_ip_group.teo_security_ip_group", "ip_group.#", "1"),
+ resource.TestCheckResourceAttr("tencentcloud_teo_security_ip_group.teo_security_ip_group", "ip_group.0.name", "bbbbb"),
+ resource.TestCheckResourceAttr("tencentcloud_teo_security_ip_group.teo_security_ip_group", "ip_group.0.content.#", "3"),
+ ),
+ },
+ },
+ })
+}
+
+const testAccTeoSecurityIpGroup = `
+
+resource "tencentcloud_teo_security_ip_group" "teo_security_ip_group" {
+ zone_id = "zone-2qtuhspy7cr6"
+
+ ip_group {
+ content = [
+ "10.1.1.1",
+ "10.1.1.2",
+ ]
+ name = "aaaaa"
+ }
+}
+`
+
+const testAccTeoSecurityIpGroupUp = `
+
+resource "tencentcloud_teo_security_ip_group" "teo_security_ip_group" {
+ zone_id = "zone-2qtuhspy7cr6"
+
+ ip_group {
+ content = [
+ "10.1.1.1",
+ "10.1.1.2",
+ "10.1.1.3",
+ ]
+ name = "bbbbb"
+ }
+}
+`
diff --git a/tencentcloud/services/teo/service_tencentcloud_teo.go b/tencentcloud/services/teo/service_tencentcloud_teo.go
index 8dca21c4c1..44d6d3287b 100644
--- a/tencentcloud/services/teo/service_tencentcloud_teo.go
+++ b/tencentcloud/services/teo/service_tencentcloud_teo.go
@@ -1138,3 +1138,29 @@ func (me *TeoService) DescribeTeoRealtimeLogDeliveryById(ctx context.Context, zo
ret = response.Response.RealtimeLogDeliveryTasks[0]
return
}
+
+func (me *TeoService) DescribeTeoSecurityIpGroupById(ctx context.Context, zoneId string, groupId string) (ret *teo.DescribeSecurityIPGroupResponseParams, errRet error) {
+ logId := tccommon.GetLogId(ctx)
+
+ request := teo.NewDescribeSecurityIPGroupRequest()
+ request.ZoneId = helper.String(zoneId)
+ request.GroupIds = []*int64{helper.StrToInt64Point(groupId)}
+
+ defer func() {
+ if errRet != nil {
+ log.Printf("[CRITAL]%s api[%s] fail, request body [%s], reason[%s]\n", logId, request.GetAction(), request.ToJsonString(), errRet.Error())
+ }
+ }()
+
+ ratelimit.Check(request.GetAction())
+
+ response, err := me.client.UseTeoV20220901Client().DescribeSecurityIPGroup(request)
+ if err != nil {
+ errRet = err
+ return
+ }
+ log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n", logId, request.GetAction(), request.ToJsonString(), response.ToJsonString())
+
+ ret = response.Response
+ return
+}
diff --git a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http/request.go b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http/request.go
index 75827102b0..2c2db47bd4 100644
--- a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http/request.go
+++ b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http/request.go
@@ -265,7 +265,7 @@ func CompleteCommonParams(request Request, region string, requestClient string)
params["Action"] = request.GetAction()
params["Timestamp"] = strconv.FormatInt(time.Now().Unix(), 10)
params["Nonce"] = strconv.Itoa(rand.Int())
- params["RequestClient"] = "SDK_GO_1.0.1012"
+ params["RequestClient"] = "SDK_GO_1.0.1013"
if requestClient != "" {
params["RequestClient"] += ": " + requestClient
}
diff --git a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901/client.go b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901/client.go
index e92b065ebe..0e0482e67c 100644
--- a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901/client.go
+++ b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901/client.go
@@ -851,6 +851,193 @@ func (c *Client) CreateConfigGroupVersionWithContext(ctx context.Context, reques
return
}
+func NewCreateCustomizeErrorPageRequest() (request *CreateCustomizeErrorPageRequest) {
+ request = &CreateCustomizeErrorPageRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "CreateCustomizeErrorPage")
+
+
+ return
+}
+
+func NewCreateCustomizeErrorPageResponse() (response *CreateCustomizeErrorPageResponse) {
+ response = &CreateCustomizeErrorPageResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// CreateCustomizeErrorPage
+// 创建自定义错误页面。
+//
+// 可能返回的错误码:
+// INVALIDPARAMETERVALUE_CONTENTTYPENOTMATCH = "InvalidParameterValue.ContentTypeNotMatch"
+// INVALIDPARAMETERVALUE_PAGENAMEALREADYEXIST = "InvalidParameterValue.PageNameAlreadyExist"
+func (c *Client) CreateCustomizeErrorPage(request *CreateCustomizeErrorPageRequest) (response *CreateCustomizeErrorPageResponse, err error) {
+ return c.CreateCustomizeErrorPageWithContext(context.Background(), request)
+}
+
+// CreateCustomizeErrorPage
+// 创建自定义错误页面。
+//
+// 可能返回的错误码:
+// INVALIDPARAMETERVALUE_CONTENTTYPENOTMATCH = "InvalidParameterValue.ContentTypeNotMatch"
+// INVALIDPARAMETERVALUE_PAGENAMEALREADYEXIST = "InvalidParameterValue.PageNameAlreadyExist"
+func (c *Client) CreateCustomizeErrorPageWithContext(ctx context.Context, request *CreateCustomizeErrorPageRequest) (response *CreateCustomizeErrorPageResponse, err error) {
+ if request == nil {
+ request = NewCreateCustomizeErrorPageRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("CreateCustomizeErrorPage require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewCreateCustomizeErrorPageResponse()
+ err = c.Send(request, response)
+ return
+}
+
+func NewCreateFunctionRequest() (request *CreateFunctionRequest) {
+ request = &CreateFunctionRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "CreateFunction")
+
+
+ return
+}
+
+func NewCreateFunctionResponse() (response *CreateFunctionResponse) {
+ response = &CreateFunctionResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// CreateFunction
+// 创建并部署边缘函数至 EdgeOne 的边缘节点。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_BADCONTENT = "InvalidParameter.BadContent"
+// INVALIDPARAMETER_BADFUNCTIONNAME = "InvalidParameter.BadFunctionName"
+// INVALIDPARAMETER_CONTENTEXCEEDSLIMIT = "InvalidParameter.ContentExceedsLimit"
+// INVALIDPARAMETER_FUNCTIONNAMECONFLICT = "InvalidParameter.FunctionNameConflict"
+// INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
+// LIMITEXCEEDED_FUNCTIONLIMITEXCEEDED = "LimitExceeded.FunctionLimitExceeded"
+// OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+// UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
+func (c *Client) CreateFunction(request *CreateFunctionRequest) (response *CreateFunctionResponse, err error) {
+ return c.CreateFunctionWithContext(context.Background(), request)
+}
+
+// CreateFunction
+// 创建并部署边缘函数至 EdgeOne 的边缘节点。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_BADCONTENT = "InvalidParameter.BadContent"
+// INVALIDPARAMETER_BADFUNCTIONNAME = "InvalidParameter.BadFunctionName"
+// INVALIDPARAMETER_CONTENTEXCEEDSLIMIT = "InvalidParameter.ContentExceedsLimit"
+// INVALIDPARAMETER_FUNCTIONNAMECONFLICT = "InvalidParameter.FunctionNameConflict"
+// INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
+// LIMITEXCEEDED_FUNCTIONLIMITEXCEEDED = "LimitExceeded.FunctionLimitExceeded"
+// OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+// UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
+func (c *Client) CreateFunctionWithContext(ctx context.Context, request *CreateFunctionRequest) (response *CreateFunctionResponse, err error) {
+ if request == nil {
+ request = NewCreateFunctionRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("CreateFunction require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewCreateFunctionResponse()
+ err = c.Send(request, response)
+ return
+}
+
+func NewCreateFunctionRuleRequest() (request *CreateFunctionRuleRequest) {
+ request = &CreateFunctionRuleRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "CreateFunctionRule")
+
+
+ return
+}
+
+func NewCreateFunctionRuleResponse() (response *CreateFunctionRuleResponse) {
+ response = &CreateFunctionRuleResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// CreateFunctionRule
+// 创建边缘函数的触发规则。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_DUPLICATERULE = "InvalidParameter.DuplicateRule"
+// INVALIDPARAMETER_INVALIDCONDITIONS = "InvalidParameter.InvalidConditions"
+// LIMITEXCEEDED_RULELIMITEXCEEDED = "LimitExceeded.RuleLimitExceeded"
+// OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked"
+// RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) CreateFunctionRule(request *CreateFunctionRuleRequest) (response *CreateFunctionRuleResponse, err error) {
+ return c.CreateFunctionRuleWithContext(context.Background(), request)
+}
+
+// CreateFunctionRule
+// 创建边缘函数的触发规则。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_DUPLICATERULE = "InvalidParameter.DuplicateRule"
+// INVALIDPARAMETER_INVALIDCONDITIONS = "InvalidParameter.InvalidConditions"
+// LIMITEXCEEDED_RULELIMITEXCEEDED = "LimitExceeded.RuleLimitExceeded"
+// OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked"
+// RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) CreateFunctionRuleWithContext(ctx context.Context, request *CreateFunctionRuleRequest) (response *CreateFunctionRuleResponse, err error) {
+ if request == nil {
+ request = NewCreateFunctionRuleRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("CreateFunctionRule require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewCreateFunctionRuleResponse()
+ err = c.Send(request, response)
+ return
+}
+
func NewCreateL4ProxyRequest() (request *CreateL4ProxyRequest) {
request = &CreateL4ProxyRequest{
BaseRequest: &tchttp.BaseRequest{},
@@ -878,8 +1065,13 @@ func NewCreateL4ProxyResponse() (response *CreateL4ProxyResponse) {
// INVALIDPARAMETER_PROXYNAMEDUPLICATING = "InvalidParameter.ProxyNameDuplicating"
// OPERATIONDENIED = "OperationDenied"
// OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable"
+// OPERATIONDENIED_ACCELERATEMAINLANDIPV6CONFLICT = "OperationDenied.AccelerateMainlandIpv6Conflict"
// OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused"
+// OPERATIONDENIED_IPV6ADVANCEDCONFLICT = "OperationDenied.Ipv6AdvancedConflict"
+// OPERATIONDENIED_IPV6STATICIPCONFLICT = "OperationDenied.Ipv6StaticIpConflict"
// OPERATIONDENIED_L4LACKOFRESOURCES = "OperationDenied.L4LackOfResources"
+// OPERATIONDENIED_MSGIPV6ADVANCEDCONFLICT = "OperationDenied.MsgIpv6AdvancedConflict"
+// OPERATIONDENIED_STATICIPAREACONFLICT = "OperationDenied.StaticIpAreaConflict"
// UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (c *Client) CreateL4Proxy(request *CreateL4ProxyRequest) (response *CreateL4ProxyResponse, err error) {
return c.CreateL4ProxyWithContext(context.Background(), request)
@@ -893,8 +1085,13 @@ func (c *Client) CreateL4Proxy(request *CreateL4ProxyRequest) (response *CreateL
// INVALIDPARAMETER_PROXYNAMEDUPLICATING = "InvalidParameter.ProxyNameDuplicating"
// OPERATIONDENIED = "OperationDenied"
// OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable"
+// OPERATIONDENIED_ACCELERATEMAINLANDIPV6CONFLICT = "OperationDenied.AccelerateMainlandIpv6Conflict"
// OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused"
+// OPERATIONDENIED_IPV6ADVANCEDCONFLICT = "OperationDenied.Ipv6AdvancedConflict"
+// OPERATIONDENIED_IPV6STATICIPCONFLICT = "OperationDenied.Ipv6StaticIpConflict"
// OPERATIONDENIED_L4LACKOFRESOURCES = "OperationDenied.L4LackOfResources"
+// OPERATIONDENIED_MSGIPV6ADVANCEDCONFLICT = "OperationDenied.MsgIpv6AdvancedConflict"
+// OPERATIONDENIED_STATICIPAREACONFLICT = "OperationDenied.StaticIpAreaConflict"
// UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (c *Client) CreateL4ProxyWithContext(ctx context.Context, request *CreateL4ProxyRequest) (response *CreateL4ProxyResponse, err error) {
if request == nil {
@@ -1527,6 +1724,14 @@ func NewCreateRuleResponse() (response *CreateRuleResponse) {
// INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired"
// INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded"
// INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError"
+// INVALIDPARAMETERVALUE_FORMATMISMATCH = "InvalidParameterValue.FormatMismatch"
+// INVALIDPARAMETERVALUE_GENERALMISMATCH = "InvalidParameterValue.GeneralMismatch"
+// INVALIDPARAMETERVALUE_INCLUDEINVALIDVALUE = "InvalidParameterValue.IncludeInvalidValue"
+// INVALIDPARAMETERVALUE_MISSINGNECESSARYPARAM = "InvalidParameterValue.MissingNecessaryParam"
+// INVALIDPARAMETERVALUE_NOTINENUMERATION = "InvalidParameterValue.NotInEnumeration"
+// INVALIDPARAMETERVALUE_NOTWITHINRANGE = "InvalidParameterValue.NotWithinRange"
+// INVALIDPARAMETERVALUE_REGEXMISMATCH = "InvalidParameterValue.RegExMismatch"
+// INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = "InvalidParameterValue.UnrecognizableValue"
// LIMITEXCEEDED = "LimitExceeded"
// OPERATIONDENIED = "OperationDenied"
// OPERATIONDENIED_ACCELERATEMAINLANDMULTIPLYLAYERCONFLICT = "OperationDenied.AccelerateMainlandMultiplyLayerConflict"
@@ -1619,6 +1824,14 @@ func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleRes
// INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired"
// INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded"
// INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError"
+// INVALIDPARAMETERVALUE_FORMATMISMATCH = "InvalidParameterValue.FormatMismatch"
+// INVALIDPARAMETERVALUE_GENERALMISMATCH = "InvalidParameterValue.GeneralMismatch"
+// INVALIDPARAMETERVALUE_INCLUDEINVALIDVALUE = "InvalidParameterValue.IncludeInvalidValue"
+// INVALIDPARAMETERVALUE_MISSINGNECESSARYPARAM = "InvalidParameterValue.MissingNecessaryParam"
+// INVALIDPARAMETERVALUE_NOTINENUMERATION = "InvalidParameterValue.NotInEnumeration"
+// INVALIDPARAMETERVALUE_NOTWITHINRANGE = "InvalidParameterValue.NotWithinRange"
+// INVALIDPARAMETERVALUE_REGEXMISMATCH = "InvalidParameterValue.RegExMismatch"
+// INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = "InvalidParameterValue.UnrecognizableValue"
// LIMITEXCEEDED = "LimitExceeded"
// OPERATIONDENIED = "OperationDenied"
// OPERATIONDENIED_ACCELERATEMAINLANDMULTIPLYLAYERCONFLICT = "OperationDenied.AccelerateMainlandMultiplyLayerConflict"
@@ -1780,6 +1993,7 @@ func NewCreateZoneResponse() (response *CreateZoneResponse) {
//
// 可能返回的错误码:
// DRYRUNOPERATION = "DryRunOperation"
+// INTERNALERROR_FAILEDTOCALLDNSPOD = "InternalError.FailedToCallDNSPod"
// INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp"
// INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
// INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound"
@@ -1794,6 +2008,8 @@ func NewCreateZoneResponse() (response *CreateZoneResponse) {
// INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName"
// LIMITEXCEEDED_ZONEBINDPLAN = "LimitExceeded.ZoneBindPlan"
// OPERATIONDENIED = "OperationDenied"
+// OPERATIONDENIED_COMPLIANCEFORBIDDEN = "OperationDenied.ComplianceForbidden"
+// OPERATIONDENIED_DNSPODUNAUTHORIZEDROLEOPERATION = "OperationDenied.DNSPodUnauthorizedRoleOperation"
// OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked"
// OPERATIONDENIED_RECORDISFORBIDDEN = "OperationDenied.RecordIsForbidden"
// RESOURCEINUSE = "ResourceInUse"
@@ -1810,6 +2026,7 @@ func NewCreateZoneResponse() (response *CreateZoneResponse) {
// RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS"
// RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname"
// RESOURCENOTFOUND = "ResourceNotFound"
+// RESOURCENOTFOUND_DNSPODDOMAINNOTINACCOUNT = "ResourceNotFound.DNSPodDomainNotInAccount"
// UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
// UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
// UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
@@ -1826,6 +2043,7 @@ func (c *Client) CreateZone(request *CreateZoneRequest) (response *CreateZoneRes
//
// 可能返回的错误码:
// DRYRUNOPERATION = "DryRunOperation"
+// INTERNALERROR_FAILEDTOCALLDNSPOD = "InternalError.FailedToCallDNSPod"
// INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp"
// INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
// INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound"
@@ -1840,6 +2058,8 @@ func (c *Client) CreateZone(request *CreateZoneRequest) (response *CreateZoneRes
// INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName"
// LIMITEXCEEDED_ZONEBINDPLAN = "LimitExceeded.ZoneBindPlan"
// OPERATIONDENIED = "OperationDenied"
+// OPERATIONDENIED_COMPLIANCEFORBIDDEN = "OperationDenied.ComplianceForbidden"
+// OPERATIONDENIED_DNSPODUNAUTHORIZEDROLEOPERATION = "OperationDenied.DNSPodUnauthorizedRoleOperation"
// OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked"
// OPERATIONDENIED_RECORDISFORBIDDEN = "OperationDenied.RecordIsForbidden"
// RESOURCEINUSE = "ResourceInUse"
@@ -1856,6 +2076,7 @@ func (c *Client) CreateZone(request *CreateZoneRequest) (response *CreateZoneRes
// RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS"
// RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname"
// RESOURCENOTFOUND = "ResourceNotFound"
+// RESOURCENOTFOUND_DNSPODDOMAINNOTINACCOUNT = "ResourceNotFound.DNSPodDomainNotInAccount"
// UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
// UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
// UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
@@ -2105,6 +2326,173 @@ func (c *Client) DeleteApplicationProxyRuleWithContext(ctx context.Context, requ
return
}
+func NewDeleteCustomErrorPageRequest() (request *DeleteCustomErrorPageRequest) {
+ request = &DeleteCustomErrorPageRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "DeleteCustomErrorPage")
+
+
+ return
+}
+
+func NewDeleteCustomErrorPageResponse() (response *DeleteCustomErrorPageResponse) {
+ response = &DeleteCustomErrorPageResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// DeleteCustomErrorPage
+// 删除自定义错误页面。
+//
+// 可能返回的错误码:
+// RESOURCEINUSE = "ResourceInUse"
+// RESOURCENOTFOUND = "ResourceNotFound"
+func (c *Client) DeleteCustomErrorPage(request *DeleteCustomErrorPageRequest) (response *DeleteCustomErrorPageResponse, err error) {
+ return c.DeleteCustomErrorPageWithContext(context.Background(), request)
+}
+
+// DeleteCustomErrorPage
+// 删除自定义错误页面。
+//
+// 可能返回的错误码:
+// RESOURCEINUSE = "ResourceInUse"
+// RESOURCENOTFOUND = "ResourceNotFound"
+func (c *Client) DeleteCustomErrorPageWithContext(ctx context.Context, request *DeleteCustomErrorPageRequest) (response *DeleteCustomErrorPageResponse, err error) {
+ if request == nil {
+ request = NewDeleteCustomErrorPageRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("DeleteCustomErrorPage require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewDeleteCustomErrorPageResponse()
+ err = c.Send(request, response)
+ return
+}
+
+func NewDeleteFunctionRequest() (request *DeleteFunctionRequest) {
+ request = &DeleteFunctionRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "DeleteFunction")
+
+
+ return
+}
+
+func NewDeleteFunctionResponse() (response *DeleteFunctionResponse) {
+ response = &DeleteFunctionResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// DeleteFunction
+// 删除边缘函数,删除后函数无法恢复,关联的触发规则会一并删除。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked"
+// RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) DeleteFunction(request *DeleteFunctionRequest) (response *DeleteFunctionResponse, err error) {
+ return c.DeleteFunctionWithContext(context.Background(), request)
+}
+
+// DeleteFunction
+// 删除边缘函数,删除后函数无法恢复,关联的触发规则会一并删除。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked"
+// RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) DeleteFunctionWithContext(ctx context.Context, request *DeleteFunctionRequest) (response *DeleteFunctionResponse, err error) {
+ if request == nil {
+ request = NewDeleteFunctionRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("DeleteFunction require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewDeleteFunctionResponse()
+ err = c.Send(request, response)
+ return
+}
+
+func NewDeleteFunctionRulesRequest() (request *DeleteFunctionRulesRequest) {
+ request = &DeleteFunctionRulesRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "DeleteFunctionRules")
+
+
+ return
+}
+
+func NewDeleteFunctionRulesResponse() (response *DeleteFunctionRulesResponse) {
+ response = &DeleteFunctionRulesResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// DeleteFunctionRules
+// 删除边缘函数触发规则。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// RESOURCEUNAVAILABLE_RULENOTFOUND = "ResourceUnavailable.RuleNotFound"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) DeleteFunctionRules(request *DeleteFunctionRulesRequest) (response *DeleteFunctionRulesResponse, err error) {
+ return c.DeleteFunctionRulesWithContext(context.Background(), request)
+}
+
+// DeleteFunctionRules
+// 删除边缘函数触发规则。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// RESOURCEUNAVAILABLE_RULENOTFOUND = "ResourceUnavailable.RuleNotFound"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) DeleteFunctionRulesWithContext(ctx context.Context, request *DeleteFunctionRulesRequest) (response *DeleteFunctionRulesResponse, err error) {
+ if request == nil {
+ request = NewDeleteFunctionRulesRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("DeleteFunctionRules require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewDeleteFunctionRulesResponse()
+ err = c.Send(request, response)
+ return
+}
+
func NewDeleteL4ProxyRequest() (request *DeleteL4ProxyRequest) {
request = &DeleteL4ProxyRequest{
BaseRequest: &tchttp.BaseRequest{},
@@ -3090,36 +3478,85 @@ func (c *Client) DescribeContentQuotaWithContext(ctx context.Context, request *D
return
}
-func NewDescribeDDoSAttackDataRequest() (request *DescribeDDoSAttackDataRequest) {
- request = &DescribeDDoSAttackDataRequest{
+func NewDescribeCustomErrorPagesRequest() (request *DescribeCustomErrorPagesRequest) {
+ request = &DescribeCustomErrorPagesRequest{
BaseRequest: &tchttp.BaseRequest{},
}
- request.Init().WithApiInfo("teo", APIVersion, "DescribeDDoSAttackData")
+ request.Init().WithApiInfo("teo", APIVersion, "DescribeCustomErrorPages")
return
}
-func NewDescribeDDoSAttackDataResponse() (response *DescribeDDoSAttackDataResponse) {
- response = &DescribeDDoSAttackDataResponse{
+func NewDescribeCustomErrorPagesResponse() (response *DescribeCustomErrorPagesResponse) {
+ response = &DescribeCustomErrorPagesResponse{
BaseResponse: &tchttp.BaseResponse{},
}
return
}
-// DescribeDDoSAttackData
-// 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
+// DescribeCustomErrorPages
+// 查询自定义错误页列表。
//
// 可能返回的错误码:
-// FAILEDOPERATION = "FailedOperation"
-// INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
-// LIMITEXCEEDED = "LimitExceeded"
-// LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded"
-// RESOURCENOTFOUND = "ResourceNotFound"
-// UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
-// UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
+// INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
+func (c *Client) DescribeCustomErrorPages(request *DescribeCustomErrorPagesRequest) (response *DescribeCustomErrorPagesResponse, err error) {
+ return c.DescribeCustomErrorPagesWithContext(context.Background(), request)
+}
+
+// DescribeCustomErrorPages
+// 查询自定义错误页列表。
+//
+// 可能返回的错误码:
+// INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
+func (c *Client) DescribeCustomErrorPagesWithContext(ctx context.Context, request *DescribeCustomErrorPagesRequest) (response *DescribeCustomErrorPagesResponse, err error) {
+ if request == nil {
+ request = NewDescribeCustomErrorPagesRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("DescribeCustomErrorPages require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewDescribeCustomErrorPagesResponse()
+ err = c.Send(request, response)
+ return
+}
+
+func NewDescribeDDoSAttackDataRequest() (request *DescribeDDoSAttackDataRequest) {
+ request = &DescribeDDoSAttackDataRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "DescribeDDoSAttackData")
+
+
+ return
+}
+
+func NewDescribeDDoSAttackDataResponse() (response *DescribeDDoSAttackDataResponse) {
+ response = &DescribeDDoSAttackDataResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// DescribeDDoSAttackData
+// 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
+// LIMITEXCEEDED = "LimitExceeded"
+// LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded"
+// RESOURCENOTFOUND = "ResourceNotFound"
+// UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
+// UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (c *Client) DescribeDDoSAttackData(request *DescribeDDoSAttackDataRequest) (response *DescribeDDoSAttackDataResponse, err error) {
return c.DescribeDDoSAttackDataWithContext(context.Background(), request)
}
@@ -3432,6 +3869,187 @@ func (c *Client) DescribeEnvironmentsWithContext(ctx context.Context, request *D
return
}
+func NewDescribeFunctionRulesRequest() (request *DescribeFunctionRulesRequest) {
+ request = &DescribeFunctionRulesRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "DescribeFunctionRules")
+
+
+ return
+}
+
+func NewDescribeFunctionRulesResponse() (response *DescribeFunctionRulesResponse) {
+ response = &DescribeFunctionRulesResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// DescribeFunctionRules
+// 查询边缘函数触发规则列表,支持按照规则 ID、函数 ID、规则描述等条件进行过滤。
+//
+// 可能返回的错误码:
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName"
+// INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues"
+// INVALIDPARAMETER_TOOMANYFILTERS = "InvalidParameter.TooManyFilters"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) DescribeFunctionRules(request *DescribeFunctionRulesRequest) (response *DescribeFunctionRulesResponse, err error) {
+ return c.DescribeFunctionRulesWithContext(context.Background(), request)
+}
+
+// DescribeFunctionRules
+// 查询边缘函数触发规则列表,支持按照规则 ID、函数 ID、规则描述等条件进行过滤。
+//
+// 可能返回的错误码:
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName"
+// INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues"
+// INVALIDPARAMETER_TOOMANYFILTERS = "InvalidParameter.TooManyFilters"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) DescribeFunctionRulesWithContext(ctx context.Context, request *DescribeFunctionRulesRequest) (response *DescribeFunctionRulesResponse, err error) {
+ if request == nil {
+ request = NewDescribeFunctionRulesRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("DescribeFunctionRules require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewDescribeFunctionRulesResponse()
+ err = c.Send(request, response)
+ return
+}
+
+func NewDescribeFunctionRuntimeEnvironmentRequest() (request *DescribeFunctionRuntimeEnvironmentRequest) {
+ request = &DescribeFunctionRuntimeEnvironmentRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "DescribeFunctionRuntimeEnvironment")
+
+
+ return
+}
+
+func NewDescribeFunctionRuntimeEnvironmentResponse() (response *DescribeFunctionRuntimeEnvironmentResponse) {
+ response = &DescribeFunctionRuntimeEnvironmentResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// DescribeFunctionRuntimeEnvironment
+// 查询边缘函数运行环境,包括环境变量。
+//
+// 可能返回的错误码:
+// INTERNALERROR_DBERROR = "InternalError.DBError"
+// INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
+// INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) DescribeFunctionRuntimeEnvironment(request *DescribeFunctionRuntimeEnvironmentRequest) (response *DescribeFunctionRuntimeEnvironmentResponse, err error) {
+ return c.DescribeFunctionRuntimeEnvironmentWithContext(context.Background(), request)
+}
+
+// DescribeFunctionRuntimeEnvironment
+// 查询边缘函数运行环境,包括环境变量。
+//
+// 可能返回的错误码:
+// INTERNALERROR_DBERROR = "InternalError.DBError"
+// INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
+// INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) DescribeFunctionRuntimeEnvironmentWithContext(ctx context.Context, request *DescribeFunctionRuntimeEnvironmentRequest) (response *DescribeFunctionRuntimeEnvironmentResponse, err error) {
+ if request == nil {
+ request = NewDescribeFunctionRuntimeEnvironmentRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("DescribeFunctionRuntimeEnvironment require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewDescribeFunctionRuntimeEnvironmentResponse()
+ err = c.Send(request, response)
+ return
+}
+
+func NewDescribeFunctionsRequest() (request *DescribeFunctionsRequest) {
+ request = &DescribeFunctionsRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "DescribeFunctions")
+
+
+ return
+}
+
+func NewDescribeFunctionsResponse() (response *DescribeFunctionsResponse) {
+ response = &DescribeFunctionsResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// DescribeFunctions
+// 查询边缘函数列表,支持函数 ID、函数名称、描述等条件的过滤。
+//
+// 可能返回的错误码:
+// INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
+// INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName"
+// INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
+// INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues"
+// INVALIDPARAMETER_TOOMANYFILTERS = "InvalidParameter.TooManyFilters"
+// RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) DescribeFunctions(request *DescribeFunctionsRequest) (response *DescribeFunctionsResponse, err error) {
+ return c.DescribeFunctionsWithContext(context.Background(), request)
+}
+
+// DescribeFunctions
+// 查询边缘函数列表,支持函数 ID、函数名称、描述等条件的过滤。
+//
+// 可能返回的错误码:
+// INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
+// INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName"
+// INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
+// INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues"
+// INVALIDPARAMETER_TOOMANYFILTERS = "InvalidParameter.TooManyFilters"
+// RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) DescribeFunctionsWithContext(ctx context.Context, request *DescribeFunctionsRequest) (response *DescribeFunctionsResponse, err error) {
+ if request == nil {
+ request = NewDescribeFunctionsRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("DescribeFunctions require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewDescribeFunctionsResponse()
+ err = c.Send(request, response)
+ return
+}
+
func NewDescribeHostsSettingRequest() (request *DescribeHostsSettingRequest) {
request = &DescribeHostsSettingRequest{
BaseRequest: &tchttp.BaseRequest{},
@@ -4145,6 +4763,59 @@ func (c *Client) DescribeRulesSettingWithContext(ctx context.Context, request *D
return
}
+func NewDescribeSecurityIPGroupRequest() (request *DescribeSecurityIPGroupRequest) {
+ request = &DescribeSecurityIPGroupRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "DescribeSecurityIPGroup")
+
+
+ return
+}
+
+func NewDescribeSecurityIPGroupResponse() (response *DescribeSecurityIPGroupResponse) {
+ response = &DescribeSecurityIPGroupResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// DescribeSecurityIPGroup
+// 查询安全 IP 组的配置信息,包括安全 IP 组的 ID、名称和内容。
+//
+// 可能返回的错误码:
+// INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
+// UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
+// UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
+func (c *Client) DescribeSecurityIPGroup(request *DescribeSecurityIPGroupRequest) (response *DescribeSecurityIPGroupResponse, err error) {
+ return c.DescribeSecurityIPGroupWithContext(context.Background(), request)
+}
+
+// DescribeSecurityIPGroup
+// 查询安全 IP 组的配置信息,包括安全 IP 组的 ID、名称和内容。
+//
+// 可能返回的错误码:
+// INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
+// UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
+// UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
+func (c *Client) DescribeSecurityIPGroupWithContext(ctx context.Context, request *DescribeSecurityIPGroupRequest) (response *DescribeSecurityIPGroupResponse, err error) {
+ if request == nil {
+ request = NewDescribeSecurityIPGroupRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("DescribeSecurityIPGroup require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewDescribeSecurityIPGroupResponse()
+ err = c.Send(request, response)
+ return
+}
+
func NewDescribeSecurityIPGroupInfoRequest() (request *DescribeSecurityIPGroupInfoRequest) {
request = &DescribeSecurityIPGroupInfoRequest{
BaseRequest: &tchttp.BaseRequest{},
@@ -4165,6 +4836,12 @@ func NewDescribeSecurityIPGroupInfoResponse() (response *DescribeSecurityIPGroup
}
// DescribeSecurityIPGroupInfo
+// 接口已废弃,将于 2024 年 6 月 30 日停止服务。请使用 [查询安全 IP 组
+//
+// ](https://cloud.tencent.com/document/product/1552/105866) 接口。
+//
+//
+//
// 查询 IP 组的配置信息,包括 IP 组名称、 IP 组内容、 IP 组归属站点。
//
// 可能返回的错误码:
@@ -4176,6 +4853,12 @@ func (c *Client) DescribeSecurityIPGroupInfo(request *DescribeSecurityIPGroupInf
}
// DescribeSecurityIPGroupInfo
+// 接口已废弃,将于 2024 年 6 月 30 日停止服务。请使用 [查询安全 IP 组
+//
+// ](https://cloud.tencent.com/document/product/1552/105866) 接口。
+//
+//
+//
// 查询 IP 组的配置信息,包括 IP 组名称、 IP 组内容、 IP 组归属站点。
//
// 可能返回的错误码:
@@ -4861,6 +5544,69 @@ func (c *Client) DownloadL7LogsWithContext(ctx context.Context, request *Downloa
return
}
+func NewHandleFunctionRuntimeEnvironmentRequest() (request *HandleFunctionRuntimeEnvironmentRequest) {
+ request = &HandleFunctionRuntimeEnvironmentRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "HandleFunctionRuntimeEnvironment")
+
+
+ return
+}
+
+func NewHandleFunctionRuntimeEnvironmentResponse() (response *HandleFunctionRuntimeEnvironmentResponse) {
+ response = &HandleFunctionRuntimeEnvironmentResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// HandleFunctionRuntimeEnvironment
+// 操作边缘函数运行环境,支持环境变量的相关设置。
+//
+// 设置环境变量后,可在函数代码中使用,具体参考 [边缘函数引入环境变量](https://cloud.tencent.com/document/product/1552/109151#0151fd9a-8b0e-407b-ae37-54553a60ded6)。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
+// RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) HandleFunctionRuntimeEnvironment(request *HandleFunctionRuntimeEnvironmentRequest) (response *HandleFunctionRuntimeEnvironmentResponse, err error) {
+ return c.HandleFunctionRuntimeEnvironmentWithContext(context.Background(), request)
+}
+
+// HandleFunctionRuntimeEnvironment
+// 操作边缘函数运行环境,支持环境变量的相关设置。
+//
+// 设置环境变量后,可在函数代码中使用,具体参考 [边缘函数引入环境变量](https://cloud.tencent.com/document/product/1552/109151#0151fd9a-8b0e-407b-ae37-54553a60ded6)。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
+// RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) HandleFunctionRuntimeEnvironmentWithContext(ctx context.Context, request *HandleFunctionRuntimeEnvironmentRequest) (response *HandleFunctionRuntimeEnvironmentResponse, err error) {
+ if request == nil {
+ request = NewHandleFunctionRuntimeEnvironmentRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("HandleFunctionRuntimeEnvironment require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewHandleFunctionRuntimeEnvironmentResponse()
+ err = c.Send(request, response)
+ return
+}
+
func NewIdentifyZoneRequest() (request *IdentifyZoneRequest) {
request = &IdentifyZoneRequest{
BaseRequest: &tchttp.BaseRequest{},
@@ -5515,6 +6261,240 @@ func (c *Client) ModifyApplicationProxyStatusWithContext(ctx context.Context, re
return
}
+func NewModifyCustomErrorPageRequest() (request *ModifyCustomErrorPageRequest) {
+ request = &ModifyCustomErrorPageRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "ModifyCustomErrorPage")
+
+
+ return
+}
+
+func NewModifyCustomErrorPageResponse() (response *ModifyCustomErrorPageResponse) {
+ response = &ModifyCustomErrorPageResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// ModifyCustomErrorPage
+// 修改自定义错误页面。
+//
+// 可能返回的错误码:
+// RESOURCENOTFOUND = "ResourceNotFound"
+func (c *Client) ModifyCustomErrorPage(request *ModifyCustomErrorPageRequest) (response *ModifyCustomErrorPageResponse, err error) {
+ return c.ModifyCustomErrorPageWithContext(context.Background(), request)
+}
+
+// ModifyCustomErrorPage
+// 修改自定义错误页面。
+//
+// 可能返回的错误码:
+// RESOURCENOTFOUND = "ResourceNotFound"
+func (c *Client) ModifyCustomErrorPageWithContext(ctx context.Context, request *ModifyCustomErrorPageRequest) (response *ModifyCustomErrorPageResponse, err error) {
+ if request == nil {
+ request = NewModifyCustomErrorPageRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("ModifyCustomErrorPage require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewModifyCustomErrorPageResponse()
+ err = c.Send(request, response)
+ return
+}
+
+func NewModifyFunctionRequest() (request *ModifyFunctionRequest) {
+ request = &ModifyFunctionRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "ModifyFunction")
+
+
+ return
+}
+
+func NewModifyFunctionResponse() (response *ModifyFunctionResponse) {
+ response = &ModifyFunctionResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// ModifyFunction
+// 修改边缘函数,支持修改函数的内容及描述信息,修改且重新部署后,函数立刻生效。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_BADCONTENT = "InvalidParameter.BadContent"
+// INVALIDPARAMETER_CONTENTEXCEEDSLIMIT = "InvalidParameter.ContentExceedsLimit"
+// INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
+// INVALIDPARAMETER_MODIFYPARAMETERSMISSING = "InvalidParameter.ModifyParametersMissing"
+// RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) ModifyFunction(request *ModifyFunctionRequest) (response *ModifyFunctionResponse, err error) {
+ return c.ModifyFunctionWithContext(context.Background(), request)
+}
+
+// ModifyFunction
+// 修改边缘函数,支持修改函数的内容及描述信息,修改且重新部署后,函数立刻生效。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_BADCONTENT = "InvalidParameter.BadContent"
+// INVALIDPARAMETER_CONTENTEXCEEDSLIMIT = "InvalidParameter.ContentExceedsLimit"
+// INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
+// INVALIDPARAMETER_MODIFYPARAMETERSMISSING = "InvalidParameter.ModifyParametersMissing"
+// RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) ModifyFunctionWithContext(ctx context.Context, request *ModifyFunctionRequest) (response *ModifyFunctionResponse, err error) {
+ if request == nil {
+ request = NewModifyFunctionRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("ModifyFunction require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewModifyFunctionResponse()
+ err = c.Send(request, response)
+ return
+}
+
+func NewModifyFunctionRuleRequest() (request *ModifyFunctionRuleRequest) {
+ request = &ModifyFunctionRuleRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "ModifyFunctionRule")
+
+
+ return
+}
+
+func NewModifyFunctionRuleResponse() (response *ModifyFunctionRuleResponse) {
+ response = &ModifyFunctionRuleResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// ModifyFunctionRule
+// 修改边缘函数触发规则,支持修改规则条件、执行函数以及描述信息。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_DUPLICATERULE = "InvalidParameter.DuplicateRule"
+// INVALIDPARAMETER_INVALIDCONDITIONS = "InvalidParameter.InvalidConditions"
+// INVALIDPARAMETER_MODIFYPARAMETERSMISSING = "InvalidParameter.ModifyParametersMissing"
+// RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
+// RESOURCEUNAVAILABLE_RULENOTFOUND = "ResourceUnavailable.RuleNotFound"
+func (c *Client) ModifyFunctionRule(request *ModifyFunctionRuleRequest) (response *ModifyFunctionRuleResponse, err error) {
+ return c.ModifyFunctionRuleWithContext(context.Background(), request)
+}
+
+// ModifyFunctionRule
+// 修改边缘函数触发规则,支持修改规则条件、执行函数以及描述信息。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETER_DUPLICATERULE = "InvalidParameter.DuplicateRule"
+// INVALIDPARAMETER_INVALIDCONDITIONS = "InvalidParameter.InvalidConditions"
+// INVALIDPARAMETER_MODIFYPARAMETERSMISSING = "InvalidParameter.ModifyParametersMissing"
+// RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
+// RESOURCEUNAVAILABLE_RULENOTFOUND = "ResourceUnavailable.RuleNotFound"
+func (c *Client) ModifyFunctionRuleWithContext(ctx context.Context, request *ModifyFunctionRuleRequest) (response *ModifyFunctionRuleResponse, err error) {
+ if request == nil {
+ request = NewModifyFunctionRuleRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("ModifyFunctionRule require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewModifyFunctionRuleResponse()
+ err = c.Send(request, response)
+ return
+}
+
+func NewModifyFunctionRulePriorityRequest() (request *ModifyFunctionRulePriorityRequest) {
+ request = &ModifyFunctionRulePriorityRequest{
+ BaseRequest: &tchttp.BaseRequest{},
+ }
+
+ request.Init().WithApiInfo("teo", APIVersion, "ModifyFunctionRulePriority")
+
+
+ return
+}
+
+func NewModifyFunctionRulePriorityResponse() (response *ModifyFunctionRulePriorityResponse) {
+ response = &ModifyFunctionRulePriorityResponse{
+ BaseResponse: &tchttp.BaseResponse{},
+ }
+ return
+
+}
+
+// ModifyFunctionRulePriority
+// 修改边缘函数触发规则的优先级。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETERVALUE = "InvalidParameterValue"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) ModifyFunctionRulePriority(request *ModifyFunctionRulePriorityRequest) (response *ModifyFunctionRulePriorityResponse, err error) {
+ return c.ModifyFunctionRulePriorityWithContext(context.Background(), request)
+}
+
+// ModifyFunctionRulePriority
+// 修改边缘函数触发规则的优先级。
+//
+// 可能返回的错误码:
+// FAILEDOPERATION = "FailedOperation"
+// FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict"
+// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
+// INVALIDPARAMETERVALUE = "InvalidParameterValue"
+// RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
+func (c *Client) ModifyFunctionRulePriorityWithContext(ctx context.Context, request *ModifyFunctionRulePriorityRequest) (response *ModifyFunctionRulePriorityResponse, err error) {
+ if request == nil {
+ request = NewModifyFunctionRulePriorityRequest()
+ }
+
+ if c.GetCredential() == nil {
+ return nil, errors.New("ModifyFunctionRulePriority require credential")
+ }
+
+ request.SetContext(ctx)
+
+ response = NewModifyFunctionRulePriorityResponse()
+ err = c.Send(request, response)
+ return
+}
+
func NewModifyHostsCertificateRequest() (request *ModifyHostsCertificateRequest) {
request = &ModifyHostsCertificateRequest{
BaseRequest: &tchttp.BaseRequest{},
@@ -5563,6 +6543,11 @@ func NewModifyHostsCertificateResponse() (response *ModifyHostsCertificateRespon
// INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo"
// INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion"
// INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing"
+// INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTMUSTCA = "InvalidParameterValue.CertificateVerifyClientMustCa"
+// INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTNEEDCERT = "InvalidParameterValue.CertificateVerifyClientNeedCert"
+// INVALIDPARAMETERVALUE_CLIENTCERTINFOQUOTALIMIT = "InvalidParameterValue.ClientCertInfoQuotaLimit"
+// INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINRSAORECC = "InvalidParameterValue.ServerCertInfoNeedContainRSAorECC"
+// INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINSM2 = "InvalidParameterValue.ServerCertInfoNeedContainSM2"
// LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"
// OPERATIONDENIED = "OperationDenied"
// OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked"
@@ -5606,6 +6591,11 @@ func (c *Client) ModifyHostsCertificate(request *ModifyHostsCertificateRequest)
// INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo"
// INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion"
// INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing"
+// INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTMUSTCA = "InvalidParameterValue.CertificateVerifyClientMustCa"
+// INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTNEEDCERT = "InvalidParameterValue.CertificateVerifyClientNeedCert"
+// INVALIDPARAMETERVALUE_CLIENTCERTINFOQUOTALIMIT = "InvalidParameterValue.ClientCertInfoQuotaLimit"
+// INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINRSAORECC = "InvalidParameterValue.ServerCertInfoNeedContainRSAorECC"
+// INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINSM2 = "InvalidParameterValue.ServerCertInfoNeedContainSM2"
// LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"
// OPERATIONDENIED = "OperationDenied"
// OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked"
@@ -6024,6 +7014,7 @@ func NewModifyRealtimeLogDeliveryTaskResponse() (response *ModifyRealtimeLogDeli
// INVALIDPARAMETER_INVALIDLOGFORMATFIELDDELIMITER = "InvalidParameter.InvalidLogFormatFieldDelimiter"
// INVALIDPARAMETER_INVALIDLOGFORMATFORMATTYPE = "InvalidParameter.InvalidLogFormatFormatType"
// INVALIDPARAMETER_INVALIDLOGFORMATRECORDDELIMITER = "InvalidParameter.InvalidLogFormatRecordDelimiter"
+// LIMITEXCEEDED_CUSTOMLOGFIELDREGEXLIMITEXCEEDED = "LimitExceeded.CustomLogFieldRegexLimitExceeded"
func (c *Client) ModifyRealtimeLogDeliveryTask(request *ModifyRealtimeLogDeliveryTaskRequest) (response *ModifyRealtimeLogDeliveryTaskResponse, err error) {
return c.ModifyRealtimeLogDeliveryTaskWithContext(context.Background(), request)
}
@@ -6037,6 +7028,7 @@ func (c *Client) ModifyRealtimeLogDeliveryTask(request *ModifyRealtimeLogDeliver
// INVALIDPARAMETER_INVALIDLOGFORMATFIELDDELIMITER = "InvalidParameter.InvalidLogFormatFieldDelimiter"
// INVALIDPARAMETER_INVALIDLOGFORMATFORMATTYPE = "InvalidParameter.InvalidLogFormatFormatType"
// INVALIDPARAMETER_INVALIDLOGFORMATRECORDDELIMITER = "InvalidParameter.InvalidLogFormatRecordDelimiter"
+// LIMITEXCEEDED_CUSTOMLOGFIELDREGEXLIMITEXCEEDED = "LimitExceeded.CustomLogFieldRegexLimitExceeded"
func (c *Client) ModifyRealtimeLogDeliveryTaskWithContext(ctx context.Context, request *ModifyRealtimeLogDeliveryTaskRequest) (response *ModifyRealtimeLogDeliveryTaskResponse, err error) {
if request == nil {
request = NewModifyRealtimeLogDeliveryTaskRequest()
@@ -6150,6 +7142,14 @@ func NewModifyRuleResponse() (response *ModifyRuleResponse) {
// INVALIDPARAMETER_RESPONSEHEADERCACHECONTROLNOTALLOWDELETE = "InvalidParameter.ResponseHeaderCacheControlNotAllowDelete"
// INVALIDPARAMETER_STATUSCODECACHEINVALIDSTATUSCODE = "InvalidParameter.StatusCodeCacheInvalidStatusCode"
// INVALIDPARAMETER_TLSVERSIONNOTINSEQUENCE = "InvalidParameter.TlsVersionNotInSequence"
+// INVALIDPARAMETERVALUE_FORMATMISMATCH = "InvalidParameterValue.FormatMismatch"
+// INVALIDPARAMETERVALUE_GENERALMISMATCH = "InvalidParameterValue.GeneralMismatch"
+// INVALIDPARAMETERVALUE_INCLUDEINVALIDVALUE = "InvalidParameterValue.IncludeInvalidValue"
+// INVALIDPARAMETERVALUE_MISSINGNECESSARYPARAM = "InvalidParameterValue.MissingNecessaryParam"
+// INVALIDPARAMETERVALUE_NOTINENUMERATION = "InvalidParameterValue.NotInEnumeration"
+// INVALIDPARAMETERVALUE_NOTWITHINRANGE = "InvalidParameterValue.NotWithinRange"
+// INVALIDPARAMETERVALUE_REGEXMISMATCH = "InvalidParameterValue.RegExMismatch"
+// INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = "InvalidParameterValue.UnrecognizableValue"
// LIMITEXCEEDED = "LimitExceeded"
// OPERATIONDENIED = "OperationDenied"
// OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked"
@@ -6240,6 +7240,14 @@ func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleRes
// INVALIDPARAMETER_RESPONSEHEADERCACHECONTROLNOTALLOWDELETE = "InvalidParameter.ResponseHeaderCacheControlNotAllowDelete"
// INVALIDPARAMETER_STATUSCODECACHEINVALIDSTATUSCODE = "InvalidParameter.StatusCodeCacheInvalidStatusCode"
// INVALIDPARAMETER_TLSVERSIONNOTINSEQUENCE = "InvalidParameter.TlsVersionNotInSequence"
+// INVALIDPARAMETERVALUE_FORMATMISMATCH = "InvalidParameterValue.FormatMismatch"
+// INVALIDPARAMETERVALUE_GENERALMISMATCH = "InvalidParameterValue.GeneralMismatch"
+// INVALIDPARAMETERVALUE_INCLUDEINVALIDVALUE = "InvalidParameterValue.IncludeInvalidValue"
+// INVALIDPARAMETERVALUE_MISSINGNECESSARYPARAM = "InvalidParameterValue.MissingNecessaryParam"
+// INVALIDPARAMETERVALUE_NOTINENUMERATION = "InvalidParameterValue.NotInEnumeration"
+// INVALIDPARAMETERVALUE_NOTWITHINRANGE = "InvalidParameterValue.NotWithinRange"
+// INVALIDPARAMETERVALUE_REGEXMISMATCH = "InvalidParameterValue.RegExMismatch"
+// INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = "InvalidParameterValue.UnrecognizableValue"
// LIMITEXCEEDED = "LimitExceeded"
// OPERATIONDENIED = "OperationDenied"
// OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked"
@@ -6416,6 +7424,7 @@ func NewModifyZoneResponse() (response *ModifyZoneResponse) {
// DRYRUNOPERATION = "DryRunOperation"
// FAILEDOPERATION = "FailedOperation"
// INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked"
+// INTERNALERROR_FAILEDTOCALLDNSPOD = "InternalError.FailedToCallDNSPod"
// INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp"
// INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout"
// INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
@@ -6423,6 +7432,7 @@ func NewModifyZoneResponse() (response *ModifyZoneResponse) {
// INVALIDPARAMETERVALUE = "InvalidParameterValue"
// INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName"
// OPERATIONDENIED = "OperationDenied"
+// OPERATIONDENIED_DNSPODUNAUTHORIZEDROLEOPERATION = "OperationDenied.DNSPodUnauthorizedRoleOperation"
// OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted"
// OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup"
// OPERATIONDENIED_DOMAINNUMBERISNOTZERO = "OperationDenied.DomainNumberIsNotZero"
@@ -6443,6 +7453,7 @@ func NewModifyZoneResponse() (response *ModifyZoneResponse) {
// RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS"
// RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname"
// RESOURCENOTFOUND = "ResourceNotFound"
+// RESOURCENOTFOUND_DNSPODDOMAINNOTINACCOUNT = "ResourceNotFound.DNSPodDomainNotInAccount"
// RESOURCEUNAVAILABLE = "ResourceUnavailable"
// UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
// UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
@@ -6457,6 +7468,7 @@ func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneRes
// DRYRUNOPERATION = "DryRunOperation"
// FAILEDOPERATION = "FailedOperation"
// INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked"
+// INTERNALERROR_FAILEDTOCALLDNSPOD = "InternalError.FailedToCallDNSPod"
// INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp"
// INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout"
// INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
@@ -6464,6 +7476,7 @@ func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneRes
// INVALIDPARAMETERVALUE = "InvalidParameterValue"
// INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName"
// OPERATIONDENIED = "OperationDenied"
+// OPERATIONDENIED_DNSPODUNAUTHORIZEDROLEOPERATION = "OperationDenied.DNSPodUnauthorizedRoleOperation"
// OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted"
// OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup"
// OPERATIONDENIED_DOMAINNUMBERISNOTZERO = "OperationDenied.DomainNumberIsNotZero"
@@ -6484,6 +7497,7 @@ func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneRes
// RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS"
// RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname"
// RESOURCENOTFOUND = "ResourceNotFound"
+// RESOURCENOTFOUND_DNSPODDOMAINNOTINACCOUNT = "ResourceNotFound.DNSPodDomainNotInAccount"
// RESOURCEUNAVAILABLE = "ResourceUnavailable"
// UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
// UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
diff --git a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901/errors.go b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901/errors.go
index 352e8fc56e..2a5ea9f69a 100644
--- a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901/errors.go
+++ b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901/errors.go
@@ -65,6 +65,9 @@ const (
// 创建自定义推送任务认证失败, 请检查推送地址是否正确。
FAILEDOPERATION_CREATELOGTOPICTASKAUTHFAILURE = "FailedOperation.CreateLogTopicTaskAuthFailure"
+ // 有其他任务正在部署中,请稍后重试。
+ FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying"
+
// 账户余额不足。
FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance"
@@ -83,6 +86,9 @@ const (
// 实时日志推送任务不存在
FAILEDOPERATION_REALTIMELOGNOTFOUND = "FailedOperation.RealtimeLogNotFound"
+ // 该站点下函数规则操作冲突。
+ FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict"
+
// 未知的配置组类型。
FAILEDOPERATION_UNKNOWNCONFIGGROUPTYPE = "FailedOperation.UnknownConfigGroupType"
@@ -101,6 +107,9 @@ const (
// 获取配置失败。
INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig"
+ // 调用 DNSPod 失败,请稍后重试,若无法解决,请联系智能客服或提交工单。
+ INTERNALERROR_FAILEDTOCALLDNSPOD = "InternalError.FailedToCallDNSPod"
+
// 上传链接生成失败。
INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl"
@@ -134,6 +143,12 @@ const (
// 别称域名不支持配置国密证书。
INVALIDPARAMETER_ALIASDOMAINNOTSUPPORTSMCERT = "InvalidParameter.AliasDomainNotSupportSMCert"
+ // 函数内容存在语法错误。
+ INVALIDPARAMETER_BADCONTENT = "InvalidParameter.BadContent"
+
+ // 函数名称不符合命名规范。
+ INVALIDPARAMETER_BADFUNCTIONNAME = "InvalidParameter.BadFunctionName"
+
// 无效的查询字符串。
INVALIDPARAMETER_CACHEKEYQUERYSTRINGREQUIRESFULLURLCACHEOFF = "InvalidParameter.CacheKeyQueryStringRequiresFullUrlCacheOff"
@@ -164,6 +179,9 @@ const (
// 源站不能和域名一致。
INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin"
+ // 函数内容超过大小限制。
+ INVALIDPARAMETER_CONTENTEXCEEDSLIMIT = "InvalidParameter.ContentExceedsLimit"
+
// 域名不存在或不属于该账号。
INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound"
@@ -260,6 +278,9 @@ const (
// 条件为空。
INVALIDPARAMETER_ERRNILCONDITION = "InvalidParameter.ErrNilCondition"
+ // 函数名称和本账号下其他函数冲突。
+ INVALIDPARAMETER_FUNCTIONNAMECONFLICT = "InvalidParameter.FunctionNameConflict"
+
// 开启 Grpc 协议支持需要同时开启 HTTP/2 协议支持。
INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2"
@@ -368,6 +389,9 @@ const (
// 无效的自定义错误页面。
INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl"
+ // 不合法的过滤字段。
+ INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName"
+
// 无效的强制HTTPS跳转。
INVALIDPARAMETER_INVALIDFORCEREDIRECTTYPE = "InvalidParameter.InvalidForceRedirectType"
@@ -536,6 +560,9 @@ const (
// 修改源站操作中负载均衡实例Id必填。
INVALIDPARAMETER_LOADBALANCEINSTANCEIDISREQUIRED = "InvalidParameter.LoadBalanceInstanceIdIsRequired"
+ // 修改参数缺失。
+ INVALIDPARAMETER_MODIFYPARAMETERSMISSING = "InvalidParameter.ModifyParametersMissing"
+
// 不支持智能路由
INVALIDPARAMETER_MULTIPLYLAYERNOTSUPPORTSMARTROUTING = "InvalidParameter.MultiplyLayerNotSupportSmartRouting"
@@ -653,6 +680,9 @@ const (
// 过滤值过多。
INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues"
+ // 过滤项过多。
+ INVALIDPARAMETER_TOOMANYFILTERS = "InvalidParameter.TooManyFilters"
+
// 文件上传链接存在问题。
INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl"
@@ -677,6 +707,15 @@ const (
// 该站点域名已被禁用。
INVALIDPARAMETERVALUE_ACCESSBLACKLIST = "InvalidParameterValue.AccessBlacklist"
+ // 边缘双向认证配置中的客户端证书必须是CA证书。
+ INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTMUSTCA = "InvalidParameterValue.CertificateVerifyClientMustCa"
+
+ // 边缘双向认证配置至少需要配置一本证书。
+ INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTNEEDCERT = "InvalidParameterValue.CertificateVerifyClientNeedCert"
+
+ // 边缘双向认证配置中的客户端 CA 证书最多允许配置20本。
+ INVALIDPARAMETERVALUE_CLIENTCERTINFOQUOTALIMIT = "InvalidParameterValue.ClientCertInfoQuotaLimit"
+
// 与已经添加的记录冲突。
INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord"
@@ -689,9 +728,21 @@ const (
// 主机记录与记录值不能取值相同。
INVALIDPARAMETERVALUE_CONTENTSAMEASNAME = "InvalidParameterValue.ContentSameAsName"
+ // 页面内容与Content-Type不匹配。
+ INVALIDPARAMETERVALUE_CONTENTTYPENOTMATCH = "InvalidParameterValue.ContentTypeNotMatch"
+
// 入参中的域名与站点参数不匹配,请更正后重试。
INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone"
+ // 格式不匹配。
+ INVALIDPARAMETERVALUE_FORMATMISMATCH = "InvalidParameterValue.FormatMismatch"
+
+ // 配置参数格式不匹配。
+ INVALIDPARAMETERVALUE_GENERALMISMATCH = "InvalidParameterValue.GeneralMismatch"
+
+ // 包含无效的值。
+ INVALIDPARAMETERVALUE_INCLUDEINVALIDVALUE = "InvalidParameterValue.IncludeInvalidValue"
+
// 别称域名名称不合法,别称域名应该由数字、英文字母、连词符组成,且连词符不能位于开头和结尾处。
INVALIDPARAMETERVALUE_INVALIDALIASDOMAINNAME = "InvalidParameterValue.InvalidAliasDomainName"
@@ -716,18 +767,42 @@ const (
// 标签值存在不合法字符。
INVALIDPARAMETERVALUE_INVALIDTAGVALUE = "InvalidParameterValue.InvalidTagValue"
+ // 缺少必要配置参数。
+ INVALIDPARAMETERVALUE_MISSINGNECESSARYPARAM = "InvalidParameterValue.MissingNecessaryParam"
+
// 不支持接入泛域名 CNAME
INVALIDPARAMETERVALUE_NOTALLOWEDWILDCARDSHAREDCNAME = "InvalidParameterValue.NotAllowedWildcardSharedCNAME"
+ // 值不在要求的集合内。
+ INVALIDPARAMETERVALUE_NOTINENUMERATION = "InvalidParameterValue.NotInEnumeration"
+
+ // 值不在指定范围。
+ INVALIDPARAMETERVALUE_NOTWITHINRANGE = "InvalidParameterValue.NotWithinRange"
+
// 指定的源站组不存在。
INVALIDPARAMETERVALUE_ORIGINGROUPNOTEXISTS = "InvalidParameterValue.OriginGroupNotExists"
+ // 页面名称已存在。
+ INVALIDPARAMETERVALUE_PAGENAMEALREADYEXIST = "InvalidParameterValue.PageNameAlreadyExist"
+
+ // 不符合指定的正则表达式。
+ INVALIDPARAMETERVALUE_REGEXMISMATCH = "InvalidParameterValue.RegExMismatch"
+
+ // 已开启双向认证,客户端使用 RSA 或者 ECC 算法证书时,HTTPS 证书必须也配置有相同算法证书。
+ INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINRSAORECC = "InvalidParameterValue.ServerCertInfoNeedContainRSAorECC"
+
+ // 已开启双向认证,客户端使用国密算法 CA 证书时,HTTPS 证书必须也配置有国密证书。
+ INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINSM2 = "InvalidParameterValue.ServerCertInfoNeedContainSM2"
+
// 请输入合法的共享 CNAME 前缀,最大支持50个字符。
INVALIDPARAMETERVALUE_SHAREDCNAMEPREFIXNOTMATCH = "InvalidParameterValue.SharedCNAMEPrefixNotMatch"
// 暂不支持当前域名后缀接入,如您需要使用请联系我们。
INVALIDPARAMETERVALUE_TOPLEVELDOMAINNOTSUPPORT = "InvalidParameterValue.TopLevelDomainNotSupport"
+ // 配置项错误。
+ INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = "InvalidParameterValue.UnrecognizableValue"
+
// 站点名称格式不正确,请输入正确的域名格式。
INVALIDPARAMETERVALUE_ZONENAMEINVALID = "InvalidParameterValue.ZoneNameInvalid"
@@ -746,9 +821,15 @@ const (
// 本次提交的资源数超过上限。
LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota"
+ // 实时日志自定义字段正则类型字段数量超过限制
+ LIMITEXCEEDED_CUSTOMLOGFIELDREGEXLIMITEXCEEDED = "LimitExceeded.CustomLogFieldRegexLimitExceeded"
+
// 当天提交的资源数超过上限。
LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"
+ // 函数数量达到限制。
+ LIMITEXCEEDED_FUNCTIONLIMITEXCEEDED = "LimitExceeded.FunctionLimitExceeded"
+
// 计费套餐不支持。
LIMITEXCEEDED_PACKNOTALLOW = "LimitExceeded.PackNotAllow"
@@ -791,9 +872,15 @@ const (
// 引用源站组的7层域名服务正在部署中,请稍后再编辑。
OPERATIONDENIED_ACCELERATIONDOMAINSTATUSNOTINONLINE = "OperationDenied.AccelerationDomainStatusNotInOnline"
+ // 合规封禁中。
+ OPERATIONDENIED_COMPLIANCEFORBIDDEN = "OperationDenied.ComplianceForbidden"
+
// 配置已被锁定,请解除配置锁定之后在重试。
OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked"
+ // TEO_QCSLinkedRoleInDnspodAccessEO 角色未进行授权,请授权后重试。
+ OPERATIONDENIED_DNSPODUNAUTHORIZEDROLEOPERATION = "OperationDenied.DNSPodUnauthorizedRoleOperation"
+
// 删除站点时预检查未通过。
OPERATIONDENIED_DELETEZONEPRECHECKFAILED = "OperationDenied.DeleteZonePreCheckFailed"
@@ -836,6 +923,12 @@ const (
// 开启高防必须保证站点加速区域是国内。
OPERATIONDENIED_INVALIDADVANCEDDEFENSEZONEAREA = "OperationDenied.InvalidAdvancedDefenseZoneArea"
+ // 独立DDoS防护与IPv6冲突,不能同时配置。
+ OPERATIONDENIED_IPV6ADVANCEDCONFLICT = "OperationDenied.Ipv6AdvancedConflict"
+
+ // ipv6功能和固定ip无法同时开启。
+ OPERATIONDENIED_IPV6STATICIPCONFLICT = "OperationDenied.Ipv6StaticIpConflict"
+
// 四层实例资源售卖火爆,已售罄,正在加紧补货中,当前无法新增四层代理,请您耐心等待。
OPERATIONDENIED_L4LACKOFRESOURCES = "OperationDenied.L4LackOfResources"
@@ -869,6 +962,9 @@ const (
// 站点状态不支持操作负载均衡。
OPERATIONDENIED_LOADBALANCINGZONEISNOTACTIVE = "OperationDenied.LoadBalancingZoneIsNotActive"
+ // 非海外独立防护,不能开启ipv6。
+ OPERATIONDENIED_MSGIPV6ADVANCEDCONFLICT = "OperationDenied.MsgIpv6AdvancedConflict"
+
// 已存在多个Cname接入站点,不允许切换至NS。
OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone"
@@ -935,6 +1031,9 @@ const (
// 绑定在共享 CNAME 中的域名不允许变更 IPv6 访问,如果您需要单独变更,请先将域名从共享 CNAME 中解绑。
OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDIPV6 = "OperationDenied.SharedCNAMEUnsupportedIPv6"
+ // 该实例地域无法开启固定IP。
+ OPERATIONDENIED_STATICIPAREACONFLICT = "OperationDenied.StaticIpAreaConflict"
+
// 存在使用中的测试版本,请将测试版本发布现网或者回滚测试版本再重试。
OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying"
@@ -1013,6 +1112,9 @@ const (
// 资源不存在。
RESOURCENOTFOUND = "ResourceNotFound"
+ // DNSPod 未正常接入该域名,请在 DNSPod 接入后重试。
+ RESOURCENOTFOUND_DNSPODDOMAINNOTINACCOUNT = "ResourceNotFound.DNSPodDomainNotInAccount"
+
// 最大上传大小额度未配置
RESOURCENOTFOUND_POSTMAXSIZEQUOTANOTFOUND = "ResourceNotFound.PostMaxSizeQuotaNotFound"
@@ -1037,6 +1139,9 @@ const (
// 域名不存在或未开启代理。
RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"
+ // 规则不存在或不属于该账号。
+ RESOURCEUNAVAILABLE_RULENOTFOUND = "ResourceUnavailable.RuleNotFound"
+
// 该共享 CNAME 已被占用,请重新输入。
RESOURCEUNAVAILABLE_SHAREDCNAMEALREADYEXISTS = "ResourceUnavailable.SharedCNAMEAlreadyExists"
diff --git a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901/models.go b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901/models.go
index 9bb3c140cc..fdd21901c9 100644
--- a/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901/models.go
+++ b/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901/models.go
@@ -101,9 +101,12 @@ type AccelerationDomainCertificate struct {
// 配置证书的模式,取值有:
disable:不配置证书; eofreecert:配置 EdgeOne 免费证书; sslcert:配置 SSL 证书。
Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`
- // 证书列表。
+ // 服务端证书列表。
// 注意:此字段可能返回 null,表示取不到有效值。
List []*CertificateInfo `json:"List,omitnil,omitempty" name:"List"`
+
+ // 边缘双向认证配置。
+ ClientCertInfo *MutualTLS `json:"ClientCertInfo,omitnil,omitempty" name:"ClientCertInfo"`
}
type AclCondition struct {
@@ -1068,8 +1071,13 @@ type CachePrefresh struct {
Percent *int64 `json:"Percent,omitnil,omitempty" name:"Percent"`
}
+type CacheTag struct {
+ // 待清除缓存的域名列表。
+ Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`
+}
+
type CertificateInfo struct {
- // 服务器证书 ID。
+ // 证书 ID。
CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`
// 证书备注名。
@@ -1894,6 +1902,247 @@ func (r *CreateConfigGroupVersionResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}
+// Predefined struct for user
+type CreateCustomizeErrorPageRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 自定义错误页名称,名称为 2-30 个字符。
+ Name *string `json:"Name,omitnil,omitempty" name:"Name"`
+
+ // 自定义错误页面类型,取值有:text/html; application/json;text/plain;text/xml。
+ ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"`
+
+ // 自定义错误页面描述,描述不超过 60 个字符。
+ Description *string `json:"Description,omitnil,omitempty" name:"Description"`
+
+ // 自定义错误页面内容,内容不超过 2KB。
+ Content *string `json:"Content,omitnil,omitempty" name:"Content"`
+}
+
+type CreateCustomizeErrorPageRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 自定义错误页名称,名称为 2-30 个字符。
+ Name *string `json:"Name,omitnil,omitempty" name:"Name"`
+
+ // 自定义错误页面类型,取值有:text/html; application/json;text/plain;text/xml。
+ ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"`
+
+ // 自定义错误页面描述,描述不超过 60 个字符。
+ Description *string `json:"Description,omitnil,omitempty" name:"Description"`
+
+ // 自定义错误页面内容,内容不超过 2KB。
+ Content *string `json:"Content,omitnil,omitempty" name:"Content"`
+}
+
+func (r *CreateCustomizeErrorPageRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *CreateCustomizeErrorPageRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "Name")
+ delete(f, "ContentType")
+ delete(f, "Description")
+ delete(f, "Content")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateCustomizeErrorPageRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type CreateCustomizeErrorPageResponseParams struct {
+ // 页面 ID。
+ PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"`
+
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type CreateCustomizeErrorPageResponse struct {
+ *tchttp.BaseResponse
+ Response *CreateCustomizeErrorPageResponseParams `json:"Response"`
+}
+
+func (r *CreateCustomizeErrorPageResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *CreateCustomizeErrorPageResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type CreateFunctionRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 函数名称,只能包含小写字母、数字、连字符,以数字或字母开头,以数字或字母结尾,最大支持 30 个字符。
+ Name *string `json:"Name,omitnil,omitempty" name:"Name"`
+
+ // 函数内容,当前仅支持 JavaScript 代码,最大支持 5MB 大小。
+ Content *string `json:"Content,omitnil,omitempty" name:"Content"`
+
+ // 函数描述,最大支持 60 个字符。
+ Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
+}
+
+type CreateFunctionRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 函数名称,只能包含小写字母、数字、连字符,以数字或字母开头,以数字或字母结尾,最大支持 30 个字符。
+ Name *string `json:"Name,omitnil,omitempty" name:"Name"`
+
+ // 函数内容,当前仅支持 JavaScript 代码,最大支持 5MB 大小。
+ Content *string `json:"Content,omitnil,omitempty" name:"Content"`
+
+ // 函数描述,最大支持 60 个字符。
+ Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
+}
+
+func (r *CreateFunctionRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *CreateFunctionRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "Name")
+ delete(f, "Content")
+ delete(f, "Remark")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateFunctionRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type CreateFunctionResponseParams struct {
+ // 函数 ID。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
+
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type CreateFunctionResponse struct {
+ *tchttp.BaseResponse
+ Response *CreateFunctionResponseParams `json:"Response"`
+}
+
+func (r *CreateFunctionResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *CreateFunctionResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type CreateFunctionRuleRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 规则条件列表,相同触发规则的不同条件匹配项之间为或关系。
+ FunctionRuleConditions []*FunctionRuleCondition `json:"FunctionRuleConditions,omitnil,omitempty" name:"FunctionRuleConditions"`
+
+ // 函数 ID,命中触发规则条件后执行的函数。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
+
+ // 规则描述,最大支持 60 个字符。
+ Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
+}
+
+type CreateFunctionRuleRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 规则条件列表,相同触发规则的不同条件匹配项之间为或关系。
+ FunctionRuleConditions []*FunctionRuleCondition `json:"FunctionRuleConditions,omitnil,omitempty" name:"FunctionRuleConditions"`
+
+ // 函数 ID,命中触发规则条件后执行的函数。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
+
+ // 规则描述,最大支持 60 个字符。
+ Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
+}
+
+func (r *CreateFunctionRuleRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *CreateFunctionRuleRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "FunctionRuleConditions")
+ delete(f, "FunctionId")
+ delete(f, "Remark")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateFunctionRuleRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type CreateFunctionRuleResponseParams struct {
+ // 规则 ID。
+ RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"`
+
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type CreateFunctionRuleResponse struct {
+ *tchttp.BaseResponse
+ Response *CreateFunctionRuleResponseParams `json:"Response"`
+}
+
+func (r *CreateFunctionRuleResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *CreateFunctionRuleResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
// Predefined struct for user
type CreateL4ProxyRequestParams struct {
// 站点 ID。
@@ -2458,6 +2707,9 @@ type CreatePurgeTaskRequestParams struct {
//
// Deprecated: EncodeUrl is deprecated.
EncodeUrl *bool `json:"EncodeUrl,omitnil,omitempty" name:"EncodeUrl"`
+
+ // 节点缓存清除类型取值为 purge_cache_tag 时附带的信息。
+ CacheTag *CacheTag `json:"CacheTag,omitnil,omitempty" name:"CacheTag"`
}
type CreatePurgeTaskRequest struct {
@@ -2483,6 +2735,9 @@ type CreatePurgeTaskRequest struct {
// 若有编码转换,仅清除编码转换后匹配的资源。
// 若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。
EncodeUrl *bool `json:"EncodeUrl,omitnil,omitempty" name:"EncodeUrl"`
+
+ // 节点缓存清除类型取值为 purge_cache_tag 时附带的信息。
+ CacheTag *CacheTag `json:"CacheTag,omitnil,omitempty" name:"CacheTag"`
}
func (r *CreatePurgeTaskRequest) ToJsonString() string {
@@ -2502,6 +2757,7 @@ func (r *CreatePurgeTaskRequest) FromJsonString(s string) error {
delete(f, "Method")
delete(f, "Targets")
delete(f, "EncodeUrl")
+ delete(f, "CacheTag")
if len(f) > 0 {
return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreatePurgeTaskRequest has unknown keys!", "")
}
@@ -2951,8 +3207,9 @@ func (r *CreateSharedCNAMEResponse) FromJsonString(s string) error {
type CreateZoneRequestParams struct {
// 站点接入类型。该参数取值如下,不填写时默认为 partial:
// partial:CNAME 接入;
- // full:NS 接入;
- // noDomainAccess:无域名接入。
+ // full:NS 接入;
+ // noDomainAccess:无域名接入;
+ // dnsPodAccess:DNSPod 托管接入,该接入模式要求您的域名已托管在 DNSPod 内。
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// 站点名称。CNAME/NS 接入的时,请传入二级域名(example.com)作为站点名称;无域名接入时,该值请保留为空。
@@ -2991,8 +3248,9 @@ type CreateZoneRequest struct {
// 站点接入类型。该参数取值如下,不填写时默认为 partial:
// partial:CNAME 接入;
- // full:NS 接入;
- // noDomainAccess:无域名接入。
+ // full:NS 接入;
+ // noDomainAccess:无域名接入;
+ // dnsPodAccess:DNSPod 托管接入,该接入模式要求您的域名已托管在 DNSPod 内。
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// 站点名称。CNAME/NS 接入的时,请传入二级域名(example.com)作为站点名称;无域名接入时,该值请保留为空。
@@ -3105,6 +3363,29 @@ type CustomEndpoint struct {
Headers []*Header `json:"Headers,omitnil,omitempty" name:"Headers"`
}
+type CustomErrorPage struct {
+ // 自定义错误页面 ID。
+ PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"`
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 自定义错误页面名称。
+ Name *string `json:"Name,omitnil,omitempty" name:"Name"`
+
+ // 自定义错误页面类型。
+ ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"`
+
+ // 自定义错误页面描述。
+ Description *string `json:"Description,omitnil,omitempty" name:"Description"`
+
+ // 自定义错误页面内容。
+ Content *string `json:"Content,omitnil,omitempty" name:"Content"`
+
+ // 自定义错误页面引用。
+ References []*ErrorPageReference `json:"References,omitnil,omitempty" name:"References"`
+}
+
type CustomField struct {
// 从 HTTP 请求和响应中的指定位置提取数据,取值有:
// ReqHeader:从 HTTP 请求头中提取指定字段值;
@@ -3513,199 +3794,382 @@ func (r *DeleteApplicationProxyRuleResponse) FromJsonString(s string) error {
}
// Predefined struct for user
-type DeleteL4ProxyRequestParams struct {
+type DeleteCustomErrorPageRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
- // 四层代理实例 ID。
- ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"`
+ // 自定义页面 ID。
+ PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"`
}
-type DeleteL4ProxyRequest struct {
+type DeleteCustomErrorPageRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
- // 四层代理实例 ID。
- ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"`
+ // 自定义页面 ID。
+ PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"`
}
-func (r *DeleteL4ProxyRequest) ToJsonString() string {
+func (r *DeleteCustomErrorPageRequest) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}
// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
-func (r *DeleteL4ProxyRequest) FromJsonString(s string) error {
+func (r *DeleteCustomErrorPageRequest) FromJsonString(s string) error {
f := make(map[string]interface{})
if err := json.Unmarshal([]byte(s), &f); err != nil {
return err
}
delete(f, "ZoneId")
- delete(f, "ProxyId")
+ delete(f, "PageId")
if len(f) > 0 {
- return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteL4ProxyRequest has unknown keys!", "")
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteCustomErrorPageRequest has unknown keys!", "")
}
return json.Unmarshal([]byte(s), &r)
}
// Predefined struct for user
-type DeleteL4ProxyResponseParams struct {
+type DeleteCustomErrorPageResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
-type DeleteL4ProxyResponse struct {
+type DeleteCustomErrorPageResponse struct {
*tchttp.BaseResponse
- Response *DeleteL4ProxyResponseParams `json:"Response"`
+ Response *DeleteCustomErrorPageResponseParams `json:"Response"`
}
-func (r *DeleteL4ProxyResponse) ToJsonString() string {
+func (r *DeleteCustomErrorPageResponse) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}
// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
-func (r *DeleteL4ProxyResponse) FromJsonString(s string) error {
+func (r *DeleteCustomErrorPageResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}
// Predefined struct for user
-type DeleteL4ProxyRulesRequestParams struct {
+type DeleteFunctionRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
- // 四层代理实例 ID。
- ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"`
-
- // 转发规则 ID 列表。单次最多支持 200 条转发规则。
- RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"`
+ // 函数 ID。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
}
-type DeleteL4ProxyRulesRequest struct {
+type DeleteFunctionRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
- // 四层代理实例 ID。
- ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"`
-
- // 转发规则 ID 列表。单次最多支持 200 条转发规则。
- RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"`
+ // 函数 ID。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
}
-func (r *DeleteL4ProxyRulesRequest) ToJsonString() string {
+func (r *DeleteFunctionRequest) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}
// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
-func (r *DeleteL4ProxyRulesRequest) FromJsonString(s string) error {
+func (r *DeleteFunctionRequest) FromJsonString(s string) error {
f := make(map[string]interface{})
if err := json.Unmarshal([]byte(s), &f); err != nil {
return err
}
delete(f, "ZoneId")
- delete(f, "ProxyId")
- delete(f, "RuleIds")
+ delete(f, "FunctionId")
if len(f) > 0 {
- return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteL4ProxyRulesRequest has unknown keys!", "")
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteFunctionRequest has unknown keys!", "")
}
return json.Unmarshal([]byte(s), &r)
}
// Predefined struct for user
-type DeleteL4ProxyRulesResponseParams struct {
+type DeleteFunctionResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
-type DeleteL4ProxyRulesResponse struct {
+type DeleteFunctionResponse struct {
*tchttp.BaseResponse
- Response *DeleteL4ProxyRulesResponseParams `json:"Response"`
+ Response *DeleteFunctionResponseParams `json:"Response"`
}
-func (r *DeleteL4ProxyRulesResponse) ToJsonString() string {
+func (r *DeleteFunctionResponse) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}
// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
-func (r *DeleteL4ProxyRulesResponse) FromJsonString(s string) error {
+func (r *DeleteFunctionResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}
// Predefined struct for user
-type DeleteOriginGroupRequestParams struct {
- // 站点 ID
+type DeleteFunctionRulesRequestParams struct {
+ // 站点 ID。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
- // 源站组 ID,此参数必填。
- GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
+ // 规则 ID 列表。
+ RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"`
}
-type DeleteOriginGroupRequest struct {
+type DeleteFunctionRulesRequest struct {
*tchttp.BaseRequest
- // 站点 ID
+ // 站点 ID。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
- // 源站组 ID,此参数必填。
- GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
+ // 规则 ID 列表。
+ RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"`
}
-func (r *DeleteOriginGroupRequest) ToJsonString() string {
+func (r *DeleteFunctionRulesRequest) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}
// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
-func (r *DeleteOriginGroupRequest) FromJsonString(s string) error {
+func (r *DeleteFunctionRulesRequest) FromJsonString(s string) error {
f := make(map[string]interface{})
if err := json.Unmarshal([]byte(s), &f); err != nil {
return err
}
delete(f, "ZoneId")
- delete(f, "GroupId")
+ delete(f, "RuleIds")
if len(f) > 0 {
- return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteOriginGroupRequest has unknown keys!", "")
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteFunctionRulesRequest has unknown keys!", "")
}
return json.Unmarshal([]byte(s), &r)
}
// Predefined struct for user
-type DeleteOriginGroupResponseParams struct {
+type DeleteFunctionRulesResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
-type DeleteOriginGroupResponse struct {
+type DeleteFunctionRulesResponse struct {
*tchttp.BaseResponse
- Response *DeleteOriginGroupResponseParams `json:"Response"`
+ Response *DeleteFunctionRulesResponseParams `json:"Response"`
}
-func (r *DeleteOriginGroupResponse) ToJsonString() string {
+func (r *DeleteFunctionRulesResponse) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}
// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
-func (r *DeleteOriginGroupResponse) FromJsonString(s string) error {
+func (r *DeleteFunctionRulesResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}
// Predefined struct for user
-type DeleteRealtimeLogDeliveryTaskRequestParams struct {
- // 站点 ID。
- ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+type DeleteL4ProxyRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 四层代理实例 ID。
+ ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"`
+}
+
+type DeleteL4ProxyRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 四层代理实例 ID。
+ ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"`
+}
+
+func (r *DeleteL4ProxyRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DeleteL4ProxyRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "ProxyId")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteL4ProxyRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DeleteL4ProxyResponseParams struct {
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type DeleteL4ProxyResponse struct {
+ *tchttp.BaseResponse
+ Response *DeleteL4ProxyResponseParams `json:"Response"`
+}
+
+func (r *DeleteL4ProxyResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DeleteL4ProxyResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DeleteL4ProxyRulesRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 四层代理实例 ID。
+ ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"`
+
+ // 转发规则 ID 列表。单次最多支持 200 条转发规则。
+ RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"`
+}
+
+type DeleteL4ProxyRulesRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 四层代理实例 ID。
+ ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"`
+
+ // 转发规则 ID 列表。单次最多支持 200 条转发规则。
+ RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"`
+}
+
+func (r *DeleteL4ProxyRulesRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DeleteL4ProxyRulesRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "ProxyId")
+ delete(f, "RuleIds")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteL4ProxyRulesRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DeleteL4ProxyRulesResponseParams struct {
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type DeleteL4ProxyRulesResponse struct {
+ *tchttp.BaseResponse
+ Response *DeleteL4ProxyRulesResponseParams `json:"Response"`
+}
+
+func (r *DeleteL4ProxyRulesResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DeleteL4ProxyRulesResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DeleteOriginGroupRequestParams struct {
+ // 站点 ID
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 源站组 ID,此参数必填。
+ GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
+}
+
+type DeleteOriginGroupRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 源站组 ID,此参数必填。
+ GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
+}
+
+func (r *DeleteOriginGroupRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DeleteOriginGroupRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "GroupId")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteOriginGroupRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DeleteOriginGroupResponseParams struct {
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type DeleteOriginGroupResponse struct {
+ *tchttp.BaseResponse
+ Response *DeleteOriginGroupResponseParams `json:"Response"`
+}
+
+func (r *DeleteOriginGroupResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DeleteOriginGroupResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DeleteRealtimeLogDeliveryTaskRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// 实时日志投递任务 ID。
TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
@@ -4129,9 +4593,6 @@ type DescribeAccelerationDomainsRequestParams struct {
// backup-origin: 按照备用源站地址进行过滤;
// domain-cname:按照 CNAME 进行过滤;
// share-cname:按照共享 CNAME 进行过滤;
- // vodeo-sub-app-id:按照【 vodeo 子应用 ID】进行过滤;
- // vodeo-distribution-range:按照【 vodeo 分发范围】进行过滤;
- // vodeo-bucket-id:按照【vodeo 存储桶 ID】进行过滤;
Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
// 可根据该字段对返回结果进行排序,取值有:
@@ -4169,9 +4630,6 @@ type DescribeAccelerationDomainsRequest struct {
// backup-origin: 按照备用源站地址进行过滤;
// domain-cname:按照 CNAME 进行过滤;
// share-cname:按照共享 CNAME 进行过滤;
- // vodeo-sub-app-id:按照【 vodeo 子应用 ID】进行过滤;
- // vodeo-distribution-range:按照【 vodeo 分发范围】进行过滤;
- // vodeo-bucket-id:按照【vodeo 存储桶 ID】进行过滤;
Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
// 可根据该字段对返回结果进行排序,取值有:
@@ -4820,6 +5278,95 @@ func (r *DescribeContentQuotaResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}
+// Predefined struct for user
+type DescribeCustomErrorPagesRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 过滤条件,Filters.Values 的上限为20,详细的过滤条件Name值如下:
+ // page-id: 按照页面 ID 进行过滤;
+ // name: 按照页面名称进行过滤;
+ // description:按照页面描述过滤;
+ // content-type:按照页面类型过滤。
+ Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
+
+ // 分页查询偏移量。默认值:0。
+ Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
+
+ // 分页查询限制数目。默认值:20,最大值:1000。
+ Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
+}
+
+type DescribeCustomErrorPagesRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 过滤条件,Filters.Values 的上限为20,详细的过滤条件Name值如下:
+ // page-id: 按照页面 ID 进行过滤;
+ // name: 按照页面名称进行过滤;
+ // description:按照页面描述过滤;
+ // content-type:按照页面类型过滤。
+ Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
+
+ // 分页查询偏移量。默认值:0。
+ Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
+
+ // 分页查询限制数目。默认值:20,最大值:1000。
+ Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
+}
+
+func (r *DescribeCustomErrorPagesRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DescribeCustomErrorPagesRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "Filters")
+ delete(f, "Offset")
+ delete(f, "Limit")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeCustomErrorPagesRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DescribeCustomErrorPagesResponseParams struct {
+ // 自定义错误页面总数。
+ TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
+
+ // 自定义错误页面数据列表。
+ ErrorPages []*CustomErrorPage `json:"ErrorPages,omitnil,omitempty" name:"ErrorPages"`
+
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type DescribeCustomErrorPagesResponse struct {
+ *tchttp.BaseResponse
+ Response *DescribeCustomErrorPagesResponseParams `json:"Response"`
+}
+
+func (r *DescribeCustomErrorPagesResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DescribeCustomErrorPagesResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
// Predefined struct for user
type DescribeDDoSAttackDataRequestParams struct {
// 开始时间。
@@ -5224,233 +5771,459 @@ type DescribeDDoSAttackTopDataResponse struct {
Response *DescribeDDoSAttackTopDataResponseParams `json:"Response"`
}
-func (r *DescribeDDoSAttackTopDataResponse) ToJsonString() string {
+func (r *DescribeDDoSAttackTopDataResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DescribeDDoSAttackTopDataResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DescribeDefaultCertificatesRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 过滤条件,Filters.Values的上限为5。详细的过滤条件如下:
+ // zone-id
按照【站点ID】进行过滤。站点ID形如:zone-xxx。
类型:String
必选:是
+ Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
+
+ // 分页查询偏移量。默认值:0。
+ Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
+
+ // 分页查询限制数目。默认值:20,最大值:100。
+ Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
+}
+
+type DescribeDefaultCertificatesRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 过滤条件,Filters.Values的上限为5。详细的过滤条件如下:
+ // zone-id
按照【站点ID】进行过滤。站点ID形如:zone-xxx。
类型:String
必选:是
+ Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
+
+ // 分页查询偏移量。默认值:0。
+ Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
+
+ // 分页查询限制数目。默认值:20,最大值:100。
+ Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
+}
+
+func (r *DescribeDefaultCertificatesRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DescribeDefaultCertificatesRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "Filters")
+ delete(f, "Offset")
+ delete(f, "Limit")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDefaultCertificatesRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DescribeDefaultCertificatesResponseParams struct {
+ // 证书总数。
+ TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
+
+ // 默认证书列表。
+ DefaultServerCertInfo []*DefaultServerCertInfo `json:"DefaultServerCertInfo,omitnil,omitempty" name:"DefaultServerCertInfo"`
+
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type DescribeDefaultCertificatesResponse struct {
+ *tchttp.BaseResponse
+ Response *DescribeDefaultCertificatesResponseParams `json:"Response"`
+}
+
+func (r *DescribeDefaultCertificatesResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DescribeDefaultCertificatesResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DescribeDeployHistoryRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 环境 ID。
+ EnvId *string `json:"EnvId,omitnil,omitempty" name:"EnvId"`
+
+ // 过滤条件,Filters.Values 的上限为 20,详细的过滤条件如下:
+ // record-id:按照发布记录 ID 进行过滤进行过滤。
+ Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
+}
+
+type DescribeDeployHistoryRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 环境 ID。
+ EnvId *string `json:"EnvId,omitnil,omitempty" name:"EnvId"`
+
+ // 过滤条件,Filters.Values 的上限为 20,详细的过滤条件如下:
+ // record-id:按照发布记录 ID 进行过滤进行过滤。
+ Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
+}
+
+func (r *DescribeDeployHistoryRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DescribeDeployHistoryRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "EnvId")
+ delete(f, "Filters")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDeployHistoryRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DescribeDeployHistoryResponseParams struct {
+ // 发布记录总数。
+ TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
+
+ // 发布记录详情。
+ Records []*DeployRecord `json:"Records,omitnil,omitempty" name:"Records"`
+
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type DescribeDeployHistoryResponse struct {
+ *tchttp.BaseResponse
+ Response *DescribeDeployHistoryResponseParams `json:"Response"`
+}
+
+func (r *DescribeDeployHistoryResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DescribeDeployHistoryResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DescribeEnvironmentsRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+}
+
+type DescribeEnvironmentsRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+}
+
+func (r *DescribeEnvironmentsRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DescribeEnvironmentsRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeEnvironmentsRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DescribeEnvironmentsResponseParams struct {
+ // 环境总数。
+ TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
+
+ // 环境列表。
+ EnvInfos []*EnvInfo `json:"EnvInfos,omitnil,omitempty" name:"EnvInfos"`
+
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type DescribeEnvironmentsResponse struct {
+ *tchttp.BaseResponse
+ Response *DescribeEnvironmentsResponseParams `json:"Response"`
+}
+
+func (r *DescribeEnvironmentsResponse) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}
// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
-func (r *DescribeDDoSAttackTopDataResponse) FromJsonString(s string) error {
+func (r *DescribeEnvironmentsResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}
// Predefined struct for user
-type DescribeDefaultCertificatesRequestParams struct {
+type DescribeFunctionRulesRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
- // 过滤条件,Filters.Values的上限为5。详细的过滤条件如下:
- // zone-id
按照【站点ID】进行过滤。站点ID形如:zone-xxx。
类型:String
必选:是
+ // 过滤条件列表,多个条件为且关系,Filters.Values 的上限为 20。详细的过滤条件如下:
+ // rule-id:按照【规则 ID】进行精确匹配。
+ // function-id:按照【函数 ID】进行精确匹配。
+ // remark:按照【规则描述】进行模糊匹配。
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
-
- // 分页查询偏移量。默认值:0。
- Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
-
- // 分页查询限制数目。默认值:20,最大值:100。
- Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
-type DescribeDefaultCertificatesRequest struct {
+type DescribeFunctionRulesRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
- // 过滤条件,Filters.Values的上限为5。详细的过滤条件如下:
- // zone-id
按照【站点ID】进行过滤。站点ID形如:zone-xxx。
类型:String
必选:是
+ // 过滤条件列表,多个条件为且关系,Filters.Values 的上限为 20。详细的过滤条件如下:
+ // rule-id:按照【规则 ID】进行精确匹配。
+ // function-id:按照【函数 ID】进行精确匹配。
+ // remark:按照【规则描述】进行模糊匹配。
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
-
- // 分页查询偏移量。默认值:0。
- Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
-
- // 分页查询限制数目。默认值:20,最大值:100。
- Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
-func (r *DescribeDefaultCertificatesRequest) ToJsonString() string {
+func (r *DescribeFunctionRulesRequest) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}
// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
-func (r *DescribeDefaultCertificatesRequest) FromJsonString(s string) error {
+func (r *DescribeFunctionRulesRequest) FromJsonString(s string) error {
f := make(map[string]interface{})
if err := json.Unmarshal([]byte(s), &f); err != nil {
return err
}
delete(f, "ZoneId")
delete(f, "Filters")
- delete(f, "Offset")
- delete(f, "Limit")
if len(f) > 0 {
- return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDefaultCertificatesRequest has unknown keys!", "")
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeFunctionRulesRequest has unknown keys!", "")
}
return json.Unmarshal([]byte(s), &r)
}
// Predefined struct for user
-type DescribeDefaultCertificatesResponseParams struct {
- // 证书总数。
- TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
-
- // 默认证书列表。
- DefaultServerCertInfo []*DefaultServerCertInfo `json:"DefaultServerCertInfo,omitnil,omitempty" name:"DefaultServerCertInfo"`
+type DescribeFunctionRulesResponseParams struct {
+ // 规则详情列表。
+ FunctionRules []*FunctionRule `json:"FunctionRules,omitnil,omitempty" name:"FunctionRules"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
-type DescribeDefaultCertificatesResponse struct {
+type DescribeFunctionRulesResponse struct {
*tchttp.BaseResponse
- Response *DescribeDefaultCertificatesResponseParams `json:"Response"`
+ Response *DescribeFunctionRulesResponseParams `json:"Response"`
}
-func (r *DescribeDefaultCertificatesResponse) ToJsonString() string {
+func (r *DescribeFunctionRulesResponse) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}
// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
-func (r *DescribeDefaultCertificatesResponse) FromJsonString(s string) error {
+func (r *DescribeFunctionRulesResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}
// Predefined struct for user
-type DescribeDeployHistoryRequestParams struct {
+type DescribeFunctionRuntimeEnvironmentRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
- // 环境 ID。
- EnvId *string `json:"EnvId,omitnil,omitempty" name:"EnvId"`
-
- // 过滤条件,Filters.Values 的上限为 20,详细的过滤条件如下:
- // record-id:按照发布记录 ID 进行过滤进行过滤。
- Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
+ // 函数 ID。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
}
-type DescribeDeployHistoryRequest struct {
+type DescribeFunctionRuntimeEnvironmentRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
- // 环境 ID。
- EnvId *string `json:"EnvId,omitnil,omitempty" name:"EnvId"`
-
- // 过滤条件,Filters.Values 的上限为 20,详细的过滤条件如下:
- // record-id:按照发布记录 ID 进行过滤进行过滤。
- Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
+ // 函数 ID。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
}
-func (r *DescribeDeployHistoryRequest) ToJsonString() string {
+func (r *DescribeFunctionRuntimeEnvironmentRequest) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}
// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
-func (r *DescribeDeployHistoryRequest) FromJsonString(s string) error {
+func (r *DescribeFunctionRuntimeEnvironmentRequest) FromJsonString(s string) error {
f := make(map[string]interface{})
if err := json.Unmarshal([]byte(s), &f); err != nil {
return err
}
delete(f, "ZoneId")
- delete(f, "EnvId")
- delete(f, "Filters")
+ delete(f, "FunctionId")
if len(f) > 0 {
- return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDeployHistoryRequest has unknown keys!", "")
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeFunctionRuntimeEnvironmentRequest has unknown keys!", "")
}
return json.Unmarshal([]byte(s), &r)
}
// Predefined struct for user
-type DescribeDeployHistoryResponseParams struct {
- // 发布记录总数。
- TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
-
- // 发布记录详情。
- Records []*DeployRecord `json:"Records,omitnil,omitempty" name:"Records"`
+type DescribeFunctionRuntimeEnvironmentResponseParams struct {
+ // 环境变量列表。
+ EnvironmentVariables []*FunctionEnvironmentVariable `json:"EnvironmentVariables,omitnil,omitempty" name:"EnvironmentVariables"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
-type DescribeDeployHistoryResponse struct {
+type DescribeFunctionRuntimeEnvironmentResponse struct {
*tchttp.BaseResponse
- Response *DescribeDeployHistoryResponseParams `json:"Response"`
+ Response *DescribeFunctionRuntimeEnvironmentResponseParams `json:"Response"`
}
-func (r *DescribeDeployHistoryResponse) ToJsonString() string {
+func (r *DescribeFunctionRuntimeEnvironmentResponse) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}
// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
-func (r *DescribeDeployHistoryResponse) FromJsonString(s string) error {
+func (r *DescribeFunctionRuntimeEnvironmentResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}
// Predefined struct for user
-type DescribeEnvironmentsRequestParams struct {
+type DescribeFunctionsRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 按照函数 ID 列表过滤。
+ FunctionIds []*string `json:"FunctionIds,omitnil,omitempty" name:"FunctionIds"`
+
+ // 过滤条件列表,多个条件为且关系,Filters.Values 的上限为 20。详细的过滤条件如下:
+ // name:按照【函数名称】进行模糊匹配。
+ // remark:按照【函数描述】进行模糊匹配。
+ Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
+
+ // 分页查询偏移量。默认值:0。
+ Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
+
+ // 分页查询限制数目。默认值:20,最大值:200。
+ Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
-type DescribeEnvironmentsRequest struct {
+type DescribeFunctionsRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 按照函数 ID 列表过滤。
+ FunctionIds []*string `json:"FunctionIds,omitnil,omitempty" name:"FunctionIds"`
+
+ // 过滤条件列表,多个条件为且关系,Filters.Values 的上限为 20。详细的过滤条件如下:
+ // name:按照【函数名称】进行模糊匹配。
+ // remark:按照【函数描述】进行模糊匹配。
+ Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
+
+ // 分页查询偏移量。默认值:0。
+ Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
+
+ // 分页查询限制数目。默认值:20,最大值:200。
+ Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
-func (r *DescribeEnvironmentsRequest) ToJsonString() string {
+func (r *DescribeFunctionsRequest) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}
// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
-func (r *DescribeEnvironmentsRequest) FromJsonString(s string) error {
+func (r *DescribeFunctionsRequest) FromJsonString(s string) error {
f := make(map[string]interface{})
if err := json.Unmarshal([]byte(s), &f); err != nil {
return err
}
delete(f, "ZoneId")
+ delete(f, "FunctionIds")
+ delete(f, "Filters")
+ delete(f, "Offset")
+ delete(f, "Limit")
if len(f) > 0 {
- return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeEnvironmentsRequest has unknown keys!", "")
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeFunctionsRequest has unknown keys!", "")
}
return json.Unmarshal([]byte(s), &r)
}
// Predefined struct for user
-type DescribeEnvironmentsResponseParams struct {
- // 环境总数。
- TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
+type DescribeFunctionsResponseParams struct {
+ // 符合查询条件的函数总数。
+ TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
- // 环境列表。
- EnvInfos []*EnvInfo `json:"EnvInfos,omitnil,omitempty" name:"EnvInfos"`
+ // 符合查询条件的所有函数信息。
+ Functions []*Function `json:"Functions,omitnil,omitempty" name:"Functions"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
-type DescribeEnvironmentsResponse struct {
+type DescribeFunctionsResponse struct {
*tchttp.BaseResponse
- Response *DescribeEnvironmentsResponseParams `json:"Response"`
+ Response *DescribeFunctionsResponseParams `json:"Response"`
}
-func (r *DescribeEnvironmentsResponse) ToJsonString() string {
+func (r *DescribeFunctionsResponse) ToJsonString() string {
b, _ := json.Marshal(r)
return string(b)
}
// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
-func (r *DescribeEnvironmentsResponse) FromJsonString(s string) error {
+func (r *DescribeFunctionsResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}
@@ -6178,8 +6951,7 @@ func (r *DescribeOverviewL7DataResponse) FromJsonString(s string) error {
// Predefined struct for user
type DescribePrefetchTasksRequestParams struct {
- // 站点ID。
- // 必填参数。
+ // 站点ID。该参数必填。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// 查询起始时间,时间与 job-id 必填一个。
@@ -6194,15 +6966,14 @@ type DescribePrefetchTasksRequestParams struct {
// 分页查询限制数目,默认值:20,上限:1000。
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
- // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:job-id
按照【任务ID】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。
类型:String
必选:否。
模糊查询:不支持。target
按照【目标资源信息】进行过滤。target形如:http://www.qq.com/1.txt,暂不支持多值。
类型:String
必选:否。
模糊查询:不支持。domains
按照【域名】进行过滤。domains形如:www.qq.com。
类型:String
必选:否。
模糊查询:不支持。statuses
按照【任务状态】进行过滤。
必选:否
模糊查询:不支持。
可选项:
processing:处理中
success:成功
failed:失败
timeout:超时
+ // 过滤条件,Filters.Values 的上限为 20。详细的过滤条件如下:job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;target:按照目标资源信息进行过滤。target 形如:http://www.qq.com/1.txt,暂不支持多值,不支持模糊查询;domains:按照域名行过滤。domains 形如:www.qq.com,不支持模糊查询;statuses:按照任务状态进行过滤,不支持模糊查询。可选项:
processing:处理中
success:成功
failed:失败
timeout:超时
invalid:无效。即源站响应非 2xx 状态码,请检查源站服务。
Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
type DescribePrefetchTasksRequest struct {
*tchttp.BaseRequest
- // 站点ID。
- // 必填参数。
+ // 站点ID。该参数必填。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// 查询起始时间,时间与 job-id 必填一个。
@@ -6217,7 +6988,7 @@ type DescribePrefetchTasksRequest struct {
// 分页查询限制数目,默认值:20,上限:1000。
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
- // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:job-id
按照【任务ID】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。
类型:String
必选:否。
模糊查询:不支持。target
按照【目标资源信息】进行过滤。target形如:http://www.qq.com/1.txt,暂不支持多值。
类型:String
必选:否。
模糊查询:不支持。domains
按照【域名】进行过滤。domains形如:www.qq.com。
类型:String
必选:否。
模糊查询:不支持。statuses
按照【任务状态】进行过滤。
必选:否
模糊查询:不支持。
可选项:
processing:处理中
success:成功
failed:失败
timeout:超时
+ // 过滤条件,Filters.Values 的上限为 20。详细的过滤条件如下:job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;target:按照目标资源信息进行过滤。target 形如:http://www.qq.com/1.txt,暂不支持多值,不支持模糊查询;domains:按照域名行过滤。domains 形如:www.qq.com,不支持模糊查询;statuses:按照任务状态进行过滤,不支持模糊查询。可选项:
processing:处理中
success:成功
failed:失败
timeout:超时
invalid:无效。即源站响应非 2xx 状态码,请检查源站服务。
Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
@@ -6275,46 +7046,54 @@ func (r *DescribePrefetchTasksResponse) FromJsonString(s string) error {
// Predefined struct for user
type DescribePurgeTasksRequestParams struct {
- // 站点ID。
- // 必填参数。
+ // 站点 ID。该参数必填。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
- // 查询起始时间,时间与job-id必填一个。
+ // 查询起始时间,时间与 job-id 必填一个。
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
- // 查询结束时间,时间与job-id必填一个。
+ // 查询结束时间,时间与 job-id 必填一个。
EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
- // 分页查询偏移量,默认为0。
+ // 分页查询偏移量,默认为 0。
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
- // 分页查限制数目,默认值:20,最大值:1000。
+ // 分页查询限制数目,默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
- // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:job-id
按照【任务ID】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。
类型:String
必选:否
模糊查询:不支持target
按照【目标资源信息】进行过滤,target形如:http://www.qq.com/1.txt或者tag1,暂不支持多值
类型:String
必选:否
模糊查询:不支持domains
按照【域名】进行过滤,domains形如:www.qq.com
类型:String
必选:否
模糊查询:不支持。statuses
按照【任务状态】进行过滤
必选:否
模糊查询:不支持。
可选项:
processing:处理中
success:成功
failed:失败
timeout:超时type
按照【清除缓存类型】进行过滤,暂不支持多值。
类型:String
必选:否
模糊查询:不支持
可选项:
purge_url:URL
purge_prefix:前缀
purge_all:全部缓存内容
purge_host:Hostname
purge_cache_tag:CacheTag
+ // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
+ // job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;
+ // target:按照目标资源信息进行过滤,target 形如:http://www.qq.com/1.txt 或者 tag1,暂不支持多值,支持模糊查询;
+ // domains:按照域名进行过滤,形如:www.qq.com,不支持模糊查询;
+ // statuses:按照任务状态进行过滤,不支持模糊查询。可选项:
processing:处理中
success:成功
failed:失败
timeout:超时
+ // type:按照清除缓存类型进行过滤,暂不支持多值,不支持模糊查询。可选项:
purge_url:URL
purge_prefix:前缀
purge_all:全部缓存内容
purge_host:Hostname
purge_cache_tag:CacheTag
Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
type DescribePurgeTasksRequest struct {
*tchttp.BaseRequest
- // 站点ID。
- // 必填参数。
+ // 站点 ID。该参数必填。
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
- // 查询起始时间,时间与job-id必填一个。
+ // 查询起始时间,时间与 job-id 必填一个。
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
- // 查询结束时间,时间与job-id必填一个。
+ // 查询结束时间,时间与 job-id 必填一个。
EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
- // 分页查询偏移量,默认为0。
+ // 分页查询偏移量,默认为 0。
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
- // 分页查限制数目,默认值:20,最大值:1000。
+ // 分页查询限制数目,默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
- // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:job-id
按照【任务ID】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。
类型:String
必选:否
模糊查询:不支持target
按照【目标资源信息】进行过滤,target形如:http://www.qq.com/1.txt或者tag1,暂不支持多值
类型:String
必选:否
模糊查询:不支持domains
按照【域名】进行过滤,domains形如:www.qq.com
类型:String
必选:否
模糊查询:不支持。statuses
按照【任务状态】进行过滤
必选:否
模糊查询:不支持。
可选项:
processing:处理中
success:成功
failed:失败
timeout:超时type
按照【清除缓存类型】进行过滤,暂不支持多值。
类型:String
必选:否
模糊查询:不支持
可选项:
purge_url:URL
purge_prefix:前缀
purge_all:全部缓存内容
purge_host:Hostname
purge_cache_tag:CacheTag
+ // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
+ // job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;
+ // target:按照目标资源信息进行过滤,target 形如:http://www.qq.com/1.txt 或者 tag1,暂不支持多值,支持模糊查询;
+ // domains:按照域名进行过滤,形如:www.qq.com,不支持模糊查询;
+ // statuses:按照任务状态进行过滤,不支持模糊查询。可选项:
processing:处理中
success:成功
failed:失败
timeout:超时
+ // type:按照清除缓存类型进行过滤,暂不支持多值,不支持模糊查询。可选项:
purge_url:URL
purge_prefix:前缀
purge_all:全部缓存内容
purge_host:Hostname
purge_cache_tag:CacheTag
Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
@@ -6656,6 +7435,74 @@ func (r *DescribeSecurityIPGroupInfoResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}
+// Predefined struct for user
+type DescribeSecurityIPGroupRequestParams struct {
+ // 站点 ID ,用于指定查询的站点范围。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 指定安全 IP 组 ID。
+ // 提供该参数时,仅查询指定 ID 的安全 IP 组配置;
+ // 不传递参数时,返回站点下所有安全 IP 组信息。
+ GroupIds []*int64 `json:"GroupIds,omitnil,omitempty" name:"GroupIds"`
+}
+
+type DescribeSecurityIPGroupRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID ,用于指定查询的站点范围。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 指定安全 IP 组 ID。
+ // 提供该参数时,仅查询指定 ID 的安全 IP 组配置;
+ // 不传递参数时,返回站点下所有安全 IP 组信息。
+ GroupIds []*int64 `json:"GroupIds,omitnil,omitempty" name:"GroupIds"`
+}
+
+func (r *DescribeSecurityIPGroupRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DescribeSecurityIPGroupRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "GroupIds")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSecurityIPGroupRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type DescribeSecurityIPGroupResponseParams struct {
+ // 安全 IP 组的详细配置信息。包含每个安全 IP 组的 ID 、名称和 IP / 网段列表信息。
+ IPGroups []*IPGroup `json:"IPGroups,omitnil,omitempty" name:"IPGroups"`
+
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type DescribeSecurityIPGroupResponse struct {
+ *tchttp.BaseResponse
+ Response *DescribeSecurityIPGroupResponseParams `json:"Response"`
+}
+
+func (r *DescribeSecurityIPGroupResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *DescribeSecurityIPGroupResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
// Predefined struct for user
type DescribeSecurityTemplateBindingsRequestParams struct {
// 要查询的站点 ID。
@@ -6755,8 +7602,8 @@ type DescribeTimingL4DataRequestParams struct {
Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`
// 过滤条件,详细的过滤条件Key值如下:
- // ruleId
按照【转发规则ID】进行过滤。
- // proxyId
按照【四层代理实例ID】进行过滤。
+ // ruleId:按照转发规则 ID 进行过滤。
+ // proxyId:按照四层代理实例 ID 进行过滤。
Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"`
// 数据归属地区,取值有:
@@ -6796,8 +7643,8 @@ type DescribeTimingL4DataRequest struct {
Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`
// 过滤条件,详细的过滤条件Key值如下:
- // ruleId
按照【转发规则ID】进行过滤。
- // proxyId
按照【四层代理实例ID】进行过滤。
+ // ruleId:按照转发规则 ID 进行过滤。
+ // proxyId:按照四层代理实例 ID 进行过滤。
Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"`
// 数据归属地区,取值有:
@@ -8108,6 +8955,11 @@ type EnvInfo struct {
UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}
+type ErrorPageReference struct {
+ // 引用的业务 ID,如自定义拦截规则 ID。
+ BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`
+}
+
type ExceptConfig struct {
// 配置开关,取值有:
// on:开启;
@@ -8291,6 +9143,76 @@ type ForceRedirect struct {
RedirectStatusCode *int64 `json:"RedirectStatusCode,omitnil,omitempty" name:"RedirectStatusCode"`
}
+type Function struct {
+ // 函数 ID。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 函数名字。
+ Name *string `json:"Name,omitnil,omitempty" name:"Name"`
+
+ // 函数描述。
+ Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
+
+ // 函数内容。
+ Content *string `json:"Content,omitnil,omitempty" name:"Content"`
+
+ // 函数默认域名。
+ Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
+
+ // 创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
+ CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
+
+ // 修改时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
+ UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
+}
+
+type FunctionEnvironmentVariable struct {
+ // 变量的名称,限制只能包含大小写字母、数字,特殊字符仅支持 @ . - _ ,最大 64 个字节,不支持重复。
+ Key *string `json:"Key,omitnil,omitempty" name:"Key"`
+
+ // 变量的值,限制最大 5000 字节,默认值为空。
+ Value *string `json:"Value,omitnil,omitempty" name:"Value"`
+
+ // 变量的类型,取值有:
+ // string:字符串类型;
+ // json:json 对象类型。默认值为:string。
+ Type *string `json:"Type,omitnil,omitempty" name:"Type"`
+}
+
+type FunctionRule struct {
+ // 规则ID。
+ RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"`
+
+ // 规则条件列表,列表项之间为或关系。
+ FunctionRuleConditions []*FunctionRuleCondition `json:"FunctionRuleConditions,omitnil,omitempty" name:"FunctionRuleConditions"`
+
+ // 函数 ID,命中触发规则条件后执行的函数。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
+
+ // 规则描述。
+ Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
+
+ // 函数名称。
+ FunctionName *string `json:"FunctionName,omitnil,omitempty" name:"FunctionName"`
+
+ // 函数触发规则优先级,数值越大,优先级越高。
+ Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"`
+
+ // 创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
+ CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
+
+ // 更新时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
+ UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
+}
+
+type FunctionRuleCondition struct {
+ // 边缘函数触发规则条件,该列表内所有项全部满足即判断该条件满足。
+ RuleConditions []*RuleCondition `json:"RuleConditions,omitnil,omitempty" name:"RuleConditions"`
+}
+
type Grpc struct {
// 是否开启 Grpc 配置,取值有:
// on:开启;
@@ -8298,6 +9220,89 @@ type Grpc struct {
Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}
+// Predefined struct for user
+type HandleFunctionRuntimeEnvironmentRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 函数 ID。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
+
+ // 操作类型,取值有:
+ // setEnvironmentVariable:设置环境变量,当环境变量存在时为修改行为,否则为添加行为;
+ // deleteEnvironmentVariable:删除环境变量变量;
+ // clearEnvironmentVariable:清空环境变量变量;
+ // resetEnvironmentVariable:重置环境变量变量。
+ Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"`
+
+ // 环境变量列表,函数运行环境最多支持 64 个变量。当 Operation 取值为 setEnvironmentVariable、deleteEnvironmentVariable、resetEnvironmentVariable 时必填。
+ EnvironmentVariables []*FunctionEnvironmentVariable `json:"EnvironmentVariables,omitnil,omitempty" name:"EnvironmentVariables"`
+}
+
+type HandleFunctionRuntimeEnvironmentRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 函数 ID。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
+
+ // 操作类型,取值有:
+ // setEnvironmentVariable:设置环境变量,当环境变量存在时为修改行为,否则为添加行为;
+ // deleteEnvironmentVariable:删除环境变量变量;
+ // clearEnvironmentVariable:清空环境变量变量;
+ // resetEnvironmentVariable:重置环境变量变量。
+ Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"`
+
+ // 环境变量列表,函数运行环境最多支持 64 个变量。当 Operation 取值为 setEnvironmentVariable、deleteEnvironmentVariable、resetEnvironmentVariable 时必填。
+ EnvironmentVariables []*FunctionEnvironmentVariable `json:"EnvironmentVariables,omitnil,omitempty" name:"EnvironmentVariables"`
+}
+
+func (r *HandleFunctionRuntimeEnvironmentRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *HandleFunctionRuntimeEnvironmentRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "FunctionId")
+ delete(f, "Operation")
+ delete(f, "EnvironmentVariables")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "HandleFunctionRuntimeEnvironmentRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type HandleFunctionRuntimeEnvironmentResponseParams struct {
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type HandleFunctionRuntimeEnvironmentResponse struct {
+ *tchttp.BaseResponse
+ Response *HandleFunctionRuntimeEnvironmentResponseParams `json:"Response"`
+}
+
+func (r *HandleFunctionRuntimeEnvironmentResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *HandleFunctionRuntimeEnvironmentResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
type Header struct {
// HTTP头部名称。
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
@@ -8365,9 +9370,9 @@ type Https struct {
ApplyType *string `json:"ApplyType,omitnil,omitempty" name:"ApplyType"`
// 密码套件,取值有:
- // loose-v2023:提供最高的兼容性,安全性一般,支持 TLS 1.0-1.3 密码套件;
- // general-v2023:提供较高的兼容性,安全性中等,支持 TLS 1.2-1.3 密码套件;
- // strict-v2023:提供最高的安全性能,禁用所有含不安全隐患的加密套件,支持 TLS 1.2-1.3 密码套件。
+ // loose-v2023:提供高兼容性,安全性一般,支持 TLS 1.0-1.3 密码套件;
+ // general-v2023:提供较高兼容性,安全性中等,支持 TLS 1.2-1.3 密码套件;
+ // strict-v2023:提供高安全性能,禁用所有含不安全隐患的加密套件,支持 TLS 1.2-1.3 密码套件。
// 注意:此字段可能返回 null,表示取不到有效值。
CipherSuite *string `json:"CipherSuite,omitnil,omitempty" name:"CipherSuite"`
}
@@ -8619,19 +9624,27 @@ type IpTableRule struct {
Action *string `json:"Action,omitnil,omitempty" name:"Action"`
// 根据类型匹配,取值有:
- // ip:对ip进行匹配;
- // area:对ip所属地区匹配。
+ // ip:客户端 IP 进行匹配;
+ // area:客户端 IP 所属地区匹配;
+ // asn:客户端所属的自治系统进行匹配;
+ // referer:请求头 Referer 进行匹配;
+ // ua:请求头 User-Agent 进行匹配;
+ // url:请求 URL 进行匹配。
MatchFrom *string `json:"MatchFrom,omitnil,omitempty" name:"MatchFrom"`
- // 规则的匹配方式,默认为空代表等于。
- // 取值有:
- // is_emty:配置为空;
- // not_exists:配置为不存在;
- // include:包含;
- // not_include:不包含;
- // equal:等于;
- // not_equal:不等于。
- // 注意:此字段可能返回 null,表示取不到有效值。
+ // 规则的匹配方式。取值有:
+ // match:匹配,适用于 MatchFrom 为 ip;
+ // not_match:不匹配,适用于 MatchFrom 为 ip;
+ // include_area:地域包含,适用于 MatchFrom 为 area;
+ // not_include_area:地域不包含,适用于 MatchFrom 为 area;
+ // asn_match:ASN 包含,适用于 MatchFrom 为 asn;
+ // asn_not_match:ASN 不包含,适用于 MatchFrom 为 asn;
+ // equal:等于,适用于 MatchFrom 为 ua , referer;
+ // not_equal:不等于,适用于 MatchFrom 为 ua , referer;
+ // include:通配符匹配,适用于 MatchFrom 为 ua , referer , url;
+ // not_include:通配符不匹配,适用于 MatchFrom 为 ua , referer;
+ // is_emty:配置内容为空,适用于 MatchFrom 为 ua , referer;
+ // not_exists:配置内容不存在,适用于 MatchFrom 为 ua , referer。
Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`
// 规则id。仅出参使用。
@@ -8640,17 +9653,20 @@ type IpTableRule struct {
// 更新时间。仅出参使用。
UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
- // 规则启用状态,当返回为null时,为启用。取值有:
+ // 规则启用状态。取值有:
// on:启用;
// off:未启用。
- // 注意:此字段可能返回 null,表示取不到有效值。
+ // 当入参缺省时,按 on 取值。
Status *string `json:"Status,omitnil,omitempty" name:"Status"`
// 规则名。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
- // 匹配内容。当 Operator为is_emty 或not_exists时,此值允许为空。
+ // 匹配内容。支持多值输入。
+ // 当输入多个匹配值时,请使用英文逗号分隔;
+ // 当 MatchFrom 为 ua 时,不支持多值输入;
+ // 当 Operator 为 is_empty 或 not_exists 时,本字段入参值无效。
MatchContent *string `json:"MatchContent,omitnil,omitempty" name:"MatchContent"`
}
@@ -8744,6 +9760,21 @@ type L4Proxy struct {
UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}
+type L4ProxyRemoteAuth struct {
+ // 四层远程鉴权开关,取值有:
+ // on:表示开启;
+ // off:表示关闭。
+ Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
+
+ // 远程鉴权服务地址,格式为: domain/ip:port。例:example.auth.com:8888
+ Address *string `json:"Address,omitnil,omitempty" name:"Address"`
+
+ // 远程鉴权服务不可访问后,经过四层转发规则默认回源行为,取值有:
+ // reject:表示进行拦截,拒绝访问;
+ // allow:表示允许通过。
+ ServerFaultyBehavior *string `json:"ServerFaultyBehavior,omitnil,omitempty" name:"ServerFaultyBehavior"`
+}
+
type L4ProxyRule struct {
// 转发规则 ID。
// 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数请勿填写;在 ModifyL4ProxyRules 作为入参使用时,该参数必填。
@@ -8815,6 +9846,11 @@ type L4ProxyRule struct {
// BuID。
BuId *string `json:"BuId,omitnil,omitempty" name:"BuId"`
+
+ // 远程鉴权信息。
+ // 注意:RemoteAuth 在 CreateL4ProxyRules 或 ModifyL4ProxyRules 不可作为入参使用,如有传此参数,会忽略。在 DescribeL4ProxyRules 返回为空时,表示没有开启远程鉴权。
+ // 注意:此字段可能返回 null,表示取不到有效值。
+ RemoteAuth *L4ProxyRemoteAuth `json:"RemoteAuth,omitnil,omitempty" name:"RemoteAuth"`
}
type L7OfflineLog struct {
@@ -9662,6 +10698,313 @@ func (r *ModifyApplicationProxyStatusResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}
+// Predefined struct for user
+type ModifyCustomErrorPageRequestParams struct {
+ // 自定义错误页面 ID。
+ PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"`
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 自定义错误页名称,名称为2 - 60个字符。
+ Name *string `json:"Name,omitnil,omitempty" name:"Name"`
+
+ // 自定义错误页描述,描述内容不超过60个字符。
+ Description *string `json:"Description,omitnil,omitempty" name:"Description"`
+
+ // 自定义错误页面类型,取值有:text/html。 application/json。plain/text。text/xml。
+ ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"`
+
+ // 自定义错误页面内容。内容不超过 2KB。
+ Content *string `json:"Content,omitnil,omitempty" name:"Content"`
+}
+
+type ModifyCustomErrorPageRequest struct {
+ *tchttp.BaseRequest
+
+ // 自定义错误页面 ID。
+ PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"`
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 自定义错误页名称,名称为2 - 60个字符。
+ Name *string `json:"Name,omitnil,omitempty" name:"Name"`
+
+ // 自定义错误页描述,描述内容不超过60个字符。
+ Description *string `json:"Description,omitnil,omitempty" name:"Description"`
+
+ // 自定义错误页面类型,取值有:text/html。 application/json。plain/text。text/xml。
+ ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"`
+
+ // 自定义错误页面内容。内容不超过 2KB。
+ Content *string `json:"Content,omitnil,omitempty" name:"Content"`
+}
+
+func (r *ModifyCustomErrorPageRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *ModifyCustomErrorPageRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "PageId")
+ delete(f, "ZoneId")
+ delete(f, "Name")
+ delete(f, "Description")
+ delete(f, "ContentType")
+ delete(f, "Content")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyCustomErrorPageRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type ModifyCustomErrorPageResponseParams struct {
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type ModifyCustomErrorPageResponse struct {
+ *tchttp.BaseResponse
+ Response *ModifyCustomErrorPageResponseParams `json:"Response"`
+}
+
+func (r *ModifyCustomErrorPageResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *ModifyCustomErrorPageResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type ModifyFunctionRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 函数 ID。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
+
+ // 函数描述,最大支持 60 个字符,不填写保持原有配置。
+ Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
+
+ // 函数内容,当前仅支持 JavaScript 代码,最大支持 5MB 大小,不填写保持原有配置。
+ Content *string `json:"Content,omitnil,omitempty" name:"Content"`
+}
+
+type ModifyFunctionRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 函数 ID。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
+
+ // 函数描述,最大支持 60 个字符,不填写保持原有配置。
+ Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
+
+ // 函数内容,当前仅支持 JavaScript 代码,最大支持 5MB 大小,不填写保持原有配置。
+ Content *string `json:"Content,omitnil,omitempty" name:"Content"`
+}
+
+func (r *ModifyFunctionRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *ModifyFunctionRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "FunctionId")
+ delete(f, "Remark")
+ delete(f, "Content")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyFunctionRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type ModifyFunctionResponseParams struct {
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type ModifyFunctionResponse struct {
+ *tchttp.BaseResponse
+ Response *ModifyFunctionResponseParams `json:"Response"`
+}
+
+func (r *ModifyFunctionResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *ModifyFunctionResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type ModifyFunctionRulePriorityRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 规则 ID 列表,必须填入调整优先级后的所有规则 ID,多条规则执行顺序依次从上往下,不填写保持原优先级顺序。
+ RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"`
+}
+
+type ModifyFunctionRulePriorityRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 规则 ID 列表,必须填入调整优先级后的所有规则 ID,多条规则执行顺序依次从上往下,不填写保持原优先级顺序。
+ RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"`
+}
+
+func (r *ModifyFunctionRulePriorityRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *ModifyFunctionRulePriorityRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "RuleIds")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyFunctionRulePriorityRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type ModifyFunctionRulePriorityResponseParams struct {
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type ModifyFunctionRulePriorityResponse struct {
+ *tchttp.BaseResponse
+ Response *ModifyFunctionRulePriorityResponseParams `json:"Response"`
+}
+
+func (r *ModifyFunctionRulePriorityResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *ModifyFunctionRulePriorityResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type ModifyFunctionRuleRequestParams struct {
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 规则 ID。
+ RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"`
+
+ // 规则条件列表,相同触发规则的不同条件匹配项之间为或关系,不填写保持原有配置。
+ FunctionRuleConditions []*FunctionRuleCondition `json:"FunctionRuleConditions,omitnil,omitempty" name:"FunctionRuleConditions"`
+
+ // 函数 ID,命中触发规则条件后执行的函数,不填写保持原有配置。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
+
+ // 规则描述,最大支持 60 个字符,不填写保持原有配置。
+ Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
+}
+
+type ModifyFunctionRuleRequest struct {
+ *tchttp.BaseRequest
+
+ // 站点 ID。
+ ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
+
+ // 规则 ID。
+ RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"`
+
+ // 规则条件列表,相同触发规则的不同条件匹配项之间为或关系,不填写保持原有配置。
+ FunctionRuleConditions []*FunctionRuleCondition `json:"FunctionRuleConditions,omitnil,omitempty" name:"FunctionRuleConditions"`
+
+ // 函数 ID,命中触发规则条件后执行的函数,不填写保持原有配置。
+ FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"`
+
+ // 规则描述,最大支持 60 个字符,不填写保持原有配置。
+ Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
+}
+
+func (r *ModifyFunctionRuleRequest) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *ModifyFunctionRuleRequest) FromJsonString(s string) error {
+ f := make(map[string]interface{})
+ if err := json.Unmarshal([]byte(s), &f); err != nil {
+ return err
+ }
+ delete(f, "ZoneId")
+ delete(f, "RuleId")
+ delete(f, "FunctionRuleConditions")
+ delete(f, "FunctionId")
+ delete(f, "Remark")
+ if len(f) > 0 {
+ return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyFunctionRuleRequest has unknown keys!", "")
+ }
+ return json.Unmarshal([]byte(s), &r)
+}
+
+// Predefined struct for user
+type ModifyFunctionRuleResponseParams struct {
+ // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
+}
+
+type ModifyFunctionRuleResponse struct {
+ *tchttp.BaseResponse
+ Response *ModifyFunctionRuleResponseParams `json:"Response"`
+}
+
+func (r *ModifyFunctionRuleResponse) ToJsonString() string {
+ b, _ := json.Marshal(r)
+ return string(b)
+}
+
+// FromJsonString It is highly **NOT** recommended to use this function
+// because it has no param check, nor strict type check
+func (r *ModifyFunctionRuleResponse) FromJsonString(s string) error {
+ return json.Unmarshal([]byte(s), &r)
+}
+
// Predefined struct for user
type ModifyHostsCertificateRequestParams struct {
// 站点 ID。
@@ -9670,13 +11013,14 @@ type ModifyHostsCertificateRequestParams struct {
// 需要修改证书配置的加速域名。
Hosts []*string `json:"Hosts,omitnil,omitempty" name:"Hosts"`
- // 配置证书的模式,取值有:
- // disable:不配置证书;
- // eofreecert:配置 EdgeOne 免费证书;
- // sslcert:配置 SSL 证书。不填时默认取值为 disable。
+ // 配置服务端证书的模式,取值有:
+ // disable:不配置服务端证书;
+ // eofreecert:配置 EdgeOne 免费服务端证书;
+ // sslcert:配置 SSL 托管服务端证书;
+ // 不填写表示服务端证书保持原有配置。
Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`
- // SSL 证书配置,本参数仅在 mode = sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
+ // SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
ServerCertInfo []*ServerCertInfo `json:"ServerCertInfo,omitnil,omitempty" name:"ServerCertInfo"`
// 托管类型,取值有:
@@ -9686,6 +11030,10 @@ type ModifyHostsCertificateRequestParams struct {
//
// Deprecated: ApplyType is deprecated.
ApplyType *string `json:"ApplyType,omitnil,omitempty" name:"ApplyType"`
+
+ // 边缘双向认证配置。
+ // 不填写表示边缘双向认证保持原有配置。
+ ClientCertInfo *MutualTLS `json:"ClientCertInfo,omitnil,omitempty" name:"ClientCertInfo"`
}
type ModifyHostsCertificateRequest struct {
@@ -9697,13 +11045,14 @@ type ModifyHostsCertificateRequest struct {
// 需要修改证书配置的加速域名。
Hosts []*string `json:"Hosts,omitnil,omitempty" name:"Hosts"`
- // 配置证书的模式,取值有:
- // disable:不配置证书;
- // eofreecert:配置 EdgeOne 免费证书;
- // sslcert:配置 SSL 证书。不填时默认取值为 disable。
+ // 配置服务端证书的模式,取值有:
+ // disable:不配置服务端证书;
+ // eofreecert:配置 EdgeOne 免费服务端证书;
+ // sslcert:配置 SSL 托管服务端证书;
+ // 不填写表示服务端证书保持原有配置。
Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`
- // SSL 证书配置,本参数仅在 mode = sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
+ // SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
ServerCertInfo []*ServerCertInfo `json:"ServerCertInfo,omitnil,omitempty" name:"ServerCertInfo"`
// 托管类型,取值有:
@@ -9711,6 +11060,10 @@ type ModifyHostsCertificateRequest struct {
// apply:托管EO
// 不填,默认取值为none。
ApplyType *string `json:"ApplyType,omitnil,omitempty" name:"ApplyType"`
+
+ // 边缘双向认证配置。
+ // 不填写表示边缘双向认证保持原有配置。
+ ClientCertInfo *MutualTLS `json:"ClientCertInfo,omitnil,omitempty" name:"ClientCertInfo"`
}
func (r *ModifyHostsCertificateRequest) ToJsonString() string {
@@ -9730,6 +11083,7 @@ func (r *ModifyHostsCertificateRequest) FromJsonString(s string) error {
delete(f, "Mode")
delete(f, "ServerCertInfo")
delete(f, "ApplyType")
+ delete(f, "ClientCertInfo")
if len(f) > 0 {
return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyHostsCertificateRequest has unknown keys!", "")
}
@@ -10250,6 +11604,7 @@ type ModifyRealtimeLogDeliveryTaskRequestParams struct {
Sample *uint64 `json:"Sample,omitnil,omitempty" name:"Sample"`
// 日志投递的输出格式。不填保持原有配置。
+ // 特别地,当 TaskType 取值为 cls 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。
LogFormat *LogFormat `json:"LogFormat,omitnil,omitempty" name:"LogFormat"`
// 自定义 HTTP 服务的配置信息,不填保持原有配置。
@@ -10294,6 +11649,7 @@ type ModifyRealtimeLogDeliveryTaskRequest struct {
Sample *uint64 `json:"Sample,omitnil,omitempty" name:"Sample"`
// 日志投递的输出格式。不填保持原有配置。
+ // 特别地,当 TaskType 取值为 cls 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。
LogFormat *LogFormat `json:"LogFormat,omitnil,omitempty" name:"LogFormat"`
// 自定义 HTTP 服务的配置信息,不填保持原有配置。
@@ -10618,8 +11974,9 @@ type ModifyZoneRequestParams struct {
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// 站点接入方式,取值有:
- // full:NS 接入;
- // partial:CNAME 接入,如果站点当前是无域名接入,仅支持切换到CNAME接入。不填写保持原有配置。
+ // full:NS 接入;
+ // partial:CNAME 接入,如果站点当前是无域名接入,仅支持切换到 CNAME 接入;
+ // dnsPodAccess:DNSPod 托管接入,该接入模式要求您的域名已托管在 DNSPod 内。不填写保持原有配置。
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// 自定义站点信息,以替代系统默认分配的名称服务器。不填写保持原有配置。当站点是无域名接入方式时不允许传此参数。
@@ -10645,8 +12002,9 @@ type ModifyZoneRequest struct {
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// 站点接入方式,取值有:
- // full:NS 接入;
- // partial:CNAME 接入,如果站点当前是无域名接入,仅支持切换到CNAME接入。不填写保持原有配置。
+ // full:NS 接入;
+ // partial:CNAME 接入,如果站点当前是无域名接入,仅支持切换到 CNAME 接入;
+ // dnsPodAccess:DNSPod 托管接入,该接入模式要求您的域名已托管在 DNSPod 内。不填写保持原有配置。
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// 自定义站点信息,以替代系统默认分配的名称服务器。不填写保持原有配置。当站点是无域名接入方式时不允许传此参数。
@@ -11008,6 +12366,17 @@ func (r *ModifyZoneStatusResponse) FromJsonString(s string) error {
return json.Unmarshal([]byte(s), &r)
}
+type MutualTLS struct {
+ // 双向认证配置开关,取值有:
+ // on:开启;
+ // off:关闭。
+ Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
+
+ // 双向认证证书列表。
+ // 注意:MutualTLS 在 ModifyHostsCertificate 作为入参使用时,该参数传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
+ CertInfos []*CertificateInfo `json:"CertInfos,omitnil,omitempty" name:"CertInfos"`
+}
+
type NoCache struct {
// 不缓存配置开关,取值有:
// on:开启;
@@ -11064,7 +12433,7 @@ type OriginDetail struct {
// COS:腾讯云 COS 对象存储源站;
// AWS_S3:AWS S3 对象存储源站;
// ORIGIN_GROUP:源站组类型源站;
- // VODEO:云点播(混合云版);
+ // VOD:云点播;
// SPACE:源站卸载,当前仅白名单开放;
// LB:负载均衡,当前仅白名单开放。
OriginType *string `json:"OriginType,omitnil,omitempty" name:"OriginType"`
@@ -11074,7 +12443,7 @@ type OriginDetail struct {
// 当 OriginType = COS 时,该参数为 COS 桶的访问域名;
// 当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;
// 当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;
- // 当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。
+ // 当 OriginType = VOD 时,该参数请填写云点播应用 ID ;
Origin *string `json:"Origin,omitnil,omitempty" name:"Origin"`
// 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。
@@ -11097,12 +12466,18 @@ type OriginDetail struct {
PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitnil,omitempty" name:"PrivateParameters"`
// MO 子应用 ID
+ //
+ // Deprecated: VodeoSubAppId is deprecated.
VodeoSubAppId *int64 `json:"VodeoSubAppId,omitnil,omitempty" name:"VodeoSubAppId"`
// MO 分发范围,取值有: All:全部 Bucket:存储桶
+ //
+ // Deprecated: VodeoDistributionRange is deprecated.
VodeoDistributionRange *string `json:"VodeoDistributionRange,omitnil,omitempty" name:"VodeoDistributionRange"`
// MO 存储桶 ID,分发范围(DistributionRange)为存储桶(Bucket)时必填
+ //
+ // Deprecated: VodeoBucketId is deprecated.
VodeoBucketId *string `json:"VodeoBucketId,omitnil,omitempty" name:"VodeoBucketId"`
}
@@ -11156,7 +12531,7 @@ type OriginInfo struct {
// COS:腾讯云 COS 对象存储源站;
// AWS_S3:AWS S3 对象存储源站;
// ORIGIN_GROUP:源站组类型源站;
- // VODEO:云点播(混合云版);
+ // VOD:云点播;
// SPACE:源站卸载,当前仅白名单开放;
// LB:负载均衡,当前仅白名单开放。
OriginType *string `json:"OriginType,omitnil,omitempty" name:"OriginType"`
@@ -11166,7 +12541,7 @@ type OriginInfo struct {
// 当 OriginType = COS 时,该参数请填写 COS 桶的访问域名;
// 当 OriginType = AWS_S3,该参数请填写 S3 桶的访问域名;
// 当 OriginType = ORIGIN_GROUP 时,该参数请填写源站组 ID;
- // 当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数填写 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数请填写对应存储桶域名;
+ // 当 OriginType = VOD 时,该参数请填写云点播应用 ID ;
// 当 OriginType = LB 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;
// 当 OriginType = SPACE 时,该参数请填写源站卸载空间 ID,该功能当前仅白名单开放。
Origin *string `json:"Origin,omitnil,omitempty" name:"Origin"`
@@ -11184,14 +12559,20 @@ type OriginInfo struct {
PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitnil,omitempty" name:"PrivateParameters"`
// VODEO 子应用 ID。该参数当 OriginType = VODEO 时必填。
+ //
+ // Deprecated: VodeoSubAppId is deprecated.
VodeoSubAppId *int64 `json:"VodeoSubAppId,omitnil,omitempty" name:"VodeoSubAppId"`
// VODEO 分发范围,该参数当 OriginType = VODEO 时必填。取值有:
// All:当前应用下所有存储桶;
- // Bucket:指定的某一个存储桶。
+ // Bucket:指定的某一个存储桶。
+ //
+ // Deprecated: VodeoDistributionRange is deprecated.
VodeoDistributionRange *string `json:"VodeoDistributionRange,omitnil,omitempty" name:"VodeoDistributionRange"`
// VODEO 存储桶 ID,该参数当 OriginType = VODEO 且 VodeoDistributionRange = Bucket 时必填。
+ //
+ // Deprecated: VodeoBucketId is deprecated.
VodeoBucketId *string `json:"VodeoBucketId,omitnil,omitempty" name:"VodeoBucketId"`
}
@@ -11781,14 +13162,14 @@ type RewriteAction struct {
}
type Rule struct {
- // 执行的功能。
- Actions []*Action `json:"Actions,omitnil,omitempty" name:"Actions"`
-
// 执行功能判断条件。
// 注意:满足该数组内任意一项条件,功能即可执行。
Conditions []*RuleAndConditions `json:"Conditions,omitnil,omitempty" name:"Conditions"`
- // 嵌套规则。
+ // 执行的功能。注意:Actions 和 SubRules 不可都为空
+ Actions []*Action `json:"Actions,omitnil,omitempty" name:"Actions"`
+
+ // 嵌套规则。注意:SubRules 和 Actions 不可都为空
SubRules []*SubRuleItem `json:"SubRules,omitnil,omitempty" name:"SubRules"`
}
@@ -12317,6 +13698,12 @@ type Task struct {
// 任务类型。
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
+ // 节点缓存清除方法,取值有:
+ // invalidate:标记过期,用户请求时触发回源校验,即发送带有 If-None-Match 和 If-Modified-Since 头部的 HTTP 条件请求。若源站响应 200,则节点会回源拉取新的资源并更新缓存;若源站响应 304,则节点不会更新缓存;
+ // delete:直接删除节点缓存,用户请求时触发回源拉取资源。
+ // 注意:此字段可能返回 null,表示取不到有效值。
+ Method *string `json:"Method,omitnil,omitempty" name:"Method"`
+
// 状态。取值有:
// processing:处理中;
// success:成功;
@@ -12350,7 +13737,7 @@ type TemplateScope struct {
}
type TimingDataItem struct {
- // 返回数据对应时间点,采用unix秒级时间戳。
+ // 返回数据对应时间点,采用 unix 秒级时间戳。
Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`
// 具体数值。
@@ -12657,7 +14044,6 @@ type Zone struct {
// full:NS 接入;
// partial:CNAME 接入;
// noDomainAccess:无域名接入;
- // vodeo:开启 VODEO 后默认接入。
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// 站点是否关闭。
diff --git a/vendor/modules.txt b/vendor/modules.txt
index e35154ef38..f65ef02313 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -1163,7 +1163,7 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit/v20190319
# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.970
## explicit; go 1.14
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls/v20201016
-# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1012
+# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1013
## explicit; go 1.11
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors
@@ -1315,7 +1315,7 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq/v20200217
# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem v1.0.578
## explicit; go 1.14
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem/v20210701
-# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo v1.0.912
+# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo v1.0.1013
## explicit; go 1.14
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo/v20220901
# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/thpc v1.0.998