tencentcloud-sdk-tcb 3.0.602 → 3.0.603

Sign up to get free protection for your applications and to get access to all the features.
@@ -215,6 +215,34 @@ module TencentCloud
215
215
  end
216
216
  end
217
217
 
218
+ # 封禁配置
219
+ class BanConfig < TencentCloud::Common::AbstractModel
220
+ # @param IpWhiteList: ip白名单,支持ipv4、ipv6,支持CIDR
221
+ # @type IpWhiteList: Array
222
+ # @param IpBlackList: ip黑名单,支持ipv4、ipv6,支持CIDR
223
+ # @type IpBlackList: Array
224
+ # @param CountryWhiteList: 地域白名单(国家英文名)
225
+ # @type CountryWhiteList: Array
226
+ # @param CountryBlackList: 地域黑名单(国家英文名)
227
+ # @type CountryBlackList: Array
228
+
229
+ attr_accessor :IpWhiteList, :IpBlackList, :CountryWhiteList, :CountryBlackList
230
+
231
+ def initialize(ipwhitelist=nil, ipblacklist=nil, countrywhitelist=nil, countryblacklist=nil)
232
+ @IpWhiteList = ipwhitelist
233
+ @IpBlackList = ipblacklist
234
+ @CountryWhiteList = countrywhitelist
235
+ @CountryBlackList = countryblacklist
236
+ end
237
+
238
+ def deserialize(params)
239
+ @IpWhiteList = params['IpWhiteList']
240
+ @IpBlackList = params['IpBlackList']
241
+ @CountryWhiteList = params['CountryWhiteList']
242
+ @CountryBlackList = params['CountryBlackList']
243
+ end
244
+ end
245
+
218
246
  # BindEnvGateway请求参数结构体
219
247
  class BindEnvGatewayRequest < TencentCloud::Common::AbstractModel
220
248
  # @param SubEnvId: 子环境id
@@ -247,6 +275,60 @@ module TencentCloud
247
275
  end
248
276
  end
249
277
 
278
+ # 代码包信息
279
+ class CbrPackageInfo < TencentCloud::Common::AbstractModel
280
+ # @param PackageName: 代码包名称
281
+ # 注意:此字段可能返回 null,表示取不到有效值。
282
+ # @type PackageName: String
283
+ # @param PackageVersion: 代码包版本
284
+ # 注意:此字段可能返回 null,表示取不到有效值。
285
+ # @type PackageVersion: String
286
+
287
+ attr_accessor :PackageName, :PackageVersion
288
+
289
+ def initialize(packagename=nil, packageversion=nil)
290
+ @PackageName = packagename
291
+ @PackageVersion = packageversion
292
+ end
293
+
294
+ def deserialize(params)
295
+ @PackageName = params['PackageName']
296
+ @PackageVersion = params['PackageVersion']
297
+ end
298
+ end
299
+
300
+ # 仓库信息
301
+ class CbrRepoInfo < TencentCloud::Common::AbstractModel
302
+ # @param Repo: 仓库名称
303
+ # 注意:此字段可能返回 null,表示取不到有效值。
304
+ # @type Repo: String
305
+ # @param RepoType: 仓库平台
306
+ # 注意:此字段可能返回 null,表示取不到有效值。
307
+ # @type RepoType: String
308
+ # @param RepoLanguage: 仓库语言
309
+ # 注意:此字段可能返回 null,表示取不到有效值。
310
+ # @type RepoLanguage: String
311
+ # @param Branch: 分支名称
312
+ # 注意:此字段可能返回 null,表示取不到有效值。
313
+ # @type Branch: String
314
+
315
+ attr_accessor :Repo, :RepoType, :RepoLanguage, :Branch
316
+
317
+ def initialize(repo=nil, repotype=nil, repolanguage=nil, branch=nil)
318
+ @Repo = repo
319
+ @RepoType = repotype
320
+ @RepoLanguage = repolanguage
321
+ @Branch = branch
322
+ end
323
+
324
+ def deserialize(params)
325
+ @Repo = params['Repo']
326
+ @RepoType = params['RepoType']
327
+ @RepoLanguage = params['RepoLanguage']
328
+ @Branch = params['Branch']
329
+ end
330
+ end
331
+
250
332
  # CheckTcbService请求参数结构体
251
333
  class CheckTcbServiceRequest < TencentCloud::Common::AbstractModel
252
334
 
@@ -1974,7 +2056,7 @@ module TencentCloud
1974
2056
  # <li>miniapp</li>
1975
2057
  # <li>qcloud</li>
1976
2058
  # @type Source: String
1977
- # @param FreeQuota: 用户享有的免费额度级别,目前只能为“basic”,不传该字段或该字段为空,标识不享受免费额度。
2059
+ # @param FreeQuota: 用户享有的免费额度级别,目前只能为“basic”,不传该字段或该字段为空,表示不享受免费额度。
1978
2060
  # @type FreeQuota: String
1979
2061
  # @param EnvSource: 环境创建来源,取值:
1980
2062
  # <li>miniapp</li>
@@ -2276,6 +2358,42 @@ module TencentCloud
2276
2358
  end
2277
2359
  end
2278
2360
 
2361
+ # 安全网关自定义日志配置
2362
+ class CustomLogConfig < TencentCloud::Common::AbstractModel
2363
+ # @param NeedReqBodyLog: 是否需要请求体
2364
+ # @type NeedReqBodyLog: Boolean
2365
+ # @param NeedReqHeaderLog: 是否需要请求头
2366
+ # @type NeedReqHeaderLog: Boolean
2367
+ # @param NeedRspBodyLog: 是否需要回包体
2368
+ # @type NeedRspBodyLog: Boolean
2369
+ # @param NeedRspHeaderLog: 是否需要回包头部信息
2370
+ # @type NeedRspHeaderLog: Boolean
2371
+ # @param LogSetId: cls set信息
2372
+ # @type LogSetId: String
2373
+ # @param LogTopicId: cls topicId
2374
+ # @type LogTopicId: String
2375
+
2376
+ attr_accessor :NeedReqBodyLog, :NeedReqHeaderLog, :NeedRspBodyLog, :NeedRspHeaderLog, :LogSetId, :LogTopicId
2377
+
2378
+ def initialize(needreqbodylog=nil, needreqheaderlog=nil, needrspbodylog=nil, needrspheaderlog=nil, logsetid=nil, logtopicid=nil)
2379
+ @NeedReqBodyLog = needreqbodylog
2380
+ @NeedReqHeaderLog = needreqheaderlog
2381
+ @NeedRspBodyLog = needrspbodylog
2382
+ @NeedRspHeaderLog = needrspheaderlog
2383
+ @LogSetId = logsetid
2384
+ @LogTopicId = logtopicid
2385
+ end
2386
+
2387
+ def deserialize(params)
2388
+ @NeedReqBodyLog = params['NeedReqBodyLog']
2389
+ @NeedReqHeaderLog = params['NeedReqHeaderLog']
2390
+ @NeedRspBodyLog = params['NeedRspBodyLog']
2391
+ @NeedRspHeaderLog = params['NeedRspHeaderLog']
2392
+ @LogSetId = params['LogSetId']
2393
+ @LogTopicId = params['LogTopicId']
2394
+ end
2395
+ end
2396
+
2279
2397
  # 数据库资源信息
2280
2398
  class DatabasesInfo < TencentCloud::Common::AbstractModel
2281
2399
  # @param InstanceId: 数据库唯一标识
@@ -2443,6 +2561,66 @@ module TencentCloud
2443
2561
  end
2444
2562
  end
2445
2563
 
2564
+ # DeleteGatewayVersion请求参数结构体
2565
+ class DeleteGatewayVersionRequest < TencentCloud::Common::AbstractModel
2566
+ # @param EnvId: 环境id
2567
+ # @type EnvId: String
2568
+ # @param GatewayId: 网关id
2569
+ # @type GatewayId: String
2570
+ # @param VersionName: 版本名
2571
+ # @type VersionName: String
2572
+ # @param IsDeleteServer: 是否删除服务
2573
+ # @type IsDeleteServer: Boolean
2574
+ # @param IsDeleteImage: 是否删除镜像
2575
+ # @type IsDeleteImage: Boolean
2576
+ # @param IsForce: 是否强制删除
2577
+ # @type IsForce: Boolean
2578
+ # @param OperatorRemark: 操作记录
2579
+ # @type OperatorRemark: String
2580
+
2581
+ attr_accessor :EnvId, :GatewayId, :VersionName, :IsDeleteServer, :IsDeleteImage, :IsForce, :OperatorRemark
2582
+
2583
+ def initialize(envid=nil, gatewayid=nil, versionname=nil, isdeleteserver=nil, isdeleteimage=nil, isforce=nil, operatorremark=nil)
2584
+ @EnvId = envid
2585
+ @GatewayId = gatewayid
2586
+ @VersionName = versionname
2587
+ @IsDeleteServer = isdeleteserver
2588
+ @IsDeleteImage = isdeleteimage
2589
+ @IsForce = isforce
2590
+ @OperatorRemark = operatorremark
2591
+ end
2592
+
2593
+ def deserialize(params)
2594
+ @EnvId = params['EnvId']
2595
+ @GatewayId = params['GatewayId']
2596
+ @VersionName = params['VersionName']
2597
+ @IsDeleteServer = params['IsDeleteServer']
2598
+ @IsDeleteImage = params['IsDeleteImage']
2599
+ @IsForce = params['IsForce']
2600
+ @OperatorRemark = params['OperatorRemark']
2601
+ end
2602
+ end
2603
+
2604
+ # DeleteGatewayVersion返回参数结构体
2605
+ class DeleteGatewayVersionResponse < TencentCloud::Common::AbstractModel
2606
+ # @param Result: 删除结果
2607
+ # @type Result: String
2608
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2609
+ # @type RequestId: String
2610
+
2611
+ attr_accessor :Result, :RequestId
2612
+
2613
+ def initialize(result=nil, requestid=nil)
2614
+ @Result = result
2615
+ @RequestId = requestid
2616
+ end
2617
+
2618
+ def deserialize(params)
2619
+ @Result = params['Result']
2620
+ @RequestId = params['RequestId']
2621
+ end
2622
+ end
2623
+
2446
2624
  # DeleteWxGatewayRoute请求参数结构体
