tencentcloud-sdk-tcb 3.0.1183 → 3.0.1210

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.
@@ -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: 请求添加头部配置
@@ -2294,6 +2074,30 @@ module TencentCloud
2294
2074
  end
2295
2075
  end
2296
2076
 
2077
+ # 数据库连接器实例信息
2078
+ class DbInstance < TencentCloud::Common::AbstractModel
2079
+ # @param EnvId: 云开发环境ID
2080
+ # @type EnvId: String
2081
+ # @param InstanceId: MySQL 连接器实例 ID;`"default"` 或为空表示使用 TCB 环境的默认连接器
2082
+ # @type InstanceId: String
2083
+ # @param Schema: 数据库名;为空时使用连接器配置的默认数据库名
2084
+ # @type Schema: String
2085
+
2086
+ attr_accessor :EnvId, :InstanceId, :Schema
2087
+
2088
+ def initialize(envid=nil, instanceid=nil, schema=nil)
2089
+ @EnvId = envid
2090
+ @InstanceId = instanceid
2091
+ @Schema = schema
2092
+ end
2093
+
2094
+ def deserialize(params)
2095
+ @EnvId = params['EnvId']
2096
+ @InstanceId = params['InstanceId']
2097
+ @Schema = params['Schema']
2098
+ end
2099
+ end
2100
+
2297
2101
  # DeleteCloudBaseProjectLatestVersion请求参数结构体
2298
2102
  class DeleteCloudBaseProjectLatestVersionRequest < TencentCloud::Common::AbstractModel
2299
2103
  # @param EnvId: 环境id
@@ -3124,8 +2928,8 @@ module TencentCloud
3124
2928
  end
3125
2929
  end
3126
2930
 
3127
- # DescribeCloudBaseRunAllVpcs请求参数结构体
3128
- class DescribeCloudBaseRunAllVpcsRequest < TencentCloud::Common::AbstractModel
2931
+ # DescribeCloudBaseRunResourceForExtend请求参数结构体
2932
+ class DescribeCloudBaseRunResourceForExtendRequest < TencentCloud::Common::AbstractModel
3129
2933
  # @param EnvId: 环境ID
3130
2934
  # @type EnvId: String
3131
2935
 
@@ -3140,498 +2944,137 @@ module TencentCloud
3140
2944
  end
3141
2945
  end
3142
2946
 
3143
- # DescribeCloudBaseRunAllVpcs返回参数结构体
3144
- class DescribeCloudBaseRunAllVpcsResponse < TencentCloud::Common::AbstractModel
3145
- # @param Vpcs: 所有vpcid
3146
- # @type Vpcs: Array
2947
+ # DescribeCloudBaseRunResourceForExtend返回参数结构体
2948
+ class DescribeCloudBaseRunResourceForExtendResponse < TencentCloud::Common::AbstractModel
2949
+ # @param ClusterStatus: 集群状态(creating/succ)
2950
+ # @type ClusterStatus: String
2951
+ # @param VirtualClusterId: 虚拟集群ID
2952
+ # @type VirtualClusterId: String
2953
+ # @param VpcId: vpc id信息
2954
+ # @type VpcId: String
2955
+ # @param Region: 地域信息
2956
+ # @type Region: String
2957
+ # @param SubnetIds: 子网信息
2958
+ # @type SubnetIds: Array
3147
2959
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3148
2960
  # @type RequestId: String
3149
2961
 
3150
- attr_accessor :Vpcs, :RequestId
2962
+ attr_accessor :ClusterStatus, :VirtualClusterId, :VpcId, :Region, :SubnetIds, :RequestId
3151
2963
 
3152
- def initialize(vpcs=nil, requestid=nil)
3153
- @Vpcs = vpcs
2964
+ def initialize(clusterstatus=nil, virtualclusterid=nil, vpcid=nil, region=nil, subnetids=nil, requestid=nil)
2965
+ @ClusterStatus = clusterstatus
2966
+ @VirtualClusterId = virtualclusterid
2967
+ @VpcId = vpcid
2968
+ @Region = region
2969
+ @SubnetIds = subnetids
3154
2970
  @RequestId = requestid
