tencentcloud-sdk-tcb 3.0.1183 → 3.0.1189
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/v20180608/client.rb +0 -288
- data/lib/v20180608/models.rb +6 -950
- metadata +4 -4
data/lib/v20180608/models.rb
CHANGED
|
@@ -570,70 +570,6 @@ module TencentCloud
|
|
|
570
570
|
end
|
|
571
571
|
end
|
|
572
572
|
|
|
573
|
-
# 独立网关云托管服务配置信息
|
|
574
|
-
class CloudBaseRunForGatewayConf < TencentCloud::Common::AbstractModel
|
|
575
|
-
# @param IsZero: 是否缩容到0
|
|
576
|
-
# @type IsZero: Boolean
|
|
577
|
-
# @param Weight: 按百分比灰度的权重
|
|
578
|
-
# @type Weight: Integer
|
|
579
|
-
# @param GrayKey: 按请求/header参数的灰度Key
|
|
580
|
-
# @type GrayKey: String
|
|
581
|
-
# @param GrayValue: 按请求/header参数的灰度Value
|
|
582
|
-
# @type GrayValue: String
|
|
583
|
-
# @param IsDefault: 是否为默认版本(按请求/header参数)
|
|
584
|
-
# @type IsDefault: Boolean
|
|
585
|
-
# @param AccessType: 访问权限,对应二进制分多段,vpc内网|公网|oa
|
|
586
|
-
# @type AccessType: Integer
|
|
587
|
-
# @param URLs: 访问的URL(域名+路径)列表
|
|
588
|
-
# @type URLs: Array
|
|
589
|
-
# @param EnvId: 环境ID
|
|
590
|
-
# @type EnvId: String
|
|
591
|
-
# @param ServerName: 服务名称
|
|
592
|
-
# @type ServerName: String
|
|
593
|
-
# @param VersionName: 版本名称
|
|
594
|
-
# @type VersionName: String
|
|
595
|
-
# @param GrayType: 灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS
|
|
596
|
-
# @type GrayType: String
|
|
597
|
-
# @param LbAddr: CLB的IP:Port
|
|
598
|
-
# @type LbAddr: String
|
|
599
|
-
# @param ConfigType: 0:http访问服务配置信息, 1: 服务域名
|
|
600
|
-
# @type ConfigType: Integer
|
|
601
|
-
|
|
602
|
-
attr_accessor :IsZero, :Weight, :GrayKey, :GrayValue, :IsDefault, :AccessType, :URLs, :EnvId, :ServerName, :VersionName, :GrayType, :LbAddr, :ConfigType
|
|
603
|
-
|
|
604
|
-
def initialize(iszero=nil, weight=nil, graykey=nil, grayvalue=nil, isdefault=nil, accesstype=nil, urls=nil, envid=nil, servername=nil, versionname=nil, graytype=nil, lbaddr=nil, configtype=nil)
|
|
605
|
-
@IsZero = iszero
|
|
606
|
-
@Weight = weight
|
|
607
|
-
@GrayKey = graykey
|
|
608
|
-
@GrayValue = grayvalue
|
|
609
|
-
@IsDefault = isdefault
|
|
610
|
-
@AccessType = accesstype
|
|
611
|
-
@URLs = urls
|
|
612
|
-
@EnvId = envid
|
|
613
|
-
@ServerName = servername
|
|
614
|
-
@VersionName = versionname
|
|
615
|
-
@GrayType = graytype
|
|
616
|
-
@LbAddr = lbaddr
|
|
617
|
-
@ConfigType = configtype
|
|
618
|
-
end
|
|
619
|
-
|
|
620
|
-
def deserialize(params)
|
|
621
|
-
@IsZero = params['IsZero']
|
|
622
|
-
@Weight = params['Weight']
|
|
623
|
-
@GrayKey = params['GrayKey']
|
|
624
|
-
@GrayValue = params['GrayValue']
|
|
625
|
-
@IsDefault = params['IsDefault']
|
|
626
|
-
@AccessType = params['AccessType']
|
|
627
|
-
@URLs = params['URLs']
|
|
628
|
-
@EnvId = params['EnvId']
|
|
629
|
-
@ServerName = params['ServerName']
|
|
630
|
-
@VersionName = params['VersionName']
|
|
631
|
-
@GrayType = params['GrayType']
|
|
632
|
-
@LbAddr = params['LbAddr']
|
|
633
|
-
@ConfigType = params['ConfigType']
|
|
634
|
-
end
|
|
635
|
-
end
|
|
636
|
-
|
|
637
573
|
# CloudBaseRun 镜像信息
|
|
638
574
|
class CloudBaseRunImageInfo < TencentCloud::Common::AbstractModel
|
|
639
575
|
# @param RepositoryName: 镜像仓库名称
|
|
@@ -986,38 +922,6 @@ module TencentCloud
|
|
|
986
922
|
end
|
|
987
923
|
end
|
|
988
924
|
|
|
989
|
-
# pod信息
|
|
990
|
-
class CloudBaseRunVersionPod < TencentCloud::Common::AbstractModel
|
|
991
|
-
# @param Webshell: webshell链接
|
|
992
|
-
# @type Webshell: String
|
|
993
|
-
# @param PodId: pod name
|
|
994
|
-
# @type PodId: String
|
|
995
|
-
# @param PodIp: pod ip
|
|
996
|
-
# @type PodIp: String
|
|
997
|
-
# @param Status: 状态
|
|
998
|
-
# @type Status: String
|
|
999
|
-
# @param CreateTime: 创建时间
|
|
1000
|
-
# @type CreateTime: String
|
|
1001
|
-
|
|
1002
|
-
attr_accessor :Webshell, :PodId, :PodIp, :Status, :CreateTime
|
|
1003
|
-
|
|
1004
|
-
def initialize(webshell=nil, podid=nil, podip=nil, status=nil, createtime=nil)
|
|
1005
|
-
@Webshell = webshell
|
|
1006
|
-
@PodId = podid
|
|
1007
|
-
@PodIp = podip
|
|
1008
|
-
@Status = status
|
|
1009
|
-
@CreateTime = createtime
|
|
1010
|
-
end
|
|
1011
|
-
|
|
1012
|
-
def deserialize(params)
|
|
1013
|
-
@Webshell = params['Webshell']
|
|
1014
|
-
@PodId = params['PodId']
|
|
1015
|
-
@PodIp = params['PodIp']
|
|
1016
|
-
@Status = params['Status']
|
|
1017
|
-
@CreateTime = params['CreateTime']
|
|
1018
|
-
end
|
|
1019
|
-
end
|
|
1020
|
-
|
|
1021
925
|
# cfs挂载点
|
|
1022
926
|
class CloudBaseRunVolumeMount < TencentCloud::Common::AbstractModel
|
|
1023
927
|
# @param Name: 资源名
|
|
@@ -2054,130 +1958,6 @@ module TencentCloud
|
|
|
2054
1958
|
end
|
|
2055
1959
|
end
|
|
2056
1960
|
|
|
2057
|
-
# CreateWxCloudBaseRunEnv请求参数结构体
|
|
2058
|
-
class CreateWxCloudBaseRunEnvRequest < TencentCloud::Common::AbstractModel
|
|
2059
|
-
# @param WxAppId: wx应用Id
|
|
2060
|
-
# @type WxAppId: String
|
|
2061
|
-
# @param Alias: 环境别名,要以a-z开头,不能包含 a-z,0-9,- 以外的字符
|
|
2062
|
-
# @type Alias: String
|
|
2063
|
-
# @param FreeQuota: 用户享有的免费额度级别,目前只能为“basic”,不传该字段或该字段为空,标识不享受免费额度。
|
|
2064
|
-
# @type FreeQuota: String
|
|
2065
|
-
# @param Flag: 订单标记。建议使用方统一转大小写之后再判断。
|
|
2066
|
-
# QuickStart:快速启动来源
|
|
2067
|
-
# Activity:活动来源
|
|
2068
|
-
# @type Flag: String
|
|
2069
|
-
# @param VpcId: 私有网络Id
|
|
2070
|
-
# @type VpcId: String
|
|
2071
|
-
# @param SubNetIds: 子网列表
|
|
2072
|
-
# @type SubNetIds: Array
|
|
2073
|
-
# @param IsOpenCloudInvoke: 是否打开云调用
|
|
2074
|
-
# @type IsOpenCloudInvoke: Boolean
|
|
2075
|
-
# @param Source: 创建来源:wechat | cloud
|
|
2076
|
-
# @type Source: String
|
|
2077
|
-
# @param Channel: 渠道:wechat | cloud
|
|
2078
|
-
# @type Channel: String
|
|
2079
|
-
|
|
2080
|
-
attr_accessor :WxAppId, :Alias, :FreeQuota, :Flag, :VpcId, :SubNetIds, :IsOpenCloudInvoke, :Source, :Channel
|
|
2081
|
-
|
|
2082
|
-
def initialize(wxappid=nil, _alias=nil, freequota=nil, flag=nil, vpcid=nil, subnetids=nil, isopencloudinvoke=nil, source=nil, channel=nil)
|
|
2083
|
-
@WxAppId = wxappid
|
|
2084
|
-
@Alias = _alias
|
|
2085
|
-
@FreeQuota = freequota
|
|
2086
|
-
@Flag = flag
|
|
2087
|
-
@VpcId = vpcid
|
|
2088
|
-
@SubNetIds = subnetids
|
|
2089
|
-
@IsOpenCloudInvoke = isopencloudinvoke
|
|
2090
|
-
@Source = source
|
|
2091
|
-
@Channel = channel
|
|
2092
|
-
end
|
|
2093
|
-
|
|
2094
|
-
def deserialize(params)
|
|
2095
|
-
@WxAppId = params['WxAppId']
|
|
2096
|
-
@Alias = params['Alias']
|
|
2097
|
-
@FreeQuota = params['FreeQuota']
|
|
2098
|
-
@Flag = params['Flag']
|
|
2099
|
-
@VpcId = params['VpcId']
|
|
2100
|
-
@SubNetIds = params['SubNetIds']
|
|
2101
|
-
@IsOpenCloudInvoke = params['IsOpenCloudInvoke']
|
|
2102
|
-
@Source = params['Source']
|
|
2103
|
-
@Channel = params['Channel']
|
|
2104
|
-
end
|
|
2105
|
-
end
|
|
2106
|
-
|
|
2107
|
-
# CreateWxCloudBaseRunEnv返回参数结构体
|
|
2108
|
-
class CreateWxCloudBaseRunEnvResponse < TencentCloud::Common::AbstractModel
|
|
2109
|
-
# @param EnvId: 环境Id
|
|
2110
|
-
# @type EnvId: String
|
|
2111
|
-
# @param TranId: 后付费订单号
|
|
2112
|
-
# @type TranId: String
|
|
2113
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2114
|
-
# @type RequestId: String
|
|
2115
|
-
|
|
2116
|
-
attr_accessor :EnvId, :TranId, :RequestId
|
|
2117
|
-
|
|
2118
|
-
def initialize(envid=nil, tranid=nil, requestid=nil)
|
|
2119
|
-
@EnvId = envid
|
|
2120
|
-
@TranId = tranid
|
|
2121
|
-
@RequestId = requestid
|
|
2122
|
-
end
|
|
2123
|
-
|
|
2124
|
-
def deserialize(params)
|
|
2125
|
-
@EnvId = params['EnvId']
|
|
2126
|
-
@TranId = params['TranId']
|
|
2127
|
-
@RequestId = params['RequestId']
|
|
2128
|
-
end
|
|
2129
|
-
end
|
|
2130
|
-
|
|
2131
|
-
# CreateWxCloudBaseRunServerDBCluster请求参数结构体
|
|
2132
|
-
class CreateWxCloudBaseRunServerDBClusterRequest < TencentCloud::Common::AbstractModel
|
|
2133
|
-
# @param AccountPassword: 账户密码
|
|
2134
|
-
# @type AccountPassword: String
|
|
2135
|
-
# @param EnvId: 环境ID
|
|
2136
|
-
# @type EnvId: String
|
|
2137
|
-
# @param WxAppId: 微信appid
|
|
2138
|
-
# @type WxAppId: String
|
|
2139
|
-
# @param DbVersion: mysql内核版本,支持5.7,8.0
|
|
2140
|
-
# @type DbVersion: String
|
|
2141
|
-
# @param LowerCaseTableName: 0: 大小写敏感
|
|
2142
|
-
# 1: 非大小写敏感
|
|
2143
|
-
# 默认为0
|
|
2144
|
-
# @type LowerCaseTableName: String
|
|
2145
|
-
|
|
2146
|
-
attr_accessor :AccountPassword, :EnvId, :WxAppId, :DbVersion, :LowerCaseTableName
|
|
2147
|
-
|
|
2148
|
-
def initialize(accountpassword=nil, envid=nil, wxappid=nil, dbversion=nil, lowercasetablename=nil)
|
|
2149
|
-
@AccountPassword = accountpassword
|
|
2150
|
-
@EnvId = envid
|
|
2151
|
-
@WxAppId = wxappid
|
|
2152
|
-
@DbVersion = dbversion
|
|
2153
|
-
@LowerCaseTableName = lowercasetablename
|
|
2154
|
-
end
|
|
2155
|
-
|
|
2156
|
-
def deserialize(params)
|
|
2157
|
-
@AccountPassword = params['AccountPassword']
|
|
2158
|
-
@EnvId = params['EnvId']
|
|
2159
|
-
@WxAppId = params['WxAppId']
|
|
2160
|
-
@DbVersion = params['DbVersion']
|
|
2161
|
-
@LowerCaseTableName = params['LowerCaseTableName']
|
|
2162
|
-
end
|
|
2163
|
-
end
|
|
2164
|
-
|
|
2165
|
-
# CreateWxCloudBaseRunServerDBCluster返回参数结构体
|
|
2166
|
-
class CreateWxCloudBaseRunServerDBClusterResponse < TencentCloud::Common::AbstractModel
|
|
2167
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2168
|
-
# @type RequestId: String
|
|
2169
|
-
|
|
2170
|
-
attr_accessor :RequestId
|
|
2171
|
-
|
|
2172
|
-
def initialize(requestid=nil)
|
|
2173
|
-
@RequestId = requestid
|
|
2174
|
-
end
|
|
2175
|
-
|
|
2176
|
-
def deserialize(params)
|
|
2177
|
-
@RequestId = params['RequestId']
|
|
2178
|
-
end
|
|
2179
|
-
end
|
|
2180
|
-
|
|
2181
1961
|
# 安全网关自定义头部
|
|
2182
1962
|
class CustomHeader < TencentCloud::Common::AbstractModel
|
|
2183
1963
|
# @param RequestToAddList: 请求添加头部配置
|
|
@@ -3124,311 +2904,6 @@ module TencentCloud
|
|
|
3124
2904
|
end
|
|
3125
2905
|
end
|
|
3126
2906
|
|
|
3127
|
-
# DescribeCloudBaseRunAllVpcs请求参数结构体
|
|
3128
|
-
class DescribeCloudBaseRunAllVpcsRequest < TencentCloud::Common::AbstractModel
|
|
3129
|
-
# @param EnvId: 环境ID
|
|
3130
|
-
# @type EnvId: String
|
|
3131
|
-
|
|
3132
|
-
attr_accessor :EnvId
|
|
3133
|
-
|
|
3134
|
-
def initialize(envid=nil)
|
|
3135
|
-
@EnvId = envid
|
|
3136
|
-
end
|
|
3137
|
-
|
|
3138
|
-
def deserialize(params)
|
|
3139
|
-
@EnvId = params['EnvId']
|
|
3140
|
-
end
|
|
3141
|
-
end
|
|
3142
|
-
|
|
3143
|
-
# DescribeCloudBaseRunAllVpcs返回参数结构体
|
|
3144
|
-
class DescribeCloudBaseRunAllVpcsResponse < TencentCloud::Common::AbstractModel
|
|
3145
|
-
# @param Vpcs: 所有vpcid
|
|
3146
|
-
# @type Vpcs: Array
|
|
3147
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3148
|
-
# @type RequestId: String
|
|
3149
|
-
|
|
3150
|
-
attr_accessor :Vpcs, :RequestId
|
|
3151
|
-
|
|
3152
|
-
def initialize(vpcs=nil, requestid=nil)
|
|
3153
|
-
@Vpcs = vpcs
|
|
3154
|
-
@RequestId = requestid
|
|
3155
|
-
end
|
|
3156
|
-
|
|
3157
|
-
def deserialize(params)
|
|
3158
|
-
@Vpcs = params['Vpcs']
|
|
3159
|
-
@RequestId = params['RequestId']
|
|
3160
|
-
end
|
|
3161
|
-
end
|
|
3162
|
-
|
|
3163
|
-
# DescribeCloudBaseRunConfForGateWay请求参数结构体
|
|
3164
|
-
class DescribeCloudBaseRunConfForGateWayRequest < TencentCloud::Common::AbstractModel
|
|
3165
|
-
# @param EnvID: 环境ID
|
|
3166
|
-
# @type EnvID: String
|
|
3167
|
-
# @param VpcID: vpc信息
|
|
3168
|
-
# @type VpcID: String
|
|
3169
|
-
|
|
3170
|
-
attr_accessor :EnvID, :VpcID
|
|
3171
|
-
|
|
3172
|
-
def initialize(envid=nil, vpcid=nil)
|
|
3173
|
-
@EnvID = envid
|
|
3174
|
-
@VpcID = vpcid
|
|
3175
|
-
end
|
|
3176
|
-
|
|
3177
|
-
def deserialize(params)
|
|
3178
|
-
@EnvID = params['EnvID']
|
|
3179
|
-
@VpcID = params['VpcID']
|
|
3180
|
-
end
|
|
3181
|
-
end
|
|
3182
|
-
|
|
3183
|
-
# DescribeCloudBaseRunConfForGateWay返回参数结构体
|
|
3184
|
-
class DescribeCloudBaseRunConfForGateWayResponse < TencentCloud::Common::AbstractModel
|
|
3185
|
-
# @param LastUpTime: 最近更新时间
|
|
3186
|
-
# @type LastUpTime: String
|
|
3187
|
-
# @param Data: 配置信息
|
|
3188
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3189
|
-
# @type Data: Array
|
|
3190
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3191
|
-
# @type RequestId: String
|
|
3192
|
-
|
|
3193
|
-
attr_accessor :LastUpTime, :Data, :RequestId
|
|
3194
|
-
|
|
3195
|
-
def initialize(lastuptime=nil, data=nil, requestid=nil)
|
|
3196
|
-
@LastUpTime = lastuptime
|
|
3197
|
-
@Data = data
|
|
3198
|
-
@RequestId = requestid
|
|
3199
|
-
end
|
|
3200
|
-
|
|
3201
|
-
def deserialize(params)
|
|
3202
|
-
@LastUpTime = params['LastUpTime']
|
|
3203
|
-
unless params['Data'].nil?
|
|
3204
|
-
@Data = []
|
|
3205
|
-
params['Data'].each do |i|
|
|
3206
|
-
cloudbaserunforgatewayconf_tmp = CloudBaseRunForGatewayConf.new
|
|
3207
|
-
cloudbaserunforgatewayconf_tmp.deserialize(i)
|
|
3208
|
-
@Data << cloudbaserunforgatewayconf_tmp
|
|
3209
|
-
end
|
|
3210
|
-
end
|
|
3211
|
-
@RequestId = params['RequestId']
|
|
3212
|
-
end
|
|
3213
|
-
end
|
|
3214
|
-
|
|
3215
|
-
# DescribeCloudBaseRunOneClickTaskExternal请求参数结构体
|
|
3216
|
-
class DescribeCloudBaseRunOneClickTaskExternalRequest < TencentCloud::Common::AbstractModel
|
|
3217
|
-
# @param ExternalId: 外部任务Id 最长64字节
|
|
3218
|
-
# @type ExternalId: String
|
|
3219
|
-
|
|
3220
|
-
attr_accessor :ExternalId
|
|
3221
|
-
|
|
3222
|
-
def initialize(externalid=nil)
|
|
3223
|
-
@ExternalId = externalid
|
|
3224
|
-
end
|
|
3225
|
-
|
|
3226
|
-
def deserialize(params)
|
|
3227
|
-
@ExternalId = params['ExternalId']
|
|
3228
|
-
end
|
|
3229
|
-
end
|
|
3230
|
-
|
|
3231
|
-
# DescribeCloudBaseRunOneClickTaskExternal返回参数结构体
|
|
3232
|
-
class DescribeCloudBaseRunOneClickTaskExternalResponse < TencentCloud::Common::AbstractModel
|
|
3233
|
-
# @param ExternalId: 外部任务Id
|
|
3234
|
-
# @type ExternalId: String
|
|
3235
|
-
# @param EnvId: 弃用
|
|
3236
|
-
# @type EnvId: String
|
|
3237
|
-
# @param UserUin: 用户uin
|
|
3238
|
-
# @type UserUin: String
|
|
3239
|
-
# @param ServerName: 服务名
|
|
3240
|
-
# @type ServerName: String
|
|
3241
|
-
# @param VersionName: 版本名
|
|
3242
|
-
# @type VersionName: String
|
|
3243
|
-
# @param CreateTime: 创建时间
|
|
3244
|
-
# @type CreateTime: String
|
|
3245
|
-
# @param Stage: 当前阶段
|
|
3246
|
-
# 微信云托管环境创建阶段:envStage
|
|
3247
|
-
# 存储资源创建阶段:storageStage
|
|
3248
|
-
# 服务创建阶段:serverStage
|
|
3249
|
-
# @type Stage: String
|
|
3250
|
-
# @param Status: 状态
|
|
3251
|
-
# running
|
|
3252
|
-
# stopped
|
|
3253
|
-
# failed
|
|
3254
|
-
# finished
|
|
3255
|
-
# @type Status: String
|
|
3256
|
-
# @param FailReason: 失败原因
|
|
3257
|
-
# @type FailReason: String
|
|
3258
|
-
# @param UserEnvId: 用户envId
|
|
3259
|
-
# @type UserEnvId: String
|
|
3260
|
-
# @param StartTime: 创建时间
|
|
3261
|
-
# @type StartTime: String
|
|
3262
|
-
# @param Steps: 步骤信息
|
|
3263
|
-
# @type Steps: Array
|
|
3264
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3265
|
-
# @type RequestId: String
|
|
3266
|
-
|
|
3267
|
-
attr_accessor :ExternalId, :EnvId, :UserUin, :ServerName, :VersionName, :CreateTime, :Stage, :Status, :FailReason, :UserEnvId, :StartTime, :Steps, :RequestId
|
|
3268
|
-
|
|
3269
|
-
def initialize(externalid=nil, envid=nil, useruin=nil, servername=nil, versionname=nil, createtime=nil, stage=nil, status=nil, failreason=nil, userenvid=nil, starttime=nil, steps=nil, requestid=nil)
|
|
3270
|
-
@ExternalId = externalid
|
|
3271
|
-
@EnvId = envid
|
|
3272
|
-
@UserUin = useruin
|
|
3273
|
-
@ServerName = servername
|
|
3274
|
-
@VersionName = versionname
|
|
3275
|
-
@CreateTime = createtime
|
|
3276
|
-
@Stage = stage
|
|
3277
|
-
@Status = status
|
|
3278
|
-
@FailReason = failreason
|
|
3279
|
-
@UserEnvId = userenvid
|
|
3280
|
-
@StartTime = starttime
|
|
3281
|
-
@Steps = steps
|
|
3282
|
-
@RequestId = requestid
|
|
3283
|
-
end
|
|
3284
|
-
|
|
3285
|
-
def deserialize(params)
|
|
3286
|
-
@ExternalId = params['ExternalId']
|
|
3287
|
-
@EnvId = params['EnvId']
|
|
3288
|
-
@UserUin = params['UserUin']
|
|
3289
|
-
@ServerName = params['ServerName']
|
|
3290
|
-
@VersionName = params['VersionName']
|
|
3291
|
-
@CreateTime = params['CreateTime']
|
|
3292
|
-
@Stage = params['Stage']
|
|
3293
|
-
@Status = params['Status']
|
|
3294
|
-
@FailReason = params['FailReason']
|
|
3295
|
-
@UserEnvId = params['UserEnvId']
|
|
3296
|
-
@StartTime = params['StartTime']
|
|
3297
|
-
unless params['Steps'].nil?
|
|
3298
|
-
@Steps = []
|
|
3299
|
-
params['Steps'].each do |i|
|
|
3300
|
-
oneclicktaskstepinfo_tmp = OneClickTaskStepInfo.new
|
|
3301
|
-
oneclicktaskstepinfo_tmp.deserialize(i)
|
|
3302
|
-
@Steps << oneclicktaskstepinfo_tmp
|
|
3303
|
-
end
|
|
3304
|
-
end
|
|
3305
|
-
@RequestId = params['RequestId']
|
|
3306
|
-
end
|
|
3307
|
-
end
|
|
3308
|
-
|
|
3309
|
-
# DescribeCloudBaseRunOperationTypes请求参数结构体
|
|
3310
|
-
class DescribeCloudBaseRunOperationTypesRequest < TencentCloud::Common::AbstractModel
|
|
3311
|
-
# @param EnvId: 环境ID
|
|
3312
|
-
# @type EnvId: String
|
|
3313
|
-
# @param ServerName: 服务名称,精确匹配
|
|
3314
|
-
# @type ServerName: String
|
|
3315
|
-
|
|
3316
|
-
attr_accessor :EnvId, :ServerName
|
|
3317
|
-
|
|
3318
|
-
def initialize(envid=nil, servername=nil)
|
|
3319
|
-
@EnvId = envid
|
|
3320
|
-
@ServerName = servername
|
|
3321
|
-
end
|
|
3322
|
-
|
|
3323
|
-
def deserialize(params)
|
|
3324
|
-
@EnvId = params['EnvId']
|
|
3325
|
-
@ServerName = params['ServerName']
|
|
3326
|
-
end
|
|
3327
|
-
end
|
|
3328
|
-
|
|
3329
|
-
# DescribeCloudBaseRunOperationTypes返回参数结构体
|
|
3330
|
-
class DescribeCloudBaseRunOperationTypesResponse < TencentCloud::Common::AbstractModel
|
|
3331
|
-
# @param Action: 操作类型
|
|
3332
|
-
# @type Action: Array
|
|
3333
|
-
# @param ServerName: 服务名列表
|
|
3334
|
-
# @type ServerName: Array
|
|
3335
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3336
|
-
# @type RequestId: String
|
|
3337
|
-
|
|
3338
|
-
attr_accessor :Action, :ServerName, :RequestId
|
|
3339
|
-
|
|
3340
|
-
def initialize(action=nil, servername=nil, requestid=nil)
|
|
3341
|
-
@Action = action
|
|
3342
|
-
@ServerName = servername
|
|
3343
|
-
@RequestId = requestid
|
|
3344
|
-
end
|
|
3345
|
-
|
|
3346
|
-
def deserialize(params)
|
|
3347
|
-
@Action = params['Action']
|
|
3348
|
-
@ServerName = params['ServerName']
|
|
3349
|
-
@RequestId = params['RequestId']
|
|
3350
|
-
end
|
|
3351
|
-
end
|
|
3352
|
-
|
|
3353
|
-
# DescribeCloudBaseRunPodList请求参数结构体
|
|
3354
|
-
class DescribeCloudBaseRunPodListRequest < TencentCloud::Common::AbstractModel
|
|
3355
|
-
# @param EnvId: 环境id
|
|
3356
|
-
# @type EnvId: String
|
|
3357
|
-
# @param ServerName: 服务名
|
|
3358
|
-
# @type ServerName: String
|
|
3359
|
-
# @param VersionName: 版本名
|
|
3360
|
-
# @type VersionName: String
|
|
3361
|
-
# @param Limit: 分页限制
|
|
3362
|
-
# @type Limit: Integer
|
|
3363
|
-
# @param Offset: 分页偏移量
|
|
3364
|
-
# @type Offset: Integer
|
|
3365
|
-
# @param Status: 容器状态
|
|
3366
|
-
# @type Status: String
|
|
3367
|
-
# @param PodName: 容器名
|
|
3368
|
-
# @type PodName: String
|
|
3369
|
-
|
|
3370
|
-
attr_accessor :EnvId, :ServerName, :VersionName, :Limit, :Offset, :Status, :PodName
|
|
3371
|
-
|
|
3372
|
-
def initialize(envid=nil, servername=nil, versionname=nil, limit=nil, offset=nil, status=nil, podname=nil)
|
|
3373
|
-
@EnvId = envid
|
|
3374
|
-
@ServerName = servername
|
|
3375
|
-
@VersionName = versionname
|
|
3376
|
-
@Limit = limit
|
|
3377
|
-
@Offset = offset
|
|
3378
|
-
@Status = status
|
|
3379
|
-
@PodName = podname
|
|
3380
|
-
end
|
|
3381
|
-
|
|
3382
|
-
def deserialize(params)
|
|
3383
|
-
@EnvId = params['EnvId']
|
|
3384
|
-
@ServerName = params['ServerName']
|
|
3385
|
-
@VersionName = params['VersionName']
|
|
3386
|
-
@Limit = params['Limit']
|
|
3387
|
-
@Offset = params['Offset']
|
|
3388
|
-
@Status = params['Status']
|
|
3389
|
-
@PodName = params['PodName']
|
|
3390
|
-
end
|
|
3391
|
-
end
|
|
3392
|
-
|
|
3393
|
-
# DescribeCloudBaseRunPodList返回参数结构体
|
|
3394
|
-
class DescribeCloudBaseRunPodListResponse < TencentCloud::Common::AbstractModel
|
|
3395
|
-
# @param Offset: 偏移量
|
|
3396
|
-
# @type Offset: Integer
|
|
3397
|
-
# @param Limit: 分页大小
|
|
3398
|
-
# @type Limit: Integer
|
|
3399
|
-
# @param TotalCount: 总数
|
|
3400
|
-
# @type TotalCount: Integer
|
|
3401
|
-
# @param PodList: 容器列表
|
|
3402
|
-
# @type PodList: Array
|
|
3403
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3404
|
-
# @type RequestId: String
|
|
3405
|
-
|
|
3406
|
-
attr_accessor :Offset, :Limit, :TotalCount, :PodList, :RequestId
|
|
3407
|
-
|
|
3408
|
-
def initialize(offset=nil, limit=nil, totalcount=nil, podlist=nil, requestid=nil)
|
|
3409
|
-
@Offset = offset
|
|
3410
|
-
@Limit = limit
|
|
3411
|
-
@TotalCount = totalcount
|
|
3412
|
-
@PodList = podlist
|
|
3413
|
-
@RequestId = requestid
|
|
3414
|
-
end
|
|
3415
|
-
|
|
3416
|
-
def deserialize(params)
|
|
3417
|
-
@Offset = params['Offset']
|
|
3418
|
-
@Limit = params['Limit']
|
|
3419
|
-
@TotalCount = params['TotalCount']
|
|
3420
|
-
unless params['PodList'].nil?
|
|
3421
|
-
@PodList = []
|
|
3422
|
-
params['PodList'].each do |i|
|
|
3423
|
-
cloudbaserunversionpod_tmp = CloudBaseRunVersionPod.new
|
|
3424
|
-
cloudbaserunversionpod_tmp.deserialize(i)
|
|
3425
|
-
@PodList << cloudbaserunversionpod_tmp
|
|
3426
|
-
end
|
|
3427
|
-
end
|
|
3428
|
-
@RequestId = params['RequestId']
|
|
3429
|
-
end
|
|
3430
|
-
end
|
|
3431
|
-
|
|
3432
2907
|
# DescribeCloudBaseRunResourceForExtend请求参数结构体
|
|
3433
2908
|
class DescribeCloudBaseRunResourceForExtendRequest < TencentCloud::Common::AbstractModel
|
|
3434
2909
|
# @param EnvId: 环境ID
|
|
@@ -3548,62 +3023,6 @@ module TencentCloud
|
|
|
3548
3023
|
end
|
|
3549
3024
|
end
|
|
3550
3025
|
|
|
3551
|
-
# DescribeCloudBaseRunServerDomainName请求参数结构体
|
|
3552
|
-
class DescribeCloudBaseRunServerDomainNameRequest < TencentCloud::Common::AbstractModel
|
|
3553
|
-
# @param ServerName: 服务名
|
|
3554
|
-
# @type ServerName: String
|
|
3555
|
-
# @param UserEnvId: 环境Id
|
|
3556
|
-
# @type UserEnvId: String
|
|
3557
|
-
# @param UserUin: 用户Uin
|
|
3558
|
-
# @type UserUin: String
|
|
3559
|
-
# @param ExternalId: 外部Id
|
|
3560
|
-
# @type ExternalId: String
|
|
3561
|
-
|
|
3562
|
-
attr_accessor :ServerName, :UserEnvId, :UserUin, :ExternalId
|
|
3563
|
-
|
|
3564
|
-
def initialize(servername=nil, userenvid=nil, useruin=nil, externalid=nil)
|
|
3565
|
-
@ServerName = servername
|
|
3566
|
-
@UserEnvId = userenvid
|
|
3567
|
-
@UserUin = useruin
|
|
3568
|
-
@ExternalId = externalid
|
|
3569
|
-
end
|
|
3570
|
-
|
|
3571
|
-
def deserialize(params)
|
|
3572
|
-
@ServerName = params['ServerName']
|
|
3573
|
-
@UserEnvId = params['UserEnvId']
|
|
3574
|
-
@UserUin = params['UserUin']
|
|
3575
|
-
@ExternalId = params['ExternalId']
|
|
3576
|
-
end
|
|
3577
|
-
end
|
|
3578
|
-
|
|
3579
|
-
# DescribeCloudBaseRunServerDomainName返回参数结构体
|
|
3580
|
-
class DescribeCloudBaseRunServerDomainNameResponse < TencentCloud::Common::AbstractModel
|
|
3581
|
-
# @param PublicDomain: 公网服务域名
|
|
3582
|
-
# @type PublicDomain: String
|
|
3583
|
-
# @param InternalDomain: 内部服务域名
|
|
3584
|
-
# @type InternalDomain: String
|
|
3585
|
-
# @param DomainName: 弃用
|
|
3586
|
-
# @type DomainName: String
|
|
3587
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3588
|
-
# @type RequestId: String
|
|
3589
|
-
|
|
3590
|
-
attr_accessor :PublicDomain, :InternalDomain, :DomainName, :RequestId
|
|
3591
|
-
|
|
3592
|
-
def initialize(publicdomain=nil, internaldomain=nil, domainname=nil, requestid=nil)
|
|
3593
|
-
@PublicDomain = publicdomain
|
|
3594
|
-
@InternalDomain = internaldomain
|
|
3595
|
-
@DomainName = domainname
|
|
3596
|
-
@RequestId = requestid
|
|
3597
|
-
end
|
|
3598
|
-
|
|
3599
|
-
def deserialize(params)
|
|
3600
|
-
@PublicDomain = params['PublicDomain']
|
|
3601
|
-
@InternalDomain = params['InternalDomain']
|
|
3602
|
-
@DomainName = params['DomainName']
|
|
3603
|
-
@RequestId = params['RequestId']
|
|
3604
|
-
end
|
|
3605
|
-
end
|
|
3606
|
-
|
|
3607
3026
|
# DescribeCloudBaseRunServer请求参数结构体
|
|
3608
3027
|
class DescribeCloudBaseRunServerRequest < TencentCloud::Common::AbstractModel
|
|
3609
3028
|
# @param EnvId: 环境ID
|
|
@@ -4069,52 +3488,12 @@ module TencentCloud
|
|
|
4069
3488
|
@PolicyDetail = []
|
|
4070
3489
|
params['PolicyDetail'].each do |i|
|
|
4071
3490
|
hpapolicy_tmp = HpaPolicy.new
|
|
4072
|
-
hpapolicy_tmp.deserialize(i)
|
|
4073
|
-
@PolicyDetail << hpapolicy_tmp
|
|
4074
|
-
end
|
|
4075
|
-
end
|
|
4076
|
-
@Cpu = params['Cpu']
|
|
4077
|
-
@Mem = params['Mem']
|
|
4078
|
-
@RequestId = params['RequestId']
|
|
4079
|
-
end
|
|
4080
|
-
end
|
|
4081
|
-
|
|
4082
|
-
# DescribeCloudBaseRunVersionRsByCondition请求参数结构体
|
|
4083
|
-
class DescribeCloudBaseRunVersionRsByConditionRequest < TencentCloud::Common::AbstractModel
|
|
4084
|
-
# @param EnvId: 环境ID;EnvId和ClusterId不能同时为空
|
|
4085
|
-
# @type EnvId: String
|
|
4086
|
-
# @param ClusterId: 集群ID;EnvId和ClusterId不能同时为空
|
|
4087
|
-
# @type ClusterId: String
|
|
4088
|
-
# @param FilterGwSwitch: 过滤网关服务开关
|
|
4089
|
-
# @type FilterGwSwitch: Boolean
|
|
4090
|
-
|
|
4091
|
-
attr_accessor :EnvId, :ClusterId, :FilterGwSwitch
|
|
4092
|
-
|
|
4093
|
-
def initialize(envid=nil, clusterid=nil, filtergwswitch=nil)
|
|
4094
|
-
@EnvId = envid
|
|
4095
|
-
@ClusterId = clusterid
|
|
4096
|
-
@FilterGwSwitch = filtergwswitch
|
|
4097
|
-
end
|
|
4098
|
-
|
|
4099
|
-
def deserialize(params)
|
|
4100
|
-
@EnvId = params['EnvId']
|
|
4101
|
-
@ClusterId = params['ClusterId']
|
|
4102
|
-
@FilterGwSwitch = params['FilterGwSwitch']
|
|
4103
|
-
end
|
|
4104
|
-
end
|
|
4105
|
-
|
|
4106
|
-
# DescribeCloudBaseRunVersionRsByCondition返回参数结构体
|
|
4107
|
-
class DescribeCloudBaseRunVersionRsByConditionResponse < TencentCloud::Common::AbstractModel
|
|
4108
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4109
|
-
# @type RequestId: String
|
|
4110
|
-
|
|
4111
|
-
attr_accessor :RequestId
|
|
4112
|
-
|
|
4113
|
-
def initialize(requestid=nil)
|
|
4114
|
-
@RequestId = requestid
|
|
4115
|
-
end
|
|
4116
|
-
|
|
4117
|
-
def deserialize(params)
|
|
3491
|
+
hpapolicy_tmp.deserialize(i)
|
|
3492
|
+
@PolicyDetail << hpapolicy_tmp
|
|
3493
|
+
end
|
|
3494
|
+
end
|
|
3495
|
+
@Cpu = params['Cpu']
|
|
3496
|
+
@Mem = params['Mem']
|
|
4118
3497
|
@RequestId = params['RequestId']
|
|
4119
3498
|
end
|
|
4120
3499
|
end
|
|
@@ -5418,93 +4797,6 @@ module TencentCloud
|
|
|
5418
4797
|
end
|
|
5419
4798
|
end
|
|
5420
4799
|
|
|
5421
|
-
# DescribeWxCloudBaseRunEnvs请求参数结构体
|
|
5422
|
-
class DescribeWxCloudBaseRunEnvsRequest < TencentCloud::Common::AbstractModel
|
|
5423
|
-
# @param WxAppId: wx应用Id
|
|
5424
|
-
# @type WxAppId: String
|
|
5425
|
-
# @param AllRegions: 是否查询全地域
|
|
5426
|
-
# @type AllRegions: Boolean
|
|
5427
|
-
|
|
5428
|
-
attr_accessor :WxAppId, :AllRegions
|
|
5429
|
-
|
|
5430
|
-
def initialize(wxappid=nil, allregions=nil)
|
|
5431
|
-
@WxAppId = wxappid
|
|
5432
|
-
@AllRegions = allregions
|
|
5433
|
-
end
|
|
5434
|
-
|
|
5435
|
-
def deserialize(params)
|
|
5436
|
-
@WxAppId = params['WxAppId']
|
|
5437
|
-
@AllRegions = params['AllRegions']
|
|
5438
|
-
end
|
|
5439
|
-
end
|
|
5440
|
-
|
|
5441
|
-
# DescribeWxCloudBaseRunEnvs返回参数结构体
|
|
5442
|
-
class DescribeWxCloudBaseRunEnvsResponse < TencentCloud::Common::AbstractModel
|
|
5443
|
-
# @param EnvList: env列表
|
|
5444
|
-
# @type EnvList: Array
|
|
5445
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5446
|
-
# @type RequestId: String
|
|
5447
|
-
|
|
5448
|
-
attr_accessor :EnvList, :RequestId
|
|
5449
|
-
|
|
5450
|
-
def initialize(envlist=nil, requestid=nil)
|
|
5451
|
-
@EnvList = envlist
|
|
5452
|
-
@RequestId = requestid
|
|
5453
|
-
end
|
|
5454
|
-
|
|
5455
|
-
def deserialize(params)
|
|
5456
|
-
unless params['EnvList'].nil?
|
|
5457
|
-
@EnvList = []
|
|
5458
|
-
params['EnvList'].each do |i|
|
|
5459
|
-
envinfo_tmp = EnvInfo.new
|
|
5460
|
-
envinfo_tmp.deserialize(i)
|
|
5461
|
-
@EnvList << envinfo_tmp
|
|
5462
|
-
end
|
|
5463
|
-
end
|
|
5464
|
-
@RequestId = params['RequestId']
|
|
5465
|
-
end
|
|
5466
|
-
end
|
|
5467
|
-
|
|
5468
|
-
# DescribeWxCloudBaseRunSubNets请求参数结构体
|
|
5469
|
-
class DescribeWxCloudBaseRunSubNetsRequest < TencentCloud::Common::AbstractModel
|
|
5470
|
-
# @param VpcId: VPC id
|
|
5471
|
-
# @type VpcId: String
|
|
5472
|
-
# @param Limit: 查询个数限制,不填或小于等于0,等于不限制
|
|
5473
|
-
# @type Limit: Integer
|
|
5474
|
-
|
|
5475
|
-
attr_accessor :VpcId, :Limit
|
|
5476
|
-
|
|
5477
|
-
def initialize(vpcid=nil, limit=nil)
|
|
5478
|
-
@VpcId = vpcid
|
|
5479
|
-
@Limit = limit
|
|
5480
|
-
end
|
|
5481
|
-
|
|
5482
|
-
def deserialize(params)
|
|
5483
|
-
@VpcId = params['VpcId']
|
|
5484
|
-
@Limit = params['Limit']
|
|
5485
|
-
end
|
|
5486
|
-
end
|
|
5487
|
-
|
|
5488
|
-
# DescribeWxCloudBaseRunSubNets返回参数结构体
|
|
5489
|
-
class DescribeWxCloudBaseRunSubNetsResponse < TencentCloud::Common::AbstractModel
|
|
5490
|
-
# @param SubNetIds: 子网Id列表
|
|
5491
|
-
# @type SubNetIds: Array
|
|
5492
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5493
|
-
# @type RequestId: String
|
|
5494
|
-
|
|
5495
|
-
attr_accessor :SubNetIds, :RequestId
|
|
5496
|
-
|
|
5497
|
-
def initialize(subnetids=nil, requestid=nil)
|
|
5498
|
-
@SubNetIds = subnetids
|
|
5499
|
-
@RequestId = requestid
|
|
5500
|
-
end
|
|
5501
|
-
|
|
5502
|
-
def deserialize(params)
|
|
5503
|
-
@SubNetIds = params['SubNetIds']
|
|
5504
|
-
@RequestId = params['RequestId']
|
|
5505
|
-
end
|
|
5506
|
-
end
|
|
5507
|
-
|
|
5508
4800
|
# DescribeWxGatewayRoutes请求参数结构体
|
|
5509
4801
|
class DescribeWxGatewayRoutesRequest < TencentCloud::Common::AbstractModel
|
|
5510
4802
|
# @param EnvId: 环境ID
|
|
@@ -6988,45 +6280,6 @@ module TencentCloud
|
|
|
6988
6280
|
end
|
|
6989
6281
|
end
|
|
6990
6282
|
|
|
6991
|
-
# 一键部署步骤信息
|
|
6992
|
-
class OneClickTaskStepInfo < TencentCloud::Common::AbstractModel
|
|
6993
|
-
# @param Status: 未启动:"todo"
|
|
6994
|
-
# 运行中:"running"
|
|
6995
|
-
# 失败:"failed"
|
|
6996
|
-
# 成功结束:"finished"
|
|
6997
|
-
# @type Status: String
|
|
6998
|
-
# @param StartTime: 开始时间
|
|
6999
|
-
# @type StartTime: String
|
|
7000
|
-
# @param EndTime: 结束时间
|
|
7001
|
-
# @type EndTime: String
|
|
7002
|
-
# @param CostTime: 耗时:秒
|
|
7003
|
-
# @type CostTime: Integer
|
|
7004
|
-
# @param FailReason: 失败原因
|
|
7005
|
-
# @type FailReason: String
|
|
7006
|
-
# @param Name: 步骤名
|
|
7007
|
-
# @type Name: String
|
|
7008
|
-
|
|
7009
|
-
attr_accessor :Status, :StartTime, :EndTime, :CostTime, :FailReason, :Name
|
|
7010
|
-
|
|
7011
|
-
def initialize(status=nil, starttime=nil, endtime=nil, costtime=nil, failreason=nil, name=nil)
|
|
7012
|
-
@Status = status
|
|
7013
|
-
@StartTime = starttime
|
|
7014
|
-
@EndTime = endtime
|
|
7015
|
-
@CostTime = costtime
|
|
7016
|
-
@FailReason = failreason
|
|
7017
|
-
@Name = name
|
|
7018
|
-
end
|
|
7019
|
-
|
|
7020
|
-
def deserialize(params)
|
|
7021
|
-
@Status = params['Status']
|
|
7022
|
-
@StartTime = params['StartTime']
|
|
7023
|
-
@EndTime = params['EndTime']
|
|
7024
|
-
@CostTime = params['CostTime']
|
|
7025
|
-
@FailReason = params['FailReason']
|
|
7026
|
-
@Name = params['Name']
|
|
7027
|
-
end
|
|
7028
|
-
end
|
|
7029
|
-
|
|
7030
6283
|
# 订单信息
|
|
7031
6284
|
class OrderInfo < TencentCloud::Common::AbstractModel
|
|
7032
6285
|
# @param TranId: 订单号
|
|
@@ -7292,203 +6545,6 @@ module TencentCloud
|
|
|
7292
6545
|
end
|
|
7293
6546
|
end
|
|
7294
6547
|
|
|
7295
|
-
# RollUpdateCloudBaseRunServerVersion请求参数结构体
|
|
7296
|
-
class RollUpdateCloudBaseRunServerVersionRequest < TencentCloud::Common::AbstractModel
|
|
7297
|
-
# @param EnvId: 环境ID
|
|
7298
|
-
# @type EnvId: String
|
|
7299
|
-
# @param VersionName: 要替换的版本名称,可以为latest
|
|
7300
|
-
# @type VersionName: String
|
|
7301
|
-
# @param UploadType: 枚举(package/repository/image)
|
|
7302
|
-
# @type UploadType: String
|
|
7303
|
-
# @param RepositoryType: repository的类型(coding/gitlab/github)
|
|
7304
|
-
# @type RepositoryType: String
|
|
7305
|
-
# @param FlowRatio: 流量占比
|
|
7306
|
-
# @type FlowRatio: Integer
|
|
7307
|
-
# @param DockerfilePath: dockerfile地址
|
|
7308
|
-
# @type DockerfilePath: String
|
|
7309
|
-
# @param BuildDir: 构建目录
|
|
7310
|
-
# @type BuildDir: String
|
|
7311
|
-
# @param Cpu: Cpu的大小,单位:核
|
|
7312
|
-
# @type Cpu: String
|
|
7313
|
-
# @param Mem: Mem的大小,单位:G
|
|
7314
|
-
# @type Mem: String
|
|
7315
|
-
# @param MinNum: 最小副本数,最小值:0
|
|
7316
|
-
# @type MinNum: String
|
|
7317
|
-
# @param MaxNum: 最大副本数
|
|
7318
|
-
# @type MaxNum: String
|
|
7319
|
-
# @param PolicyType: 策略类型
|
|
7320
|
-
# cpu/mem
|
|
7321
|
-
# @type PolicyType: String
|
|
7322
|
-
# @param PolicyThreshold: 策略阈值
|
|
7323
|
-
# @type PolicyThreshold: String
|
|
7324
|
-
# @param EnvParams: 环境变量
|
|
7325
|
-
# @type EnvParams: String
|
|
7326
|
-
# @param ContainerPort: 容器端口
|
|
7327
|
-
# @type ContainerPort: Integer
|
|
7328
|
-
# @param ServerName: 服务名称
|
|
7329
|
-
# @type ServerName: String
|
|
7330
|
-
# @param Repository: repository地址
|
|
7331
|
-
# @type Repository: String
|
|
7332
|
-
# @param Branch: 分支
|
|
7333
|
-
# @type Branch: String
|
|
7334
|
-
# @param VersionRemark: 版本备注
|
|
7335
|
-
# @type VersionRemark: String
|
|
7336
|
-
# @param PackageName: 代码包名字
|
|
7337
|
-
# @type PackageName: String
|
|
7338
|
-
# @param PackageVersion: 代码包版本
|
|
7339
|
-
# @type PackageVersion: String
|
|
7340
|
-
# @param ImageInfo: Image的详情
|
|
7341
|
-
# @type ImageInfo: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseRunImageInfo`
|
|
7342
|
-
# @param CodeDetail: Github等拉取代码的详情
|
|
7343
|
-
# @type CodeDetail: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseCodeRepoDetail`
|
|
7344
|
-
# @param IsRebuild: 是否回放流量
|
|
7345
|
-
# @type IsRebuild: Boolean
|
|
7346
|
-
# @param InitialDelaySeconds: 延迟多长时间开始健康检查(单位s)
|
|
7347
|
-
# @type InitialDelaySeconds: Integer
|
|
7348
|
-
# @param MountVolumeInfo: cfs挂载信息
|
|
7349
|
-
# @type MountVolumeInfo: Array
|
|
7350
|
-
# @param Rollback: 是否回滚
|
|
7351
|
-
# @type Rollback: Boolean
|
|
7352
|
-
# @param SnapshotName: 版本历史名
|
|
7353
|
-
# @type SnapshotName: String
|
|
7354
|
-
# @param CustomLogs: 自定义采集路径
|
|
7355
|
-
# @type CustomLogs: String
|
|
7356
|
-
# @param EnableUnion: 是否启用统一域名
|
|
7357
|
-
# @type EnableUnion: Boolean
|
|
7358
|
-
# @param OperatorRemark: 操作备注
|
|
7359
|
-
# @type OperatorRemark: String
|
|
7360
|
-
# @param ServerPath: 服务路径(只会第一次生效)
|
|
7361
|
-
# @type ServerPath: String
|
|
7362
|
-
# @param IsUpdateCls: 是否更新Cls
|
|
7363
|
-
# @type IsUpdateCls: Boolean
|
|
7364
|
-
# @param PolicyDetail: 自动扩缩容策略组
|
|
7365
|
-
# @type PolicyDetail: Array
|
|
7366
|
-
|
|
7367
|
-
attr_accessor :EnvId, :VersionName, :UploadType, :RepositoryType, :FlowRatio, :DockerfilePath, :BuildDir, :Cpu, :Mem, :MinNum, :MaxNum, :PolicyType, :PolicyThreshold, :EnvParams, :ContainerPort, :ServerName, :Repository, :Branch, :VersionRemark, :PackageName, :PackageVersion, :ImageInfo, :CodeDetail, :IsRebuild, :InitialDelaySeconds, :MountVolumeInfo, :Rollback, :SnapshotName, :CustomLogs, :EnableUnion, :OperatorRemark, :ServerPath, :IsUpdateCls, :PolicyDetail
|
|
7368
|
-
|
|
7369
|
-
def initialize(envid=nil, versionname=nil, uploadtype=nil, repositorytype=nil, flowratio=nil, dockerfilepath=nil, builddir=nil, cpu=nil, mem=nil, minnum=nil, maxnum=nil, policytype=nil, policythreshold=nil, envparams=nil, containerport=nil, servername=nil, repository=nil, branch=nil, versionremark=nil, packagename=nil, packageversion=nil, imageinfo=nil, codedetail=nil, isrebuild=nil, initialdelayseconds=nil, mountvolumeinfo=nil, rollback=nil, snapshotname=nil, customlogs=nil, enableunion=nil, operatorremark=nil, serverpath=nil, isupdatecls=nil, policydetail=nil)
|
|
7370
|
-
@EnvId = envid
|
|
7371
|
-
@VersionName = versionname
|
|
7372
|
-
@UploadType = uploadtype
|
|
7373
|
-
@RepositoryType = repositorytype
|
|
7374
|
-
@FlowRatio = flowratio
|
|
7375
|
-
@DockerfilePath = dockerfilepath
|
|
7376
|
-
@BuildDir = builddir
|
|
7377
|
-
@Cpu = cpu
|
|
7378
|
-
@Mem = mem
|
|
7379
|
-
@MinNum = minnum
|
|
7380
|
-
@MaxNum = maxnum
|
|
7381
|
-
@PolicyType = policytype
|
|
7382
|
-
@PolicyThreshold = policythreshold
|
|
7383
|
-
@EnvParams = envparams
|
|
7384
|
-
@ContainerPort = containerport
|
|
7385
|
-
@ServerName = servername
|
|
7386
|
-
@Repository = repository
|
|
7387
|
-
@Branch = branch
|
|
7388
|
-
@VersionRemark = versionremark
|
|
7389
|
-
@PackageName = packagename
|
|
7390
|
-
@PackageVersion = packageversion
|
|
7391
|
-
@ImageInfo = imageinfo
|
|
7392
|
-
@CodeDetail = codedetail
|
|
7393
|
-
@IsRebuild = isrebuild
|
|
7394
|
-
@InitialDelaySeconds = initialdelayseconds
|
|
7395
|
-
@MountVolumeInfo = mountvolumeinfo
|
|
7396
|
-
@Rollback = rollback
|
|
7397
|
-
@SnapshotName = snapshotname
|
|
7398
|
-
@CustomLogs = customlogs
|
|
7399
|
-
@EnableUnion = enableunion
|
|
7400
|
-
@OperatorRemark = operatorremark
|
|
7401
|
-
@ServerPath = serverpath
|
|
7402
|
-
@IsUpdateCls = isupdatecls
|
|
7403
|
-
@PolicyDetail = policydetail
|
|
7404
|
-
end
|
|
7405
|
-
|
|
7406
|
-
def deserialize(params)
|
|
7407
|
-
@EnvId = params['EnvId']
|
|
7408
|
-
@VersionName = params['VersionName']
|
|
7409
|
-
@UploadType = params['UploadType']
|
|
7410
|
-
@RepositoryType = params['RepositoryType']
|
|
7411
|
-
@FlowRatio = params['FlowRatio']
|
|
7412
|
-
@DockerfilePath = params['DockerfilePath']
|
|
7413
|
-
@BuildDir = params['BuildDir']
|
|
7414
|
-
@Cpu = params['Cpu']
|
|
7415
|
-
@Mem = params['Mem']
|
|
7416
|
-
@MinNum = params['MinNum']
|
|
7417
|
-
@MaxNum = params['MaxNum']
|
|
7418
|
-
@PolicyType = params['PolicyType']
|
|
7419
|
-
@PolicyThreshold = params['PolicyThreshold']
|
|
7420
|
-
@EnvParams = params['EnvParams']
|
|
7421
|
-
@ContainerPort = params['ContainerPort']
|
|
7422
|
-
@ServerName = params['ServerName']
|
|
7423
|
-
@Repository = params['Repository']
|
|
7424
|
-
@Branch = params['Branch']
|
|
7425
|
-
@VersionRemark = params['VersionRemark']
|
|
7426
|
-
@PackageName = params['PackageName']
|
|
7427
|
-
@PackageVersion = params['PackageVersion']
|
|
7428
|
-
unless params['ImageInfo'].nil?
|
|
7429
|
-
@ImageInfo = CloudBaseRunImageInfo.new
|
|
7430
|
-
@ImageInfo.deserialize(params['ImageInfo'])
|
|
7431
|
-
end
|
|
7432
|
-
unless params['CodeDetail'].nil?
|
|
7433
|
-
@CodeDetail = CloudBaseCodeRepoDetail.new
|
|
7434
|
-
@CodeDetail.deserialize(params['CodeDetail'])
|
|
7435
|
-
end
|
|
7436
|
-
@IsRebuild = params['IsRebuild']
|
|
7437
|
-
@InitialDelaySeconds = params['InitialDelaySeconds']
|
|
7438
|
-
unless params['MountVolumeInfo'].nil?
|
|
7439
|
-
@MountVolumeInfo = []
|
|
7440
|
-
params['MountVolumeInfo'].each do |i|
|
|
7441
|
-
cloudbaserunvolumemount_tmp = CloudBaseRunVolumeMount.new
|
|
7442
|
-
cloudbaserunvolumemount_tmp.deserialize(i)
|
|
7443
|
-
@MountVolumeInfo << cloudbaserunvolumemount_tmp
|
|
7444
|
-
end
|
|
7445
|
-
end
|
|
7446
|
-
@Rollback = params['Rollback']
|
|
7447
|
-
@SnapshotName = params['SnapshotName']
|
|
7448
|
-
@CustomLogs = params['CustomLogs']
|
|
7449
|
-
@EnableUnion = params['EnableUnion']
|
|
7450
|
-
@OperatorRemark = params['OperatorRemark']
|
|
7451
|
-
@ServerPath = params['ServerPath']
|
|
7452
|
-
@IsUpdateCls = params['IsUpdateCls']
|
|
7453
|
-
unless params['PolicyDetail'].nil?
|
|
7454
|
-
@PolicyDetail = []
|
|
7455
|
-
params['PolicyDetail'].each do |i|
|
|
7456
|
-
hpapolicy_tmp = HpaPolicy.new
|
|
7457
|
-
hpapolicy_tmp.deserialize(i)
|
|
7458
|
-
@PolicyDetail << hpapolicy_tmp
|
|
7459
|
-
end
|
|
7460
|
-
end
|
|
7461
|
-
end
|
|
7462
|
-
end
|
|
7463
|
-
|
|
7464
|
-
# RollUpdateCloudBaseRunServerVersion返回参数结构体
|
|
7465
|
-
class RollUpdateCloudBaseRunServerVersionResponse < TencentCloud::Common::AbstractModel
|
|
7466
|
-
# @param Result: succ为成功
|
|
7467
|
-
# @type Result: String
|
|
7468
|
-
# @param VersionName: 滚动更新的VersionName
|
|
7469
|
-
# @type VersionName: String
|
|
7470
|
-
# @param RunId: 操作记录id
|
|
7471
|
-
# @type RunId: String
|
|
7472
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7473
|
-
# @type RequestId: String
|
|
7474
|
-
|
|
7475
|
-
attr_accessor :Result, :VersionName, :RunId, :RequestId
|
|
7476
|
-
|
|
7477
|
-
def initialize(result=nil, versionname=nil, runid=nil, requestid=nil)
|
|
7478
|
-
@Result = result
|
|
7479
|
-
@VersionName = versionname
|
|
7480
|
-
@RunId = runid
|
|
7481
|
-
@RequestId = requestid
|
|
7482
|
-
end
|
|
7483
|
-
|
|
7484
|
-
def deserialize(params)
|
|
7485
|
-
@Result = params['Result']
|
|
7486
|
-
@VersionName = params['VersionName']
|
|
7487
|
-
@RunId = params['RunId']
|
|
7488
|
-
@RequestId = params['RequestId']
|
|
7489
|
-
end
|
|
7490
|
-
end
|
|
7491
|
-
|
|
7492
6548
|
# SearchClsLog请求参数结构体
|
|
7493
6549
|
class SearchClsLogRequest < TencentCloud::Common::AbstractModel
|
|
7494
6550
|
# @param EnvId: 环境唯一ID
|