2447
2625
  class DeleteWxGatewayRouteRequest < TencentCloud::Common::AbstractModel
2448
2626
  # @param EnvId: 环境id
@@ -2603,7 +2781,7 @@ module TencentCloud
2603
2781
 
2604
2782
  # DescribeAuthDomains返回参数结构体
2605
2783
  class DescribeAuthDomainsResponse < TencentCloud::Common::AbstractModel
2606
- # @param Domains: 安全域名列表列表
2784
+ # @param Domains: 安全域名列表
2607
2785
  # @type Domains: Array
2608
2786
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2609
2787
  # @type RequestId: String
@@ -2705,171 +2883,418 @@ module TencentCloud
2705
2883
  end
2706
2884
  end
2707
2885
 
2708
- # DescribeCloudBaseBuildService请求参数结构体
2709
- class DescribeCloudBaseBuildServiceRequest < TencentCloud::Common::AbstractModel
2710
- # @param EnvId: 环境id
2886
+ # DescribeBillingInfo请求参数结构体
2887
+ class DescribeBillingInfoRequest < TencentCloud::Common::AbstractModel
2888
+ # @param EnvId: 环境ID
2711
2889
  # @type EnvId: String
2712
- # @param ServiceName: 服务名
2713
- # @type ServiceName: String
2714
- # @param CIBusiness: build类型,枚举值有: cloudbaserun, framework-ci
2715
- # @type CIBusiness: String
2716
- # @param ServiceVersion: 服务版本
2717
- # @type ServiceVersion: String
2718
- # @param Suffix: 文件后缀
2719
- # @type Suffix: String
2720
2890
 
2721
- attr_accessor :EnvId, :ServiceName, :CIBusiness, :ServiceVersion, :Suffix
2891
+ attr_accessor :EnvId
2722
2892
 
2723
- def initialize(envid=nil, servicename=nil, cibusiness=nil, serviceversion=nil, suffix=nil)
2893
+ def initialize(envid=nil)
2724
2894
  @EnvId = envid
2725
- @ServiceName = servicename
2726
- @CIBusiness = cibusiness
2727
- @ServiceVersion = serviceversion
2728
- @Suffix = suffix
2729
2895
  end
2730
2896
 
2731
2897
  def deserialize(params)
2732
2898
  @EnvId = params['EnvId']
2733
- @ServiceName = params['ServiceName']
2734
- @CIBusiness = params['CIBusiness']
2735
- @ServiceVersion = params['ServiceVersion']
2736
- @Suffix = params['Suffix']
2737
2899
  end
2738
2900
  end
2739
2901
 
2740
- # DescribeCloudBaseBuildService返回参数结构体
2741
- class DescribeCloudBaseBuildServiceResponse < TencentCloud::Common::AbstractModel
2742
- # @param UploadUrl: 上传url
2743
- # @type UploadUrl: String
2744
- # @param UploadHeaders: 上传heder
2745
- # @type UploadHeaders: Array
2746
- # @param PackageName: 包名
2747
- # @type PackageName: String
2748
- # @param PackageVersion: 包版本
2749
- # @type PackageVersion: String
2750
- # @param DownloadUrl: 下载链接
2751
- # 注意:此字段可能返回 null,表示取不到有效值。
2752
- # @type DownloadUrl: String
2753
- # @param DownloadHeaders: 下载Httpheader
2754
- # 注意:此字段可能返回 null,表示取不到有效值。
2755
- # @type DownloadHeaders: Array
2756
- # @param OutDate: 下载链接是否过期
2757
- # 注意:此字段可能返回 null,表示取不到有效值。
2758
- # @type OutDate: Boolean
2902
+ # DescribeBillingInfo返回参数结构体
2903
+ class DescribeBillingInfoResponse < TencentCloud::Common::AbstractModel
2904
+ # @param EnvBillingInfoList: 环境计费信息列表
2905
+ # @type EnvBillingInfoList: Array
2759
2906
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2760
2907
  # @type RequestId: String
2761
2908
 
2762
- attr_accessor :UploadUrl, :UploadHeaders, :PackageName, :PackageVersion, :DownloadUrl, :DownloadHeaders, :OutDate, :RequestId
2909
+ attr_accessor :EnvBillingInfoList, :RequestId
2763
2910
 
2764
- def initialize(uploadurl=nil, uploadheaders=nil, packagename=nil, packageversion=nil, downloadurl=nil, downloadheaders=nil, outdate=nil, requestid=nil)
2765
- @UploadUrl = uploadurl
2766
- @UploadHeaders = uploadheaders
2767
- @PackageName = packagename
2768
- @PackageVersion = packageversion
2769
- @DownloadUrl = downloadurl
2770
- @DownloadHeaders = downloadheaders
2771
- @OutDate = outdate
2911
+ def initialize(envbillinginfolist=nil, requestid=nil)
2912
+ @EnvBillingInfoList = envbillinginfolist
2772
2913
  @RequestId = requestid
2773
2914
  end
2774
2915
 
2775
2916
  def deserialize(params)
2776
- @UploadUrl = params['UploadUrl']
2777
- unless params['UploadHeaders'].nil?
2778
- @UploadHeaders = []
2779
- params['UploadHeaders'].each do |i|
2780
- kvpair_tmp = KVPair.new
2781
- kvpair_tmp.deserialize(i)
2782
- @UploadHeaders << kvpair_tmp
2783
- end
2784
- end
2785
- @PackageName = params['PackageName']
2786
- @PackageVersion = params['PackageVersion']
2787
- @DownloadUrl = params['DownloadUrl']
2788
- unless params['DownloadHeaders'].nil?
2789
- @DownloadHeaders = []
2790
- params['DownloadHeaders'].each do |i|
2791
- kvpair_tmp = KVPair.new
2792
- kvpair_tmp.deserialize(i)
2793
- @DownloadHeaders << kvpair_tmp
2917
+ unless params['EnvBillingInfoList'].nil?
2918
+ @EnvBillingInfoList = []
2919
+ params['EnvBillingInfoList'].each do |i|
2920
+ envbillinginfoitem_tmp = EnvBillingInfoItem.new
2921
+ envbillinginfoitem_tmp.deserialize(i)
2922
+ @EnvBillingInfoList << envbillinginfoitem_tmp
2794
2923
  end
2795
2924
  end
2796
- @OutDate = params['OutDate']
2797
2925
  @RequestId = params['RequestId']
2798
2926
  end
2799
2927
  end
2800
2928
 
2801
- # DescribeCloudBaseProjectLatestVersionList请求参数结构体
2802
- class DescribeCloudBaseProjectLatestVersionListRequest < TencentCloud::Common::AbstractModel
2803
- # @param Offset: 偏移量
2804
- # @type Offset: Integer
2805
- # @param PageSize: 个数
2806
- # @type PageSize: Integer
2807
- # @param EnvId: 环境id, 非必填
2929
+ # DescribeCbrServerVersion请求参数结构体
2930
+ class DescribeCbrServerVersionRequest < TencentCloud::Common::AbstractModel
2931
+ # @param EnvId: 环境ID
2808
2932
  # @type EnvId: String
2809
- # @param ProjectName: 项目名称, 非必填
2810
- # @type ProjectName: String
2811
- # @param ProjectType: 项目类型: framework-oneclick,qci-extension-cicd
2812
- # @type ProjectType: String
2813
- # @param Tags: 标签
2814
- # @type Tags: Array
2815
- # @param CiId: ci的id
2816
- # @type CiId: String
2933
+ # @param ServerName: 服务名称
2934
+ # @type ServerName: String
2935
+ # @param VersionName: 版本名称
2936
+ # @type VersionName: String
2817
2937
 
2818
- attr_accessor :Offset, :PageSize, :EnvId, :ProjectName, :ProjectType, :Tags, :CiId
2938
+ attr_accessor :EnvId, :ServerName, :VersionName
2819
2939
 
2820
- def initialize(offset=nil, pagesize=nil, envid=nil, projectname=nil, projecttype=nil, tags=nil, ciid=nil)
2821
- @Offset = offset
2822
- @PageSize = pagesize
2940
+ def initialize(envid=nil, servername=nil, versionname=nil)
2823
2941
  @EnvId = envid
2824
- @ProjectName = projectname
2825
- @ProjectType = projecttype
2826
- @Tags = tags
2827
- @CiId = ciid
2942
+ @ServerName = servername
2943
+ @VersionName = versionname
2828
2944
  end
2829
2945
 
2830
2946
  def deserialize(params)
2831
- @Offset = params['Offset']
2832
- @PageSize = params['PageSize']
2833
2947
  @EnvId = params['EnvId']
2834
- @ProjectName = params['ProjectName']
2835
- @ProjectType = params['ProjectType']
2836
- @Tags = params['Tags']
2837
- @CiId = params['CiId']
2948
+ @ServerName = params['ServerName']
2949
+ @VersionName = params['VersionName']
2838
2950
  end
2839
2951
  end
2840
2952
 
2841
- # DescribeCloudBaseProjectLatestVersionList返回参数结构体
2842
- class DescribeCloudBaseProjectLatestVersionListResponse < TencentCloud::Common::AbstractModel
2843
- # @param ProjectList: 项目列表
2953
+ # DescribeCbrServerVersion返回参数结构体
2954
+ class DescribeCbrServerVersionResponse < TencentCloud::Common::AbstractModel
2955
+ # @param VersionName: 版本名称
2956
+ # @type VersionName: String
2957
+ # @param Remark: 备注
2844
2958
  # 注意:此字段可能返回 null,表示取不到有效值。
2845
- # @type ProjectList: Array
2846
- # @param TotalCount: 总数
2959
+ # @type Remark: String
2960
+ # @param DockerfilePath: Dockefile的路径
2847
2961
  # 注意:此字段可能返回 null,表示取不到有效值。