3155
2971
  end
3156
2972
 
3157
2973
  def deserialize(params)
3158
- @Vpcs = params['Vpcs']
2974
+ @ClusterStatus = params['ClusterStatus']
2975
+ @VirtualClusterId = params['VirtualClusterId']
2976
+ @VpcId = params['VpcId']
2977
+ @Region = params['Region']
2978
+ unless params['SubnetIds'].nil?
2979
+ @SubnetIds = []
2980
+ params['SubnetIds'].each do |i|
2981
+ cloudbaserunvpcsubnet_tmp = CloudBaseRunVpcSubnet.new
2982
+ cloudbaserunvpcsubnet_tmp.deserialize(i)
2983
+ @SubnetIds << cloudbaserunvpcsubnet_tmp
2984
+ end
2985
+ end
3159
2986
  @RequestId = params['RequestId']
3160
2987
  end
3161
2988
  end
3162
2989
 
3163
- # DescribeCloudBaseRunConfForGateWay请求参数结构体
3164
- class DescribeCloudBaseRunConfForGateWayRequest < TencentCloud::Common::AbstractModel
3165
- # @param EnvID: 环境ID
3166
- # @type EnvID: String
3167
- # @param VpcID: vpc信息
3168
- # @type VpcID: String
2990
+ # DescribeCloudBaseRunResource请求参数结构体
2991
+ class DescribeCloudBaseRunResourceRequest < TencentCloud::Common::AbstractModel
2992
+ # @param EnvId: 环境ID
2993
+ # @type EnvId: String
3169
2994
 
3170
- attr_accessor :EnvID, :VpcID
2995
+ attr_accessor :EnvId
3171
2996
 
3172
- def initialize(envid=nil, vpcid=nil)
3173
- @EnvID = envid
3174
- @VpcID = vpcid
2997
+ def initialize(envid=nil)
2998
+ @EnvId = envid
3175
2999
  end
3176
3000
 
3177
3001
  def deserialize(params)
3178
- @EnvID = params['EnvID']
3179
- @VpcID = params['VpcID']
3002
+ @EnvId = params['EnvId']
3180
3003
  end
3181
3004
  end
3182
3005
 
3183
- # DescribeCloudBaseRunConfForGateWay返回参数结构体
3184
- class DescribeCloudBaseRunConfForGateWayResponse < TencentCloud::Common::AbstractModel
3185
- # @param LastUpTime: 最近更新时间
3186
- # @type LastUpTime: String
3187
- # @param Data: 配置信息
3006
+ # DescribeCloudBaseRunResource返回参数结构体
3007
+ class DescribeCloudBaseRunResourceResponse < TencentCloud::Common::AbstractModel
3008
+ # @param ClusterStatus: 集群状态(creating/succ)
3009
+ # @type ClusterStatus: String
3010
+ # @param VirtualClusterId: 虚拟集群ID
3011
+ # @type VirtualClusterId: String
3012
+ # @param VpcId: vpc id信息
3013
+ # @type VpcId: String
3014
+ # @param Region: 地域信息
3015
+ # @type Region: String
3016
+ # @param SubnetIds: 子网信息
3188
3017
  # 注意:此字段可能返回 null,表示取不到有效值。
3189
- # @type Data: Array
3018
+ # @type SubnetIds: Array
3190
3019
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3191
3020
  # @type RequestId: String
3192
3021
 
3193
- attr_accessor :LastUpTime, :Data, :RequestId
3022
+ attr_accessor :ClusterStatus, :VirtualClusterId, :VpcId, :Region, :SubnetIds, :RequestId
3194
3023
 
3195
- def initialize(lastuptime=nil, data=nil, requestid=nil)
3196
- @LastUpTime = lastuptime
3197
- @Data = data
3024
+ def initialize(clusterstatus=nil, virtualclusterid=nil, vpcid=nil, region=nil, subnetids=nil, requestid=nil)
3025
+ @ClusterStatus = clusterstatus
3026
+ @VirtualClusterId = virtualclusterid
3027
+ @VpcId = vpcid
3028
+ @Region = region
3029
+ @SubnetIds = subnetids
3198
3030
  @RequestId = requestid
