tencentcloud-sdk-pts 3.0.1094 → 3.0.1198
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210728/models.rb +71 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ffcf0877c7293df8a171ef1173740d4797b9dbe
|
|
4
|
+
data.tar.gz: 13d314cd87c451e8b23854cf22cd5cffc5f00de2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 08baaabe18e618500d4096140c50b2c6ce8cd34c58f7e33bead55ffbaa262830b5417e16c501641021a4dcfd2d4c730b78e80905d68be4a42b450f4f208899f9
|
|
7
|
+
data.tar.gz: 3db86e33638a444301c6e3ef29eb4171c6a6b6dbc7194c239bacb941183ce204b1c89f5468fe4b9bfdb406dc4b72b2a881cd2c6cc426acfc40526d5758609783
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1198
|
data/lib/v20210728/models.rb
CHANGED
|
@@ -402,15 +402,18 @@ module TencentCloud
|
|
|
402
402
|
# @type GracefulStopSeconds: Integer
|
|
403
403
|
# @param Resources: 资源数
|
|
404
404
|
# @type Resources: Integer
|
|
405
|
+
# @param Mode: 压力模型
|
|
406
|
+
# @type Mode: String
|
|
405
407
|
|
|
406
|
-
attr_accessor :Stages, :IterationCount, :MaxRequestsPerSecond, :GracefulStopSeconds, :Resources
|
|
408
|
+
attr_accessor :Stages, :IterationCount, :MaxRequestsPerSecond, :GracefulStopSeconds, :Resources, :Mode
|
|
407
409
|
|
|
408
|
-
def initialize(stages=nil, iterationcount=nil, maxrequestspersecond=nil, gracefulstopseconds=nil, resources=nil)
|
|
410
|
+
def initialize(stages=nil, iterationcount=nil, maxrequestspersecond=nil, gracefulstopseconds=nil, resources=nil, mode=nil)
|
|
409
411
|
@Stages = stages
|
|
410
412
|
@IterationCount = iterationcount
|
|
411
413
|
@MaxRequestsPerSecond = maxrequestspersecond
|
|
412
414
|
@GracefulStopSeconds = gracefulstopseconds
|
|
413
415
|
@Resources = resources
|
|
416
|
+
@Mode = mode
|
|
414
417
|
end
|
|
415
418
|
|
|
416
419
|
def deserialize(params)
|
|
@@ -426,6 +429,7 @@ module TencentCloud
|
|
|
426
429
|
@MaxRequestsPerSecond = params['MaxRequestsPerSecond']
|
|
427
430
|
@GracefulStopSeconds = params['GracefulStopSeconds']
|
|
428
431
|
@Resources = params['Resources']
|
|
432
|
+
@Mode = params['Mode']
|
|
429
433
|
end
|
|
430
434
|
end
|
|
431
435
|
|
|
@@ -583,27 +587,55 @@ module TencentCloud
|
|
|
583
587
|
|
|
584
588
|
# CreateEnvironment请求参数结构体
|
|
585
589
|
class CreateEnvironmentRequest < TencentCloud::Common::AbstractModel
|
|
590
|
+
# @param ProjectId: 项目ID
|
|
591
|
+
# @type ProjectId: String
|
|
592
|
+
# @param Name: 环境名
|
|
593
|
+
# @type Name: String
|
|
594
|
+
# @param EnvVars: 环境变量
|
|
595
|
+
# @type EnvVars: Array
|
|
596
|
+
# @param Description: 环境描述
|
|
597
|
+
# @type Description: String
|
|
586
598
|
|
|
599
|
+
attr_accessor :ProjectId, :Name, :EnvVars, :Description
|
|
587
600
|
|
|
588
|
-
def initialize()
|
|
601
|
+
def initialize(projectid=nil, name=nil, envvars=nil, description=nil)
|
|
602
|
+
@ProjectId = projectid
|
|
603
|
+
@Name = name
|
|
604
|
+
@EnvVars = envvars
|
|
605
|
+
@Description = description
|
|
589
606
|
end
|
|
590
607
|
|
|
591
608
|
def deserialize(params)
|
|
609
|
+
@ProjectId = params['ProjectId']
|
|
610
|
+
@Name = params['Name']
|
|
611
|
+
unless params['EnvVars'].nil?
|
|
612
|
+
@EnvVars = []
|
|
613
|
+
params['EnvVars'].each do |i|
|
|
614
|
+
envvar_tmp = EnvVar.new
|
|
615
|
+
envvar_tmp.deserialize(i)
|
|
616
|
+
@EnvVars << envvar_tmp
|
|
617
|
+
end
|
|
618
|
+
end
|
|
619
|
+
@Description = params['Description']
|
|
592
620
|
end
|
|
593
621
|
end
|
|
594
622
|
|
|
595
623
|
# CreateEnvironment返回参数结构体
|
|
596
624
|
class CreateEnvironmentResponse < TencentCloud::Common::AbstractModel
|
|
625
|
+
# @param EnvId: 环境ID
|
|
626
|
+
# @type EnvId: String
|
|
597
627
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
598
628
|
# @type RequestId: String
|
|
599
629
|
|
|
600
|
-
attr_accessor :RequestId
|
|
630
|
+
attr_accessor :EnvId, :RequestId
|
|
601
631
|
|
|
602
|
-
def initialize(requestid=nil)
|
|
632
|
+
def initialize(envid=nil, requestid=nil)
|
|
633
|
+
@EnvId = envid
|
|
603
634
|
@RequestId = requestid
|
|
604
635
|
end
|
|
605
636
|
|
|
606
637
|
def deserialize(params)
|
|
638
|
+
@EnvId = params['EnvId']
|
|
607
639
|
@RequestId = params['RequestId']
|
|
608
640
|
end
|
|
609
641
|
end
|
|
@@ -2889,6 +2921,34 @@ module TencentCloud
|
|
|
2889
2921
|
end
|
|
2890
2922
|
end
|
|
2891
2923
|
|
|
2924
|
+
# 环境变量
|
|
2925
|
+
class EnvVar < TencentCloud::Common::AbstractModel
|
|
2926
|
+
# @param Name: 变量引用键,建议为 C_IDENTIFIER 全大写风格
|
|
2927
|
+
# @type Name: String
|
|
2928
|
+
# @param Type: 默认 NORMAL,支持 NORMAL、PASSWORD 类型
|
|
2929
|
+
# @type Type: String
|
|
2930
|
+
# @param Value: 变量引用值
|
|
2931
|
+
# @type Value: String
|
|
2932
|
+
# @param Description: 描述内容
|
|
2933
|
+
# @type Description: String
|
|
2934
|
+
|
|
2935
|
+
attr_accessor :Name, :Type, :Value, :Description
|
|
2936
|
+
|
|
2937
|
+
def initialize(name=nil, type=nil, value=nil, description=nil)
|
|
2938
|
+
@Name = name
|
|
2939
|
+
@Type = type
|
|
2940
|
+
@Value = value
|
|
2941
|
+
@Description = description
|
|
2942
|
+
end
|
|
2943
|
+
|
|
2944
|
+
def deserialize(params)
|
|
2945
|
+
@Name = params['Name']
|
|
2946
|
+
@Type = params['Type']
|
|
2947
|
+
@Value = params['Value']
|
|
2948
|
+
@Description = params['Description']
|
|
2949
|
+
end
|
|
2950
|
+
end
|
|
2951
|
+
|
|
2892
2952
|
# 错误信息汇总
|
|
2893
2953
|
class ErrorSummary < TencentCloud::Common::AbstractModel
|
|
2894
2954
|
# @param Status: 状态码
|
|
@@ -4030,10 +4090,12 @@ module TencentCloud
|
|
|
4030
4090
|
# @type TargetRequestsPerSecond: Integer
|
|
4031
4091
|
# @param GracefulStopSeconds: 优雅关停的等待时间
|
|
4032
4092
|
# @type GracefulStopSeconds: Integer
|
|
4093
|
+
# @param IterationCount: 场景最大执行次数
|
|
4094
|
+
# @type IterationCount: Integer
|
|
4033
4095
|
|
|
4034
|
-
attr_accessor :MaxRequestsPerSecond, :DurationSeconds, :TargetVirtualUsers, :Resources, :StartRequestsPerSecond, :TargetRequestsPerSecond, :GracefulStopSeconds
|
|
4096
|
+
attr_accessor :MaxRequestsPerSecond, :DurationSeconds, :TargetVirtualUsers, :Resources, :StartRequestsPerSecond, :TargetRequestsPerSecond, :GracefulStopSeconds, :IterationCount
|
|
4035
4097
|
|
|
4036
|
-
def initialize(maxrequestspersecond=nil, durationseconds=nil, targetvirtualusers=nil, resources=nil, startrequestspersecond=nil, targetrequestspersecond=nil, gracefulstopseconds=nil)
|
|
4098
|
+
def initialize(maxrequestspersecond=nil, durationseconds=nil, targetvirtualusers=nil, resources=nil, startrequestspersecond=nil, targetrequestspersecond=nil, gracefulstopseconds=nil, iterationcount=nil)
|
|
4037
4099
|
@MaxRequestsPerSecond = maxrequestspersecond
|
|
4038
4100
|
@DurationSeconds = durationseconds
|
|
4039
4101
|
@TargetVirtualUsers = targetvirtualusers
|
|
@@ -4041,6 +4103,7 @@ module TencentCloud
|
|
|
4041
4103
|
@StartRequestsPerSecond = startrequestspersecond
|
|
4042
4104
|
@TargetRequestsPerSecond = targetrequestspersecond
|
|
4043
4105
|
@GracefulStopSeconds = gracefulstopseconds
|
|
4106
|
+
@IterationCount = iterationcount
|
|
4044
4107
|
end
|
|
4045
4108
|
|
|
4046
4109
|
def deserialize(params)
|
|
@@ -4051,6 +4114,7 @@ module TencentCloud
|
|
|
4051
4114
|
@StartRequestsPerSecond = params['StartRequestsPerSecond']
|
|
4052
4115
|
@TargetRequestsPerSecond = params['TargetRequestsPerSecond']
|
|
4053
4116
|
@GracefulStopSeconds = params['GracefulStopSeconds']
|
|
4117
|
+
@IterationCount = params['IterationCount']
|
|
4054
4118
|
end
|
|
4055
4119
|
end
|
|
4056
4120
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-pts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1198
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|