2848
- # @type TotalCount: Integer
2849
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2850
- # @type RequestId: String
2851
-
2852
- attr_accessor :ProjectList, :TotalCount, :RequestId
2853
-
2854
- def initialize(projectlist=nil, totalcount=nil, requestid=nil)
2855
- @ProjectList = projectlist
2856
- @TotalCount = totalcount
2857
- @RequestId = requestid
2858
- end
2859
-
2860
- def deserialize(params)
2861
- unless params['ProjectList'].nil?
2862
- @ProjectList = []
2863
- params['ProjectList'].each do |i|
2864
- cloudbaseprojectversion_tmp = CloudBaseProjectVersion.new
2865
- cloudbaseprojectversion_tmp.deserialize(i)
2866
- @ProjectList << cloudbaseprojectversion_tmp
2867
- end
2868
- end
2869
- @TotalCount = params['TotalCount']
2870
- @RequestId = params['RequestId']
2871
- end
2872
- end
2962
+ # @type DockerfilePath: String
2963
+ # @param BuildDir: DockerBuild的目录
2964
+ # 注意:此字段可能返回 null,表示取不到有效值。
2965
+ # @type BuildDir: String
2966
+ # @param Cpu: Cpu大小
2967
+ # @type Cpu: Float
2968
+ # @param Mem: Mem大小
2969
+ # @type Mem: Float
2970
+ # @param MinNum: 副本最小值
2971
+ # @type MinNum: Integer
2972
+ # @param MaxNum: 副本最大值
2973
+ # @type MaxNum: Integer
2974
+ # @param EnvParams: 环境变量
2975
+ # 注意:此字段可能返回 null,表示取不到有效值。
2976
+ # @type EnvParams: String
2977
+ # @param CreatedTime: 创建时间
2978
+ # @type CreatedTime: String
2979
+ # @param UpdatedTime: 更新时间
2980
+ # @type UpdatedTime: String
2981
+ # @param VersionIP: 版本的IP
2982
+ # 注意:此字段可能返回 null,表示取不到有效值。
2983
+ # @type VersionIP: String
2984
+ # @param VersionPort: 版本的端口号
2985
+ # 注意:此字段可能返回 null,表示取不到有效值。
2986
+ # @type VersionPort: Integer
2987
+ # @param Status: 版本状态
2988
+ # 注意:此字段可能返回 null,表示取不到有效值。
2989
+ # @type Status: String
2990
+ # @param UploadType: 枚举(package/repository/image)
2991
+ # 注意:此字段可能返回 null,表示取不到有效值。
2992
+ # @type UploadType: String
2993
+ # @param ServerName: 服务名字
2994
+ # 注意:此字段可能返回 null,表示取不到有效值。
2995
+ # @type ServerName: String
2996
+ # @param IsPublic: 是否对于外网开放
2997
+ # 注意:此字段可能返回 null,表示取不到有效值。
2998
+ # @type IsPublic: Boolean
2999
+ # @param VpcId: vpc id
3000
+ # 注意:此字段可能返回 null,表示取不到有效值。
3001
+ # @type VpcId: String
3002
+ # @param SubnetIds: 子网实例id
3003
+ # 注意:此字段可能返回 null,表示取不到有效值。
3004
+ # @type SubnetIds: Array
3005
+ # @param CustomLogs: 日志采集路径
3006
+ # 注意:此字段可能返回 null,表示取不到有效值。
3007
+ # @type CustomLogs: String
3008
+ # @param ContainerPort: 监听端口
3009
+ # 注意:此字段可能返回 null,表示取不到有效值。
3010
+ # @type ContainerPort: Integer
3011
+ # @param InitialDelaySeconds: 延迟多长时间开始健康检查(单位s)
3012
+ # 注意:此字段可能返回 null,表示取不到有效值。
3013
+ # @type InitialDelaySeconds: Integer
3014
+ # @param ImageUrl: 镜像地址
3015
+ # 注意:此字段可能返回 null,表示取不到有效值。
3016
+ # @type ImageUrl: String
3017
+ # @param HasDockerfile: 是否有Dockerfile:0-default has, 1-has, 2-has not
3018
+ # 注意:此字段可能返回 null,表示取不到有效值。
3019
+ # @type HasDockerfile: Integer
3020
+ # @param BaseImage: 基础镜像
3021
+ # 注意:此字段可能返回 null,表示取不到有效值。
3022
+ # @type BaseImage: String
3023
+ # @param EntryPoint: 容器启动入口命令
3024
+ # 注意:此字段可能返回 null,表示取不到有效值。
3025
+ # @type EntryPoint: String
3026
+ # @param PolicyDetail: 自动扩缩容策略组
3027
+ # 注意:此字段可能返回 null,表示取不到有效值。
3028
+ # @type PolicyDetail: Array
3029
+ # @param TkeClusterInfo: Tke集群信息
3030
+ # 注意:此字段可能返回 null,表示取不到有效值。
3031
+ # @type TkeClusterInfo: :class:`Tencentcloud::Tcb.v20180608.models.TkeClusterInfo`
3032
+ # @param TkeWorkloadType: 版本工作负载类型;deployment/deamonset
3033
+ # 注意:此字段可能返回 null,表示取不到有效值。
3034
+ # @type TkeWorkloadType: String
3035
+ # @param PackageInfo: 代码包信息
3036
+ # 注意:此字段可能返回 null,表示取不到有效值。
3037
+ # @type PackageInfo: :class:`Tencentcloud::Tcb.v20180608.models.CbrPackageInfo`
3038
+ # @param RepoInfo: 仓库信息
3039
+ # 注意:此字段可能返回 null,表示取不到有效值。
3040
+ # @type RepoInfo: :class:`Tencentcloud::Tcb.v20180608.models.CbrRepoInfo`
3041
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3042
+ # @type RequestId: String
3043
+
3044
+ attr_accessor :VersionName, :Remark, :DockerfilePath, :BuildDir, :Cpu, :Mem, :MinNum, :MaxNum, :EnvParams, :CreatedTime, :UpdatedTime, :VersionIP, :VersionPort, :Status, :UploadType, :ServerName, :IsPublic, :VpcId, :SubnetIds, :CustomLogs, :ContainerPort, :InitialDelaySeconds, :ImageUrl, :HasDockerfile, :BaseImage, :EntryPoint, :PolicyDetail, :TkeClusterInfo, :TkeWorkloadType, :PackageInfo, :RepoInfo, :RequestId
3045
+
3046
+ def initialize(versionname=nil, remark=nil, dockerfilepath=nil, builddir=nil, cpu=nil, mem=nil, minnum=nil, maxnum=nil, envparams=nil, createdtime=nil, updatedtime=nil, versionip=nil, versionport=nil, status=nil, uploadtype=nil, servername=nil, ispublic=nil, vpcid=nil, subnetids=nil, customlogs=nil, containerport=nil, initialdelayseconds=nil, imageurl=nil, hasdockerfile=nil, baseimage=nil, entrypoint=nil, policydetail=nil, tkeclusterinfo=nil, tkeworkloadtype=nil, packageinfo=nil, repoinfo=nil, requestid=nil)
3047
+ @VersionName = versionname
3048
+ @Remark = remark
3049
+ @DockerfilePath = dockerfilepath
3050
+ @BuildDir = builddir
3051
+ @Cpu = cpu
3052
+ @Mem = mem
3053
+ @MinNum = minnum
3054
+ @MaxNum = maxnum
3055
+ @EnvParams = envparams
3056
+ @CreatedTime = createdtime
3057
+ @UpdatedTime = updatedtime
3058
+ @VersionIP = versionip
3059
+ @VersionPort = versionport
3060
+ @Status = status
3061
+ @UploadType = uploadtype
3062
+ @ServerName = servername
3063
+ @IsPublic = ispublic
3064
+ @VpcId = vpcid
3065
+ @SubnetIds = subnetids
3066
+ @CustomLogs = customlogs
3067
+ @ContainerPort = containerport
3068
+ @InitialDelaySeconds = initialdelayseconds
3069
+ @ImageUrl = imageurl
3070
+ @HasDockerfile = hasdockerfile
3071
+ @BaseImage = baseimage
3072
+ @EntryPoint = entrypoint
3073
+ @PolicyDetail = policydetail
3074
+ @TkeClusterInfo = tkeclusterinfo
3075
+ @TkeWorkloadType = tkeworkloadtype
3076
+ @PackageInfo = packageinfo
3077
+ @RepoInfo = repoinfo
3078
+ @RequestId = requestid
3079
+ end
3080
+
3081
+ def deserialize(params)
3082
+ @VersionName = params['VersionName']
3083
+ @Remark = params['Remark']
3084
+ @DockerfilePath = params['DockerfilePath']
3085
+ @BuildDir = params['BuildDir']
3086
+ @Cpu = params['Cpu']
3087
+ @Mem = params['Mem']
3088
+ @MinNum = params['MinNum']
3089
+ @MaxNum = params['MaxNum']
3090
+ @EnvParams = params['EnvParams']
3091
+ @CreatedTime = params['CreatedTime']
3092
+ @UpdatedTime = params['UpdatedTime']
3093
+ @VersionIP = params['VersionIP']
3094
+ @VersionPort = params['VersionPort']
3095
+ @Status = params['Status']
3096
+ @UploadType = params['UploadType']
3097
+ @ServerName = params['ServerName']
3098
+ @IsPublic = params['IsPublic']
3099
+ @VpcId = params['VpcId']
3100
+ @SubnetIds = params['SubnetIds']
3101
+ @CustomLogs = params['CustomLogs']
3102
+ @ContainerPort = params['ContainerPort']
3103
+ @InitialDelaySeconds = params['InitialDelaySeconds']
3104
+ @ImageUrl = params['ImageUrl']
3105
+ @HasDockerfile = params['HasDockerfile']
3106
+ @BaseImage = params['BaseImage']
3107
+ @EntryPoint = params['EntryPoint']
3108
+ unless params['PolicyDetail'].nil?
3109
+ @PolicyDetail = []
3110
+ params['PolicyDetail'].each do |i|
3111
+ hpapolicy_tmp = HpaPolicy.new
3112
+ hpapolicy_tmp.deserialize(i)
3113
+ @PolicyDetail << hpapolicy_tmp
3114
+ end
3115
+ end
3116
+ unless params['TkeClusterInfo'].nil?
3117
+ @TkeClusterInfo = TkeClusterInfo.new
3118
+ @TkeClusterInfo.deserialize(params['TkeClusterInfo'])
3119
+ end
3120
+ @TkeWorkloadType = params['TkeWorkloadType']
3121
+ unless params['PackageInfo'].nil?
3122
+ @PackageInfo = CbrPackageInfo.new
3123
+ @PackageInfo.deserialize(params['PackageInfo'])
3124
+ end
3125
+ unless params['RepoInfo'].nil?
3126
+ @RepoInfo = CbrRepoInfo.new
3127
+ @RepoInfo.deserialize(params['RepoInfo'])
3128
+ end
3129
+ @RequestId = params['RequestId']
3130
+ end
3131
+ end
3132
+
3133
+ # DescribeCloudBaseBuildService请求参数结构体
3134
+ class DescribeCloudBaseBuildServiceRequest < TencentCloud::Common::AbstractModel
3135
+ # @param EnvId: 环境id
3136
+ # @type EnvId: String
3137
+ # @param ServiceName: 服务名
3138
+ # @type ServiceName: String
3139
+ # @param CIBusiness: build类型,枚举值有: cloudbaserun, framework-ci
3140
+ # @type CIBusiness: String
3141
+ # @param ServiceVersion: 服务版本
3142
+ # @type ServiceVersion: String
3143
+ # @param Suffix: 文件后缀
3144
+ # @type Suffix: String
3145
+
3146
+ attr_accessor :EnvId, :ServiceName, :CIBusiness, :ServiceVersion, :Suffix
3147
+
3148
+ def initialize(envid=nil, servicename=nil, cibusiness=nil, serviceversion=nil, suffix=nil)
3149
+ @EnvId = envid
3150
+ @ServiceName = servicename
3151
+ @CIBusiness = cibusiness
3152
+ @ServiceVersion = serviceversion
3153
+ @Suffix = suffix
3154
+ end
3155
+
3156
+ def deserialize(params)
3157
+ @EnvId = params['EnvId']
3158
+ @ServiceName = params['ServiceName']
3159
+ @CIBusiness = params['CIBusiness']
3160
+ @ServiceVersion = params['ServiceVersion']
3161
+ @Suffix = params['Suffix']
3162
+ end
3163
+ end
3164
+
3165
+ # DescribeCloudBaseBuildService返回参数结构体
3166
+ class DescribeCloudBaseBuildServiceResponse < TencentCloud::Common::AbstractModel
3167
+ # @param UploadUrl: 上传url
3168
+ # @type UploadUrl: String
3169
+ # @param UploadHeaders: 上传heder
3170
+ # @type UploadHeaders: Array
3171
+ # @param PackageName: 包名
3172
+ # @type PackageName: String
3173
+ # @param PackageVersion: 包版本
3174
+ # @type PackageVersion: String
3175
+ # @param DownloadUrl: 下载链接
3176
+ # 注意:此字段可能返回 null,表示取不到有效值。
3177
+ # @type DownloadUrl: String
3178
+ # @param DownloadHeaders: 下载Httpheader
3179
+ # 注意:此字段可能返回 null,表示取不到有效值。
3180
+ # @type DownloadHeaders: Array
3181
+ # @param OutDate: 下载链接是否过期
3182
+ # 注意:此字段可能返回 null,表示取不到有效值。
3183
+ # @type OutDate: Boolean
3184
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3185
+ # @type RequestId: String
3186
+
3187
+ attr_accessor :UploadUrl, :UploadHeaders, :PackageName, :PackageVersion, :DownloadUrl, :DownloadHeaders, :OutDate, :RequestId
3188
+
3189
+ def initialize(uploadurl=nil, uploadheaders=nil, packagename=nil, packageversion=nil, downloadurl=nil, downloadheaders=nil, outdate=nil, requestid=nil)
3190
+ @UploadUrl = uploadurl
3191
+ @UploadHeaders = uploadheaders
3192
+ @PackageName = packagename
3193
+ @PackageVersion = packageversion
3194
+ @DownloadUrl = downloadurl
3195
+ @DownloadHeaders = downloadheaders
3196
+ @OutDate = outdate
3197
+ @RequestId = requestid
3198
+ end
3199
+
3200
+ def deserialize(params)
3201
+ @UploadUrl = params['UploadUrl']
3202
+ unless params['UploadHeaders'].nil?
3203
+ @UploadHeaders = []
3204
+ params['UploadHeaders'].each do |i|
3205
+ kvpair_tmp = KVPair.new
3206
+ kvpair_tmp.deserialize(i)
3207
+ @UploadHeaders << kvpair_tmp
3208
+ end
3209
+ end
3210
+ @PackageName = params['PackageName']
3211
+ @PackageVersion = params['PackageVersion']
3212
+ @DownloadUrl = params['DownloadUrl']
3213
+ unless params['DownloadHeaders'].nil?
3214
+ @DownloadHeaders = []
3215
+ params['DownloadHeaders'].each do |i|
3216
+ kvpair_tmp = KVPair.new
3217
+ kvpair_tmp.deserialize(i)
3218
+ @DownloadHeaders << kvpair_tmp
3219
+ end
3220
+ end
3221
+ @OutDate = params['OutDate']
3222
+ @RequestId = params['RequestId']
3223
+ end
3224
+ end
3225
+
3226
+ # DescribeCloudBaseProjectLatestVersionList请求参数结构体
3227
+ class DescribeCloudBaseProjectLatestVersionListRequest < TencentCloud::Common::AbstractModel
3228
+ # @param Offset: 偏移量
3229
+ # @type Offset: Integer
3230
+ # @param PageSize: 个数
3231
+ # @type PageSize: Integer
3232
+ # @param EnvId: 环境id, 非必填
3233
+ # @type EnvId: String
3234
+ # @param ProjectName: 项目名称, 非必填
3235
+ # @type ProjectName: String
3236
+ # @param ProjectType: 项目类型: framework-oneclick,qci-extension-cicd
3237
+ # @type ProjectType: String
3238
+ # @param Tags: 标签
3239
+ # @type Tags: Array
3240
+ # @param CiId: ci的id
3241
+ # @type CiId: String
3242
+
3243
+ attr_accessor :Offset, :PageSize, :EnvId, :ProjectName, :ProjectType, :Tags, :CiId
3244
+
3245
+ def initialize(offset=nil, pagesize=nil, envid=nil, projectname=nil, projecttype=nil, tags=nil, ciid=nil)
3246
+ @Offset = offset
3247
+ @PageSize = pagesize
3248
+ @EnvId = envid
3249
+ @ProjectName = projectname
3250
+ @ProjectType = projecttype
3251
+ @Tags = tags
3252
+ @CiId = ciid
3253
+ end
3254
+
3255
+ def deserialize(params)
3256
+ @Offset = params['Offset']
3257
+ @PageSize = params['PageSize']
3258
+ @EnvId = params['EnvId']
3259
+ @ProjectName = params['ProjectName']
3260
+ @ProjectType = params['ProjectType']
3261
+ @Tags = params['Tags']
3262
+ @CiId = params['CiId']
3263
+ end
3264
+ end
3265
+
3266
+ # DescribeCloudBaseProjectLatestVersionList返回参数结构体
3267
+ class DescribeCloudBaseProjectLatestVersionListResponse < TencentCloud::Common::AbstractModel
3268
+ # @param ProjectList: 项目列表
3269
+ # 注意:此字段可能返回 null,表示取不到有效值。
3270
+ # @type ProjectList: Array
3271
+ # @param TotalCount: 总数
3272
+ # 注意:此字段可能返回 null,表示取不到有效值。
3273
+ # @type TotalCount: Integer
3274
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3275
+ # @type RequestId: String
3276
+
3277
+ attr_accessor :ProjectList, :TotalCount, :RequestId
3278
+
3279
+ def initialize(projectlist=nil, totalcount=nil, requestid=nil)
3280
+ @ProjectList = projectlist
3281
+ @TotalCount = totalcount
3282
+ @RequestId = requestid
3283
+ end
3284
+
3285
+ def deserialize(params)
3286
+ unless params['ProjectList'].nil?
3287
+ @ProjectList = []
3288
+ params['ProjectList'].each do |i|
3289
+ cloudbaseprojectversion_tmp = CloudBaseProjectVersion.new
3290
+ cloudbaseprojectversion_tmp.deserialize(i)
3291
+ @ProjectList << cloudbaseprojectversion_tmp
3292
+ end
3293
+ end
3294
+ @TotalCount = params['TotalCount']
3295
+ @RequestId = params['RequestId']
3296
+ end
3297
+ end
2873
3298
 