3199
3031
  end
3200
3032
 
3201
3033
  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
3034
+ @ClusterStatus = params['ClusterStatus']
3035
+ @VirtualClusterId = params['VirtualClusterId']
3036
+ @VpcId = params['VpcId']
3037
+ @Region = params['Region']
3038
+ unless params['SubnetIds'].nil?
3039
+ @SubnetIds = []
3040
+ params['SubnetIds'].each do |i|
3041
+ cloudbaserunvpcsubnet_tmp = CloudBaseRunVpcSubnet.new
3042
+ cloudbaserunvpcsubnet_tmp.deserialize(i)
3043
+ @SubnetIds << cloudbaserunvpcsubnet_tmp
3209
3044
  end
3210
3045
  end
3211
3046
  @RequestId = params['RequestId']
3212
3047
  end
3213
3048
  end
3214
3049
 
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: 弃用
3050
+ # DescribeCloudBaseRunServer请求参数结构体
3051
+ class DescribeCloudBaseRunServerRequest < TencentCloud::Common::AbstractModel
3052
+ # @param EnvId: 环境ID
3236
3053
  # @type EnvId: String
3237
- # @param UserUin: 用户uin
3238
- # @type UserUin: String
3239
- # @param ServerName: 服务名
3054
+ # @param ServerName: 服务名称
3240
3055
  # @type ServerName: String
3241
- # @param VersionName: 版本名
3056
+ # @param Offset: 分页偏移
3057
+ # @type Offset: Integer
3058
+ # @param Limit: 分页数量
3059
+ # @type Limit: Integer
3060
+ # @param VersionName: 版本名字(精确匹配)
3242
3061
  # @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
3062
 
3267
- attr_accessor :ExternalId, :EnvId, :UserUin, :ServerName, :VersionName, :CreateTime, :Stage, :Status, :FailReason, :UserEnvId, :StartTime, :Steps, :RequestId
3063
+ attr_accessor :EnvId, :ServerName, :Offset, :Limit, :VersionName
3268
3064
 
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
3065
+ def initialize(envid=nil, servername=nil, offset=nil, limit=nil, versionname=nil)
3271
3066
  @EnvId = envid
3272
- @UserUin = useruin
3273
3067
  @ServerName = servername
3068
+ @Offset = offset
3069
+ @Limit = limit
3274
3070
  @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
3071
  end
3284
3072
 
3285
3073
  def deserialize(params)
3286
- @ExternalId = params['ExternalId']
3287
3074
  @EnvId = params['EnvId']
3288
- @UserUin = params['UserUin']
3289
3075
  @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
- # DescribeCloudBaseRunResourceForExtend请求参数结构体
3433
- class DescribeCloudBaseRunResourceForExtendRequest < TencentCloud::Common::AbstractModel
3434
- # @param EnvId: 环境ID
3435
- # @type EnvId: String
3436
-
3437
- attr_accessor :EnvId
3438
-
3439
- def initialize(envid=nil)
3440
- @EnvId = envid
3441
- end
3442
-
3443
- def deserialize(params)
3444
- @EnvId = params['EnvId']
3445
- end
3446
- end
3447
-
3448
- # DescribeCloudBaseRunResourceForExtend返回参数结构体
3449
- class DescribeCloudBaseRunResourceForExtendResponse < TencentCloud::Common::AbstractModel
3450
- # @param ClusterStatus: 集群状态(creating/succ)
3451
- # @type ClusterStatus: String
3452
- # @param VirtualClusterId: 虚拟集群ID
3453
- # @type VirtualClusterId: String
3454
- # @param VpcId: vpc id信息
3455
- # @type VpcId: String
3456
- # @param Region: 地域信息
3457
- # @type Region: String
3458
- # @param SubnetIds: 子网信息
3459
- # @type SubnetIds: Array
3460
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3461
- # @type RequestId: String
3462
-
3463
- attr_accessor :ClusterStatus, :VirtualClusterId, :VpcId, :Region, :SubnetIds, :RequestId
3464
-
3465
- def initialize(clusterstatus=nil, virtualclusterid=nil, vpcid=nil, region=nil, subnetids=nil, requestid=nil)
3466
- @ClusterStatus = clusterstatus
3467
- @VirtualClusterId = virtualclusterid
3468
- @VpcId = vpcid
3469
- @Region = region
3470
- @SubnetIds = subnetids
3471
- @RequestId = requestid
3472
- end
3473
-
3474
- def deserialize(params)
3475
- @ClusterStatus = params['ClusterStatus']
3476
- @VirtualClusterId = params['VirtualClusterId']
3477
- @VpcId = params['VpcId']
3478
- @Region = params['Region']
3479
- unless params['SubnetIds'].nil?
3480
- @SubnetIds = []
3481
- params['SubnetIds'].each do |i|
3482
- cloudbaserunvpcsubnet_tmp = CloudBaseRunVpcSubnet.new
3483
- cloudbaserunvpcsubnet_tmp.deserialize(i)
3484
- @SubnetIds << cloudbaserunvpcsubnet_tmp
3485
- end
3486
- end
3487
- @RequestId = params['RequestId']
3488
- end
3489
- end
3490
-
3491
- # DescribeCloudBaseRunResource请求参数结构体
3492
- class DescribeCloudBaseRunResourceRequest < TencentCloud::Common::AbstractModel
3493
- # @param EnvId: 环境ID
3494
- # @type EnvId: String
3495
-
3496
- attr_accessor :EnvId
3497
-
3498
- def initialize(envid=nil)
3499
- @EnvId = envid
3500
- end
3501
-
3502
- def deserialize(params)
3503
- @EnvId = params['EnvId']
3504
- end
3505
- end
3506
-
3507
- # DescribeCloudBaseRunResource返回参数结构体
3508
- class DescribeCloudBaseRunResourceResponse < TencentCloud::Common::AbstractModel
3509
- # @param ClusterStatus: 集群状态(creating/succ)
3510
- # @type ClusterStatus: String
3511
- # @param VirtualClusterId: 虚拟集群ID
3512
- # @type VirtualClusterId: String
3513
- # @param VpcId: vpc id信息
3514
- # @type VpcId: String
3515
- # @param Region: 地域信息
3516
- # @type Region: String
3517
- # @param SubnetIds: 子网信息
3518
- # 注意:此字段可能返回 null,表示取不到有效值。
3519
- # @type SubnetIds: Array
3520
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3521
- # @type RequestId: String
3522
-
3523
- attr_accessor :ClusterStatus, :VirtualClusterId, :VpcId, :Region, :SubnetIds, :RequestId
3524
-
3525
- def initialize(clusterstatus=nil, virtualclusterid=nil, vpcid=nil, region=nil, subnetids=nil, requestid=nil)
3526
- @ClusterStatus = clusterstatus
3527
- @VirtualClusterId = virtualclusterid
3528
- @VpcId = vpcid
3529
- @Region = region
3530
- @SubnetIds = subnetids
3531
- @RequestId = requestid
3532
- end
3533
-
3534
- def deserialize(params)
3535
- @ClusterStatus = params['ClusterStatus']
3536
- @VirtualClusterId = params['VirtualClusterId']
3537
- @VpcId = params['VpcId']
3538
- @Region = params['Region']
3539
- unless params['SubnetIds'].nil?
3540
- @SubnetIds = []
3541
- params['SubnetIds'].each do |i|
3542
- cloudbaserunvpcsubnet_tmp = CloudBaseRunVpcSubnet.new
3543
- cloudbaserunvpcsubnet_tmp.deserialize(i)
3544
- @SubnetIds << cloudbaserunvpcsubnet_tmp
3545
- end
3546
- end
3547
- @RequestId = params['RequestId']
3548
- end
3549
- end
3550
-
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
- # DescribeCloudBaseRunServer请求参数结构体
3608
- class DescribeCloudBaseRunServerRequest < TencentCloud::Common::AbstractModel
3609
- # @param EnvId: 环境ID
3610
- # @type EnvId: String
3611
- # @param ServerName: 服务名称
3612
- # @type ServerName: String
3613
- # @param Offset: 分页偏移
3614
- # @type Offset: Integer
3615
- # @param Limit: 分页数量
3616
- # @type Limit: Integer
3617
- # @param VersionName: 版本名字(精确匹配)
3618
- # @type VersionName: String
3619
-
3620
- attr_accessor :EnvId, :ServerName, :Offset, :Limit, :VersionName
3621
-
3622
- def initialize(envid=nil, servername=nil, offset=nil, limit=nil, versionname=nil)
3623
- @EnvId = envid
3624
- @ServerName = servername
3625
- @Offset = offset
3626
- @Limit = limit
3627
- @VersionName = versionname
3628
- end
3629
-
3630
- def deserialize(params)
3631
- @EnvId = params['EnvId']
3632
- @ServerName = params['ServerName']
3633
- @Offset = params['Offset']
3634
- @Limit = params['Limit']
3076
+ @Offset = params['Offset']
3077
+ @Limit = params['Limit']
3635
3078
  @VersionName = params['VersionName']