2874
3299
  # DescribeCloudBaseProjectVersionList请求参数结构体
2875
3300
  class DescribeCloudBaseProjectVersionListRequest < TencentCloud::Common::AbstractModel
@@ -4873,6 +5298,161 @@ module TencentCloud
4873
5298
  end
4874
5299
  end
4875
5300
 
5301
+ # DescribeGatewayVersions请求参数结构体
5302
+ class DescribeGatewayVersionsRequest < TencentCloud::Common::AbstractModel
5303
+ # @param EnvId: 环境id
5304
+ # @type EnvId: String
5305
+ # @param GatewayId: 网关id
5306
+ # @type GatewayId: String
5307
+ # @param VersionName: 版本名
5308
+ # @type VersionName: String
5309
+
5310
+ attr_accessor :EnvId, :GatewayId, :VersionName
5311
+
5312
+ def initialize(envid=nil, gatewayid=nil, versionname=nil)
5313
+ @EnvId = envid
5314
+ @GatewayId = gatewayid
5315
+ @VersionName = versionname
5316
+ end
5317
+
5318
+ def deserialize(params)
5319
+ @EnvId = params['EnvId']
5320
+ @GatewayId = params['GatewayId']
5321
+ @VersionName = params['VersionName']
5322
+ end
5323
+ end
5324
+
5325
+ # DescribeGatewayVersions返回参数结构体
5326
+ class DescribeGatewayVersionsResponse < TencentCloud::Common::AbstractModel
5327
+ # @param GatewayId: 网关id
5328
+ # @type GatewayId: String
5329
+ # @param TotalCount: 版本总数
5330
+ # @type TotalCount: Integer
5331
+ # @param GatewayVersionItems: 版本信息详情
5332
+ # @type GatewayVersionItems: Array
5333
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5334
+ # @type RequestId: String
5335
+
5336
+ attr_accessor :GatewayId, :TotalCount, :GatewayVersionItems, :RequestId
5337
+
5338
+ def initialize(gatewayid=nil, totalcount=nil, gatewayversionitems=nil, requestid=nil)
5339
+ @GatewayId = gatewayid
5340
+ @TotalCount = totalcount
5341
+ @GatewayVersionItems = gatewayversionitems
5342
+ @RequestId = requestid
5343
+ end
5344
+
5345
+ def deserialize(params)
5346
+ @GatewayId = params['GatewayId']
5347
+ @TotalCount = params['TotalCount']
5348
+ unless params['GatewayVersionItems'].nil?
5349
+ @GatewayVersionItems = []
5350
+ params['GatewayVersionItems'].each do |i|
5351
+ gatewayversionitem_tmp = GatewayVersionItem.new
5352
+ gatewayversionitem_tmp.deserialize(i)
5353
+ @GatewayVersionItems << gatewayversionitem_tmp
5354
+ end
5355
+ end
5356
+ @RequestId = params['RequestId']
5357
+ end
5358
+ end
5359
+
5360
+ # DescribeGraphData请求参数结构体
5361
+ class DescribeGraphDataRequest < TencentCloud::Common::AbstractModel
5362
+ # @param EnvId: 环境ID
5363
+ # @type EnvId: String
5364
+ # @param MetricName: 指标名:
5365
+ # StorageRead: 存储读请求次数
5366
+ # StorageWrite: 存储写请求次数
5367
+ # StorageCdnOriginFlux: CDN回源流量, 单位字节
5368
+ # CDNFlux: CDN回源流量, 单位字节
5369
+ # FunctionInvocation: 云函数调用次数
5370
+ # FunctionGBs: 云函数资源使用量, 单位Mb*Ms
5371
+ # FunctionFlux: 云函数流量, 单位千字节(KB)
5372
+ # FunctionError: 云函数调用错误次数
5373
+ # FunctionDuration: 云函数运行时间, 单位毫秒
5374
+ # DbRead: 数据库读请求数
5375
+ # DbWrite: 数据库写请求数
5376
+ # DbCostTime10ms: 数据库耗时在10ms~50ms请求数
5377
+ # DbCostTime50ms: 数据库耗时在50ms~100ms请求数
5378
+ # DbCostTime100ms: 数据库耗时在100ms以上请求数
5379
+ # TkeCpuRatio: 容器CPU占用率
5380
+ # TkeMemRatio: 容器内存占用率
5381
+ # TkeCpuUsed: 容器CPU使用量
5382
+ # TkeMemUsed: 容器内存使用量
5383
+ # TkeInvokeNum: 调用量
5384
+ # FunctionConcurrentExecutions: 云函数并发执行个数
5385
+ # FunctionIdleProvisioned: 云函数预置并发闲置量
5386
+ # FunctionConcurrencyMemoryMB: 云函数并发执行内存量
5387
+ # FunctionThrottle: 云函数受限次数
5388
+ # FunctionProvisionedConcurrency: 云函数预置并发
5389
+ # @type MetricName: String
5390
+ # @param StartTime: 开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟).
5391
+ # @type StartTime: String
5392
+ # @param EndTime: 结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟)..
5393
+ # @type EndTime: String
5394
+ # @param ResourceID: 资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称
5395
+ # @type ResourceID: String
5396
+
5397
+ attr_accessor :EnvId, :MetricName, :StartTime, :EndTime, :ResourceID
5398
+
5399
+ def initialize(envid=nil, metricname=nil, starttime=nil, endtime=nil, resourceid=nil)
5400
+ @EnvId = envid
5401
+ @MetricName = metricname
5402
+ @StartTime = starttime
5403
+ @EndTime = endtime
5404
+ @ResourceID = resourceid
5405
+ end
5406
+
5407
+ def deserialize(params)
5408
+ @EnvId = params['EnvId']
5409
+ @MetricName = params['MetricName']
5410
+ @StartTime = params['StartTime']
5411
+ @EndTime = params['EndTime']
5412
+ @ResourceID = params['ResourceID']
5413
+ end
5414
+ end
5415
+
5416
+ # DescribeGraphData返回参数结构体
5417
+ class DescribeGraphDataResponse < TencentCloud::Common::AbstractModel
5418
+ # @param StartTime: 开始时间, 会根据数据的统计周期进行取整.
5419
+ # @type StartTime: String
5420
+ # @param EndTime: 结束时间, 会根据数据的统计周期进行取整.
5421
+ # @type EndTime: String
5422
+ # @param MetricName: 指标名
5423
+ # @type MetricName: String
5424
+ # @param Period: 统计周期(单位秒), 当时间区间为1天内, 统计周期为5分钟; 当时间区间选择为1天以上, 15天以下, 统计周期为1小时; 当时间区间选择为15天以上, 180天以下, 统计周期为1天.
5425
+ # @type Period: Integer
5426
+ # @param Values: 有效的监控数据, 每个有效监控数据的上报时间可以从时间数组中的对应位置上获取到.
5427
+ # @type Values: Array
5428
+ # @param Time: 时间数据, 标识监控数据Values中的点是哪个时间段上报的.
5429
+ # @type Time: Array
5430
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5431
+ # @type RequestId: String
5432
+
5433
+ attr_accessor :StartTime, :EndTime, :MetricName, :Period, :Values, :Time, :RequestId
5434
+
5435
+ def initialize(starttime=nil, endtime=nil, metricname=nil, period=nil, values=nil, time=nil, requestid=nil)
5436
+ @StartTime = starttime
5437
+ @EndTime = endtime
5438
+ @MetricName = metricname
5439
+ @Period = period
5440
+ @Values = values
5441
+ @Time = time
5442
+ @RequestId = requestid
5443
+ end
5444
+
5445
+ def deserialize(params)
5446
+ @StartTime = params['StartTime']
5447
+ @EndTime = params['EndTime']
5448
+ @MetricName = params['MetricName']
5449
+ @Period = params['Period']
5450
+ @Values = params['Values']
5451
+ @Time = params['Time']
5452
+ @RequestId = params['RequestId']
5453
+ end
5454
+ end
5455
+
4876
5456
  # DescribeHostingDomainTask请求参数结构体