3636
3079
  end
3637
3080
  end
@@ -4079,46 +3522,6 @@ module TencentCloud
4079
3522
  end
4080
3523
  end
4081
3524
 
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)
4118
- @RequestId = params['RequestId']
4119
- end
4120
- end
4121
-
4122
3525
  # DescribeCloudBaseRunVersionSnapshot请求参数结构体
4123
3526
  class DescribeCloudBaseRunVersionSnapshotRequest < TencentCloud::Common::AbstractModel
4124
3527
  # @param ServerName: 服务名
@@ -5383,124 +4786,37 @@ module TencentCloud
5383
4786
  end
5384
4787
 
5385
4788
  # DescribeUserActivityInfo返回参数结构体
5386
- class DescribeUserActivityInfoResponse < TencentCloud::Common::AbstractModel
5387
- # @param Tag: 自定义标记,1元钱裂变需求中即代指`团id`
5388
- # @type Tag: String
5389
- # @param Notes: 自定义备注,1元钱裂变需求中返回`团列表`,uin列表通过","拼接
5390
- # @type Notes: String
5391
- # @param ActivityTimeLeft: 活动剩余时间,单位为s.1元钱裂变需求中即为 time(活动过期时间)-Now()), 过期后为0,即返回必为自然数
5392
- # @type ActivityTimeLeft: Integer
5393
- # @param GroupTimeLeft: 拼团剩余时间,单位为s.1元钱裂变需求中即为time(成团时间)+24H-Now(),过期后为0,即返回必为自然数
5394
- # @type GroupTimeLeft: Integer
5395
- # @param NickNameList: 昵称列表,通过","拼接, 1元钱裂变活动中与Notes中uin一一对应
5396
- # @type NickNameList: String
5397
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5398
- # @type RequestId: String
5399
-
5400
- attr_accessor :Tag, :Notes, :ActivityTimeLeft, :GroupTimeLeft, :NickNameList, :RequestId
5401
-
5402
- def initialize(tag=nil, notes=nil, activitytimeleft=nil, grouptimeleft=nil, nicknamelist=nil, requestid=nil)
5403
- @Tag = tag
5404
- @Notes = notes
5405
- @ActivityTimeLeft = activitytimeleft
5406
- @GroupTimeLeft = grouptimeleft
5407
- @NickNameList = nicknamelist
5408
- @RequestId = requestid
5409
- end
5410
-
5411
- def deserialize(params)
5412
- @Tag = params['Tag']
5413
- @Notes = params['Notes']
5414
- @ActivityTimeLeft = params['ActivityTimeLeft']
5415
- @GroupTimeLeft = params['GroupTimeLeft']
5416
- @NickNameList = params['NickNameList']
5417
- @RequestId = params['RequestId']
5418
- end
5419
- end
5420
-
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
4789
+ class DescribeUserActivityInfoResponse < TencentCloud::Common::AbstractModel
4790
+ # @param Tag: 自定义标记,1元钱裂变需求中即代指`团id`
4791
+ # @type Tag: String
4792
+ # @param Notes: 自定义备注,1元钱裂变需求中返回`团列表`,uin列表通过","拼接
4793
+ # @type Notes: String
4794
+ # @param ActivityTimeLeft: 活动剩余时间,单位为s.1元钱裂变需求中即为 time(活动过期时间)-Now()), 过期后为0,即返回必为自然数
4795
+ # @type ActivityTimeLeft: Integer
4796
+ # @param GroupTimeLeft: 拼团剩余时间,单位为s.1元钱裂变需求中即为time(成团时间)+24H-Now(),过期后为0,即返回必为自然数
4797
+ # @type GroupTimeLeft: Integer
4798
+ # @param NickNameList: 昵称列表,通过","拼接, 1元钱裂变活动中与Notes中uin一一对应
4799
+ # @type NickNameList: String
5492
4800
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5493
4801
  # @type RequestId: String