4877
5457
  class DescribeHostingDomainTaskRequest < TencentCloud::Common::AbstractModel
4878
5458
  # @param EnvId: 环境ID
@@ -5368,69 +5948,191 @@ module TencentCloud
5368
5948
  end
5369
5949
  end
5370
5950
 
5371
- # DescribeWxCloudBaseRunEnvs返回参数结构体
5372
- class DescribeWxCloudBaseRunEnvsResponse < TencentCloud::Common::AbstractModel
5373
- # @param EnvList: env列表
5374
- # @type EnvList: Array
5951
+ # DescribeWxCloudBaseRunEnvs返回参数结构体
5952
+ class DescribeWxCloudBaseRunEnvsResponse < TencentCloud::Common::AbstractModel
5953
+ # @param EnvList: env列表
5954
+ # @type EnvList: Array
5955
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5956
+ # @type RequestId: String
5957
+
5958
+ attr_accessor :EnvList, :RequestId
5959
+
5960
+ def initialize(envlist=nil, requestid=nil)
5961
+ @EnvList = envlist
5962
+ @RequestId = requestid
5963
+ end
5964
+
5965
+ def deserialize(params)
5966
+ unless params['EnvList'].nil?
5967
+ @EnvList = []
5968
+ params['EnvList'].each do |i|
5969
+ envinfo_tmp = EnvInfo.new
5970
+ envinfo_tmp.deserialize(i)
5971
+ @EnvList << envinfo_tmp
5972
+ end
5973
+ end
5974
+ @RequestId = params['RequestId']
5975
+ end
5976
+ end
5977
+
5978
+ # DescribeWxCloudBaseRunSubNets请求参数结构体
5979
+ class DescribeWxCloudBaseRunSubNetsRequest < TencentCloud::Common::AbstractModel
5980
+ # @param VpcId: VPC id
5981
+ # @type VpcId: String
5982
+ # @param Limit: 查询个数限制,不填或小于等于0,等于不限制
5983
+ # @type Limit: Integer
5984
+
5985
+ attr_accessor :VpcId, :Limit
5986
+
5987
+ def initialize(vpcid=nil, limit=nil)
5988
+ @VpcId = vpcid
5989
+ @Limit = limit
5990
+ end
5991
+
5992
+ def deserialize(params)
5993
+ @VpcId = params['VpcId']
5994
+ @Limit = params['Limit']
5995
+ end
5996
+ end
5997
+
5998
+ # DescribeWxCloudBaseRunSubNets返回参数结构体
5999
+ class DescribeWxCloudBaseRunSubNetsResponse < TencentCloud::Common::AbstractModel
6000
+ # @param SubNetIds: 子网Id列表
6001
+ # @type SubNetIds: Array
6002
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6003
+ # @type RequestId: String
6004
+
6005
+ attr_accessor :SubNetIds, :RequestId
6006
+
6007
+ def initialize(subnetids=nil, requestid=nil)
6008
+ @SubNetIds = subnetids
6009
+ @RequestId = requestid
6010
+ end
6011
+
6012
+ def deserialize(params)
6013
+ @SubNetIds = params['SubNetIds']
6014
+ @RequestId = params['RequestId']
6015
+ end
6016
+ end
6017
+
6018
+ # DescribeWxGatewayRoutes请求参数结构体
6019
+ class DescribeWxGatewayRoutesRequest < TencentCloud::Common::AbstractModel
6020
+ # @param EnvId: 环境ID
6021
+ # @type EnvId: String
6022
+ # @param GatewayId: 网关名称
6023
+ # @type GatewayId: String
6024
+ # @param GatewayRouteName: 网关路由名称
6025
+ # @type GatewayRouteName: String
6026
+ # @param GatewayVersion: 网关版本名
6027
+ # @type GatewayVersion: String
6028
+
6029
+ attr_accessor :EnvId, :GatewayId, :GatewayRouteName, :GatewayVersion
6030
+
6031
+ def initialize(envid=nil, gatewayid=nil, gatewayroutename=nil, gatewayversion=nil)
6032
+ @EnvId = envid
6033
+ @GatewayId = gatewayid
6034
+ @GatewayRouteName = gatewayroutename
6035
+ @GatewayVersion = gatewayversion
6036
+ end
6037
+
6038
+ def deserialize(params)
6039
+ @EnvId = params['EnvId']
6040
+ @GatewayId = params['GatewayId']
6041
+ @GatewayRouteName = params['GatewayRouteName']
6042
+ @GatewayVersion = params['GatewayVersion']
6043
+ end
6044
+ end
6045
+
6046
+ # DescribeWxGatewayRoutes返回参数结构体
6047
+ class DescribeWxGatewayRoutesResponse < TencentCloud::Common::AbstractModel
6048
+ # @param TotalCount: 返回的服务个数
6049
+ # 注意:此字段可能返回 null,表示取不到有效值。
6050
+ # @type TotalCount: Integer
6051
+ # @param WxGatewayRouteSet: 返回的服务列表
6052
+ # 注意:此字段可能返回 null,表示取不到有效值。
6053
+ # @type WxGatewayRouteSet: Array
5375
6054
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5376
6055
  # @type RequestId: String
5377
6056
 
5378
- attr_accessor :EnvList, :RequestId
6057
+ attr_accessor :TotalCount, :WxGatewayRouteSet, :RequestId
5379
6058
 
5380
- def initialize(envlist=nil, requestid=nil)
5381
- @EnvList = envlist
6059
+ def initialize(totalcount=nil, wxgatewayrouteset=nil, requestid=nil)
6060
+ @TotalCount = totalcount
6061
+ @WxGatewayRouteSet = wxgatewayrouteset
5382
6062
  @RequestId = requestid
5383
6063
  end
5384
6064
 
5385
6065
  def deserialize(params)
5386
- unless params['EnvList'].nil?
5387
- @EnvList = []
5388
- params['EnvList'].each do |i|
5389
- envinfo_tmp = EnvInfo.new
5390
- envinfo_tmp.deserialize(i)
5391
- @EnvList << envinfo_tmp
6066
+ @TotalCount = params['TotalCount']
6067
+ unless params['WxGatewayRouteSet'].nil?
6068
+ @WxGatewayRouteSet = []
6069
+ params['WxGatewayRouteSet'].each do |i|
6070
+ wxgatewayrountitem_tmp = WxGatewayRountItem.new
6071
+ wxgatewayrountitem_tmp.deserialize(i)
6072
+ @WxGatewayRouteSet << wxgatewayrountitem_tmp
5392
6073
  end
5393
6074
  end
5394
6075
  @RequestId = params['RequestId']
5395
6076
  end
5396
6077
  end
5397
6078
 
5398
- # DescribeWxCloudBaseRunSubNets请求参数结构体
5399
- class DescribeWxCloudBaseRunSubNetsRequest < TencentCloud::Common::AbstractModel
5400
- # @param VpcId: VPC id
5401
- # @type VpcId: String
5402
- # @param Limit: 查询个数限制,不填或小于等于0,等于不限制
6079
+ # DescribeWxGateways请求参数结构体
6080
+ class DescribeWxGatewaysRequest < TencentCloud::Common::AbstractModel
6081
+ # @param EnvId: 环境ID
6082
+ # @type EnvId: String
6083
+ # @param GatewayName: 服务名称,精确匹配
6084
+ # @type GatewayName: String
6085
+ # @param Limit: 分页参数
5403
6086
  # @type Limit: Integer
6087
+ # @param Offset: 分页参数
6088
+ # @type Offset: Integer
5404
6089
 
5405
- attr_accessor :VpcId, :Limit
6090
+ attr_accessor :EnvId, :GatewayName, :Limit, :Offset
5406
6091
 
5407
- def initialize(vpcid=nil, limit=nil)
5408
- @VpcId = vpcid
6092
+ def initialize(envid=nil, gatewayname=nil, limit=nil, offset=nil)
6093
+ @EnvId = envid
6094
+ @GatewayName = gatewayname
5409
6095
  @Limit = limit
6096
+ @Offset = offset
5410
6097
  end
5411
6098
 
5412
6099
  def deserialize(params)
5413
- @VpcId = params['VpcId']
6100
+ @EnvId = params['EnvId']
6101
+ @GatewayName = params['GatewayName']
5414
6102
  @Limit = params['Limit']
6103
+ @Offset = params['Offset']
5415
6104
  end
5416
6105
  end
5417
6106
 
5418
- # DescribeWxCloudBaseRunSubNets返回参数结构体
5419
- class DescribeWxCloudBaseRunSubNetsResponse < TencentCloud::Common::AbstractModel
5420
- # @param SubNetIds: 子网Id列表
5421
- # @type SubNetIds: Array
6107
+ # DescribeWxGateways返回参数结构体
6108
+ class DescribeWxGatewaysResponse < TencentCloud::Common::AbstractModel
6109
+ # @param Gateways: 返回的服务列表
6110
+ # 注意:此字段可能返回 null,表示取不到有效值。
6111
+ # @type Gateways: Array
6112
+ # @param TotalCount: 网关总数
6113
+ # 注意:此字段可能返回 null,表示取不到有效值。
6114
+ # @type TotalCount: Integer
5422
6115
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5423
6116
  # @type RequestId: String
5424
6117
 
5425
- attr_accessor :SubNetIds, :RequestId
6118
+ attr_accessor :Gateways, :TotalCount, :RequestId
5426
6119
 
5427
- def initialize(subnetids=nil, requestid=nil)
5428
- @SubNetIds = subnetids
6120
+ def initialize(gateways=nil, totalcount=nil, requestid=nil)
6121
+ @Gateways = gateways
6122
+ @TotalCount = totalcount
5429
6123
  @RequestId = requestid
5430
6124
  end
5431
6125
 
5432
6126
  def deserialize(params)
5433
- @SubNetIds = params['SubNetIds']
6127
+ unless params['Gateways'].nil?
6128
+ @Gateways = []
6129
+ params['Gateways'].each do |i|
6130
+ gatewayitem_tmp = GatewayItem.new
6131
+ gatewayitem_tmp.deserialize(i)
6132
+ @Gateways << gatewayitem_tmp
6133
+ end
6134
+ end
6135
+ @TotalCount = params['TotalCount']
5434
6136
  @RequestId = params['RequestId']
5435
6137
  end
5436
6138
  end
@@ -5782,10 +6484,16 @@ module TencentCloud
5782
6484
  # @param PackageType: 套餐类型:空\baas\tcbr
5783
6485
  # 注意:此字段可能返回 null,表示取不到有效值。
5784
6486
  # @type PackageType: String
6487
+ # @param ArchitectureType: 架构类型
6488
+ # 注意:此字段可能返回 null,表示取不到有效值。
6489
+ # @type ArchitectureType: String
6490
+ # @param Recycle: 回收标志,默认为空
6491
+ # 注意:此字段可能返回 null,表示取不到有效值。
6492
+ # @type Recycle: String
5785
6493
 
5786
- attr_accessor :EnvId, :Source, :Alias, :CreateTime, :UpdateTime, :Status, :Databases, :Storages, :Functions, :PackageId, :PackageName, :LogServices, :StaticStorages, :IsAutoDegrade, :EnvChannel, :PayMode, :IsDefault, :Region, :Tags, :CustomLogServices, :EnvType, :IsDauPackage, :PackageType
6494
+ attr_accessor :EnvId, :Source, :Alias, :CreateTime, :UpdateTime, :Status, :Databases, :Storages, :Functions, :PackageId, :PackageName, :LogServices, :StaticStorages, :IsAutoDegrade, :EnvChannel, :PayMode, :IsDefault, :Region, :Tags, :CustomLogServices, :EnvType, :IsDauPackage, :PackageType, :ArchitectureType, :Recycle
5787
6495
 
5788
- def initialize(envid=nil, source=nil, _alias=nil, createtime=nil, updatetime=nil, status=nil, databases=nil, storages=nil, functions=nil, packageid=nil, packagename=nil, logservices=nil, staticstorages=nil, isautodegrade=nil, envchannel=nil, paymode=nil, isdefault=nil, region=nil, tags=nil, customlogservices=nil, envtype=nil, isdaupackage=nil, packagetype=nil)
6496
+ def initialize(envid=nil, source=nil, _alias=nil, createtime=nil, updatetime=nil, status=nil, databases=nil, storages=nil, functions=nil, packageid=nil, packagename=nil, logservices=nil, staticstorages=nil, isautodegrade=nil, envchannel=nil, paymode=nil, isdefault=nil, region=nil, tags=nil, customlogservices=nil, envtype=nil, isdaupackage=nil, packagetype=nil, architecturetype=nil, recycle=nil)
5789
6497
  @EnvId = envid
5790
6498
  @Source = source
5791
6499
  @Alias = _alias
@@ -5809,6 +6517,8 @@ module TencentCloud
5809
6517
  @EnvType = envtype
5810
6518
  @IsDauPackage = isdaupackage
5811
6519
  @PackageType = packagetype
6520
+ @ArchitectureType = architecturetype
6521
+ @Recycle = recycle
5812
6522
  end
5813
6523
 
5814
6524
  def deserialize(params)
@@ -5884,6 +6594,8 @@ module TencentCloud
5884
6594
  @EnvType = params['EnvType']
5885
6595
  @IsDauPackage = params['IsDauPackage']
5886
6596
  @PackageType = params['PackageType']
6597
+ @ArchitectureType = params['ArchitectureType']
6598
+ @Recycle = params['Recycle']
5887
6599
  end
5888
6600
  end
5889
6601
 
@@ -6149,7 +6861,7 @@ module TencentCloud
6149
6861
 
6150
6862
  # FreezeCloudBaseRunServers返回参数结构体
6151
6863
  class FreezeCloudBaseRunServersResponse < TencentCloud::Common::AbstractModel
6152
- # @param Result: 批量状态状态
6864
+ # @param Result: 批量状态
6153
6865
  # 成功:succ
6154
6866
  # 失败:fail
6155
6867
  # 部分:partial(部分成功、部分失败)
@@ -6178,6 +6890,26 @@ module TencentCloud
6178
6890
  end
6179
6891
  end
6180
6892
 