5494
4802
 
5495
- attr_accessor :SubNetIds, :RequestId
4803
+ attr_accessor :Tag, :Notes, :ActivityTimeLeft, :GroupTimeLeft, :NickNameList, :RequestId
5496
4804
 
5497
- def initialize(subnetids=nil, requestid=nil)
5498
- @SubNetIds = subnetids
4805
+ def initialize(tag=nil, notes=nil, activitytimeleft=nil, grouptimeleft=nil, nicknamelist=nil, requestid=nil)
4806
+ @Tag = tag
4807
+ @Notes = notes
4808
+ @ActivityTimeLeft = activitytimeleft
4809
+ @GroupTimeLeft = grouptimeleft
4810
+ @NickNameList = nicknamelist
5499
4811
  @RequestId = requestid
5500
4812
  end
5501
4813
 
5502
4814
  def deserialize(params)
5503
- @SubNetIds = params['SubNetIds']
4815
+ @Tag = params['Tag']
4816
+ @Notes = params['Notes']
4817
+ @ActivityTimeLeft = params['ActivityTimeLeft']
4818
+ @GroupTimeLeft = params['GroupTimeLeft']
4819
+ @NickNameList = params['NickNameList']
5504
4820
  @RequestId = params['RequestId']
5505
4821
  end
5506
4822
  end
@@ -6559,77 +5875,6 @@ module TencentCloud
6559
5875
  end
6560
5876
  end
6561
5877
 