6893
+ # 安全网关版本路由信息限额配置
6894
+ class FrequencyLimitConfig < TencentCloud::Common::AbstractModel
6895
+ # @param LimitObject: 限额对象 "ConnectionsLimit" 或 "QPSLimit"
6896
+ # @type LimitObject: String
6897
+ # @param LimitConfig: 限额配置
6898
+ # @type LimitConfig: String
6899
+
6900
+ attr_accessor :LimitObject, :LimitConfig
6901
+
6902
+ def initialize(limitobject=nil, limitconfig=nil)
6903
+ @LimitObject = limitobject
6904
+ @LimitConfig = limitconfig
6905
+ end
6906
+
6907
+ def deserialize(params)
6908
+ @LimitObject = params['LimitObject']
6909
+ @LimitConfig = params['LimitConfig']
6910
+ end
6911
+ end
6912
+
6181
6913
  # 函数的信息
6182
6914
  class FunctionInfo < TencentCloud::Common::AbstractModel
6183
6915
  # @param Namespace: 命名空间
@@ -6199,6 +6931,172 @@ module TencentCloud
6199
6931
  end
6200
6932
  end
6201
6933
 
6934
+ # 网关信息
6935
+ class GatewayItem < TencentCloud::Common::AbstractModel
6936
+ # @param Uin: 用户uin
6937
+ # @type Uin: String
6938
+ # @param AppId: 用户appid
6939
+ # 注意:此字段可能返回 null,表示取不到有效值。
6940
+ # @type AppId: Integer
6941
+ # @param EnvId: 环境id
6942
+ # 注意:此字段可能返回 null,表示取不到有效值。
6943
+ # @type EnvId: String
6944
+ # @param GatewayId: Gateway唯一id
6945
+ # 注意:此字段可能返回 null,表示取不到有效值。
6946
+ # @type GatewayId: String
6947
+ # @param GatewayName: Gateway名称
6948
+ # 注意:此字段可能返回 null,表示取不到有效值。
6949
+ # @type GatewayName: String
6950
+ # @param GatewayType: Gateway类型
6951
+ # 注意:此字段可能返回 null,表示取不到有效值。
6952
+ # @type GatewayType: String
6953
+ # @param GatewayDesc: Gateway描述
6954
+ # 注意:此字段可能返回 null,表示取不到有效值。
6955
+ # @type GatewayDesc: String
6956
+ # @param PackageVersion: 套餐版本
6957
+ # 注意:此字段可能返回 null,表示取不到有效值。
6958
+ # @type PackageVersion: String
6959
+ # @param PackageId: 套餐唯一id
6960
+ # 注意:此字段可能返回 null,表示取不到有效值。
6961
+ # @type PackageId: Integer
6962
+ # @param VpcId: vpc唯一id
6963
+ # 注意:此字段可能返回 null,表示取不到有效值。
6964
+ # @type VpcId: String
6965
+ # @param SubnetIds: 子网id
6966
+ # 注意:此字段可能返回 null,表示取不到有效值。
6967
+ # @type SubnetIds: Array
6968
+ # @param Status: 网关状态
6969
+ # 注意:此字段可能返回 null,表示取不到有效值。
6970
+ # @type Status: String
6971
+ # @param L5Addr: l5地址
6972
+ # 注意:此字段可能返回 null,表示取不到有效值。
6973
+ # @type L5Addr: String
6974
+ # @param Region: 地域
6975
+ # 注意:此字段可能返回 null,表示取不到有效值。
6976
+ # @type Region: String
6977
+ # @param IsolateTime: 隔离时间
6978
+ # 注意:此字段可能返回 null,表示取不到有效值。
6979
+ # @type IsolateTime: String
6980
+ # @param ExpireTime: 到期时间
6981
+ # 注意:此字段可能返回 null,表示取不到有效值。
6982
+ # @type ExpireTime: String
6983
+ # @param CreateTime: 创建时间
6984
+ # 注意:此字段可能返回 null,表示取不到有效值。
6985
+ # @type CreateTime: String
6986
+ # @param UpdateTime: 变更时间
6987
+ # 注意:此字段可能返回 null,表示取不到有效值。
6988
+ # @type UpdateTime: String
6989
+ # @param AllowUncertified: 允许未登录访问
6990
+ # 注意:此字段可能返回 null,表示取不到有效值。
6991
+ # @type AllowUncertified: Integer
6992
+ # @param VersionNumLimit: 网关版本限额
6993
+ # 注意:此字段可能返回 null,表示取不到有效值。
6994
+ # @type VersionNumLimit: Integer
6995
+
6996
+ attr_accessor :Uin, :AppId, :EnvId, :GatewayId, :GatewayName, :GatewayType, :GatewayDesc, :PackageVersion, :PackageId, :VpcId, :SubnetIds, :Status, :L5Addr, :Region, :IsolateTime, :ExpireTime, :CreateTime, :UpdateTime, :AllowUncertified, :VersionNumLimit
6997
+
6998
+ def initialize(uin=nil, appid=nil, envid=nil, gatewayid=nil, gatewayname=nil, gatewaytype=nil, gatewaydesc=nil, packageversion=nil, packageid=nil, vpcid=nil, subnetids=nil, status=nil, l5addr=nil, region=nil, isolatetime=nil, expiretime=nil, createtime=nil, updatetime=nil, allowuncertified=nil, versionnumlimit=nil)
6999
+ @Uin = uin
7000
+ @AppId = appid
7001
+ @EnvId = envid
7002
+ @GatewayId = gatewayid
7003
+ @GatewayName = gatewayname
7004
+ @GatewayType = gatewaytype
7005
+ @GatewayDesc = gatewaydesc
7006
+ @PackageVersion = packageversion
7007
+ @PackageId = packageid
7008
+ @VpcId = vpcid
7009
+ @SubnetIds = subnetids
7010
+ @Status = status
7011
+ @L5Addr = l5addr
7012
+ @Region = region
7013
+ @IsolateTime = isolatetime
7014
+ @ExpireTime = expiretime
7015
+ @CreateTime = createtime
7016
+ @UpdateTime = updatetime
7017
+ @AllowUncertified = allowuncertified
7018
+ @VersionNumLimit = versionnumlimit
7019
+ end
7020
+
7021
+ def deserialize(params)
7022
+ @Uin = params['Uin']
7023
+ @AppId = params['AppId']
7024
+ @EnvId = params['EnvId']
7025
+ @GatewayId = params['GatewayId']
7026
+ @GatewayName = params['GatewayName']
7027
+ @GatewayType = params['GatewayType']
7028
+ @GatewayDesc = params['GatewayDesc']
7029
+ @PackageVersion = params['PackageVersion']
7030
+ @PackageId = params['PackageId']
7031
+ @VpcId = params['VpcId']
7032
+ @SubnetIds = params['SubnetIds']
7033
+ @Status = params['Status']
7034
+ @L5Addr = params['L5Addr']
7035
+ @Region = params['Region']
7036
+ @IsolateTime = params['IsolateTime']
7037
+ @ExpireTime = params['ExpireTime']
7038
+ @CreateTime = params['CreateTime']
7039
+ @UpdateTime = params['UpdateTime']
7040
+ @AllowUncertified = params['AllowUncertified']
7041
+ @VersionNumLimit = params['VersionNumLimit']
7042
+ end
7043
+ end
7044
+
7045
+ # 网关版本详情
7046
+ class GatewayVersionItem < TencentCloud::Common::AbstractModel
7047
+ # @param VersionName: 版本名
7048
+ # @type VersionName: String
7049
+ # @param Weight: 版本流量权重
7050
+ # @type Weight: Integer
7051
+ # @param Status: 创建状态
7052
+ # @type Status: String
7053
+ # @param CreatedTime: 创建时间
7054
+ # @type CreatedTime: String
7055
+ # @param UpdatedTime: 更新时间
7056
+ # @type UpdatedTime: String
7057
+ # @param BuildId: 构建ID
7058
+ # @type BuildId: Integer
7059
+ # @param Remark: 备注
7060
+ # @type Remark: String
7061
+ # @param Priority: 优先级
7062
+ # @type Priority: Integer
7063
+ # @param IsDefault: 是否默认版本
7064
+ # @type IsDefault: Boolean
7065
+ # @param CustomConfig: 网关版本自定义配置
7066
+ # @type CustomConfig: :class:`Tencentcloud::Tcb.v20180608.models.WxGatewayCustomConfig`
7067
+
7068
+ attr_accessor :VersionName, :Weight, :Status, :CreatedTime, :UpdatedTime, :BuildId, :Remark, :Priority, :IsDefault, :CustomConfig
7069
+
7070
+ def initialize(versionname=nil, weight=nil, status=nil, createdtime=nil, updatedtime=nil, buildid=nil, remark=nil, priority=nil, isdefault=nil, customconfig=nil)
7071
+ @VersionName = versionname
7072
+ @Weight = weight
7073
+ @Status = status
7074
+ @CreatedTime = createdtime
7075
+ @UpdatedTime = updatedtime
7076
+ @BuildId = buildid
7077
+ @Remark = remark
7078
+ @Priority = priority
7079
+ @IsDefault = isdefault
7080
+ @CustomConfig = customconfig
7081
+ end
7082
+
7083
+ def deserialize(params)
7084
+ @VersionName = params['VersionName']
7085
+ @Weight = params['Weight']
7086
+ @Status = params['Status']
7087
+ @CreatedTime = params['CreatedTime']
7088
+ @UpdatedTime = params['UpdatedTime']
7089
+ @BuildId = params['BuildId']
7090
+ @Remark = params['Remark']
7091
+ @Priority = params['Priority']
7092
+ @IsDefault = params['IsDefault']
7093
+ unless params['CustomConfig'].nil?
7094
+ @CustomConfig = WxGatewayCustomConfig.new
7095
+ @CustomConfig.deserialize(params['CustomConfig'])
7096
+ end
7097
+ end
7098
+ end
7099
+
6202
7100
  # 扩缩容策略
6203
7101
  class HpaPolicy < TencentCloud::Common::AbstractModel
6204
7102
  # @param PolicyType: 策略类型
@@ -6604,7 +7502,7 @@ module TencentCloud
6604
7502
  # @type EnvId: String
6605
7503
  # @param UUId: C端用户端的唯一ID
6606
7504
  # @type UUId: String
6607
- # @param Status: 帐号的状态
7505
+ # @param Status: 账号的状态
6608
7506
  # <li>ENABLE</li>
6609
7507
  # <li>DISABLE</li>
6610
7508
  # @type Status: String
@@ -6676,6 +7574,53 @@ module TencentCloud
6676
7574
  end
6677
7575
  end
6678
7576
 