6562
- # CLS日志单条信息
6563
- class LogObject < TencentCloud::Common::AbstractModel
6564
- # @param TopicId: 日志属于的 topic ID
6565
- # @type TopicId: String
6566
- # @param TopicName: 日志主题的名字
6567
- # @type TopicName: String
6568
- # @param Timestamp: 日志时间
6569
- # @type Timestamp: String
6570
- # @param Content: 日志内容
6571
- # @type Content: String
6572
- # @param FileName: 采集路径
6573
- # @type FileName: String
6574
- # @param Source: 日志来源设备
6575
- # @type Source: String
6576
-
6577
- attr_accessor :TopicId, :TopicName, :Timestamp, :Content, :FileName, :Source
6578
-
6579
- def initialize(topicid=nil, topicname=nil, timestamp=nil, content=nil, filename=nil, source=nil)
6580
- @TopicId = topicid
6581
- @TopicName = topicname
6582
- @Timestamp = timestamp
6583
- @Content = content
6584
- @FileName = filename
6585
- @Source = source
6586
- end
6587
-
6588
- def deserialize(params)
6589
- @TopicId = params['TopicId']
6590
- @TopicName = params['TopicName']
6591
- @Timestamp = params['Timestamp']
6592
- @Content = params['Content']
6593
- @FileName = params['FileName']
6594
- @Source = params['Source']
6595
- end
6596
- end
6597
-
6598
- # CLS日志结果
6599
- class LogResObject < TencentCloud::Common::AbstractModel
6600
- # @param Context: 获取更多检索结果的游标
6601
- # @type Context: String
6602
- # @param ListOver: 搜索结果是否已经全部返回
6603
- # @type ListOver: Boolean
6604
- # @param Results: 日志内容信息
6605
- # @type Results: Array
6606
- # @param AnalysisRecords: 日志聚合结果
6607
- # @type AnalysisRecords: Array
6608
-
6609
- attr_accessor :Context, :ListOver, :Results, :AnalysisRecords
6610
-
6611
- def initialize(context=nil, listover=nil, results=nil, analysisrecords=nil)
6612
- @Context = context
6613
- @ListOver = listover
6614
- @Results = results
6615
- @AnalysisRecords = analysisrecords
6616
- end
6617
-
6618
- def deserialize(params)
6619
- @Context = params['Context']
6620
- @ListOver = params['ListOver']
6621
- unless params['Results'].nil?
6622
- @Results = []
6623
- params['Results'].each do |i|
6624
- logobject_tmp = LogObject.new
6625
- logobject_tmp.deserialize(i)
6626
- @Results << logobject_tmp
6627
- end
6628
- end
6629
- @AnalysisRecords = params['AnalysisRecords']
6630
- end
6631
- end
6632
-
6633
5878
  # 云日志服务相关信息
6634
5879
  class LogServiceInfo < TencentCloud::Common::AbstractModel
6635
5880
  # @param LogsetName: log名
@@ -6988,45 +6233,6 @@ module TencentCloud
6988
6233
  end
6989
6234
  end
6990
6235
 
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
6236
  # 订单信息
7031
6237
  class OrderInfo < TencentCloud::Common::AbstractModel
7032
6238
  # @param TranId: 订单号
@@ -7292,266 +6498,61 @@ module TencentCloud
7292
6498
  end
7293
6499
  end
7294
6500
 
7295
- # RollUpdateCloudBaseRunServerVersion请求参数结构体
7296
- class RollUpdateCloudBaseRunServerVersionRequest < TencentCloud::Common::AbstractModel
7297
- # @param EnvId: 环境ID
6501
+ # RunSql请求参数结构体
6502
+ class RunSqlRequest < TencentCloud::Common::AbstractModel
6503
+ # @param Sql: 要执行的SQL语句
6504
+ # @type Sql: String
6505
+ # @param EnvId: 云开发环境ID
7298
6506
  # @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
6507
+ # @param DbInstance: 数据库连接器实例信息
6508
+ # @type DbInstance: :class:`Tencentcloud::Tcb.v20180608.models.DbInstance`
6509
+ # @param ReadOnly: 是否只读;当 `true` 时仅允许以 `SELECT/WITH/SHOW/DESCRIBE/DESC/EXPLAIN` 开头的 SQL
6510
+ # @type ReadOnly: Boolean
7366
6511
 
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
6512
+ attr_accessor :Sql, :EnvId, :DbInstance, :ReadOnly
7368
6513
 
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)
6514
+ def initialize(sql=nil, envid=nil, dbinstance=nil, readonly=nil)
6515
+ @Sql = sql
7370
6516
  @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
6517
+ @DbInstance = dbinstance
6518
+ @ReadOnly = readonly
7404
6519
  end
7405
6520
 
7406
6521
  def deserialize(params)
6522
+ @Sql = params['Sql']
7407
6523
  @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
6524
+ unless params['DbInstance'].nil?
6525
+ @DbInstance = DbInstance.new
6526
+ @DbInstance.deserialize(params['DbInstance'])
7460
6527
  end
6528
+ @ReadOnly = params['ReadOnly']
7461
6529
  end
7462
6530
  end
7463
6531
 
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
- # SearchClsLog请求参数结构体
7493
- class SearchClsLogRequest < TencentCloud::Common::AbstractModel
7494
- # @param EnvId: 环境唯一ID
7495
- # @type EnvId: String
7496
- # @param StartTime: 查询起始时间条件
7497
- # @type StartTime: String
7498
- # @param EndTime: 查询结束时间条件
7499
- # @type EndTime: String
7500
- # @param QueryString: 查询语句,详情参考 https://cloud.tencent.com/document/product/614/47044
7501
- # @type QueryString: String
7502
- # @param Limit: 单次要返回的日志条数,单次返回的最大条数为100
7503
- # @type Limit: Integer
7504
- # @param Context: 加载更多使用,透传上次返回的 context 值,获取后续的日志内容,通过游标最多可获取10000条,请尽可能缩小时间范围
7505
- # @type Context: String
7506
- # @param Sort: 按时间排序 asc(升序)或者 desc(降序),默认为 desc
7507
- # @type Sort: String
7508
- # @param UseLucene: 是否使用Lucene语法,默认为false
7509
- # @type UseLucene: Boolean
7510
-
7511
- attr_accessor :EnvId, :StartTime, :EndTime, :QueryString, :Limit, :Context, :Sort, :UseLucene
7512
-
7513
- def initialize(envid=nil, starttime=nil, endtime=nil, querystring=nil, limit=nil, context=nil, sort=nil, uselucene=nil)
7514
- @EnvId = envid
7515
- @StartTime = starttime
7516
- @EndTime = endtime
7517
- @QueryString = querystring
7518
- @Limit = limit
7519
- @Context = context
7520
- @Sort = sort
7521
- @UseLucene = uselucene
7522
- end
7523
-
7524
- def deserialize(params)
7525
- @EnvId = params['EnvId']
7526
- @StartTime = params['StartTime']
7527
- @EndTime = params['EndTime']
7528
- @QueryString = params['QueryString']
7529
- @Limit = params['Limit']
7530
- @Context = params['Context']
7531
- @Sort = params['Sort']
7532
- @UseLucene = params['UseLucene']
7533
- end
7534
- end
7535
-
7536
- # SearchClsLog返回参数结构体
7537
- class SearchClsLogResponse < TencentCloud::Common::AbstractModel
7538
- # @param LogResults: 日志内容结果
7539
- # @type LogResults: :class:`Tencentcloud::Tcb.v20180608.models.LogResObject`
6532
+ # RunSql返回参数结构体
6533
+ class RunSqlResponse < TencentCloud::Common::AbstractModel
6534
+ # @param Items: 查询结果行,每个元素为 JSON 字符串
6535
+ # @type Items: Array
6536
+ # @param Infos: 列元数据信息,每个元素为 JSON 字符串,字段包含 `name/databaseType/nullable/length/precision/scale`
6537
+ # @type Infos: Array
6538
+ # @param RowsAffected: 受影响的行数(INSERT/UPDATE/DELETE 等语句)
6539
+ # @type RowsAffected: Integer
7540
6540
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7541
6541
  # @type RequestId: String
7542
6542
 
7543
- attr_accessor :LogResults, :RequestId
6543
+ attr_accessor :Items, :Infos, :RowsAffected, :RequestId
7544
6544
 
7545
- def initialize(logresults=nil, requestid=nil)
7546
- @LogResults = logresults
6545
+ def initialize(items=nil, infos=nil, rowsaffected=nil, requestid=nil)
6546
+ @Items = items
6547
+ @Infos = infos
6548
+ @RowsAffected = rowsaffected
7547
6549
  @RequestId = requestid
7548
6550
  end
7549
6551
 
7550
6552
  def deserialize(params)
7551
- unless params['LogResults'].nil?
7552
- @LogResults = LogResObject.new
7553
- @LogResults.deserialize(params['LogResults'])
7554
- end
6553
+ @Items = params['Items']
6554
+ @Infos = params['Infos']
6555
+ @RowsAffected = params['RowsAffected']
7555
6556
  @RequestId = params['RequestId']
7556
6557
  end
7557
6558
  end