7577
+ # ModifyGatewayVersionTraffic请求参数结构体
7578
+ class ModifyGatewayVersionTrafficRequest < TencentCloud::Common::AbstractModel
7579
+ # @param EnvId: 环境id
7580
+ # @type EnvId: String
7581
+ # @param GatewayId: 网关id
7582
+ # @type GatewayId: String
7583
+ # @param VersionsWeight: 网关版本流量比例信息
7584
+ # @type VersionsWeight: Array
7585
+
7586
+ attr_accessor :EnvId, :GatewayId, :VersionsWeight
7587
+
7588
+ def initialize(envid=nil, gatewayid=nil, versionsweight=nil)
7589
+ @EnvId = envid
7590
+ @GatewayId = gatewayid
7591
+ @VersionsWeight = versionsweight
7592
+ end
7593
+
7594
+ def deserialize(params)
7595
+ @EnvId = params['EnvId']
7596
+ @GatewayId = params['GatewayId']
7597
+ unless params['VersionsWeight'].nil?
7598
+ @VersionsWeight = []
7599
+ params['VersionsWeight'].each do |i|
7600
+ gatewayversionitem_tmp = GatewayVersionItem.new
7601
+ gatewayversionitem_tmp.deserialize(i)
7602
+ @VersionsWeight << gatewayversionitem_tmp
7603
+ end
7604
+ end
7605
+ end
7606
+ end
7607
+
7608
+ # ModifyGatewayVersionTraffic返回参数结构体
7609
+ class ModifyGatewayVersionTrafficResponse < TencentCloud::Common::AbstractModel
7610
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7611
+ # @type RequestId: String
7612
+
7613
+ attr_accessor :RequestId
7614
+
7615
+ def initialize(requestid=nil)
7616
+ @RequestId = requestid
7617
+ end
7618
+
7619
+ def deserialize(params)
7620
+ @RequestId = params['RequestId']
7621
+ end
7622
+ end
7623
+
6679
7624
  # Key-Value类型,模拟的 object 类型
6680
7625
  class ObjectKV < TencentCloud::Common::AbstractModel
6681
7626
  # @param Key: object 的 key
@@ -7715,6 +8660,127 @@ module TencentCloud
7715
8660
  end
7716
8661
  end
7717
8662
 
8663
+ # 安全网关自定义配置
8664
+ class WxGatewayCustomConfig < TencentCloud::Common::AbstractModel
8665
+ # @param IsOpenXRealIp: 是否开启x-real-ip
8666
+ # @type IsOpenXRealIp: Boolean
8667
+ # @param BanConfig: 封禁配置
8668
+ # @type BanConfig: :class:`Tencentcloud::Tcb.v20180608.models.BanConfig`
8669
+ # @param SourceIpType: 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)
8670
+ # @type SourceIpType: String
8671
+ # @param LogConfig: 日志信息
8672
+ # @type LogConfig: :class:`Tencentcloud::Tcb.v20180608.models.CustomLogConfig`
8673
+ # @param IsAcceptHttpOne: 是否开启http1.0
8674
+ # @type IsAcceptHttpOne: Boolean
8675
+
8676
+ attr_accessor :IsOpenXRealIp, :BanConfig, :SourceIpType, :LogConfig, :IsAcceptHttpOne
8677
+
8678
+ def initialize(isopenxrealip=nil, banconfig=nil, sourceiptype=nil, logconfig=nil, isaccepthttpone=nil)
8679
+ @IsOpenXRealIp = isopenxrealip
8680
+ @BanConfig = banconfig
8681
+ @SourceIpType = sourceiptype
8682
+ @LogConfig = logconfig
8683
+ @IsAcceptHttpOne = isaccepthttpone
8684
+ end
8685
+
8686
+ def deserialize(params)
8687
+ @IsOpenXRealIp = params['IsOpenXRealIp']
8688
+ unless params['BanConfig'].nil?
8689
+ @BanConfig = BanConfig.new
8690
+ @BanConfig.deserialize(params['BanConfig'])
8691
+ end
8692
+ @SourceIpType = params['SourceIpType']
8693
+ unless params['LogConfig'].nil?
8694
+ @LogConfig = CustomLogConfig.new
8695
+ @LogConfig.deserialize(params['LogConfig'])
8696
+ end
8697
+ @IsAcceptHttpOne = params['IsAcceptHttpOne']
8698
+ end
8699
+ end
8700
+
8701
+ # 安全网关路由
8702
+ class WxGatewayRountItem < TencentCloud::Common::AbstractModel
8703
+ # @param GatewayRouteName: 安全网关路由名称
8704
+ # @type GatewayRouteName: String
8705
+ # @param GatewayRouteProtocol: 安全网关路由协议
8706
+ # @type GatewayRouteProtocol: String
8707
+ # @param GatewayRouteAddr: 安全网关路由地址
8708
+ # @type GatewayRouteAddr: String
8709
+ # @param GatewayRouteDesc: 安全网关路由描述
8710
+ # @type GatewayRouteDesc: String
8711
+ # @param GatewayRouteClusterId: 安全网关后端集群id,如果是外网服务,该id与GatewayRountName相同
8712
+ # @type GatewayRouteClusterId: String
8713
+ # @param GatewayRouteCreateTime: 安全网关创建时间
8714
+ # @type GatewayRouteCreateTime: String
8715
+ # @param FrequencyLimitConfig: 安全网关路由限制
8716
+ # 注意:此字段可能返回 null,表示取不到有效值。
8717
+ # @type FrequencyLimitConfig: Array
8718
+ # @param GatewayRouteServerType: ip代表绑定后端ip。cbr代表云托管服务
8719
+ # 注意:此字段可能返回 null,表示取不到有效值。
8720
+ # @type GatewayRouteServerType: String
8721
+ # @param GatewayRouteServerName: 服务名
8722
+ # 注意:此字段可能返回 null,表示取不到有效值。
8723
+ # @type GatewayRouteServerName: String
8724
+ # @param GatewayRewriteHost: ip
8725
+ # 注意:此字段可能返回 null,表示取不到有效值。
8726
+ # @type GatewayRewriteHost: String
8727
+ # @param GatewayVersion: 网关版本
8728
+ # 注意:此字段可能返回 null,表示取不到有效值。
8729
+ # @type GatewayVersion: String
8730
+ # @param GatewayRoutePath: 请求路径
8731
+ # 注意:此字段可能返回 null,表示取不到有效值。
8732
+ # @type GatewayRoutePath: String
8733
+ # @param GatewayRouteMethod: 请求模式
8734
+ # 注意:此字段可能返回 null,表示取不到有效值。
8735
+ # @type GatewayRouteMethod: String
8736
+ # @param GatewayRoutePort: 4层端口
8737
+ # 注意:此字段可能返回 null,表示取不到有效值。
8738
+ # @type GatewayRoutePort: Integer
8739
+
8740
+ attr_accessor :GatewayRouteName, :GatewayRouteProtocol, :GatewayRouteAddr, :GatewayRouteDesc, :GatewayRouteClusterId, :GatewayRouteCreateTime, :FrequencyLimitConfig, :GatewayRouteServerType, :GatewayRouteServerName, :GatewayRewriteHost, :GatewayVersion, :GatewayRoutePath, :GatewayRouteMethod, :GatewayRoutePort
8741
+
8742
+ def initialize(gatewayroutename=nil, gatewayrouteprotocol=nil, gatewayrouteaddr=nil, gatewayroutedesc=nil, gatewayrouteclusterid=nil, gatewayroutecreatetime=nil, frequencylimitconfig=nil, gatewayrouteservertype=nil, gatewayrouteservername=nil, gatewayrewritehost=nil, gatewayversion=nil, gatewayroutepath=nil, gatewayroutemethod=nil, gatewayrouteport=nil)
8743
+ @GatewayRouteName = gatewayroutename
8744
+ @GatewayRouteProtocol = gatewayrouteprotocol
8745
+ @GatewayRouteAddr = gatewayrouteaddr
8746
+ @GatewayRouteDesc = gatewayroutedesc
8747
+ @GatewayRouteClusterId = gatewayrouteclusterid
8748
+ @GatewayRouteCreateTime = gatewayroutecreatetime
8749
+ @FrequencyLimitConfig = frequencylimitconfig
8750
+ @GatewayRouteServerType = gatewayrouteservertype
8751
+ @GatewayRouteServerName = gatewayrouteservername
8752
+ @GatewayRewriteHost = gatewayrewritehost
8753
+ @GatewayVersion = gatewayversion
8754
+ @GatewayRoutePath = gatewayroutepath
8755
+ @GatewayRouteMethod = gatewayroutemethod
8756
+ @GatewayRoutePort = gatewayrouteport
8757
+ end
8758
+
8759
+ def deserialize(params)
8760
+ @GatewayRouteName = params['GatewayRouteName']
8761
+ @GatewayRouteProtocol = params['GatewayRouteProtocol']
8762
+ @GatewayRouteAddr = params['GatewayRouteAddr']
8763
+ @GatewayRouteDesc = params['GatewayRouteDesc']
8764
+ @GatewayRouteClusterId = params['GatewayRouteClusterId']
8765
+ @GatewayRouteCreateTime = params['GatewayRouteCreateTime']
8766
+ unless params['FrequencyLimitConfig'].nil?
8767
+ @FrequencyLimitConfig = []
8768
+ params['FrequencyLimitConfig'].each do |i|
8769
+ frequencylimitconfig_tmp = FrequencyLimitConfig.new
8770
+ frequencylimitconfig_tmp.deserialize(i)
8771
+ @FrequencyLimitConfig << frequencylimitconfig_tmp
8772
+ end
8773
+ end
8774
+ @GatewayRouteServerType = params['GatewayRouteServerType']
8775
+ @GatewayRouteServerName = params['GatewayRouteServerName']
8776
+ @GatewayRewriteHost = params['GatewayRewriteHost']
8777
+ @GatewayVersion = params['GatewayVersion']
8778
+ @GatewayRoutePath = params['GatewayRoutePath']
8779
+ @GatewayRouteMethod = params['GatewayRouteMethod']
8780
+ @GatewayRoutePort = params['GatewayRoutePort']
8781
+ end
8782
+ end
8783
+
7718
8784
  end
7719
8785
  end
7720
8786
  end