# frozen_string_literal: true # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. module TencentCloud module Tcb module V20180608 # 活动信息 class ActivityInfoItem < TencentCloud::Common::AbstractModel # @param ActivityId: 活动id # @type ActivityId: Integer # @param CreateTime: 记录插入时间 # @type CreateTime: String # @param UpdateTime: 记录最后一次变更时间 # @type UpdateTime: String # @param StartTime: 活动开始时间 # @type StartTime: String # @param ExpireTime: 活动结束时间 # @type ExpireTime: String # @param Tag: 自定义备注信息 # @type Tag: String attr_accessor :ActivityId, :CreateTime, :UpdateTime, :StartTime, :ExpireTime, :Tag def initialize(activityid=nil, createtime=nil, updatetime=nil, starttime=nil, expiretime=nil, tag=nil) @ActivityId = activityid @CreateTime = createtime @UpdateTime = updatetime @StartTime = starttime @ExpireTime = expiretime @Tag = tag end def deserialize(params) @ActivityId = params['ActivityId'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @StartTime = params['StartTime'] @ExpireTime = params['ExpireTime'] @Tag = params['Tag'] end end # 活动详情 class ActivityRecordItem < TencentCloud::Common::AbstractModel # @param Uin: 用户uin # 注意:此字段可能返回 null,表示取不到有效值。 # @type Uin: String # @param ActivityId: 活动id # 注意:此字段可能返回 null,表示取不到有效值。 # @type ActivityId: Integer # @param Status: 自定义状态码 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: Integer # @param SubStatus: 自定义子状态码 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubStatus: String # @param SubStatusInt: 整型子状态码 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubStatusInt: Integer # @param IsDeleted: 是否软删除 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsDeleted: Boolean attr_accessor :Uin, :ActivityId, :Status, :SubStatus, :SubStatusInt, :IsDeleted def initialize(uin=nil, activityid=nil, status=nil, substatus=nil, substatusint=nil, isdeleted=nil) @Uin = uin @ActivityId = activityid @Status = status @SubStatus = substatus @SubStatusInt = substatusint @IsDeleted = isdeleted end def deserialize(params) @Uin = params['Uin'] @ActivityId = params['ActivityId'] @Status = params['Status'] @SubStatus = params['SubStatus'] @SubStatusInt = params['SubStatusInt'] @IsDeleted = params['IsDeleted'] end end # 合法域名 class AuthDomain < TencentCloud::Common::AbstractModel # @param Id: 域名ID # @type Id: String # @param Domain: 域名 # @type Domain: String # @param Type: 域名类型。包含以下取值: #
  • SYSTEM
  • #
  • USER
  • # @type Type: String # @param Status: 状态。包含以下取值: #
  • ENABLE
  • #
  • DISABLE
  • # @type Status: String # @param CreateTime: 创建时间 # @type CreateTime: String # @param UpdateTime: 更新时间 # @type UpdateTime: String attr_accessor :Id, :Domain, :Type, :Status, :CreateTime, :UpdateTime def initialize(id=nil, domain=nil, type=nil, status=nil, createtime=nil, updatetime=nil) @Id = id @Domain = domain @Type = type @Status = status @CreateTime = createtime @UpdateTime = updatetime end def deserialize(params) @Id = params['Id'] @Domain = params['Domain'] @Type = params['Type'] @Status = params['Status'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] end end # 网关服务信息 class BackendServiceInfo < TencentCloud::Common::AbstractModel # @param ServiceName: 服务名称 # @type ServiceName: String # @param Status: 服务状态 # @type Status: String attr_accessor :ServiceName, :Status def initialize(servicename=nil, status=nil) @ServiceName = servicename @Status = status end def deserialize(params) @ServiceName = params['ServiceName'] @Status = params['Status'] end end # BindEnvGateway请求参数结构体 class BindEnvGatewayRequest < TencentCloud::Common::AbstractModel # @param SubEnvId: 子环境id # @type SubEnvId: String attr_accessor :SubEnvId def initialize(subenvid=nil) @SubEnvId = subenvid end def deserialize(params) @SubEnvId = params['SubEnvId'] end end # BindEnvGateway返回参数结构体 class BindEnvGatewayResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # CheckTcbService请求参数结构体 class CheckTcbServiceRequest < TencentCloud::Common::AbstractModel def initialize() end def deserialize(params) end end # CheckTcbService返回参数结构体 class CheckTcbServiceResponse < TencentCloud::Common::AbstractModel # @param Initialized: true表示已开通 # @type Initialized: Boolean # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Initialized, :RequestId def initialize(initialized=nil, requestid=nil) @Initialized = initialized @RequestId = requestid end def deserialize(params) @Initialized = params['Initialized'] @RequestId = params['RequestId'] end end # cloudrun安全特性能力 class CloudBaseCapabilities < TencentCloud::Common::AbstractModel # @param Add: 启用安全能力项列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Add: Array # @param Drop: 禁用安全能力向列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Drop: Array attr_accessor :Add, :Drop def initialize(add=nil, drop=nil) @Add = add @Drop = drop end def deserialize(params) @Add = params['Add'] @Drop = params['Drop'] end end # 代码仓库里 Repo的信息描述 class CloudBaseCodeRepoDetail < TencentCloud::Common::AbstractModel # @param Name: repo的名字 # @type Name: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseCodeRepoName` # @param Url: repo的url # @type Url: String attr_accessor :Name, :Url def initialize(name=nil, url=nil) @Name = name @Url = url end def deserialize(params) unless params['Name'].nil? @Name = CloudBaseCodeRepoName.new @Name.deserialize(params['Name']) end @Url = params['Url'] end end # 代码仓库 repo的名字 class CloudBaseCodeRepoName < TencentCloud::Common::AbstractModel # @param Name: repo的名字 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Name: String # @param FullName: repo的完整全名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FullName: String attr_accessor :Name, :FullName def initialize(name=nil, fullname=nil) @Name = name @FullName = fullname end def deserialize(params) @Name = params['Name'] @FullName = params['FullName'] end end # es信息 class CloudBaseEsInfo < TencentCloud::Common::AbstractModel # @param Id: es的id # 注意:此字段可能返回 null,表示取不到有效值。 # @type Id: Integer # @param SecretName: secret名字 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SecretName: String # @param Ip: ip地址 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Ip: String # @param Port: 端口 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Port: Integer # @param Index: 索引 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Index: String # @param Account: 用户名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Account: String # @param Password: 密码 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Password: String attr_accessor :Id, :SecretName, :Ip, :Port, :Index, :Account, :Password def initialize(id=nil, secretname=nil, ip=nil, port=nil, index=nil, account=nil, password=nil) @Id = id @SecretName = secretname @Ip = ip @Port = port @Index = index @Account = account @Password = password end def deserialize(params) @Id = params['Id'] @SecretName = params['SecretName'] @Ip = params['Ip'] @Port = params['Port'] @Index = params['Index'] @Account = params['Account'] @Password = params['Password'] end end # 云开发项目版本 class CloudBaseProjectVersion < TencentCloud::Common::AbstractModel # @param Name: 项目名 # @type Name: String # @param Sam: SAM json # 注意:此字段可能返回 null,表示取不到有效值。 # @type Sam: String # @param Source: 来源类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Source: :class:`Tencentcloud::Tcb.v20180608.models.CodeSource` # @param CreateTime: 创建时间, unix时间戳 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CreateTime: Integer # @param UpdateTime: 更新时间 ,unix时间戳 # 注意:此字段可能返回 null,表示取不到有效值。 # @type UpdateTime: Integer # @param Status: 项目状态, 枚举值: # "creatingEnv"-创建环境中 # "createEnvFail"-创建环境失败 # "building"-构建中 # "buildFail"-构建失败 # "deploying"-部署中 # "deployFail"-部署失败 # "success"-部署成功 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String # @param Parameters: 环境变量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Parameters: Array # @param Type: 项目类型, 枚举值: # "framework-oneclick" 控制台一键部署 # "framework-local-oneclick" cli本地一键部署 # "qci-extension-cicd" 内网coding ci cd # 注意:此字段可能返回 null,表示取不到有效值。 # @type Type: String # @param CIId: ci的id # 注意:此字段可能返回 null,表示取不到有效值。 # @type CIId: String # @param CDId: cd的id # 注意:此字段可能返回 null,表示取不到有效值。 # @type CDId: String # @param EnvId: 环境id # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnvId: String # @param VersionNum: 版本号 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VersionNum: Integer # @param FailReason: 错误原因 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FailReason: String # @param RcJson: rc.json内容 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RcJson: String # @param AddonConfig: 插件配置内容 # 注意:此字段可能返回 null,表示取不到有效值。 # @type AddonConfig: String # @param Tags: 标签 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Tags: Array # @param NetworkConfig: 网络配置 # 注意:此字段可能返回 null,表示取不到有效值。 # @type NetworkConfig: String # @param ExtensionId: 扩展id # 注意:此字段可能返回 null,表示取不到有效值。 # @type ExtensionId: String # @param FailType: 错误类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FailType: String # @param RepoUrl: 私有仓库地址 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RepoUrl: String # @param AutoDeployOnCodeChange: 是否私有仓库代码变更触发自动部署 # 注意:此字段可能返回 null,表示取不到有效值。 # @type AutoDeployOnCodeChange: Boolean # @param BuildPercent: ci部署进度(%) # 注意:此字段可能返回 null,表示取不到有效值。 # @type BuildPercent: Integer attr_accessor :Name, :Sam, :Source, :CreateTime, :UpdateTime, :Status, :Parameters, :Type, :CIId, :CDId, :EnvId, :VersionNum, :FailReason, :RcJson, :AddonConfig, :Tags, :NetworkConfig, :ExtensionId, :FailType, :RepoUrl, :AutoDeployOnCodeChange, :BuildPercent def initialize(name=nil, sam=nil, source=nil, createtime=nil, updatetime=nil, status=nil, parameters=nil, type=nil, ciid=nil, cdid=nil, envid=nil, versionnum=nil, failreason=nil, rcjson=nil, addonconfig=nil, tags=nil, networkconfig=nil, extensionid=nil, failtype=nil, repourl=nil, autodeployoncodechange=nil, buildpercent=nil) @Name = name @Sam = sam @Source = source @CreateTime = createtime @UpdateTime = updatetime @Status = status @Parameters = parameters @Type = type @CIId = ciid @CDId = cdid @EnvId = envid @VersionNum = versionnum @FailReason = failreason @RcJson = rcjson @AddonConfig = addonconfig @Tags = tags @NetworkConfig = networkconfig @ExtensionId = extensionid @FailType = failtype @RepoUrl = repourl @AutoDeployOnCodeChange = autodeployoncodechange @BuildPercent = buildpercent end def deserialize(params) @Name = params['Name'] @Sam = params['Sam'] unless params['Source'].nil? @Source = CodeSource.new @Source.deserialize(params['Source']) end @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @Status = params['Status'] unless params['Parameters'].nil? @Parameters = [] params['Parameters'].each do |i| kvpair_tmp = KVPair.new kvpair_tmp.deserialize(i) @Parameters << kvpair_tmp end end @Type = params['Type'] @CIId = params['CIId'] @CDId = params['CDId'] @EnvId = params['EnvId'] @VersionNum = params['VersionNum'] @FailReason = params['FailReason'] @RcJson = params['RcJson'] @AddonConfig = params['AddonConfig'] @Tags = params['Tags'] @NetworkConfig = params['NetworkConfig'] @ExtensionId = params['ExtensionId'] @FailType = params['FailType'] @RepoUrl = params['RepoUrl'] @AutoDeployOnCodeChange = params['AutoDeployOnCodeChange'] @BuildPercent = params['BuildPercent'] end end # emptydir 数据卷详细信息 class CloudBaseRunEmptyDirVolumeSource < TencentCloud::Common::AbstractModel # @param EnableEmptyDirVolume: 启用emptydir数据卷 # @type EnableEmptyDirVolume: Boolean # @param Medium: "","Memory","HugePages" # @type Medium: String # @param SizeLimit: emptydir数据卷大小 # @type SizeLimit: String attr_accessor :EnableEmptyDirVolume, :Medium, :SizeLimit def initialize(enableemptydirvolume=nil, medium=nil, sizelimit=nil) @EnableEmptyDirVolume = enableemptydirvolume @Medium = medium @SizeLimit = sizelimit end def deserialize(params) @EnableEmptyDirVolume = params['EnableEmptyDirVolume'] @Medium = params['Medium'] @SizeLimit = params['SizeLimit'] end end # 独立网关云托管服务配置信息 class CloudBaseRunForGatewayConf < TencentCloud::Common::AbstractModel # @param IsZero: 是否缩容到0 # @type IsZero: Boolean # @param Weight: 按百分比灰度的权重 # @type Weight: Integer # @param GrayKey: 按请求/header参数的灰度Key # @type GrayKey: String # @param GrayValue: 按请求/header参数的灰度Value # @type GrayValue: String # @param IsDefault: 是否为默认版本(按请求/header参数) # @type IsDefault: Boolean # @param AccessType: 访问权限,对应二进制分多段,vpc内网|公网|oa # @type AccessType: Integer # @param URLs: 访问的URL(域名+路径)列表 # @type URLs: Array # @param EnvId: 环境ID # @type EnvId: String # @param ServerName: 服务名称 # @type ServerName: String # @param VersionName: 版本名称 # @type VersionName: String # @param GrayType: 灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS # @type GrayType: String # @param LbAddr: CLB的IP:Port # @type LbAddr: String # @param ConfigType: 0:http访问服务配置信息, 1: 服务域名 # @type ConfigType: Integer attr_accessor :IsZero, :Weight, :GrayKey, :GrayValue, :IsDefault, :AccessType, :URLs, :EnvId, :ServerName, :VersionName, :GrayType, :LbAddr, :ConfigType 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) @IsZero = iszero @Weight = weight @GrayKey = graykey @GrayValue = grayvalue @IsDefault = isdefault @AccessType = accesstype @URLs = urls @EnvId = envid @ServerName = servername @VersionName = versionname @GrayType = graytype @LbAddr = lbaddr @ConfigType = configtype end def deserialize(params) @IsZero = params['IsZero'] @Weight = params['Weight'] @GrayKey = params['GrayKey'] @GrayValue = params['GrayValue'] @IsDefault = params['IsDefault'] @AccessType = params['AccessType'] @URLs = params['URLs'] @EnvId = params['EnvId'] @ServerName = params['ServerName'] @VersionName = params['VersionName'] @GrayType = params['GrayType'] @LbAddr = params['LbAddr'] @ConfigType = params['ConfigType'] end end # CloudBaseRun 镜像信息 class CloudBaseRunImageInfo < TencentCloud::Common::AbstractModel # @param RepositoryName: 镜像仓库名称 # @type RepositoryName: String # @param IsPublic: 是否公有 # @type IsPublic: Boolean # @param TagName: 镜像tag名称 # @type TagName: String # @param ServerAddr: 镜像server # @type ServerAddr: String # @param ImageUrl: 镜像拉取地址 # @type ImageUrl: String attr_accessor :RepositoryName, :IsPublic, :TagName, :ServerAddr, :ImageUrl def initialize(repositoryname=nil, ispublic=nil, tagname=nil, serveraddr=nil, imageurl=nil) @RepositoryName = repositoryname @IsPublic = ispublic @TagName = tagname @ServerAddr = serveraddr @ImageUrl = imageurl end def deserialize(params) @RepositoryName = params['RepositoryName'] @IsPublic = params['IsPublic'] @TagName = params['TagName'] @ServerAddr = params['ServerAddr'] @ImageUrl = params['ImageUrl'] end end # ImageSecretInfo的信息 class CloudBaseRunImageSecretInfo < TencentCloud::Common::AbstractModel # @param RegistryServer: 镜像地址 # @type RegistryServer: String # @param UserName: 用户名 # @type UserName: String # @param Password: 仓库密码 # @type Password: String # @param Email: 邮箱 # @type Email: String attr_accessor :RegistryServer, :UserName, :Password, :Email def initialize(registryserver=nil, username=nil, password=nil, email=nil) @RegistryServer = registryserver @UserName = username @Password = password @Email = email end def deserialize(params) @RegistryServer = params['RegistryServer'] @UserName = params['UserName'] @Password = params['Password'] @Email = params['Email'] end end # KV参数的优先级 class CloudBaseRunKVPriority < TencentCloud::Common::AbstractModel # @param Key: 参数的Key # 注意:此字段可能返回 null,表示取不到有效值。 # @type Key: String # @param Value: 参数的Value # 注意:此字段可能返回 null,表示取不到有效值。 # @type Value: String # @param Priority: 优先级 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Priority: Integer attr_accessor :Key, :Value, :Priority def initialize(key=nil, value=nil, priority=nil) @Key = key @Value = value @Priority = priority end def deserialize(params) @Key = params['Key'] @Value = params['Value'] @Priority = params['Priority'] end end # nfs挂载资源 class CloudBaseRunNfsVolumeSource < TencentCloud::Common::AbstractModel # @param Server: NFS挂载Server # @type Server: String # @param Path: Server路径 # @type Path: String # @param ReadOnly: 是否只读 # @type ReadOnly: Boolean # @param SecretName: secret名称 # @type SecretName: String # @param EnableEmptyDirVolume: 临时目录 # @type EnableEmptyDirVolume: Boolean attr_accessor :Server, :Path, :ReadOnly, :SecretName, :EnableEmptyDirVolume def initialize(server=nil, path=nil, readonly=nil, secretname=nil, enableemptydirvolume=nil) @Server = server @Path = path @ReadOnly = readonly @SecretName = secretname @EnableEmptyDirVolume = enableemptydirvolume end def deserialize(params) @Server = params['Server'] @Path = params['Path'] @ReadOnly = params['ReadOnly'] @SecretName = params['SecretName'] @EnableEmptyDirVolume = params['EnableEmptyDirVolume'] end end # 版本的列表 class CloudBaseRunServerVersionItem < TencentCloud::Common::AbstractModel # @param VersionName: 版本名称 # @type VersionName: String # @param Status: 状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String # @param FlowRatio: 流量占比 # @type FlowRatio: Integer # @param CreatedTime: 创建时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CreatedTime: String # @param UpdatedTime: 更新时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type UpdatedTime: String # @param BuildId: 构建ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type BuildId: Integer # @param UploadType: 构建方式 # 注意:此字段可能返回 null,表示取不到有效值。 # @type UploadType: String # @param Remark: 备注 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Remark: String # @param UrlParam: url中的参数路径 # 注意:此字段可能返回 null,表示取不到有效值。 # @type UrlParam: :class:`Tencentcloud::Tcb.v20180608.models.ObjectKV` # @param Priority: 优先级(数值越小,优先级越高) # 注意:此字段可能返回 null,表示取不到有效值。 # @type Priority: Integer # @param IsDefaultPriority: 是否是默认兜底版本 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsDefaultPriority: Boolean # @param FlowParams: KV Params # 注意:此字段可能返回 null,表示取不到有效值。 # @type FlowParams: Array # @param MinReplicas: 最小副本数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MinReplicas: Integer # @param MaxReplicas: 最大副本数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MaxReplicas: Integer # @param RunId: 操作记录id # 注意:此字段可能返回 null,表示取不到有效值。 # @type RunId: String # @param Percent: 进度 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Percent: Integer # @param CurrentReplicas: 当前副本数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CurrentReplicas: Integer # @param Architecture: Monolithic,Microservice # 注意:此字段可能返回 null,表示取不到有效值。 # @type Architecture: String attr_accessor :VersionName, :Status, :FlowRatio, :CreatedTime, :UpdatedTime, :BuildId, :UploadType, :Remark, :UrlParam, :Priority, :IsDefaultPriority, :FlowParams, :MinReplicas, :MaxReplicas, :RunId, :Percent, :CurrentReplicas, :Architecture def initialize(versionname=nil, status=nil, flowratio=nil, createdtime=nil, updatedtime=nil, buildid=nil, uploadtype=nil, remark=nil, urlparam=nil, priority=nil, isdefaultpriority=nil, flowparams=nil, minreplicas=nil, maxreplicas=nil, runid=nil, percent=nil, currentreplicas=nil, architecture=nil) @VersionName = versionname @Status = status @FlowRatio = flowratio @CreatedTime = createdtime @UpdatedTime = updatedtime @BuildId = buildid @UploadType = uploadtype @Remark = remark @UrlParam = urlparam @Priority = priority @IsDefaultPriority = isdefaultpriority @FlowParams = flowparams @MinReplicas = minreplicas @MaxReplicas = maxreplicas @RunId = runid @Percent = percent @CurrentReplicas = currentreplicas @Architecture = architecture end def deserialize(params) @VersionName = params['VersionName'] @Status = params['Status'] @FlowRatio = params['FlowRatio'] @CreatedTime = params['CreatedTime'] @UpdatedTime = params['UpdatedTime'] @BuildId = params['BuildId'] @UploadType = params['UploadType'] @Remark = params['Remark'] unless params['UrlParam'].nil? @UrlParam = ObjectKV.new @UrlParam.deserialize(params['UrlParam']) end @Priority = params['Priority'] @IsDefaultPriority = params['IsDefaultPriority'] unless params['FlowParams'].nil? @FlowParams = [] params['FlowParams'].each do |i| cloudbaserunkvpriority_tmp = CloudBaseRunKVPriority.new cloudbaserunkvpriority_tmp.deserialize(i) @FlowParams << cloudbaserunkvpriority_tmp end end @MinReplicas = params['MinReplicas'] @MaxReplicas = params['MaxReplicas'] @RunId = params['RunId'] @Percent = params['Percent'] @CurrentReplicas = params['CurrentReplicas'] @Architecture = params['Architecture'] end end # 对标 EKS VolumeMount class CloudBaseRunServiceVolumeMount < TencentCloud::Common::AbstractModel # @param Name: Volume 名称 # @type Name: String # @param MountPath: 挂载路径 # @type MountPath: String # @param ReadOnly: 是否只读 # @type ReadOnly: Boolean # @param SubPath: 子路径 # @type SubPath: String # @param MountPropagation: 传播挂载方式 # @type MountPropagation: String attr_accessor :Name, :MountPath, :ReadOnly, :SubPath, :MountPropagation def initialize(name=nil, mountpath=nil, readonly=nil, subpath=nil, mountpropagation=nil) @Name = name @MountPath = mountpath @ReadOnly = readonly @SubPath = subpath @MountPropagation = mountpropagation end def deserialize(params) @Name = params['Name'] @MountPath = params['MountPath'] @ReadOnly = params['ReadOnly'] @SubPath = params['SubPath'] @MountPropagation = params['MountPropagation'] end end # CloudBaseRun 的 Side 描述定义 class CloudBaseRunSideSpec < TencentCloud::Common::AbstractModel # @param ContainerImage: 容器镜像 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ContainerImage: String # @param ContainerPort: 容器端口 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ContainerPort: Integer # @param ContainerName: 容器的名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ContainerName: String # @param EnvVar: kv的json字符串 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnvVar: String # @param InitialDelaySeconds: InitialDelaySeconds 延迟多长时间启动健康检查 # 注意:此字段可能返回 null,表示取不到有效值。 # @type InitialDelaySeconds: Integer # @param Cpu: CPU大小 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Cpu: Integer # @param Mem: 内存大小(单位:M) # 注意:此字段可能返回 null,表示取不到有效值。 # @type Mem: Integer # @param Security: 安全特性 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Security: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseSecurityContext` # @param VolumeMountInfos: 挂载信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VolumeMountInfos: Array attr_accessor :ContainerImage, :ContainerPort, :ContainerName, :EnvVar, :InitialDelaySeconds, :Cpu, :Mem, :Security, :VolumeMountInfos def initialize(containerimage=nil, containerport=nil, containername=nil, envvar=nil, initialdelayseconds=nil, cpu=nil, mem=nil, security=nil, volumemountinfos=nil) @ContainerImage = containerimage @ContainerPort = containerport @ContainerName = containername @EnvVar = envvar @InitialDelaySeconds = initialdelayseconds @Cpu = cpu @Mem = mem @Security = security @VolumeMountInfos = volumemountinfos end def deserialize(params) @ContainerImage = params['ContainerImage'] @ContainerPort = params['ContainerPort'] @ContainerName = params['ContainerName'] @EnvVar = params['EnvVar'] @InitialDelaySeconds = params['InitialDelaySeconds'] @Cpu = params['Cpu'] @Mem = params['Mem'] unless params['Security'].nil? @Security = CloudBaseSecurityContext.new @Security.deserialize(params['Security']) end unless params['VolumeMountInfos'].nil? @VolumeMountInfos = [] params['VolumeMountInfos'].each do |i| cloudbaserunvolumemount_tmp = CloudBaseRunVolumeMount.new cloudbaserunvolumemount_tmp.deserialize(i) @VolumeMountInfos << cloudbaserunvolumemount_tmp end end end end # 版本流量占比 class CloudBaseRunVersionFlowItem < TencentCloud::Common::AbstractModel # @param VersionName: 版本名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VersionName: String # @param FlowRatio: 流量占比 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FlowRatio: Integer # @param UrlParam: 流量参数键值对(URL参数/HEADERS参数) # 注意:此字段可能返回 null,表示取不到有效值。 # @type UrlParam: :class:`Tencentcloud::Tcb.v20180608.models.ObjectKV` # @param Priority: 优先级 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Priority: Integer # @param IsDefaultPriority: 是否是默认兜底版本 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsDefaultPriority: Boolean attr_accessor :VersionName, :FlowRatio, :UrlParam, :Priority, :IsDefaultPriority def initialize(versionname=nil, flowratio=nil, urlparam=nil, priority=nil, isdefaultpriority=nil) @VersionName = versionname @FlowRatio = flowratio @UrlParam = urlparam @Priority = priority @IsDefaultPriority = isdefaultpriority end def deserialize(params) @VersionName = params['VersionName'] @FlowRatio = params['FlowRatio'] unless params['UrlParam'].nil? @UrlParam = ObjectKV.new @UrlParam.deserialize(params['UrlParam']) end @Priority = params['Priority'] @IsDefaultPriority = params['IsDefaultPriority'] end end # cfs挂载点 class CloudBaseRunVolumeMount < TencentCloud::Common::AbstractModel # @param Name: 资源名 # @type Name: String # @param MountPath: 挂载路径 # @type MountPath: String # @param ReadOnly: 是否只读 # @type ReadOnly: Boolean # @param NfsVolumes: Nfs挂载信息 # @type NfsVolumes: Array attr_accessor :Name, :MountPath, :ReadOnly, :NfsVolumes def initialize(name=nil, mountpath=nil, readonly=nil, nfsvolumes=nil) @Name = name @MountPath = mountpath @ReadOnly = readonly @NfsVolumes = nfsvolumes end def deserialize(params) @Name = params['Name'] @MountPath = params['MountPath'] @ReadOnly = params['ReadOnly'] unless params['NfsVolumes'].nil? @NfsVolumes = [] params['NfsVolumes'].each do |i| cloudbaserunnfsvolumesource_tmp = CloudBaseRunNfsVolumeSource.new cloudbaserunnfsvolumesource_tmp.deserialize(i) @NfsVolumes << cloudbaserunnfsvolumesource_tmp end end end end # vpc信息 class CloudBaseRunVpcInfo < TencentCloud::Common::AbstractModel # @param VpcId: vpc的id # 注意:此字段可能返回 null,表示取不到有效值。 # @type VpcId: String # @param SubnetIds: 子网id # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubnetIds: Array # @param CreateType: 创建类型(0=继承; 1=新建; 2=指定) # 注意:此字段可能返回 null,表示取不到有效值。 # @type CreateType: Integer attr_accessor :VpcId, :SubnetIds, :CreateType def initialize(vpcid=nil, subnetids=nil, createtype=nil) @VpcId = vpcid @SubnetIds = subnetids @CreateType = createtype end def deserialize(params) @VpcId = params['VpcId'] @SubnetIds = params['SubnetIds'] @CreateType = params['CreateType'] end end # 子网信息 class CloudBaseRunVpcSubnet < TencentCloud::Common::AbstractModel # @param Id: 子网id # 注意:此字段可能返回 null,表示取不到有效值。 # @type Id: String # @param Cidr: 子网的ipv4 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Cidr: String # @param Zone: 可用区 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Zone: String # @param Type: 类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Type: String # @param Target: subnet类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Target: String # @param Region: 地域 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Region: String # @param Name: 名字 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Name: String attr_accessor :Id, :Cidr, :Zone, :Type, :Target, :Region, :Name def initialize(id=nil, cidr=nil, zone=nil, type=nil, target=nil, region=nil, name=nil) @Id = id @Cidr = cidr @Zone = zone @Type = type @Target = target @Region = region @Name = name end def deserialize(params) @Id = params['Id'] @Cidr = params['Cidr'] @Zone = params['Zone'] @Type = params['Type'] @Target = params['Target'] @Region = params['Region'] @Name = params['Name'] end end # cloudrun安全特性 class CloudBaseSecurityContext < TencentCloud::Common::AbstractModel # @param Capabilities: 安全特性 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Capabilities: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseCapabilities` attr_accessor :Capabilities def initialize(capabilities=nil) @Capabilities = capabilities end def deserialize(params) unless params['Capabilities'].nil? @Capabilities = CloudBaseCapabilities.new @Capabilities.deserialize(params['Capabilities']) end end end # CloudRunServiceSimpleVersionSnapshot 信息 class CloudRunServiceSimpleVersionSnapshot < TencentCloud::Common::AbstractModel # @param VersionName: 版本名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VersionName: String # @param Remark: 版本备注 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Remark: String # @param Cpu: cpu规格 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Cpu: Float # @param Mem: 内存规格 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Mem: Float # @param MinNum: 最小副本数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MinNum: Integer # @param MaxNum: 最大副本数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MaxNum: Integer # @param ImageUrl: 镜像url # 注意:此字段可能返回 null,表示取不到有效值。 # @type ImageUrl: String # @param PolicyType: 扩容策略 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PolicyType: String # @param PolicyThreshold: 策略阈值 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PolicyThreshold: Integer # @param EnvParams: 环境参数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnvParams: String # @param ContainerPort: 容器端口 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ContainerPort: Integer # @param CreateTime: 创建时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CreateTime: String # @param UpdateTime: 更新时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type UpdateTime: String # @param UploadType: 更新类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type UploadType: String # @param DockerfilePath: dockerfile路径 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DockerfilePath: String # @param BuildDir: 构建路径 # 注意:此字段可能返回 null,表示取不到有效值。 # @type BuildDir: String # @param RepoType: repo类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RepoType: String # @param Repo: 仓库 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Repo: String # @param Branch: 分支 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Branch: String # @param EnvId: 环境id # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnvId: String # @param ServerName: 服务名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ServerName: String # @param PackageName: package名字 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PackageName: String # @param PackageVersion: package版本 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PackageVersion: String # @param CustomLogs: 自定义log路径 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CustomLogs: String # @param InitialDelaySeconds: 延时健康检查时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type InitialDelaySeconds: Integer # @param SnapshotName: snapshot名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SnapshotName: String # @param ImageInfo: 镜像信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ImageInfo: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseRunImageInfo` # @param CodeDetail: 代码仓库信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CodeDetail: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseCodeRepoDetail` # @param Status: 状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String attr_accessor :VersionName, :Remark, :Cpu, :Mem, :MinNum, :MaxNum, :ImageUrl, :PolicyType, :PolicyThreshold, :EnvParams, :ContainerPort, :CreateTime, :UpdateTime, :UploadType, :DockerfilePath, :BuildDir, :RepoType, :Repo, :Branch, :EnvId, :ServerName, :PackageName, :PackageVersion, :CustomLogs, :InitialDelaySeconds, :SnapshotName, :ImageInfo, :CodeDetail, :Status def initialize(versionname=nil, remark=nil, cpu=nil, mem=nil, minnum=nil, maxnum=nil, imageurl=nil, policytype=nil, policythreshold=nil, envparams=nil, containerport=nil, createtime=nil, updatetime=nil, uploadtype=nil, dockerfilepath=nil, builddir=nil, repotype=nil, repo=nil, branch=nil, envid=nil, servername=nil, packagename=nil, packageversion=nil, customlogs=nil, initialdelayseconds=nil, snapshotname=nil, imageinfo=nil, codedetail=nil, status=nil) @VersionName = versionname @Remark = remark @Cpu = cpu @Mem = mem @MinNum = minnum @MaxNum = maxnum @ImageUrl = imageurl @PolicyType = policytype @PolicyThreshold = policythreshold @EnvParams = envparams @ContainerPort = containerport @CreateTime = createtime @UpdateTime = updatetime @UploadType = uploadtype @DockerfilePath = dockerfilepath @BuildDir = builddir @RepoType = repotype @Repo = repo @Branch = branch @EnvId = envid @ServerName = servername @PackageName = packagename @PackageVersion = packageversion @CustomLogs = customlogs @InitialDelaySeconds = initialdelayseconds @SnapshotName = snapshotname @ImageInfo = imageinfo @CodeDetail = codedetail @Status = status end def deserialize(params) @VersionName = params['VersionName'] @Remark = params['Remark'] @Cpu = params['Cpu'] @Mem = params['Mem'] @MinNum = params['MinNum'] @MaxNum = params['MaxNum'] @ImageUrl = params['ImageUrl'] @PolicyType = params['PolicyType'] @PolicyThreshold = params['PolicyThreshold'] @EnvParams = params['EnvParams'] @ContainerPort = params['ContainerPort'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @UploadType = params['UploadType'] @DockerfilePath = params['DockerfilePath'] @BuildDir = params['BuildDir'] @RepoType = params['RepoType'] @Repo = params['Repo'] @Branch = params['Branch'] @EnvId = params['EnvId'] @ServerName = params['ServerName'] @PackageName = params['PackageName'] @PackageVersion = params['PackageVersion'] @CustomLogs = params['CustomLogs'] @InitialDelaySeconds = params['InitialDelaySeconds'] @SnapshotName = params['SnapshotName'] unless params['ImageInfo'].nil? @ImageInfo = CloudBaseRunImageInfo.new @ImageInfo.deserialize(params['ImageInfo']) end unless params['CodeDetail'].nil? @CodeDetail = CloudBaseCodeRepoDetail.new @CodeDetail.deserialize(params['CodeDetail']) end @Status = params['Status'] end end # 服务的volume class CloudRunServiceVolume < TencentCloud::Common::AbstractModel # @param Name: 名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Name: String # @param NFS: NFS的挂载方式 # 注意:此字段可能返回 null,表示取不到有效值。 # @type NFS: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseRunNfsVolumeSource` # @param SecretName: secret名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SecretName: String # @param EnableEmptyDirVolume: 是否开启临时目录逐步废弃,请使用 EmptyDir # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnableEmptyDirVolume: Boolean # @param EmptyDir: emptydir数据卷详细信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EmptyDir: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseRunEmptyDirVolumeSource` attr_accessor :Name, :NFS, :SecretName, :EnableEmptyDirVolume, :EmptyDir def initialize(name=nil, nfs=nil, secretname=nil, enableemptydirvolume=nil, emptydir=nil) @Name = name @NFS = nfs @SecretName = secretname @EnableEmptyDirVolume = enableemptydirvolume @EmptyDir = emptydir end def deserialize(params) @Name = params['Name'] unless params['NFS'].nil? @NFS = CloudBaseRunNfsVolumeSource.new @NFS.deserialize(params['NFS']) end @SecretName = params['SecretName'] @EnableEmptyDirVolume = params['EnableEmptyDirVolume'] unless params['EmptyDir'].nil? @EmptyDir = CloudBaseRunEmptyDirVolumeSource.new @EmptyDir.deserialize(params['EmptyDir']) end end end # cls日志信息 class ClsInfo < TencentCloud::Common::AbstractModel # @param ClsRegion: cls所属地域 # @type ClsRegion: String # @param ClsLogsetId: cls日志集ID # @type ClsLogsetId: String # @param ClsTopicId: cls日志主题ID # @type ClsTopicId: String # @param CreateTime: 创建时间 # @type CreateTime: String attr_accessor :ClsRegion, :ClsLogsetId, :ClsTopicId, :CreateTime def initialize(clsregion=nil, clslogsetid=nil, clstopicid=nil, createtime=nil) @ClsRegion = clsregion @ClsLogsetId = clslogsetid @ClsTopicId = clstopicid @CreateTime = createtime end def deserialize(params) @ClsRegion = params['ClsRegion'] @ClsLogsetId = params['ClsLogsetId'] @ClsTopicId = params['ClsTopicId'] @CreateTime = params['CreateTime'] end end # 云开发项目来源 class CodeSource < TencentCloud::Common::AbstractModel # @param Type: 类型, 可能的枚举: "coding","package","package_url","github","gitlab","gitee","rawcode" # 注意:此字段可能返回 null,表示取不到有效值。 # @type Type: String # @param Url: 下载链接 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Url: String # @param Name: 名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Name: String # @param WorkDir: 工作目录 # 注意:此字段可能返回 null,表示取不到有效值。 # @type WorkDir: String # @param CodingPackageName: code包名, type为coding的时候需要填写 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CodingPackageName: String # @param CodingPackageVersion: coding版本名, type为coding的时候需要填写 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CodingPackageVersion: String # @param RawCode: 源码 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RawCode: String # @param Branch: 代码分支 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Branch: String # @param ProjectId: coding项目ID,type为coding时需要填写 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ProjectId: Integer # @param ProjectName: coding项目 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ProjectName: String attr_accessor :Type, :Url, :Name, :WorkDir, :CodingPackageName, :CodingPackageVersion, :RawCode, :Branch, :ProjectId, :ProjectName def initialize(type=nil, url=nil, name=nil, workdir=nil, codingpackagename=nil, codingpackageversion=nil, rawcode=nil, branch=nil, projectid=nil, projectname=nil) @Type = type @Url = url @Name = name @WorkDir = workdir @CodingPackageName = codingpackagename @CodingPackageVersion = codingpackageversion @RawCode = rawcode @Branch = branch @ProjectId = projectid @ProjectName = projectname end def deserialize(params) @Type = params['Type'] @Url = params['Url'] @Name = params['Name'] @WorkDir = params['WorkDir'] @CodingPackageName = params['CodingPackageName'] @CodingPackageVersion = params['CodingPackageVersion'] @RawCode = params['RawCode'] @Branch = params['Branch'] @ProjectId = params['ProjectId'] @ProjectName = params['ProjectName'] end end # CommonServiceAPI请求参数结构体 class CommonServiceAPIRequest < TencentCloud::Common::AbstractModel # @param Service: Service名,需要转发访问的接口名 # @type Service: String # @param JSONData: 需要转发的云API参数,要转成JSON格式 # @type JSONData: String # @param ApiRole: 指定角色 # @type ApiRole: String attr_accessor :Service, :JSONData, :ApiRole def initialize(service=nil, jsondata=nil, apirole=nil) @Service = service @JSONData = jsondata @ApiRole = apirole end def deserialize(params) @Service = params['Service'] @JSONData = params['JSONData'] @ApiRole = params['ApiRole'] end end # CommonServiceAPI返回参数结构体 class CommonServiceAPIResponse < TencentCloud::Common::AbstractModel # @param JSONResp: json格式response # @type JSONResp: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :JSONResp, :RequestId def initialize(jsonresp=nil, requestid=nil) @JSONResp = jsonresp @RequestId = requestid end def deserialize(params) @JSONResp = params['JSONResp'] @RequestId = params['RequestId'] end end # CreateAndDeployCloudBaseProject请求参数结构体 class CreateAndDeployCloudBaseProjectRequest < TencentCloud::Common::AbstractModel # @param Name: 项目名 # @type Name: String # @param Source: 来源 # @type Source: :class:`Tencentcloud::Tcb.v20180608.models.CodeSource` # @param EnvId: 环境id # @type EnvId: String # @param Type: 项目类型, 枚举值为: framework-oneclick,qci-extension-cicd # @type Type: String # @param Parameters: 环境变量 # @type Parameters: Array # @param EnvAlias: 环境别名。要以a-z开头,不能包含a-zA-z0-9-以外的字符 # @type EnvAlias: String # @param RcJson: rc.json的内容 # @type RcJson: String # @param AddonConfig: 插件配置内容 # @type AddonConfig: String # @param Tags: 标签 # @type Tags: Array # @param NetworkConfig: 网络配置 # @type NetworkConfig: String # @param FreeQuota: 用户享有的免费额度级别,目前只能为“basic”,不传该字段或该字段为空,标识不享受免费额度。 # @type FreeQuota: String # @param AutoDeployOnCodeChange: 是否代码变更触发自动部署 # @type AutoDeployOnCodeChange: Boolean # @param RepoUrl: 私有仓库地址 # @type RepoUrl: String attr_accessor :Name, :Source, :EnvId, :Type, :Parameters, :EnvAlias, :RcJson, :AddonConfig, :Tags, :NetworkConfig, :FreeQuota, :AutoDeployOnCodeChange, :RepoUrl def initialize(name=nil, source=nil, envid=nil, type=nil, parameters=nil, envalias=nil, rcjson=nil, addonconfig=nil, tags=nil, networkconfig=nil, freequota=nil, autodeployoncodechange=nil, repourl=nil) @Name = name @Source = source @EnvId = envid @Type = type @Parameters = parameters @EnvAlias = envalias @RcJson = rcjson @AddonConfig = addonconfig @Tags = tags @NetworkConfig = networkconfig @FreeQuota = freequota @AutoDeployOnCodeChange = autodeployoncodechange @RepoUrl = repourl end def deserialize(params) @Name = params['Name'] unless params['Source'].nil? @Source = CodeSource.new @Source.deserialize(params['Source']) end @EnvId = params['EnvId'] @Type = params['Type'] unless params['Parameters'].nil? @Parameters = [] params['Parameters'].each do |i| kvpair_tmp = KVPair.new kvpair_tmp.deserialize(i) @Parameters << kvpair_tmp end end @EnvAlias = params['EnvAlias'] @RcJson = params['RcJson'] @AddonConfig = params['AddonConfig'] @Tags = params['Tags'] @NetworkConfig = params['NetworkConfig'] @FreeQuota = params['FreeQuota'] @AutoDeployOnCodeChange = params['AutoDeployOnCodeChange'] @RepoUrl = params['RepoUrl'] end end # CreateAndDeployCloudBaseProject返回参数结构体 class CreateAndDeployCloudBaseProjectResponse < TencentCloud::Common::AbstractModel # @param EnvId: 环境Id # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnvId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :EnvId, :RequestId def initialize(envid=nil, requestid=nil) @EnvId = envid @RequestId = requestid end def deserialize(params) @EnvId = params['EnvId'] @RequestId = params['RequestId'] end end # CreateAuthDomain请求参数结构体 class CreateAuthDomainRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param Domains: 安全域名 # @type Domains: Array attr_accessor :EnvId, :Domains def initialize(envid=nil, domains=nil) @EnvId = envid @Domains = domains end def deserialize(params) @EnvId = params['EnvId'] @Domains = params['Domains'] end end # CreateAuthDomain返回参数结构体 class CreateAuthDomainResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # CreateCloudBaseRunResource请求参数结构体 class CreateCloudBaseRunResourceRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param VpcId: vpc的ID # @type VpcId: String # @param SubnetIds: 子网ID列表,当VpcId不为空,SubnetIds也不能为空 # @type SubnetIds: Array attr_accessor :EnvId, :VpcId, :SubnetIds def initialize(envid=nil, vpcid=nil, subnetids=nil) @EnvId = envid @VpcId = vpcid @SubnetIds = subnetids end def deserialize(params) @EnvId = params['EnvId'] @VpcId = params['VpcId'] @SubnetIds = params['SubnetIds'] end end # CreateCloudBaseRunResource返回参数结构体 class CreateCloudBaseRunResourceResponse < TencentCloud::Common::AbstractModel # @param Result: 返回集群创建是否成功 succ为成功。并且中间无err # 注意:此字段可能返回 null,表示取不到有效值。 # @type Result: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Result, :RequestId def initialize(result=nil, requestid=nil) @Result = result @RequestId = requestid end def deserialize(params) @Result = params['Result'] @RequestId = params['RequestId'] end end # CreateCloudBaseRunServerVersion请求参数结构体 class CreateCloudBaseRunServerVersionRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param UploadType: 枚举(package/repository/image/jar/war) # @type UploadType: String # @param FlowRatio: 流量占比 # @type FlowRatio: Integer # @param Cpu: Cpu的大小,单位:核 # @type Cpu: Float # @param Mem: Mem的大小,单位:G # @type Mem: Float # @param MinNum: 最小副本数,最小值:0 # @type MinNum: Integer # @param MaxNum: 副本最大数,最大值:50 # @type MaxNum: Integer # @param PolicyType: 策略类型(枚举值:比如cpu) # @type PolicyType: String # @param PolicyThreshold: 策略阈值 # @type PolicyThreshold: Integer # @param ContainerPort: 服务端口 # @type ContainerPort: Integer # @param ServerName: 服务名称 # @type ServerName: String # @param RepositoryType: repository的类型(coding/gitlab/github/coding) # @type RepositoryType: String # @param DockerfilePath: Dockerfile地址 # @type DockerfilePath: String # @param BuildDir: 构建目录 # @type BuildDir: String # @param EnvParams: 环境变量 # @type EnvParams: String # @param Repository: repository地址 # @type Repository: String # @param Branch: 分支 # @type Branch: String # @param VersionRemark: 版本备注 # @type VersionRemark: String # @param PackageName: 代码包名字 # @type PackageName: String # @param PackageVersion: 代码包的版本 # @type PackageVersion: String # @param ImageInfo: Image的详情 # @type ImageInfo: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseRunImageInfo` # @param CodeDetail: Github等拉取代码的详情 # @type CodeDetail: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseCodeRepoDetail` # @param ImageSecretInfo: 私有镜像秘钥信息 # @type ImageSecretInfo: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseRunImageSecretInfo` # @param ImagePullSecret: 私有镜像 认证名称 # @type ImagePullSecret: String # @param CustomLogs: 用户自定义采集日志路径 # @type CustomLogs: String # @param InitialDelaySeconds: 延迟多长时间开始健康检查(单位s) # @type InitialDelaySeconds: Integer # @param MountVolumeInfo: cfs挂载信息 # @type MountVolumeInfo: Array # @param AccessType: 4 代表只能微信链路访问 # @type AccessType: Integer # @param EsInfo: es信息 # @type EsInfo: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseEsInfo` # @param EnableUnion: 是否使用统一域名 # @type EnableUnion: Boolean # @param OperatorRemark: 操作备注 # @type OperatorRemark: String # @param ServerPath: 服务路径 # @type ServerPath: String # @param ImageReuseKey: 镜像复用的key # @type ImageReuseKey: String # @param SidecarSpecs: 容器的描述文件 # @type SidecarSpecs: Array # @param Security: 安全特性 # @type Security: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseSecurityContext` # @param ServiceVolumes: 服务磁盘挂载 # @type ServiceVolumes: Array # @param IsCreateJnsGw: 是否创建JnsGw 0未传默认创建 1创建 2不创建 # @type IsCreateJnsGw: Integer # @param ServiceVolumeMounts: 数据卷挂载参数 # @type ServiceVolumeMounts: Array # @param HasDockerfile: 是否有Dockerfile:0-default has, 1-has, 2-has not # @type HasDockerfile: Integer # @param BaseImage: 基础镜像 # @type BaseImage: String # @param EntryPoint: 容器启动入口命令 # @type EntryPoint: String # @param RepoLanguage: 仓库语言 # @type RepoLanguage: String # @param UploadFilename: 用户实际上传文件名(仅UploadType为jar/war时必填) # @type UploadFilename: String # @param PolicyDetail: 自动扩缩容策略组 # @type PolicyDetail: Array attr_accessor :EnvId, :UploadType, :FlowRatio, :Cpu, :Mem, :MinNum, :MaxNum, :PolicyType, :PolicyThreshold, :ContainerPort, :ServerName, :RepositoryType, :DockerfilePath, :BuildDir, :EnvParams, :Repository, :Branch, :VersionRemark, :PackageName, :PackageVersion, :ImageInfo, :CodeDetail, :ImageSecretInfo, :ImagePullSecret, :CustomLogs, :InitialDelaySeconds, :MountVolumeInfo, :AccessType, :EsInfo, :EnableUnion, :OperatorRemark, :ServerPath, :ImageReuseKey, :SidecarSpecs, :Security, :ServiceVolumes, :IsCreateJnsGw, :ServiceVolumeMounts, :HasDockerfile, :BaseImage, :EntryPoint, :RepoLanguage, :UploadFilename, :PolicyDetail def initialize(envid=nil, uploadtype=nil, flowratio=nil, cpu=nil, mem=nil, minnum=nil, maxnum=nil, policytype=nil, policythreshold=nil, containerport=nil, servername=nil, repositorytype=nil, dockerfilepath=nil, builddir=nil, envparams=nil, repository=nil, branch=nil, versionremark=nil, packagename=nil, packageversion=nil, imageinfo=nil, codedetail=nil, imagesecretinfo=nil, imagepullsecret=nil, customlogs=nil, initialdelayseconds=nil, mountvolumeinfo=nil, accesstype=nil, esinfo=nil, enableunion=nil, operatorremark=nil, serverpath=nil, imagereusekey=nil, sidecarspecs=nil, security=nil, servicevolumes=nil, iscreatejnsgw=nil, servicevolumemounts=nil, hasdockerfile=nil, baseimage=nil, entrypoint=nil, repolanguage=nil, uploadfilename=nil, policydetail=nil) @EnvId = envid @UploadType = uploadtype @FlowRatio = flowratio @Cpu = cpu @Mem = mem @MinNum = minnum @MaxNum = maxnum @PolicyType = policytype @PolicyThreshold = policythreshold @ContainerPort = containerport @ServerName = servername @RepositoryType = repositorytype @DockerfilePath = dockerfilepath @BuildDir = builddir @EnvParams = envparams @Repository = repository @Branch = branch @VersionRemark = versionremark @PackageName = packagename @PackageVersion = packageversion @ImageInfo = imageinfo @CodeDetail = codedetail @ImageSecretInfo = imagesecretinfo @ImagePullSecret = imagepullsecret @CustomLogs = customlogs @InitialDelaySeconds = initialdelayseconds @MountVolumeInfo = mountvolumeinfo @AccessType = accesstype @EsInfo = esinfo @EnableUnion = enableunion @OperatorRemark = operatorremark @ServerPath = serverpath @ImageReuseKey = imagereusekey @SidecarSpecs = sidecarspecs @Security = security @ServiceVolumes = servicevolumes @IsCreateJnsGw = iscreatejnsgw @ServiceVolumeMounts = servicevolumemounts @HasDockerfile = hasdockerfile @BaseImage = baseimage @EntryPoint = entrypoint @RepoLanguage = repolanguage @UploadFilename = uploadfilename @PolicyDetail = policydetail end def deserialize(params) @EnvId = params['EnvId'] @UploadType = params['UploadType'] @FlowRatio = params['FlowRatio'] @Cpu = params['Cpu'] @Mem = params['Mem'] @MinNum = params['MinNum'] @MaxNum = params['MaxNum'] @PolicyType = params['PolicyType'] @PolicyThreshold = params['PolicyThreshold'] @ContainerPort = params['ContainerPort'] @ServerName = params['ServerName'] @RepositoryType = params['RepositoryType'] @DockerfilePath = params['DockerfilePath'] @BuildDir = params['BuildDir'] @EnvParams = params['EnvParams'] @Repository = params['Repository'] @Branch = params['Branch'] @VersionRemark = params['VersionRemark'] @PackageName = params['PackageName'] @PackageVersion = params['PackageVersion'] unless params['ImageInfo'].nil? @ImageInfo = CloudBaseRunImageInfo.new @ImageInfo.deserialize(params['ImageInfo']) end unless params['CodeDetail'].nil? @CodeDetail = CloudBaseCodeRepoDetail.new @CodeDetail.deserialize(params['CodeDetail']) end unless params['ImageSecretInfo'].nil? @ImageSecretInfo = CloudBaseRunImageSecretInfo.new @ImageSecretInfo.deserialize(params['ImageSecretInfo']) end @ImagePullSecret = params['ImagePullSecret'] @CustomLogs = params['CustomLogs'] @InitialDelaySeconds = params['InitialDelaySeconds'] unless params['MountVolumeInfo'].nil? @MountVolumeInfo = [] params['MountVolumeInfo'].each do |i| cloudbaserunvolumemount_tmp = CloudBaseRunVolumeMount.new cloudbaserunvolumemount_tmp.deserialize(i) @MountVolumeInfo << cloudbaserunvolumemount_tmp end end @AccessType = params['AccessType'] unless params['EsInfo'].nil? @EsInfo = CloudBaseEsInfo.new @EsInfo.deserialize(params['EsInfo']) end @EnableUnion = params['EnableUnion'] @OperatorRemark = params['OperatorRemark'] @ServerPath = params['ServerPath'] @ImageReuseKey = params['ImageReuseKey'] unless params['SidecarSpecs'].nil? @SidecarSpecs = [] params['SidecarSpecs'].each do |i| cloudbaserunsidespec_tmp = CloudBaseRunSideSpec.new cloudbaserunsidespec_tmp.deserialize(i) @SidecarSpecs << cloudbaserunsidespec_tmp end end unless params['Security'].nil? @Security = CloudBaseSecurityContext.new @Security.deserialize(params['Security']) end unless params['ServiceVolumes'].nil? @ServiceVolumes = [] params['ServiceVolumes'].each do |i| cloudrunservicevolume_tmp = CloudRunServiceVolume.new cloudrunservicevolume_tmp.deserialize(i) @ServiceVolumes << cloudrunservicevolume_tmp end end @IsCreateJnsGw = params['IsCreateJnsGw'] unless params['ServiceVolumeMounts'].nil? @ServiceVolumeMounts = [] params['ServiceVolumeMounts'].each do |i| cloudbaserunservicevolumemount_tmp = CloudBaseRunServiceVolumeMount.new cloudbaserunservicevolumemount_tmp.deserialize(i) @ServiceVolumeMounts << cloudbaserunservicevolumemount_tmp end end @HasDockerfile = params['HasDockerfile'] @BaseImage = params['BaseImage'] @EntryPoint = params['EntryPoint'] @RepoLanguage = params['RepoLanguage'] @UploadFilename = params['UploadFilename'] unless params['PolicyDetail'].nil? @PolicyDetail = [] params['PolicyDetail'].each do |i| hpapolicy_tmp = HpaPolicy.new hpapolicy_tmp.deserialize(i) @PolicyDetail << hpapolicy_tmp end end end end # CreateCloudBaseRunServerVersion返回参数结构体 class CreateCloudBaseRunServerVersionResponse < TencentCloud::Common::AbstractModel # @param Result: 状态(creating/succ) # 注意:此字段可能返回 null,表示取不到有效值。 # @type Result: String # @param VersionName: 版本名称(只有Result为succ的时候,才会返回VersionName) # 注意:此字段可能返回 null,表示取不到有效值。 # @type VersionName: String # @param RunId: 操作记录id # 注意:此字段可能返回 null,表示取不到有效值。 # @type RunId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Result, :VersionName, :RunId, :RequestId def initialize(result=nil, versionname=nil, runid=nil, requestid=nil) @Result = result @VersionName = versionname @RunId = runid @RequestId = requestid end def deserialize(params) @Result = params['Result'] @VersionName = params['VersionName'] @RunId = params['RunId'] @RequestId = params['RequestId'] end end # CreateHostingDomain请求参数结构体 class CreateHostingDomainRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param Domain: 域名 # @type Domain: String # @param CertId: 证书ID # @type CertId: String attr_accessor :EnvId, :Domain, :CertId def initialize(envid=nil, domain=nil, certid=nil) @EnvId = envid @Domain = domain @CertId = certid end def deserialize(params) @EnvId = params['EnvId'] @Domain = params['Domain'] @CertId = params['CertId'] end end # CreateHostingDomain返回参数结构体 class CreateHostingDomainResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # CreatePostpayPackage请求参数结构体 class CreatePostpayPackageRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID,需要系统自动创建环境时,此字段不传 # @type EnvId: String # @param WxAppId: 微信 AppId,微信必传 # @type WxAppId: String # @param Source: 付费来源 #
  • miniapp
  • #
  • qcloud
  • # @type Source: String # @param FreeQuota: 用户享有的免费额度级别,目前只能为“basic”,不传该字段或该字段为空,标识不享受免费额度。 # @type FreeQuota: String # @param EnvSource: 环境创建来源,取值: #
  • miniapp
  • #
  • qcloud
  • # 用法同CreateEnv接口的Source参数 # 和 Channel 参数同时传,或者同时不传;EnvId 为空时必传。 # @type EnvSource: String # @param Alias: 环境别名,要以a-z开头,不能包含 a-z,0-9,- 以外的字符 # @type Alias: String # @param Channel: 如果envsource为miniapp, channel可以为ide或api; # 如果envsource为qcloud, channel可以为qc_console,cocos, qq, cloudgame,dcloud,serverless_framework # 和 EnvSource 参数同时传,或者同时不传;EnvId 为空时必传。 # @type Channel: String # @param ExtensionId: 扩展ID # @type ExtensionId: String # @param Flag: 订单标记。建议使用方统一转大小写之后再判断。 #
  • QuickStart:快速启动来源
  • #
  • Activity:活动来源
  • # @type Flag: String attr_accessor :EnvId, :WxAppId, :Source, :FreeQuota, :EnvSource, :Alias, :Channel, :ExtensionId, :Flag def initialize(envid=nil, wxappid=nil, source=nil, freequota=nil, envsource=nil, _alias=nil, channel=nil, extensionid=nil, flag=nil) @EnvId = envid @WxAppId = wxappid @Source = source @FreeQuota = freequota @EnvSource = envsource @Alias = _alias @Channel = channel @ExtensionId = extensionid @Flag = flag end def deserialize(params) @EnvId = params['EnvId'] @WxAppId = params['WxAppId'] @Source = params['Source'] @FreeQuota = params['FreeQuota'] @EnvSource = params['EnvSource'] @Alias = params['Alias'] @Channel = params['Channel'] @ExtensionId = params['ExtensionId'] @Flag = params['Flag'] end end # CreatePostpayPackage返回参数结构体 class CreatePostpayPackageResponse < TencentCloud::Common::AbstractModel # @param TranId: 后付费订单号 # @type TranId: String # @param EnvId: 环境ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnvId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TranId, :EnvId, :RequestId def initialize(tranid=nil, envid=nil, requestid=nil) @TranId = tranid @EnvId = envid @RequestId = requestid end def deserialize(params) @TranId = params['TranId'] @EnvId = params['EnvId'] @RequestId = params['RequestId'] end end # CreateStandaloneGateway请求参数结构体 class CreateStandaloneGatewayRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param GatewayAlias: 网关名 # @type GatewayAlias: String # @param VpcId: 私有网络ID # @type VpcId: String # @param SubnetIds: 子网ID # @type SubnetIds: Array # @param GatewayDesc: 网关描述 # @type GatewayDesc: String # @param PackageVersion: 网关套餐版本 # @type PackageVersion: String attr_accessor :EnvId, :GatewayAlias, :VpcId, :SubnetIds, :GatewayDesc, :PackageVersion def initialize(envid=nil, gatewayalias=nil, vpcid=nil, subnetids=nil, gatewaydesc=nil, packageversion=nil) @EnvId = envid @GatewayAlias = gatewayalias @VpcId = vpcid @SubnetIds = subnetids @GatewayDesc = gatewaydesc @PackageVersion = packageversion end def deserialize(params) @EnvId = params['EnvId'] @GatewayAlias = params['GatewayAlias'] @VpcId = params['VpcId'] @SubnetIds = params['SubnetIds'] @GatewayDesc = params['GatewayDesc'] @PackageVersion = params['PackageVersion'] end end # CreateStandaloneGateway返回参数结构体 class CreateStandaloneGatewayResponse < TencentCloud::Common::AbstractModel # @param GatewayName: 网关名称 # @type GatewayName: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :GatewayName, :RequestId def initialize(gatewayname=nil, requestid=nil) @GatewayName = gatewayname @RequestId = requestid end def deserialize(params) @GatewayName = params['GatewayName'] @RequestId = params['RequestId'] end end # CreateStaticStore请求参数结构体 class CreateStaticStoreRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param EnableUnion: 是否启用统一域名 # @type EnableUnion: Boolean attr_accessor :EnvId, :EnableUnion def initialize(envid=nil, enableunion=nil) @EnvId = envid @EnableUnion = enableunion end def deserialize(params) @EnvId = params['EnvId'] @EnableUnion = params['EnableUnion'] end end # CreateStaticStore返回参数结构体 class CreateStaticStoreResponse < TencentCloud::Common::AbstractModel # @param Result: 创建静态资源结果(succ/fail) # 注意:此字段可能返回 null,表示取不到有效值。 # @type Result: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Result, :RequestId def initialize(result=nil, requestid=nil) @Result = result @RequestId = requestid end def deserialize(params) @Result = params['Result'] @RequestId = params['RequestId'] end end # CreateWxCloudBaseRunEnv请求参数结构体 class CreateWxCloudBaseRunEnvRequest < TencentCloud::Common::AbstractModel # @param WxAppId: wx应用Id # @type WxAppId: String # @param Alias: 环境别名,要以a-z开头,不能包含 a-z,0-9,- 以外的字符 # @type Alias: String # @param FreeQuota: 用户享有的免费额度级别,目前只能为“basic”,不传该字段或该字段为空,标识不享受免费额度。 # @type FreeQuota: String # @param Flag: 订单标记。建议使用方统一转大小写之后再判断。 # QuickStart:快速启动来源 # Activity:活动来源 # @type Flag: String # @param VpcId: 私有网络Id # @type VpcId: String # @param SubNetIds: 子网列表 # @type SubNetIds: Array attr_accessor :WxAppId, :Alias, :FreeQuota, :Flag, :VpcId, :SubNetIds def initialize(wxappid=nil, _alias=nil, freequota=nil, flag=nil, vpcid=nil, subnetids=nil) @WxAppId = wxappid @Alias = _alias @FreeQuota = freequota @Flag = flag @VpcId = vpcid @SubNetIds = subnetids end def deserialize(params) @WxAppId = params['WxAppId'] @Alias = params['Alias'] @FreeQuota = params['FreeQuota'] @Flag = params['Flag'] @VpcId = params['VpcId'] @SubNetIds = params['SubNetIds'] end end # CreateWxCloudBaseRunEnv返回参数结构体 class CreateWxCloudBaseRunEnvResponse < TencentCloud::Common::AbstractModel # @param EnvId: 环境Id # @type EnvId: String # @param TranId: 后付费订单号 # @type TranId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :EnvId, :TranId, :RequestId def initialize(envid=nil, tranid=nil, requestid=nil) @EnvId = envid @TranId = tranid @RequestId = requestid end def deserialize(params) @EnvId = params['EnvId'] @TranId = params['TranId'] @RequestId = params['RequestId'] end end # CreateWxCloudBaseRunServerDBCluster请求参数结构体 class CreateWxCloudBaseRunServerDBClusterRequest < TencentCloud::Common::AbstractModel # @param AccountPassword: 账户密码 # @type AccountPassword: String # @param EnvId: 环境ID # @type EnvId: String # @param WxAppId: 微信appid # @type WxAppId: String # @param DbVersion: mysql内核版本,支持5.7,8.0 # @type DbVersion: String attr_accessor :AccountPassword, :EnvId, :WxAppId, :DbVersion def initialize(accountpassword=nil, envid=nil, wxappid=nil, dbversion=nil) @AccountPassword = accountpassword @EnvId = envid @WxAppId = wxappid @DbVersion = dbversion end def deserialize(params) @AccountPassword = params['AccountPassword'] @EnvId = params['EnvId'] @WxAppId = params['WxAppId'] @DbVersion = params['DbVersion'] end end # CreateWxCloudBaseRunServerDBCluster返回参数结构体 class CreateWxCloudBaseRunServerDBClusterResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # 数据库资源信息 class DatabasesInfo < TencentCloud::Common::AbstractModel # @param InstanceId: 数据库唯一标识 # @type InstanceId: String # @param Status: 状态。包含以下取值: #
  • INITIALIZING:资源初始化中
  • #
  • RUNNING:运行中,可正常使用的状态
  • #
  • UNUSABLE:禁用,不可用
  • #
  • OVERDUE:资源过期
  • # @type Status: String # @param Region: 所属地域。 # 当前支持ap-shanghai # @type Region: String attr_accessor :InstanceId, :Status, :Region def initialize(instanceid=nil, status=nil, region=nil) @InstanceId = instanceid @Status = status @Region = region end def deserialize(params) @InstanceId = params['InstanceId'] @Status = params['Status'] @Region = params['Region'] end end # DeleteCloudBaseProjectLatestVersion请求参数结构体 class DeleteCloudBaseProjectLatestVersionRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境id # @type EnvId: String # @param ProjectName: 项目名 # @type ProjectName: String # @param KeepResource: 是否保留资源 # @type KeepResource: Boolean attr_accessor :EnvId, :ProjectName, :KeepResource def initialize(envid=nil, projectname=nil, keepresource=nil) @EnvId = envid @ProjectName = projectname @KeepResource = keepresource end def deserialize(params) @EnvId = params['EnvId'] @ProjectName = params['ProjectName'] @KeepResource = params['KeepResource'] end end # DeleteCloudBaseProjectLatestVersion返回参数结构体 class DeleteCloudBaseProjectLatestVersionResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DeleteCloudBaseRunServerVersion请求参数结构体 class DeleteCloudBaseRunServerVersionRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param ServerName: 服务名称 # @type ServerName: String # @param VersionName: 版本名称 # @type VersionName: String # @param IsDeleteServer: 是否删除服务,只有最后一个版本的时候,才生效。 # @type IsDeleteServer: Boolean # @param IsDeleteImage: 只有删除服务的时候,才会起作用 # @type IsDeleteImage: Boolean # @param OperatorRemark: 操作备注 # @type OperatorRemark: String attr_accessor :EnvId, :ServerName, :VersionName, :IsDeleteServer, :IsDeleteImage, :OperatorRemark def initialize(envid=nil, servername=nil, versionname=nil, isdeleteserver=nil, isdeleteimage=nil, operatorremark=nil) @EnvId = envid @ServerName = servername @VersionName = versionname @IsDeleteServer = isdeleteserver @IsDeleteImage = isdeleteimage @OperatorRemark = operatorremark end def deserialize(params) @EnvId = params['EnvId'] @ServerName = params['ServerName'] @VersionName = params['VersionName'] @IsDeleteServer = params['IsDeleteServer'] @IsDeleteImage = params['IsDeleteImage'] @OperatorRemark = params['OperatorRemark'] end end # DeleteCloudBaseRunServerVersion返回参数结构体 class DeleteCloudBaseRunServerVersionResponse < TencentCloud::Common::AbstractModel # @param Result: 返回结果,succ为成功 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Result: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Result, :RequestId def initialize(result=nil, requestid=nil) @Result = result @RequestId = requestid end def deserialize(params) @Result = params['Result'] @RequestId = params['RequestId'] end end # DeleteEndUser请求参数结构体 class DeleteEndUserRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param UserList: 用户列表,每一项都是uuid # @type UserList: Array attr_accessor :EnvId, :UserList def initialize(envid=nil, userlist=nil) @EnvId = envid @UserList = userlist end def deserialize(params) @EnvId = params['EnvId'] @UserList = params['UserList'] end end # DeleteEndUser返回参数结构体 class DeleteEndUserResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DeleteWxGatewayRoute请求参数结构体 class DeleteWxGatewayRouteRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境id # @type EnvId: String # @param GatewayRouteName: 服务名称 # @type GatewayRouteName: String attr_accessor :EnvId, :GatewayRouteName def initialize(envid=nil, gatewayroutename=nil) @EnvId = envid @GatewayRouteName = gatewayroutename end def deserialize(params) @EnvId = params['EnvId'] @GatewayRouteName = params['GatewayRouteName'] end end # DeleteWxGatewayRoute返回参数结构体 class DeleteWxGatewayRouteResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DescribeActivityInfo请求参数结构体 class DescribeActivityInfoRequest < TencentCloud::Common::AbstractModel # @param ActivityIdList: 活动id列表 # @type ActivityIdList: Array attr_accessor :ActivityIdList def initialize(activityidlist=nil) @ActivityIdList = activityidlist end def deserialize(params) @ActivityIdList = params['ActivityIdList'] end end # DescribeActivityInfo返回参数结构体 class DescribeActivityInfoResponse < TencentCloud::Common::AbstractModel # @param ActivityInfoList: 活动详情 # @type ActivityInfoList: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ActivityInfoList, :RequestId def initialize(activityinfolist=nil, requestid=nil) @ActivityInfoList = activityinfolist @RequestId = requestid end def deserialize(params) unless params['ActivityInfoList'].nil? @ActivityInfoList = [] params['ActivityInfoList'].each do |i| activityinfoitem_tmp = ActivityInfoItem.new activityinfoitem_tmp.deserialize(i) @ActivityInfoList << activityinfoitem_tmp end end @RequestId = params['RequestId'] end end # DescribeActivityRecord请求参数结构体 class DescribeActivityRecordRequest < TencentCloud::Common::AbstractModel # @param ChannelToken: 渠道加密token # @type ChannelToken: String # @param Channel: 渠道来源,每个来源对应不同secretKey # @type Channel: String # @param ActivityIdList: 活动id列表 # @type ActivityIdList: Array # @param Status: 过滤状态码,已废弃 # @type Status: Integer # @param Statuses: 状态码过滤数组,空数组时不过滤 # @type Statuses: Array # @param IsDeletedList: 根据是否软删除进行过滤,[0]未删除, [1] 删除,不传不过滤 # @type IsDeletedList: Array attr_accessor :ChannelToken, :Channel, :ActivityIdList, :Status, :Statuses, :IsDeletedList def initialize(channeltoken=nil, channel=nil, activityidlist=nil, status=nil, statuses=nil, isdeletedlist=nil) @ChannelToken = channeltoken @Channel = channel @ActivityIdList = activityidlist @Status = status @Statuses = statuses @IsDeletedList = isdeletedlist end def deserialize(params) @ChannelToken = params['ChannelToken'] @Channel = params['Channel'] @ActivityIdList = params['ActivityIdList'] @Status = params['Status'] @Statuses = params['Statuses'] @IsDeletedList = params['IsDeletedList'] end end # DescribeActivityRecord返回参数结构体 class DescribeActivityRecordResponse < TencentCloud::Common::AbstractModel # @param ActivityRecords: 活动记录详情 # @type ActivityRecords: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ActivityRecords, :RequestId def initialize(activityrecords=nil, requestid=nil) @ActivityRecords = activityrecords @RequestId = requestid end def deserialize(params) unless params['ActivityRecords'].nil? @ActivityRecords = [] params['ActivityRecords'].each do |i| activityrecorditem_tmp = ActivityRecordItem.new activityrecorditem_tmp.deserialize(i) @ActivityRecords << activityrecorditem_tmp end end @RequestId = params['RequestId'] end end # DescribeAuthDomains请求参数结构体 class DescribeAuthDomainsRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String attr_accessor :EnvId def initialize(envid=nil) @EnvId = envid end def deserialize(params) @EnvId = params['EnvId'] end end # DescribeAuthDomains返回参数结构体 class DescribeAuthDomainsResponse < TencentCloud::Common::AbstractModel # @param Domains: 安全域名列表列表 # @type Domains: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Domains, :RequestId def initialize(domains=nil, requestid=nil) @Domains = domains @RequestId = requestid end def deserialize(params) unless params['Domains'].nil? @Domains = [] params['Domains'].each do |i| authdomain_tmp = AuthDomain.new authdomain_tmp.deserialize(i) @Domains << authdomain_tmp end end @RequestId = params['RequestId'] end end # DescribeCloudBaseBuildService请求参数结构体 class DescribeCloudBaseBuildServiceRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境id # @type EnvId: String # @param ServiceName: 服务名 # @type ServiceName: String # @param CIBusiness: build类型,枚举值有: cloudbaserun, framework-ci # @type CIBusiness: String # @param ServiceVersion: 服务版本 # @type ServiceVersion: String # @param Suffix: 文件后缀 # @type Suffix: String attr_accessor :EnvId, :ServiceName, :CIBusiness, :ServiceVersion, :Suffix def initialize(envid=nil, servicename=nil, cibusiness=nil, serviceversion=nil, suffix=nil) @EnvId = envid @ServiceName = servicename @CIBusiness = cibusiness @ServiceVersion = serviceversion @Suffix = suffix end def deserialize(params) @EnvId = params['EnvId'] @ServiceName = params['ServiceName'] @CIBusiness = params['CIBusiness'] @ServiceVersion = params['ServiceVersion'] @Suffix = params['Suffix'] end end # DescribeCloudBaseBuildService返回参数结构体 class DescribeCloudBaseBuildServiceResponse < TencentCloud::Common::AbstractModel # @param UploadUrl: 上传url # @type UploadUrl: String # @param UploadHeaders: 上传heder # @type UploadHeaders: Array # @param PackageName: 包名 # @type PackageName: String # @param PackageVersion: 包版本 # @type PackageVersion: String # @param DownloadUrl: 下载链接 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DownloadUrl: String # @param DownloadHeaders: 下载Httpheader # 注意:此字段可能返回 null,表示取不到有效值。 # @type DownloadHeaders: Array # @param OutDate: 下载链接是否过期 # 注意:此字段可能返回 null,表示取不到有效值。 # @type OutDate: Boolean # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :UploadUrl, :UploadHeaders, :PackageName, :PackageVersion, :DownloadUrl, :DownloadHeaders, :OutDate, :RequestId def initialize(uploadurl=nil, uploadheaders=nil, packagename=nil, packageversion=nil, downloadurl=nil, downloadheaders=nil, outdate=nil, requestid=nil) @UploadUrl = uploadurl @UploadHeaders = uploadheaders @PackageName = packagename @PackageVersion = packageversion @DownloadUrl = downloadurl @DownloadHeaders = downloadheaders @OutDate = outdate @RequestId = requestid end def deserialize(params) @UploadUrl = params['UploadUrl'] unless params['UploadHeaders'].nil? @UploadHeaders = [] params['UploadHeaders'].each do |i| kvpair_tmp = KVPair.new kvpair_tmp.deserialize(i) @UploadHeaders << kvpair_tmp end end @PackageName = params['PackageName'] @PackageVersion = params['PackageVersion'] @DownloadUrl = params['DownloadUrl'] unless params['DownloadHeaders'].nil? @DownloadHeaders = [] params['DownloadHeaders'].each do |i| kvpair_tmp = KVPair.new kvpair_tmp.deserialize(i) @DownloadHeaders << kvpair_tmp end end @OutDate = params['OutDate'] @RequestId = params['RequestId'] end end # DescribeCloudBaseProjectLatestVersionList请求参数结构体 class DescribeCloudBaseProjectLatestVersionListRequest < TencentCloud::Common::AbstractModel # @param Offset: 偏移量 # @type Offset: Integer # @param PageSize: 个数 # @type PageSize: Integer # @param EnvId: 环境id, 非必填 # @type EnvId: String # @param ProjectName: 项目名称, 非必填 # @type ProjectName: String # @param ProjectType: 项目类型: framework-oneclick,qci-extension-cicd # @type ProjectType: String # @param Tags: 标签 # @type Tags: Array # @param CiId: ci的id # @type CiId: String attr_accessor :Offset, :PageSize, :EnvId, :ProjectName, :ProjectType, :Tags, :CiId def initialize(offset=nil, pagesize=nil, envid=nil, projectname=nil, projecttype=nil, tags=nil, ciid=nil) @Offset = offset @PageSize = pagesize @EnvId = envid @ProjectName = projectname @ProjectType = projecttype @Tags = tags @CiId = ciid end def deserialize(params) @Offset = params['Offset'] @PageSize = params['PageSize'] @EnvId = params['EnvId'] @ProjectName = params['ProjectName'] @ProjectType = params['ProjectType'] @Tags = params['Tags'] @CiId = params['CiId'] end end # DescribeCloudBaseProjectLatestVersionList返回参数结构体 class DescribeCloudBaseProjectLatestVersionListResponse < TencentCloud::Common::AbstractModel # @param ProjectList: 项目列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ProjectList: Array # @param TotalCount: 总数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ProjectList, :TotalCount, :RequestId def initialize(projectlist=nil, totalcount=nil, requestid=nil) @ProjectList = projectlist @TotalCount = totalcount @RequestId = requestid end def deserialize(params) unless params['ProjectList'].nil? @ProjectList = [] params['ProjectList'].each do |i| cloudbaseprojectversion_tmp = CloudBaseProjectVersion.new cloudbaseprojectversion_tmp.deserialize(i) @ProjectList << cloudbaseprojectversion_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end end # DescribeCloudBaseProjectVersionList请求参数结构体 class DescribeCloudBaseProjectVersionListRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境id # @type EnvId: String # @param ProjectName: 项目名称 # @type ProjectName: String # @param PageSize: 页大小 # @type PageSize: Integer # @param PageNum: 第几页,从0开始 # @type PageNum: Integer # @param StartTime: 起始时间 2021-03-27 12:00:00 # @type StartTime: String # @param EndTime: 终止时间 2021-03-27 12:00:00 # @type EndTime: String attr_accessor :EnvId, :ProjectName, :PageSize, :PageNum, :StartTime, :EndTime def initialize(envid=nil, projectname=nil, pagesize=nil, pagenum=nil, starttime=nil, endtime=nil) @EnvId = envid @ProjectName = projectname @PageSize = pagesize @PageNum = pagenum @StartTime = starttime @EndTime = endtime end def deserialize(params) @EnvId = params['EnvId'] @ProjectName = params['ProjectName'] @PageSize = params['PageSize'] @PageNum = params['PageNum'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] end end # DescribeCloudBaseProjectVersionList返回参数结构体 class DescribeCloudBaseProjectVersionListResponse < TencentCloud::Common::AbstractModel # @param ProjectVersions: 版本列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ProjectVersions: Array # @param TotalCount: 总个数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ProjectVersions, :TotalCount, :RequestId def initialize(projectversions=nil, totalcount=nil, requestid=nil) @ProjectVersions = projectversions @TotalCount = totalcount @RequestId = requestid end def deserialize(params) unless params['ProjectVersions'].nil? @ProjectVersions = [] params['ProjectVersions'].each do |i| cloudbaseprojectversion_tmp = CloudBaseProjectVersion.new cloudbaseprojectversion_tmp.deserialize(i) @ProjectVersions << cloudbaseprojectversion_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end end # DescribeCloudBaseRunAllVpcs请求参数结构体 class DescribeCloudBaseRunAllVpcsRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String attr_accessor :EnvId def initialize(envid=nil) @EnvId = envid end def deserialize(params) @EnvId = params['EnvId'] end end # DescribeCloudBaseRunAllVpcs返回参数结构体 class DescribeCloudBaseRunAllVpcsResponse < TencentCloud::Common::AbstractModel # @param Vpcs: 所有vpcid # 注意:此字段可能返回 null,表示取不到有效值。 # @type Vpcs: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Vpcs, :RequestId def initialize(vpcs=nil, requestid=nil) @Vpcs = vpcs @RequestId = requestid end def deserialize(params) @Vpcs = params['Vpcs'] @RequestId = params['RequestId'] end end # DescribeCloudBaseRunConfForGateWay请求参数结构体 class DescribeCloudBaseRunConfForGateWayRequest < TencentCloud::Common::AbstractModel # @param EnvID: 环境ID # @type EnvID: String # @param VpcID: vpc信息 # @type VpcID: String attr_accessor :EnvID, :VpcID def initialize(envid=nil, vpcid=nil) @EnvID = envid @VpcID = vpcid end def deserialize(params) @EnvID = params['EnvID'] @VpcID = params['VpcID'] end end # DescribeCloudBaseRunConfForGateWay返回参数结构体 class DescribeCloudBaseRunConfForGateWayResponse < TencentCloud::Common::AbstractModel # @param LastUpTime: 最近更新时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type LastUpTime: String # @param Data: 配置信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Data: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :LastUpTime, :Data, :RequestId def initialize(lastuptime=nil, data=nil, requestid=nil) @LastUpTime = lastuptime @Data = data @RequestId = requestid end def deserialize(params) @LastUpTime = params['LastUpTime'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| cloudbaserunforgatewayconf_tmp = CloudBaseRunForGatewayConf.new cloudbaserunforgatewayconf_tmp.deserialize(i) @Data << cloudbaserunforgatewayconf_tmp end end @RequestId = params['RequestId'] end end # DescribeCloudBaseRunOneClickTaskExternal请求参数结构体 class DescribeCloudBaseRunOneClickTaskExternalRequest < TencentCloud::Common::AbstractModel # @param ExternalId: 外部任务Id 最长64字节 # @type ExternalId: String attr_accessor :ExternalId def initialize(externalid=nil) @ExternalId = externalid end def deserialize(params) @ExternalId = params['ExternalId'] end end # DescribeCloudBaseRunOneClickTaskExternal返回参数结构体 class DescribeCloudBaseRunOneClickTaskExternalResponse < TencentCloud::Common::AbstractModel # @param ExternalId: 外部任务Id # @type ExternalId: String # @param EnvId: 弃用 # @type EnvId: String # @param UserUin: 用户uin # @type UserUin: String # @param ServerName: 服务名 # @type ServerName: String # @param VersionName: 版本名 # @type VersionName: String # @param CreateTime: 创建时间 # @type CreateTime: String # @param Stage: 当前阶段 # 微信云托管环境创建阶段:envStage # 存储资源创建阶段:storageStage # 服务创建阶段:serverStage # @type Stage: String # @param Status: 状态 # running # stopped # failed # finished # @type Status: String # @param FailReason: 失败原因 # @type FailReason: String # @param UserEnvId: 用户envId # @type UserEnvId: String # @param StartTime: 创建时间 # @type StartTime: String # @param Steps: 步骤信息 # @type Steps: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ExternalId, :EnvId, :UserUin, :ServerName, :VersionName, :CreateTime, :Stage, :Status, :FailReason, :UserEnvId, :StartTime, :Steps, :RequestId 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) @ExternalId = externalid @EnvId = envid @UserUin = useruin @ServerName = servername @VersionName = versionname @CreateTime = createtime @Stage = stage @Status = status @FailReason = failreason @UserEnvId = userenvid @StartTime = starttime @Steps = steps @RequestId = requestid end def deserialize(params) @ExternalId = params['ExternalId'] @EnvId = params['EnvId'] @UserUin = params['UserUin'] @ServerName = params['ServerName'] @VersionName = params['VersionName'] @CreateTime = params['CreateTime'] @Stage = params['Stage'] @Status = params['Status'] @FailReason = params['FailReason'] @UserEnvId = params['UserEnvId'] @StartTime = params['StartTime'] unless params['Steps'].nil? @Steps = [] params['Steps'].each do |i| oneclicktaskstepinfo_tmp = OneClickTaskStepInfo.new oneclicktaskstepinfo_tmp.deserialize(i) @Steps << oneclicktaskstepinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeCloudBaseRunOperationTypes请求参数结构体 class DescribeCloudBaseRunOperationTypesRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param ServerName: 服务名称,精确匹配 # @type ServerName: String attr_accessor :EnvId, :ServerName def initialize(envid=nil, servername=nil) @EnvId = envid @ServerName = servername end def deserialize(params) @EnvId = params['EnvId'] @ServerName = params['ServerName'] end end # DescribeCloudBaseRunOperationTypes返回参数结构体 class DescribeCloudBaseRunOperationTypesResponse < TencentCloud::Common::AbstractModel # @param Action: 操作类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Action: Array # @param ServerName: 服务名列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ServerName: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Action, :ServerName, :RequestId def initialize(action=nil, servername=nil, requestid=nil) @Action = action @ServerName = servername @RequestId = requestid end def deserialize(params) @Action = params['Action'] @ServerName = params['ServerName'] @RequestId = params['RequestId'] end end # DescribeCloudBaseRunPodList请求参数结构体 class DescribeCloudBaseRunPodListRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境id # @type EnvId: String # @param ServerName: 服务名 # @type ServerName: String # @param VersionName: 版本名 # @type VersionName: String # @param Limit: 分页限制 # @type Limit: Integer # @param Offset: 分页偏移量 # @type Offset: Integer # @param Status: 容器状态 # @type Status: String # @param PodName: 容器名 # @type PodName: String attr_accessor :EnvId, :ServerName, :VersionName, :Limit, :Offset, :Status, :PodName def initialize(envid=nil, servername=nil, versionname=nil, limit=nil, offset=nil, status=nil, podname=nil) @EnvId = envid @ServerName = servername @VersionName = versionname @Limit = limit @Offset = offset @Status = status @PodName = podname end def deserialize(params) @EnvId = params['EnvId'] @ServerName = params['ServerName'] @VersionName = params['VersionName'] @Limit = params['Limit'] @Offset = params['Offset'] @Status = params['Status'] @PodName = params['PodName'] end end # DescribeCloudBaseRunPodList返回参数结构体 class DescribeCloudBaseRunPodListResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DescribeCloudBaseRunResourceForExtend请求参数结构体 class DescribeCloudBaseRunResourceForExtendRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String attr_accessor :EnvId def initialize(envid=nil) @EnvId = envid end def deserialize(params) @EnvId = params['EnvId'] end end # DescribeCloudBaseRunResourceForExtend返回参数结构体 class DescribeCloudBaseRunResourceForExtendResponse < TencentCloud::Common::AbstractModel # @param ClusterStatus: 集群状态(creating/succ) # 注意:此字段可能返回 null,表示取不到有效值。 # @type ClusterStatus: String # @param VirtualClusterId: 虚拟集群ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type VirtualClusterId: String # @param VpcId: vpc id信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VpcId: String # @param Region: 地域信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Region: String # @param SubnetIds: 子网信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubnetIds: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ClusterStatus, :VirtualClusterId, :VpcId, :Region, :SubnetIds, :RequestId def initialize(clusterstatus=nil, virtualclusterid=nil, vpcid=nil, region=nil, subnetids=nil, requestid=nil) @ClusterStatus = clusterstatus @VirtualClusterId = virtualclusterid @VpcId = vpcid @Region = region @SubnetIds = subnetids @RequestId = requestid end def deserialize(params) @ClusterStatus = params['ClusterStatus'] @VirtualClusterId = params['VirtualClusterId'] @VpcId = params['VpcId'] @Region = params['Region'] unless params['SubnetIds'].nil? @SubnetIds = [] params['SubnetIds'].each do |i| cloudbaserunvpcsubnet_tmp = CloudBaseRunVpcSubnet.new cloudbaserunvpcsubnet_tmp.deserialize(i) @SubnetIds << cloudbaserunvpcsubnet_tmp end end @RequestId = params['RequestId'] end end # DescribeCloudBaseRunResource请求参数结构体 class DescribeCloudBaseRunResourceRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String attr_accessor :EnvId def initialize(envid=nil) @EnvId = envid end def deserialize(params) @EnvId = params['EnvId'] end end # DescribeCloudBaseRunResource返回参数结构体 class DescribeCloudBaseRunResourceResponse < TencentCloud::Common::AbstractModel # @param ClusterStatus: 集群状态(creating/succ) # 注意:此字段可能返回 null,表示取不到有效值。 # @type ClusterStatus: String # @param VirtualClusterId: 虚拟集群ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type VirtualClusterId: String # @param VpcId: vpc id信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VpcId: String # @param Region: 地域信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Region: String # @param SubnetIds: 子网信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubnetIds: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ClusterStatus, :VirtualClusterId, :VpcId, :Region, :SubnetIds, :RequestId def initialize(clusterstatus=nil, virtualclusterid=nil, vpcid=nil, region=nil, subnetids=nil, requestid=nil) @ClusterStatus = clusterstatus @VirtualClusterId = virtualclusterid @VpcId = vpcid @Region = region @SubnetIds = subnetids @RequestId = requestid end def deserialize(params) @ClusterStatus = params['ClusterStatus'] @VirtualClusterId = params['VirtualClusterId'] @VpcId = params['VpcId'] @Region = params['Region'] unless params['SubnetIds'].nil? @SubnetIds = [] params['SubnetIds'].each do |i| cloudbaserunvpcsubnet_tmp = CloudBaseRunVpcSubnet.new cloudbaserunvpcsubnet_tmp.deserialize(i) @SubnetIds << cloudbaserunvpcsubnet_tmp end end @RequestId = params['RequestId'] end end # DescribeCloudBaseRunServerDomainName请求参数结构体 class DescribeCloudBaseRunServerDomainNameRequest < TencentCloud::Common::AbstractModel # @param ServerName: 服务名 # @type ServerName: String # @param UserEnvId: 环境Id # @type UserEnvId: String # @param UserUin: 用户Uin # @type UserUin: String # @param ExternalId: 外部Id # @type ExternalId: String attr_accessor :ServerName, :UserEnvId, :UserUin, :ExternalId def initialize(servername=nil, userenvid=nil, useruin=nil, externalid=nil) @ServerName = servername @UserEnvId = userenvid @UserUin = useruin @ExternalId = externalid end def deserialize(params) @ServerName = params['ServerName'] @UserEnvId = params['UserEnvId'] @UserUin = params['UserUin'] @ExternalId = params['ExternalId'] end end # DescribeCloudBaseRunServerDomainName返回参数结构体 class DescribeCloudBaseRunServerDomainNameResponse < TencentCloud::Common::AbstractModel # @param PublicDomain: 公网服务域名 # @type PublicDomain: String # @param InternalDomain: 内部服务域名 # @type InternalDomain: String # @param DomainName: 弃用 # @type DomainName: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :PublicDomain, :InternalDomain, :DomainName, :RequestId def initialize(publicdomain=nil, internaldomain=nil, domainname=nil, requestid=nil) @PublicDomain = publicdomain @InternalDomain = internaldomain @DomainName = domainname @RequestId = requestid end def deserialize(params) @PublicDomain = params['PublicDomain'] @InternalDomain = params['InternalDomain'] @DomainName = params['DomainName'] @RequestId = params['RequestId'] end end # DescribeCloudBaseRunServer请求参数结构体 class DescribeCloudBaseRunServerRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param ServerName: 服务名称 # @type ServerName: String # @param Offset: 分页偏移 # @type Offset: Integer # @param Limit: 分页数量 # @type Limit: Integer # @param VersionName: 版本名字(精确匹配) # @type VersionName: String attr_accessor :EnvId, :ServerName, :Offset, :Limit, :VersionName def initialize(envid=nil, servername=nil, offset=nil, limit=nil, versionname=nil) @EnvId = envid @ServerName = servername @Offset = offset @Limit = limit @VersionName = versionname end def deserialize(params) @EnvId = params['EnvId'] @ServerName = params['ServerName'] @Offset = params['Offset'] @Limit = params['Limit'] @VersionName = params['VersionName'] end end # DescribeCloudBaseRunServer返回参数结构体 class DescribeCloudBaseRunServerResponse < TencentCloud::Common::AbstractModel # @param TotalCount: 个数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TotalCount: Integer # @param VersionItems: 版本列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VersionItems: Array # @param ServerName: 服务名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ServerName: String # @param IsPublic: 是否对于外网开放 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsPublic: Boolean # @param ImageRepo: 镜像仓库 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ImageRepo: String # @param TrafficType: 流量配置的类型(FLOW,URL_PARAMS) # 注意:此字段可能返回 null,表示取不到有效值。 # @type TrafficType: String # @param SourceType: 服务创建类型,默认为空,一键部署为oneclick # 注意:此字段可能返回 null,表示取不到有效值。 # @type SourceType: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :VersionItems, :ServerName, :IsPublic, :ImageRepo, :TrafficType, :SourceType, :RequestId def initialize(totalcount=nil, versionitems=nil, servername=nil, ispublic=nil, imagerepo=nil, traffictype=nil, sourcetype=nil, requestid=nil) @TotalCount = totalcount @VersionItems = versionitems @ServerName = servername @IsPublic = ispublic @ImageRepo = imagerepo @TrafficType = traffictype @SourceType = sourcetype @RequestId = requestid end def deserialize(params) @TotalCount = params['TotalCount'] unless params['VersionItems'].nil? @VersionItems = [] params['VersionItems'].each do |i| cloudbaserunserverversionitem_tmp = CloudBaseRunServerVersionItem.new cloudbaserunserverversionitem_tmp.deserialize(i) @VersionItems << cloudbaserunserverversionitem_tmp end end @ServerName = params['ServerName'] @IsPublic = params['IsPublic'] @ImageRepo = params['ImageRepo'] @TrafficType = params['TrafficType'] @SourceType = params['SourceType'] @RequestId = params['RequestId'] end end # DescribeCloudBaseRunServerVersion请求参数结构体 class DescribeCloudBaseRunServerVersionRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param ServerName: 服务名称 # @type ServerName: String # @param VersionName: 版本名称 # @type VersionName: String attr_accessor :EnvId, :ServerName, :VersionName def initialize(envid=nil, servername=nil, versionname=nil) @EnvId = envid @ServerName = servername @VersionName = versionname end def deserialize(params) @EnvId = params['EnvId'] @ServerName = params['ServerName'] @VersionName = params['VersionName'] end end # DescribeCloudBaseRunServerVersion返回参数结构体 class DescribeCloudBaseRunServerVersionResponse < TencentCloud::Common::AbstractModel # @param VersionName: 版本名称 # @type VersionName: String # @param Remark: 备注 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Remark: String # @param DockerfilePath: Dockefile的路径 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DockerfilePath: String # @param BuildDir: DockerBuild的目录 # 注意:此字段可能返回 null,表示取不到有效值。 # @type BuildDir: String # @param Cpu: 请使用CPUSize # @type Cpu: Integer # @param Mem: 请使用MemSize # @type Mem: Integer # @param MinNum: 副本最小值 # @type MinNum: Integer # @param MaxNum: 副本最大值 # @type MaxNum: Integer # @param PolicyType: 策略类型 # @type PolicyType: String # @param PolicyThreshold: 策略阈值 # @type PolicyThreshold: Float # @param EnvParams: 环境变量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnvParams: String # @param CreatedTime: 创建时间 # @type CreatedTime: String # @param UpdatedTime: 更新时间 # @type UpdatedTime: String # @param VersionIP: 版本的IP # 注意:此字段可能返回 null,表示取不到有效值。 # @type VersionIP: String # @param VersionPort: 版本的端口号 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VersionPort: Integer # @param Status: 版本状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String # @param PackageName: 代码包的名字 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PackageName: String # @param PackageVersion: 代码版本的名字 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PackageVersion: String # @param UploadType: 枚举(package/repository/image) # 注意:此字段可能返回 null,表示取不到有效值。 # @type UploadType: String # @param RepoType: Repo的类型(gitlab/github/coding) # 注意:此字段可能返回 null,表示取不到有效值。 # @type RepoType: String # @param Repo: 地址 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Repo: String # @param Branch: 分支 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Branch: String # @param ServerName: 服务名字 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ServerName: String # @param IsPublic: 是否对于外网开放 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsPublic: Boolean # @param VpcId: vpc id # 注意:此字段可能返回 null,表示取不到有效值。 # @type VpcId: String # @param SubnetIds: 子网实例id # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubnetIds: Array # @param CustomLogs: 日志采集路径 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CustomLogs: String # @param ContainerPort: 监听端口 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ContainerPort: Integer # @param InitialDelaySeconds: 延迟多长时间开始健康检查(单位s) # 注意:此字段可能返回 null,表示取不到有效值。 # @type InitialDelaySeconds: Integer # @param ImageUrl: 镜像地址 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ImageUrl: String # @param CpuSize: CPU 大小 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CpuSize: Float # @param MemSize: MEM 大小 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MemSize: Float # @param HasDockerfile: 是否有Dockerfile:0-default has, 1-has, 2-has not # 注意:此字段可能返回 null,表示取不到有效值。 # @type HasDockerfile: Integer # @param BaseImage: 基础镜像 # 注意:此字段可能返回 null,表示取不到有效值。 # @type BaseImage: String # @param EntryPoint: 容器启动入口命令 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EntryPoint: String # @param RepoLanguage: 仓库语言 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RepoLanguage: String # @param PolicyDetail: 自动扩缩容策略组 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PolicyDetail: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :VersionName, :Remark, :DockerfilePath, :BuildDir, :Cpu, :Mem, :MinNum, :MaxNum, :PolicyType, :PolicyThreshold, :EnvParams, :CreatedTime, :UpdatedTime, :VersionIP, :VersionPort, :Status, :PackageName, :PackageVersion, :UploadType, :RepoType, :Repo, :Branch, :ServerName, :IsPublic, :VpcId, :SubnetIds, :CustomLogs, :ContainerPort, :InitialDelaySeconds, :ImageUrl, :CpuSize, :MemSize, :HasDockerfile, :BaseImage, :EntryPoint, :RepoLanguage, :PolicyDetail, :RequestId def initialize(versionname=nil, remark=nil, dockerfilepath=nil, builddir=nil, cpu=nil, mem=nil, minnum=nil, maxnum=nil, policytype=nil, policythreshold=nil, envparams=nil, createdtime=nil, updatedtime=nil, versionip=nil, versionport=nil, status=nil, packagename=nil, packageversion=nil, uploadtype=nil, repotype=nil, repo=nil, branch=nil, servername=nil, ispublic=nil, vpcid=nil, subnetids=nil, customlogs=nil, containerport=nil, initialdelayseconds=nil, imageurl=nil, cpusize=nil, memsize=nil, hasdockerfile=nil, baseimage=nil, entrypoint=nil, repolanguage=nil, policydetail=nil, requestid=nil) @VersionName = versionname @Remark = remark @DockerfilePath = dockerfilepath @BuildDir = builddir @Cpu = cpu @Mem = mem @MinNum = minnum @MaxNum = maxnum @PolicyType = policytype @PolicyThreshold = policythreshold @EnvParams = envparams @CreatedTime = createdtime @UpdatedTime = updatedtime @VersionIP = versionip @VersionPort = versionport @Status = status @PackageName = packagename @PackageVersion = packageversion @UploadType = uploadtype @RepoType = repotype @Repo = repo @Branch = branch @ServerName = servername @IsPublic = ispublic @VpcId = vpcid @SubnetIds = subnetids @CustomLogs = customlogs @ContainerPort = containerport @InitialDelaySeconds = initialdelayseconds @ImageUrl = imageurl @CpuSize = cpusize @MemSize = memsize @HasDockerfile = hasdockerfile @BaseImage = baseimage @EntryPoint = entrypoint @RepoLanguage = repolanguage @PolicyDetail = policydetail @RequestId = requestid end def deserialize(params) @VersionName = params['VersionName'] @Remark = params['Remark'] @DockerfilePath = params['DockerfilePath'] @BuildDir = params['BuildDir'] @Cpu = params['Cpu'] @Mem = params['Mem'] @MinNum = params['MinNum'] @MaxNum = params['MaxNum'] @PolicyType = params['PolicyType'] @PolicyThreshold = params['PolicyThreshold'] @EnvParams = params['EnvParams'] @CreatedTime = params['CreatedTime'] @UpdatedTime = params['UpdatedTime'] @VersionIP = params['VersionIP'] @VersionPort = params['VersionPort'] @Status = params['Status'] @PackageName = params['PackageName'] @PackageVersion = params['PackageVersion'] @UploadType = params['UploadType'] @RepoType = params['RepoType'] @Repo = params['Repo'] @Branch = params['Branch'] @ServerName = params['ServerName'] @IsPublic = params['IsPublic'] @VpcId = params['VpcId'] @SubnetIds = params['SubnetIds'] @CustomLogs = params['CustomLogs'] @ContainerPort = params['ContainerPort'] @InitialDelaySeconds = params['InitialDelaySeconds'] @ImageUrl = params['ImageUrl'] @CpuSize = params['CpuSize'] @MemSize = params['MemSize'] @HasDockerfile = params['HasDockerfile'] @BaseImage = params['BaseImage'] @EntryPoint = params['EntryPoint'] @RepoLanguage = params['RepoLanguage'] unless params['PolicyDetail'].nil? @PolicyDetail = [] params['PolicyDetail'].each do |i| hpapolicy_tmp = HpaPolicy.new hpapolicy_tmp.deserialize(i) @PolicyDetail << hpapolicy_tmp end end @RequestId = params['RequestId'] end end # DescribeCloudBaseRunVersion请求参数结构体 class DescribeCloudBaseRunVersionRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param ServerName: 服务名称 # @type ServerName: String # @param VersionName: 版本名称 # @type VersionName: String attr_accessor :EnvId, :ServerName, :VersionName def initialize(envid=nil, servername=nil, versionname=nil) @EnvId = envid @ServerName = servername @VersionName = versionname end def deserialize(params) @EnvId = params['EnvId'] @ServerName = params['ServerName'] @VersionName = params['VersionName'] end end # DescribeCloudBaseRunVersion返回参数结构体 class DescribeCloudBaseRunVersionResponse < TencentCloud::Common::AbstractModel # @param VersionName: 版本名称 # @type VersionName: String # @param Remark: 备注 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Remark: String # @param DockerfilePath: Dockefile的路径 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DockerfilePath: String # @param BuildDir: DockerBuild的目录 # 注意:此字段可能返回 null,表示取不到有效值。 # @type BuildDir: String # @param MinNum: 副本最小值 # @type MinNum: Integer # @param MaxNum: 副本最大值 # @type MaxNum: Integer # @param PolicyType: 策略类型 # @type PolicyType: String # @param PolicyThreshold: 策略阈值 # @type PolicyThreshold: Float # @param EnvParams: 环境变量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnvParams: String # @param CreatedTime: 创建时间 # @type CreatedTime: String # @param UpdatedTime: 更新时间 # @type UpdatedTime: String # @param VersionIP: 版本的IP # 注意:此字段可能返回 null,表示取不到有效值。 # @type VersionIP: String # @param VersionPort: 版本的端口号 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VersionPort: Integer # @param Status: 版本状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String # @param PackageName: 代码包的名字 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PackageName: String # @param PackageVersion: 代码版本的名字 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PackageVersion: String # @param UploadType: 枚举(package/repository/image) # 注意:此字段可能返回 null,表示取不到有效值。 # @type UploadType: String # @param RepoType: Repo的类型(coding/gitlab/github/coding) # 注意:此字段可能返回 null,表示取不到有效值。 # @type RepoType: String # @param Repo: 地址 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Repo: String # @param Branch: 分支 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Branch: String # @param ServerName: 服务名字 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ServerName: String # @param IsPublic: 是否对于外网开放 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsPublic: Boolean # @param VpcId: vpc id # 注意:此字段可能返回 null,表示取不到有效值。 # @type VpcId: String # @param SubnetIds: 子网实例id # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubnetIds: Array # @param CustomLogs: 日志采集路径 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CustomLogs: String # @param ContainerPort: 监听端口 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ContainerPort: Integer # @param InitialDelaySeconds: 延迟多长时间开始健康检查(单位s) # 注意:此字段可能返回 null,表示取不到有效值。 # @type InitialDelaySeconds: Integer # @param ImageUrl: 镜像地址 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ImageUrl: String # @param CpuSize: CPU 大小 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CpuSize: Float # @param MemSize: MEM 大小 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MemSize: Float # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :VersionName, :Remark, :DockerfilePath, :BuildDir, :MinNum, :MaxNum, :PolicyType, :PolicyThreshold, :EnvParams, :CreatedTime, :UpdatedTime, :VersionIP, :VersionPort, :Status, :PackageName, :PackageVersion, :UploadType, :RepoType, :Repo, :Branch, :ServerName, :IsPublic, :VpcId, :SubnetIds, :CustomLogs, :ContainerPort, :InitialDelaySeconds, :ImageUrl, :CpuSize, :MemSize, :RequestId def initialize(versionname=nil, remark=nil, dockerfilepath=nil, builddir=nil, minnum=nil, maxnum=nil, policytype=nil, policythreshold=nil, envparams=nil, createdtime=nil, updatedtime=nil, versionip=nil, versionport=nil, status=nil, packagename=nil, packageversion=nil, uploadtype=nil, repotype=nil, repo=nil, branch=nil, servername=nil, ispublic=nil, vpcid=nil, subnetids=nil, customlogs=nil, containerport=nil, initialdelayseconds=nil, imageurl=nil, cpusize=nil, memsize=nil, requestid=nil) @VersionName = versionname @Remark = remark @DockerfilePath = dockerfilepath @BuildDir = builddir @MinNum = minnum @MaxNum = maxnum @PolicyType = policytype @PolicyThreshold = policythreshold @EnvParams = envparams @CreatedTime = createdtime @UpdatedTime = updatedtime @VersionIP = versionip @VersionPort = versionport @Status = status @PackageName = packagename @PackageVersion = packageversion @UploadType = uploadtype @RepoType = repotype @Repo = repo @Branch = branch @ServerName = servername @IsPublic = ispublic @VpcId = vpcid @SubnetIds = subnetids @CustomLogs = customlogs @ContainerPort = containerport @InitialDelaySeconds = initialdelayseconds @ImageUrl = imageurl @CpuSize = cpusize @MemSize = memsize @RequestId = requestid end def deserialize(params) @VersionName = params['VersionName'] @Remark = params['Remark'] @DockerfilePath = params['DockerfilePath'] @BuildDir = params['BuildDir'] @MinNum = params['MinNum'] @MaxNum = params['MaxNum'] @PolicyType = params['PolicyType'] @PolicyThreshold = params['PolicyThreshold'] @EnvParams = params['EnvParams'] @CreatedTime = params['CreatedTime'] @UpdatedTime = params['UpdatedTime'] @VersionIP = params['VersionIP'] @VersionPort = params['VersionPort'] @Status = params['Status'] @PackageName = params['PackageName'] @PackageVersion = params['PackageVersion'] @UploadType = params['UploadType'] @RepoType = params['RepoType'] @Repo = params['Repo'] @Branch = params['Branch'] @ServerName = params['ServerName'] @IsPublic = params['IsPublic'] @VpcId = params['VpcId'] @SubnetIds = params['SubnetIds'] @CustomLogs = params['CustomLogs'] @ContainerPort = params['ContainerPort'] @InitialDelaySeconds = params['InitialDelaySeconds'] @ImageUrl = params['ImageUrl'] @CpuSize = params['CpuSize'] @MemSize = params['MemSize'] @RequestId = params['RequestId'] end end # DescribeCloudBaseRunVersionRsByCondition请求参数结构体 class DescribeCloudBaseRunVersionRsByConditionRequest < TencentCloud::Common::AbstractModel def initialize() end def deserialize(params) end end # DescribeCloudBaseRunVersionRsByCondition返回参数结构体 class DescribeCloudBaseRunVersionRsByConditionResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DescribeCloudBaseRunVersionSnapshot请求参数结构体 class DescribeCloudBaseRunVersionSnapshotRequest < TencentCloud::Common::AbstractModel # @param ServerName: 服务名 # @type ServerName: String # @param VersionName: 版本名 # @type VersionName: String # @param EnvId: 环境id # @type EnvId: String # @param SnapshotName: 版本历史名 # @type SnapshotName: String # @param Offset: 偏移量。默认0 # @type Offset: Integer # @param Limit: 限制大小。默认10,最大20 # @type Limit: Integer attr_accessor :ServerName, :VersionName, :EnvId, :SnapshotName, :Offset, :Limit def initialize(servername=nil, versionname=nil, envid=nil, snapshotname=nil, offset=nil, limit=nil) @ServerName = servername @VersionName = versionname @EnvId = envid @SnapshotName = snapshotname @Offset = offset @Limit = limit end def deserialize(params) @ServerName = params['ServerName'] @VersionName = params['VersionName'] @EnvId = params['EnvId'] @SnapshotName = params['SnapshotName'] @Offset = params['Offset'] @Limit = params['Limit'] end end # DescribeCloudBaseRunVersionSnapshot返回参数结构体 class DescribeCloudBaseRunVersionSnapshotResponse < TencentCloud::Common::AbstractModel # @param Snapshots: 版本历史 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Snapshots: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Snapshots, :RequestId def initialize(snapshots=nil, requestid=nil) @Snapshots = snapshots @RequestId = requestid end def deserialize(params) unless params['Snapshots'].nil? @Snapshots = [] params['Snapshots'].each do |i| cloudrunservicesimpleversionsnapshot_tmp = CloudRunServiceSimpleVersionSnapshot.new cloudrunservicesimpleversionsnapshot_tmp.deserialize(i) @Snapshots << cloudrunservicesimpleversionsnapshot_tmp end end @RequestId = params['RequestId'] end end # DescribeCurveData请求参数结构体 class DescribeCurveDataRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param MetricName:
  • 指标名:
  • #
  • StorageRead: 存储读请求次数
  • #
  • StorageWrite: 存储写请求次数
  • #
  • StorageCdnOriginFlux: CDN回源流量, 单位字节
  • #
  • CDNFlux: CDN回源流量, 单位字节
  • #
  • FunctionInvocation: 云函数调用次数
  • #
  • FunctionGBs: 云函数资源使用量, 单位Mb*Ms
  • #
  • FunctionFlux: 云函数流量, 单位千字节(KB)
  • #
  • FunctionError: 云函数调用错误次数
  • #
  • FunctionDuration: 云函数运行时间, 单位毫秒
  • #
  • DbRead: 数据库读请求数
  • #
  • DbWrite: 数据库写请求数
  • #
  • DbCostTime10ms: 数据库耗时在10ms~50ms请求数
  • #
  • DbCostTime50ms: 数据库耗时在50ms~100ms请求数
  • #
  • DbCostTime100ms: 数据库耗时在100ms以上请求数
  • #
  • TkeCpuRatio: 容器CPU占用率
  • #
  • TkeMemRatio: 容器内存占用率
  • #
  • TkeCpuUsed: 容器CPU使用量
  • #
  • TkeMemUsed: 容器内存使用量
  • #
  • TkeInvokeNum: 调用量
  • # @type MetricName: String # @param StartTime: 开始时间,如2018-08-24 10:50:00, 开始时间需要早于结束时间至少五分钟(原因是因为目前统计粒度最小是5分钟). # @type StartTime: String # @param EndTime: 结束时间,如2018-08-24 10:50:00, 结束时间需要晚于开始时间至少五分钟(原因是因为目前统计粒度最小是5分钟).. # @type EndTime: String # @param ResourceID: 资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocation, FunctionGBs, FunctionFlux, FunctionError, FunctionDuration)、容器托管(服务名称), 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.如果想查询数据库某个集合相关信息,传入集合名称 # @type ResourceID: String attr_accessor :EnvId, :MetricName, :StartTime, :EndTime, :ResourceID def initialize(envid=nil, metricname=nil, starttime=nil, endtime=nil, resourceid=nil) @EnvId = envid @MetricName = metricname @StartTime = starttime @EndTime = endtime @ResourceID = resourceid end def deserialize(params) @EnvId = params['EnvId'] @MetricName = params['MetricName'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @ResourceID = params['ResourceID'] end end # DescribeCurveData返回参数结构体 class DescribeCurveDataResponse < TencentCloud::Common::AbstractModel # @param StartTime: 开始时间, 会根据数据的统计周期进行取整. # @type StartTime: String # @param EndTime: 结束时间, 会根据数据的统计周期进行取整. # @type EndTime: String # @param MetricName: 指标名. # @type MetricName: String # @param Period: 统计周期(单位秒), 当时间区间为1天内, 统计周期为5分钟; 当时间区间选择为1天以上, 15天以下, 统计周期为1小时; 当时间区间选择为15天以上, 180天以下, 统计周期为1天. # @type Period: Integer # @param Values: 有效的监控数据, 每个有效监控数据的上报时间可以从时间数组中的对应位置上获取到. # @type Values: Array # @param Time: 时间数据, 标识监控数据Values中的点是哪个时间段上报的. # @type Time: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :StartTime, :EndTime, :MetricName, :Period, :Values, :Time, :RequestId def initialize(starttime=nil, endtime=nil, metricname=nil, period=nil, values=nil, time=nil, requestid=nil) @StartTime = starttime @EndTime = endtime @MetricName = metricname @Period = period @Values = values @Time = time @RequestId = requestid end def deserialize(params) @StartTime = params['StartTime'] @EndTime = params['EndTime'] @MetricName = params['MetricName'] @Period = params['Period'] @Values = params['Values'] @Time = params['Time'] @RequestId = params['RequestId'] end end # DescribeDatabaseACL请求参数结构体 class DescribeDatabaseACLRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param CollectionName: 集合名称 # @type CollectionName: String attr_accessor :EnvId, :CollectionName def initialize(envid=nil, collectionname=nil) @EnvId = envid @CollectionName = collectionname end def deserialize(params) @EnvId = params['EnvId'] @CollectionName = params['CollectionName'] end end # DescribeDatabaseACL返回参数结构体 class DescribeDatabaseACLResponse < TencentCloud::Common::AbstractModel # @param AclTag: 权限标签。包含以下取值: #
  • READONLY:所有用户可读,仅创建者和管理员可写
  • #
  • PRIVATE:仅创建者及管理员可读写
  • #
  • ADMINWRITE:所有用户可读,仅管理员可写
  • #
  • ADMINONLY:仅管理员可读写
  • # @type AclTag: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :AclTag, :RequestId def initialize(acltag=nil, requestid=nil) @AclTag = acltag @RequestId = requestid end def deserialize(params) @AclTag = params['AclTag'] @RequestId = params['RequestId'] end end # DescribeDownloadFile请求参数结构体 class DescribeDownloadFileRequest < TencentCloud::Common::AbstractModel # @param CodeUri: 代码uri,格式如:extension://abcdefhhxxx.zip,对应 DescribeExtensionUploadInfo 接口的返回值 # @type CodeUri: String attr_accessor :CodeUri def initialize(codeuri=nil) @CodeUri = codeuri end def deserialize(params) @CodeUri = params['CodeUri'] end end # DescribeDownloadFile返回参数结构体 class DescribeDownloadFileResponse < TencentCloud::Common::AbstractModel # @param FilePath: 文件路径,该字段已废弃 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FilePath: String # @param CustomKey: 加密key,用于计算下载加密文件的header。参考SSE-C https://cloud.tencent.com/document/product/436/7728#sse-c # 注意:此字段可能返回 null,表示取不到有效值。 # @type CustomKey: String # @param DownloadUrl: 下载链接 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DownloadUrl: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :FilePath, :CustomKey, :DownloadUrl, :RequestId def initialize(filepath=nil, customkey=nil, downloadurl=nil, requestid=nil) @FilePath = filepath @CustomKey = customkey @DownloadUrl = downloadurl @RequestId = requestid end def deserialize(params) @FilePath = params['FilePath'] @CustomKey = params['CustomKey'] @DownloadUrl = params['DownloadUrl'] @RequestId = params['RequestId'] end end # DescribeEndUserLoginStatistic请求参数结构体 class DescribeEndUserLoginStatisticRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境id # @type EnvId: String # @param Source: 终端用户来源 #
  • qcloud
  • #
  • miniapp
  • # @type Source: String attr_accessor :EnvId, :Source def initialize(envid=nil, source=nil) @EnvId = envid @Source = source end def deserialize(params) @EnvId = params['EnvId'] @Source = params['Source'] end end # DescribeEndUserLoginStatistic返回参数结构体 class DescribeEndUserLoginStatisticResponse < TencentCloud::Common::AbstractModel # @param LoginStatistics: 环境终端用户新增与登录统计 # 注意:此字段可能返回 null,表示取不到有效值。 # @type LoginStatistics: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :LoginStatistics, :RequestId def initialize(loginstatistics=nil, requestid=nil) @LoginStatistics = loginstatistics @RequestId = requestid end def deserialize(params) unless params['LoginStatistics'].nil? @LoginStatistics = [] params['LoginStatistics'].each do |i| loginstatistic_tmp = LoginStatistic.new loginstatistic_tmp.deserialize(i) @LoginStatistics << loginstatistic_tmp end end @RequestId = params['RequestId'] end end # DescribeEndUserStatistic请求参数结构体 class DescribeEndUserStatisticRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境id # @type EnvId: String attr_accessor :EnvId def initialize(envid=nil) @EnvId = envid end def deserialize(params) @EnvId = params['EnvId'] end end # DescribeEndUserStatistic返回参数结构体 class DescribeEndUserStatisticResponse < TencentCloud::Common::AbstractModel # @param PlatformStatistics: 终端用户各平台统计 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PlatformStatistics: Array # @param TotalCount: 终端用户总数 # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :PlatformStatistics, :TotalCount, :RequestId def initialize(platformstatistics=nil, totalcount=nil, requestid=nil) @PlatformStatistics = platformstatistics @TotalCount = totalcount @RequestId = requestid end def deserialize(params) unless params['PlatformStatistics'].nil? @PlatformStatistics = [] params['PlatformStatistics'].each do |i| platformstatistic_tmp = PlatformStatistic.new platformstatistic_tmp.deserialize(i) @PlatformStatistics << platformstatistic_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end end # DescribeEndUsers请求参数结构体 class DescribeEndUsersRequest < TencentCloud::Common::AbstractModel # @param EnvId: 开发者的环境ID # @type EnvId: String # @param Offset: 可选参数,偏移量,默认 0 # @type Offset: Integer # @param Limit: 可选参数,拉取数量,默认 20 # @type Limit: Integer # @param UUIds: 按照 uuid 列表过滤,最大个数为100 # @type UUIds: Array attr_accessor :EnvId, :Offset, :Limit, :UUIds def initialize(envid=nil, offset=nil, limit=nil, uuids=nil) @EnvId = envid @Offset = offset @Limit = limit @UUIds = uuids end def deserialize(params) @EnvId = params['EnvId'] @Offset = params['Offset'] @Limit = params['Limit'] @UUIds = params['UUIds'] end end # DescribeEndUsers返回参数结构体 class DescribeEndUsersResponse < TencentCloud::Common::AbstractModel # @param Total: 用户总数 # @type Total: Integer # @param Users: 用户列表 # @type Users: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Total, :Users, :RequestId def initialize(total=nil, users=nil, requestid=nil) @Total = total @Users = users @RequestId = requestid end def deserialize(params) @Total = params['Total'] unless params['Users'].nil? @Users = [] params['Users'].each do |i| enduserinfo_tmp = EndUserInfo.new enduserinfo_tmp.deserialize(i) @Users << enduserinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeEnvDealRegion请求参数结构体 class DescribeEnvDealRegionRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param DealType: 订单类型: # ENV_PREPAY_MINIAPP= 预付费环境(微信小程序) # ENV_PREPAY_CLOUD= 预付费环境(腾讯云) # ENV_POSTPAY = 后付费环境 # HOSTING_PREPAY = 预付费静态托管 # PACKAGE=套餐包 # @type DealType: String # @param DealAction: 下单类型: # CREATE = 新购 # RENEW = 续费 # MODIFY = 套餐调整(升级/降级) # REFUND = 退费 # @type DealAction: String # @param DealRegion: 下单地域: # ap-guangzhou = 广州地域 # ap-shanghai = 上海地域 # ap-beijing = 北京地域 # @type DealRegion: String attr_accessor :EnvId, :DealType, :DealAction, :DealRegion def initialize(envid=nil, dealtype=nil, dealaction=nil, dealregion=nil) @EnvId = envid @DealType = dealtype @DealAction = dealaction @DealRegion = dealregion end def deserialize(params) @EnvId = params['EnvId'] @DealType = params['DealType'] @DealAction = params['DealAction'] @DealRegion = params['DealRegion'] end end # DescribeEnvDealRegion返回参数结构体 class DescribeEnvDealRegionResponse < TencentCloud::Common::AbstractModel # @param Region: 下单region # @type Region: String # @param Zone: 下单zone # @type Zone: String # @param RegionId: 下单regionId # @type RegionId: Integer # @param ZoneId: 下单zoneId # @type ZoneId: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Region, :Zone, :RegionId, :ZoneId, :RequestId def initialize(region=nil, zone=nil, regionid=nil, zoneid=nil, requestid=nil) @Region = region @Zone = zone @RegionId = regionid @ZoneId = zoneid @RequestId = requestid end def deserialize(params) @Region = params['Region'] @Zone = params['Zone'] @RegionId = params['RegionId'] @ZoneId = params['ZoneId'] @RequestId = params['RequestId'] end end # DescribeEnvFreeQuota请求参数结构体 class DescribeEnvFreeQuotaRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param ResourceTypes: 资源类型:可选值:CDN, COS, FLEXDB, HOSTING, SCF # 不传则返回全部资源指标 # @type ResourceTypes: Array attr_accessor :EnvId, :ResourceTypes def initialize(envid=nil, resourcetypes=nil) @EnvId = envid @ResourceTypes = resourcetypes end def deserialize(params) @EnvId = params['EnvId'] @ResourceTypes = params['ResourceTypes'] end end # DescribeEnvFreeQuota返回参数结构体 class DescribeEnvFreeQuotaResponse < TencentCloud::Common::AbstractModel # @param QuotaItems: 免费抵扣配额详情 # 注意:此字段可能返回 null,表示取不到有效值。 # @type QuotaItems: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :QuotaItems, :RequestId def initialize(quotaitems=nil, requestid=nil) @QuotaItems = quotaitems @RequestId = requestid end def deserialize(params) unless params['QuotaItems'].nil? @QuotaItems = [] params['QuotaItems'].each do |i| postpayenvquota_tmp = PostpayEnvQuota.new postpayenvquota_tmp.deserialize(i) @QuotaItems << postpayenvquota_tmp end end @RequestId = params['RequestId'] end end # DescribeEnvLimit请求参数结构体 class DescribeEnvLimitRequest < TencentCloud::Common::AbstractModel def initialize() end def deserialize(params) end end # DescribeEnvLimit返回参数结构体 class DescribeEnvLimitResponse < TencentCloud::Common::AbstractModel # @param MaxEnvNum: 环境总数上限 # @type MaxEnvNum: Integer # @param CurrentEnvNum: 目前环境总数 # @type CurrentEnvNum: Integer # @param MaxFreeEnvNum: 免费环境数量上限 # @type MaxFreeEnvNum: Integer # @param CurrentFreeEnvNum: 目前免费环境数量 # @type CurrentFreeEnvNum: Integer # @param MaxDeleteTotal: 总计允许销毁环境次数上限 # @type MaxDeleteTotal: Integer # @param CurrentDeleteTotal: 目前已销毁环境次数 # @type CurrentDeleteTotal: Integer # @param MaxDeleteMonthly: 每月允许销毁环境次数上限 # @type MaxDeleteMonthly: Integer # @param CurrentDeleteMonthly: 本月已销毁环境次数 # @type CurrentDeleteMonthly: Integer # @param MaxFreeTrialNum: 微信网关体验版可购买月份数 # @type MaxFreeTrialNum: Integer # @param CurrentFreeTrialNum: 微信网关体验版已购买月份数 # @type CurrentFreeTrialNum: Integer # @param ChangePayTotal: 转支付限额总数 # @type ChangePayTotal: Integer # @param CurrentChangePayTotal: 当前已用转支付次数 # @type CurrentChangePayTotal: Integer # @param ChangePayMonthly: 转支付每月限额 # @type ChangePayMonthly: Integer # @param CurrentChangePayMonthly: 本月已用转支付额度 # @type CurrentChangePayMonthly: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :MaxEnvNum, :CurrentEnvNum, :MaxFreeEnvNum, :CurrentFreeEnvNum, :MaxDeleteTotal, :CurrentDeleteTotal, :MaxDeleteMonthly, :CurrentDeleteMonthly, :MaxFreeTrialNum, :CurrentFreeTrialNum, :ChangePayTotal, :CurrentChangePayTotal, :ChangePayMonthly, :CurrentChangePayMonthly, :RequestId def initialize(maxenvnum=nil, currentenvnum=nil, maxfreeenvnum=nil, currentfreeenvnum=nil, maxdeletetotal=nil, currentdeletetotal=nil, maxdeletemonthly=nil, currentdeletemonthly=nil, maxfreetrialnum=nil, currentfreetrialnum=nil, changepaytotal=nil, currentchangepaytotal=nil, changepaymonthly=nil, currentchangepaymonthly=nil, requestid=nil) @MaxEnvNum = maxenvnum @CurrentEnvNum = currentenvnum @MaxFreeEnvNum = maxfreeenvnum @CurrentFreeEnvNum = currentfreeenvnum @MaxDeleteTotal = maxdeletetotal @CurrentDeleteTotal = currentdeletetotal @MaxDeleteMonthly = maxdeletemonthly @CurrentDeleteMonthly = currentdeletemonthly @MaxFreeTrialNum = maxfreetrialnum @CurrentFreeTrialNum = currentfreetrialnum @ChangePayTotal = changepaytotal @CurrentChangePayTotal = currentchangepaytotal @ChangePayMonthly = changepaymonthly @CurrentChangePayMonthly = currentchangepaymonthly @RequestId = requestid end def deserialize(params) @MaxEnvNum = params['MaxEnvNum'] @CurrentEnvNum = params['CurrentEnvNum'] @MaxFreeEnvNum = params['MaxFreeEnvNum'] @CurrentFreeEnvNum = params['CurrentFreeEnvNum'] @MaxDeleteTotal = params['MaxDeleteTotal'] @CurrentDeleteTotal = params['CurrentDeleteTotal'] @MaxDeleteMonthly = params['MaxDeleteMonthly'] @CurrentDeleteMonthly = params['CurrentDeleteMonthly'] @MaxFreeTrialNum = params['MaxFreeTrialNum'] @CurrentFreeTrialNum = params['CurrentFreeTrialNum'] @ChangePayTotal = params['ChangePayTotal'] @CurrentChangePayTotal = params['CurrentChangePayTotal'] @ChangePayMonthly = params['ChangePayMonthly'] @CurrentChangePayMonthly = params['CurrentChangePayMonthly'] @RequestId = params['RequestId'] end end # DescribeEnvPostpaidDeduct请求参数结构体 class DescribeEnvPostpaidDeductRequest < TencentCloud::Common::AbstractModel # @param ResourceTypes: 资源方列表 # @type ResourceTypes: Array # @param EnvId: 环境id # @type EnvId: String # @param StartTime: 查询开始时间 # @type StartTime: String # @param EndTime: 查询结束时间 # @type EndTime: String attr_accessor :ResourceTypes, :EnvId, :StartTime, :EndTime def initialize(resourcetypes=nil, envid=nil, starttime=nil, endtime=nil) @ResourceTypes = resourcetypes @EnvId = envid @StartTime = starttime @EndTime = endtime end def deserialize(params) @ResourceTypes = params['ResourceTypes'] @EnvId = params['EnvId'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] end end # DescribeEnvPostpaidDeduct返回参数结构体 class DescribeEnvPostpaidDeductResponse < TencentCloud::Common::AbstractModel # @param PostPaidEnvDeductInfoList: 指标抵扣详情列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PostPaidEnvDeductInfoList: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :PostPaidEnvDeductInfoList, :RequestId def initialize(postpaidenvdeductinfolist=nil, requestid=nil) @PostPaidEnvDeductInfoList = postpaidenvdeductinfolist @RequestId = requestid end def deserialize(params) unless params['PostPaidEnvDeductInfoList'].nil? @PostPaidEnvDeductInfoList = [] params['PostPaidEnvDeductInfoList'].each do |i| postpaidenvdeductinfo_tmp = PostPaidEnvDeductInfo.new postpaidenvdeductinfo_tmp.deserialize(i) @PostPaidEnvDeductInfoList << postpaidenvdeductinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeEnvs请求参数结构体 class DescribeEnvsRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID,如果传了这个参数则只返回该环境的相关信息 # @type EnvId: String # @param IsVisible: 指定Channels字段为可见渠道列表或不可见渠道列表 # 如只想获取渠道A的环境 就填写IsVisible= true,Channels = ["A"], 过滤渠道A拉取其他渠道环境时填写IsVisible= false,Channels = ["A"] # @type IsVisible: Boolean # @param Channels: 渠道列表,代表可见或不可见渠道由IsVisible参数指定 # @type Channels: Array attr_accessor :EnvId, :IsVisible, :Channels def initialize(envid=nil, isvisible=nil, channels=nil) @EnvId = envid @IsVisible = isvisible @Channels = channels end def deserialize(params) @EnvId = params['EnvId'] @IsVisible = params['IsVisible'] @Channels = params['Channels'] end end # DescribeEnvs返回参数结构体 class DescribeEnvsResponse < TencentCloud::Common::AbstractModel # @param EnvList: 环境信息列表 # @type EnvList: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :EnvList, :RequestId def initialize(envlist=nil, requestid=nil) @EnvList = envlist @RequestId = requestid end def deserialize(params) unless params['EnvList'].nil? @EnvList = [] params['EnvList'].each do |i| envinfo_tmp = EnvInfo.new envinfo_tmp.deserialize(i) @EnvList << envinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeExtensionUploadInfo请求参数结构体 class DescribeExtensionUploadInfoRequest < TencentCloud::Common::AbstractModel # @param ExtensionFiles: 待上传的文件 # @type ExtensionFiles: Array attr_accessor :ExtensionFiles def initialize(extensionfiles=nil) @ExtensionFiles = extensionfiles end def deserialize(params) unless params['ExtensionFiles'].nil? @ExtensionFiles = [] params['ExtensionFiles'].each do |i| extensionfile_tmp = ExtensionFile.new extensionfile_tmp.deserialize(i) @ExtensionFiles << extensionfile_tmp end end end end # DescribeExtensionUploadInfo返回参数结构体 class DescribeExtensionUploadInfoResponse < TencentCloud::Common::AbstractModel # @param FilesData: 待上传文件的信息数组 # @type FilesData: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :FilesData, :RequestId def initialize(filesdata=nil, requestid=nil) @FilesData = filesdata @RequestId = requestid end def deserialize(params) unless params['FilesData'].nil? @FilesData = [] params['FilesData'].each do |i| extensionfileinfo_tmp = ExtensionFileInfo.new extensionfileinfo_tmp.deserialize(i) @FilesData << extensionfileinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeExtraPkgBillingInfo请求参数结构体 class DescribeExtraPkgBillingInfoRequest < TencentCloud::Common::AbstractModel # @param EnvId: 已购买增值包的环境ID # @type EnvId: String attr_accessor :EnvId def initialize(envid=nil) @EnvId = envid end def deserialize(params) @EnvId = params['EnvId'] end end # DescribeExtraPkgBillingInfo返回参数结构体 class DescribeExtraPkgBillingInfoResponse < TencentCloud::Common::AbstractModel # @param EnvInfoList: 增值包计费信息列表 # @type EnvInfoList: Array # @param Total: 增值包数目 # @type Total: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :EnvInfoList, :Total, :RequestId def initialize(envinfolist=nil, total=nil, requestid=nil) @EnvInfoList = envinfolist @Total = total @RequestId = requestid end def deserialize(params) unless params['EnvInfoList'].nil? @EnvInfoList = [] params['EnvInfoList'].each do |i| envbillinginfoitem_tmp = EnvBillingInfoItem.new envbillinginfoitem_tmp.deserialize(i) @EnvInfoList << envbillinginfoitem_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end end # DescribeHostingDomainTask请求参数结构体 class DescribeHostingDomainTaskRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String attr_accessor :EnvId def initialize(envid=nil) @EnvId = envid end def deserialize(params) @EnvId = params['EnvId'] end end # DescribeHostingDomainTask返回参数结构体 class DescribeHostingDomainTaskResponse < TencentCloud::Common::AbstractModel # @param Status: todo/doing/done/error # @type Status: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Status, :RequestId def initialize(status=nil, requestid=nil) @Status = status @RequestId = requestid end def deserialize(params) @Status = params['Status'] @RequestId = params['RequestId'] end end # DescribePostpayFreeQuotas请求参数结构体 class DescribePostpayFreeQuotasRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String attr_accessor :EnvId def initialize(envid=nil) @EnvId = envid end def deserialize(params) @EnvId = params['EnvId'] end end # DescribePostpayFreeQuotas返回参数结构体 class DescribePostpayFreeQuotasResponse < TencentCloud::Common::AbstractModel # @param FreequotaInfoList: 免费量资源信息列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FreequotaInfoList: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :FreequotaInfoList, :RequestId def initialize(freequotainfolist=nil, requestid=nil) @FreequotaInfoList = freequotainfolist @RequestId = requestid end def deserialize(params) unless params['FreequotaInfoList'].nil? @FreequotaInfoList = [] params['FreequotaInfoList'].each do |i| freequotainfo_tmp = FreequotaInfo.new freequotainfo_tmp.deserialize(i) @FreequotaInfoList << freequotainfo_tmp end end @RequestId = params['RequestId'] end end # DescribePostpayPackageFreeQuotas请求参数结构体 class DescribePostpayPackageFreeQuotasRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param FreeQuotaType: 免费额度类型标识 # @type FreeQuotaType: String attr_accessor :EnvId, :FreeQuotaType def initialize(envid=nil, freequotatype=nil) @EnvId = envid @FreeQuotaType = freequotatype end def deserialize(params) @EnvId = params['EnvId'] @FreeQuotaType = params['FreeQuotaType'] end end # DescribePostpayPackageFreeQuotas返回参数结构体 class DescribePostpayPackageFreeQuotasResponse < TencentCloud::Common::AbstractModel # @param PackageFreeQuotaInfos: 免费量资源信息列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PackageFreeQuotaInfos: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :PackageFreeQuotaInfos, :RequestId def initialize(packagefreequotainfos=nil, requestid=nil) @PackageFreeQuotaInfos = packagefreequotainfos @RequestId = requestid end def deserialize(params) unless params['PackageFreeQuotaInfos'].nil? @PackageFreeQuotaInfos = [] params['PackageFreeQuotaInfos'].each do |i| packagefreequotainfo_tmp = PackageFreeQuotaInfo.new packagefreequotainfo_tmp.deserialize(i) @PackageFreeQuotaInfos << packagefreequotainfo_tmp end end @RequestId = params['RequestId'] end end # DescribeQuotaData请求参数结构体 class DescribeQuotaDataRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param MetricName:
  • 指标名:
  • #
  • StorageSizepkg: 当月存储空间容量, 单位MB
  • #
  • StorageReadpkg: 当月存储读请求次数
  • #
  • StorageWritepkg: 当月存储写请求次数
  • #
  • StorageCdnOriginFluxpkg: 当月CDN回源流量, 单位字节
  • #
  • StorageCdnOriginFluxpkgDay: 当日CDN回源流量, 单位字节
  • #
  • StorageReadpkgDay: 当日存储读请求次数
  • #
  • StorageWritepkgDay: 当日写请求次数
  • #
  • CDNFluxpkg: 当月CDN流量, 单位为字节
  • #
  • CDNFluxpkgDay: 当日CDN流量, 单位为字节
  • #
  • FunctionInvocationpkg: 当月云函数调用次数
  • #
  • FunctionGBspkg: 当月云函数资源使用量, 单位Mb*Ms
  • #
  • FunctionFluxpkg: 当月云函数流量, 单位千字节(KB)
  • #
  • FunctionInvocationpkgDay: 当日云函数调用次数
  • #
  • FunctionGBspkgDay: 当日云函数资源使用量, 单位Mb*Ms
  • #
  • FunctionFluxpkgDay: 当日云函数流量, 单位千字节(KB)
  • #
  • DbSizepkg: 当月数据库容量大小, 单位MB
  • #
  • DbReadpkg: 当日数据库读请求数
  • #
  • DbWritepkg: 当日数据库写请求数
  • #
  • StaticFsFluxPkgDay: 当日静态托管流量
  • #
  • StaticFsFluxPkg: 当月静态托管流量
  • #
  • StaticFsSizePkg: 当月静态托管容量
  • #
  • TkeCpuUsedPkg: 当月容器托管CPU使用量,单位核*秒
  • #
  • TkeCpuUsedPkgDay: 当天容器托管CPU使用量,单位核*秒
  • #
  • TkeMemUsedPkg: 当月容器托管内存使用量,单位MB*秒
  • #
  • TkeMemUsedPkgDay: 当天容器托管内存使用量,单位MB*秒
  • #
  • CodingBuildTimePkgDay: 当天容器托管构建时间使用量,单位毫秒
  • #
  • TkeHttpServiceNatPkgDay: 当天容器托管流量使用量,单位B
  • # @type MetricName: String # @param ResourceID: 资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocationpkg, FunctionGBspkg, FunctionFluxpkg)、容器托管(服务名称)。如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传。 # @type ResourceID: String attr_accessor :EnvId, :MetricName, :ResourceID def initialize(envid=nil, metricname=nil, resourceid=nil) @EnvId = envid @MetricName = metricname @ResourceID = resourceid end def deserialize(params) @EnvId = params['EnvId'] @MetricName = params['MetricName'] @ResourceID = params['ResourceID'] end end # DescribeQuotaData返回参数结构体 class DescribeQuotaDataResponse < TencentCloud::Common::AbstractModel # @param MetricName: 指标名 # @type MetricName: String # @param Value: 指标的值 # @type Value: Integer # @param SubValue: 指标的附加值信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubValue: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :MetricName, :Value, :SubValue, :RequestId def initialize(metricname=nil, value=nil, subvalue=nil, requestid=nil) @MetricName = metricname @Value = value @SubValue = subvalue @RequestId = requestid end def deserialize(params) @MetricName = params['MetricName'] @Value = params['Value'] @SubValue = params['SubValue'] @RequestId = params['RequestId'] end end # DescribeSmsQuotas请求参数结构体 class DescribeSmsQuotasRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String attr_accessor :EnvId def initialize(envid=nil) @EnvId = envid end def deserialize(params) @EnvId = params['EnvId'] end end # DescribeSmsQuotas返回参数结构体 class DescribeSmsQuotasResponse < TencentCloud::Common::AbstractModel # @param SmsFreeQuotaList: 短信免费量信息列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SmsFreeQuotaList: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :SmsFreeQuotaList, :RequestId def initialize(smsfreequotalist=nil, requestid=nil) @SmsFreeQuotaList = smsfreequotalist @RequestId = requestid end def deserialize(params) unless params['SmsFreeQuotaList'].nil? @SmsFreeQuotaList = [] params['SmsFreeQuotaList'].each do |i| smsfreequota_tmp = SmsFreeQuota.new smsfreequota_tmp.deserialize(i) @SmsFreeQuotaList << smsfreequota_tmp end end @RequestId = params['RequestId'] end end # DescribeSpecialCostItems请求参数结构体 class DescribeSpecialCostItemsRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境id # @type EnvId: String # @param StartTime: 查询开始时间 # @type StartTime: String # @param EndTime: 查询结束时间 # @type EndTime: String attr_accessor :EnvId, :StartTime, :EndTime def initialize(envid=nil, starttime=nil, endtime=nil) @EnvId = envid @StartTime = starttime @EndTime = endtime end def deserialize(params) @EnvId = params['EnvId'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] end end # DescribeSpecialCostItems返回参数结构体 class DescribeSpecialCostItemsResponse < TencentCloud::Common::AbstractModel # @param SpecialCostItems: 1分钱抵扣详情 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SpecialCostItems: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :SpecialCostItems, :RequestId def initialize(specialcostitems=nil, requestid=nil) @SpecialCostItems = specialcostitems @RequestId = requestid end def deserialize(params) unless params['SpecialCostItems'].nil? @SpecialCostItems = [] params['SpecialCostItems'].each do |i| specialcostitem_tmp = SpecialCostItem.new specialcostitem_tmp.deserialize(i) @SpecialCostItems << specialcostitem_tmp end end @RequestId = params['RequestId'] end end # DescribeStandaloneGatewayPackage请求参数结构体 class DescribeStandaloneGatewayPackageRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param PackageVersion: 套餐版本,包含starter、basic、advanced、enterprise # @type PackageVersion: String attr_accessor :EnvId, :PackageVersion def initialize(envid=nil, packageversion=nil) @EnvId = envid @PackageVersion = packageversion end def deserialize(params) @EnvId = params['EnvId'] @PackageVersion = params['PackageVersion'] end end # DescribeStandaloneGatewayPackage返回参数结构体 class DescribeStandaloneGatewayPackageResponse < TencentCloud::Common::AbstractModel # @param Total: 总数 # @type Total: Integer # @param StandaloneGatewayPackageList: 套餐详情 # @type StandaloneGatewayPackageList: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Total, :StandaloneGatewayPackageList, :RequestId def initialize(total=nil, standalonegatewaypackagelist=nil, requestid=nil) @Total = total @StandaloneGatewayPackageList = standalonegatewaypackagelist @RequestId = requestid end def deserialize(params) @Total = params['Total'] unless params['StandaloneGatewayPackageList'].nil? @StandaloneGatewayPackageList = [] params['StandaloneGatewayPackageList'].each do |i| standalonegatewaypackageinfo_tmp = StandaloneGatewayPackageInfo.new standalonegatewaypackageinfo_tmp.deserialize(i) @StandaloneGatewayPackageList << standalonegatewaypackageinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeStandaloneGateway请求参数结构体 class DescribeStandaloneGatewayRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param GatewayName: 网关名称 # @type GatewayName: String # @param GatewayAlias: 网关别名 # @type GatewayAlias: String attr_accessor :EnvId, :GatewayName, :GatewayAlias def initialize(envid=nil, gatewayname=nil, gatewayalias=nil) @EnvId = envid @GatewayName = gatewayname @GatewayAlias = gatewayalias end def deserialize(params) @EnvId = params['EnvId'] @GatewayName = params['GatewayName'] @GatewayAlias = params['GatewayAlias'] end end # DescribeStandaloneGateway返回参数结构体 class DescribeStandaloneGatewayResponse < TencentCloud::Common::AbstractModel # @param StandaloneGatewayList: 独立网关信息列表 # @type StandaloneGatewayList: Array # @param Total: 总数 # @type Total: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :StandaloneGatewayList, :Total, :RequestId def initialize(standalonegatewaylist=nil, total=nil, requestid=nil) @StandaloneGatewayList = standalonegatewaylist @Total = total @RequestId = requestid end def deserialize(params) unless params['StandaloneGatewayList'].nil? @StandaloneGatewayList = [] params['StandaloneGatewayList'].each do |i| standalonegatewayinfo_tmp = StandaloneGatewayInfo.new standalonegatewayinfo_tmp.deserialize(i) @StandaloneGatewayList << standalonegatewayinfo_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end end # DescribeUserActivityInfo请求参数结构体 class DescribeUserActivityInfoRequest < TencentCloud::Common::AbstractModel # @param ActivityId: 活动id # @type ActivityId: Integer # @param ChannelToken: 渠道加密token # @type ChannelToken: String # @param Channel: 渠道来源,每个来源对应不同secretKey # @type Channel: String # @param GroupId: 团id, 1元钱裂变中活动团id不为空时根据团id来查询记录,为空时查询uin最新记录 # @type GroupId: String attr_accessor :ActivityId, :ChannelToken, :Channel, :GroupId def initialize(activityid=nil, channeltoken=nil, channel=nil, groupid=nil) @ActivityId = activityid @ChannelToken = channeltoken @Channel = channel @GroupId = groupid end def deserialize(params) @ActivityId = params['ActivityId'] @ChannelToken = params['ChannelToken'] @Channel = params['Channel'] @GroupId = params['GroupId'] end end # DescribeUserActivityInfo返回参数结构体 class DescribeUserActivityInfoResponse < TencentCloud::Common::AbstractModel # @param Tag: 自定义标记,1元钱裂变需求中即代指`团id` # @type Tag: String # @param Notes: 自定义备注,1元钱裂变需求中返回`团列表`,uin列表通过","拼接 # @type Notes: String # @param ActivityTimeLeft: 活动剩余时间,单位为s.1元钱裂变需求中即为 time(活动过期时间)-Now()), 过期后为0,即返回必为自然数 # @type ActivityTimeLeft: Integer # @param GroupTimeLeft: 拼团剩余时间,单位为s.1元钱裂变需求中即为time(成团时间)+24H-Now(),过期后为0,即返回必为自然数 # @type GroupTimeLeft: Integer # @param NickNameList: 昵称列表,通过","拼接, 1元钱裂变活动中与Notes中uin一一对应 # 注意:此字段可能返回 null,表示取不到有效值。 # @type NickNameList: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Tag, :Notes, :ActivityTimeLeft, :GroupTimeLeft, :NickNameList, :RequestId def initialize(tag=nil, notes=nil, activitytimeleft=nil, grouptimeleft=nil, nicknamelist=nil, requestid=nil) @Tag = tag @Notes = notes @ActivityTimeLeft = activitytimeleft @GroupTimeLeft = grouptimeleft @NickNameList = nicknamelist @RequestId = requestid end def deserialize(params) @Tag = params['Tag'] @Notes = params['Notes'] @ActivityTimeLeft = params['ActivityTimeLeft'] @GroupTimeLeft = params['GroupTimeLeft'] @NickNameList = params['NickNameList'] @RequestId = params['RequestId'] end end # DescribeWxCloudBaseRunEnvs请求参数结构体 class DescribeWxCloudBaseRunEnvsRequest < TencentCloud::Common::AbstractModel # @param WxAppId: wx应用Id # @type WxAppId: String attr_accessor :WxAppId def initialize(wxappid=nil) @WxAppId = wxappid end def deserialize(params) @WxAppId = params['WxAppId'] end end # DescribeWxCloudBaseRunEnvs返回参数结构体 class DescribeWxCloudBaseRunEnvsResponse < TencentCloud::Common::AbstractModel # @param EnvList: env列表 # @type EnvList: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :EnvList, :RequestId def initialize(envlist=nil, requestid=nil) @EnvList = envlist @RequestId = requestid end def deserialize(params) unless params['EnvList'].nil? @EnvList = [] params['EnvList'].each do |i| envinfo_tmp = EnvInfo.new envinfo_tmp.deserialize(i) @EnvList << envinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeWxCloudBaseRunSubNets请求参数结构体 class DescribeWxCloudBaseRunSubNetsRequest < TencentCloud::Common::AbstractModel # @param VpcId: VPC id # @type VpcId: String # @param Limit: 查询个数限制,不填或小于等于0,等于不限制 # @type Limit: Integer attr_accessor :VpcId, :Limit def initialize(vpcid=nil, limit=nil) @VpcId = vpcid @Limit = limit end def deserialize(params) @VpcId = params['VpcId'] @Limit = params['Limit'] end end # DescribeWxCloudBaseRunSubNets返回参数结构体 class DescribeWxCloudBaseRunSubNetsResponse < TencentCloud::Common::AbstractModel # @param SubNetIds: 子网Id列表 # @type SubNetIds: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :SubNetIds, :RequestId def initialize(subnetids=nil, requestid=nil) @SubNetIds = subnetids @RequestId = requestid end def deserialize(params) @SubNetIds = params['SubNetIds'] @RequestId = params['RequestId'] end end # DestroyEnv请求参数结构体 class DestroyEnvRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境Id # @type EnvId: String # @param IsForce: 针对预付费 删除隔离中的环境时要传true 正常环境直接跳过隔离期删除 # @type IsForce: Boolean # @param BypassCheck: 是否绕过资源检查,资源包等额外资源,默认为false,如果为true,则不检查资源是否有数据,直接删除。 # @type BypassCheck: Boolean attr_accessor :EnvId, :IsForce, :BypassCheck def initialize(envid=nil, isforce=nil, bypasscheck=nil) @EnvId = envid @IsForce = isforce @BypassCheck = bypasscheck end def deserialize(params) @EnvId = params['EnvId'] @IsForce = params['IsForce'] @BypassCheck = params['BypassCheck'] end end # DestroyEnv返回参数结构体 class DestroyEnvResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DestroyStandaloneGateway请求参数结构体 class DestroyStandaloneGatewayRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param GatewayName: 网名名称 # @type GatewayName: String # @param IsForce: 是否强制释放 # @type IsForce: Boolean attr_accessor :EnvId, :GatewayName, :IsForce def initialize(envid=nil, gatewayname=nil, isforce=nil) @EnvId = envid @GatewayName = gatewayname @IsForce = isforce end def deserialize(params) @EnvId = params['EnvId'] @GatewayName = params['GatewayName'] @IsForce = params['IsForce'] end end # DestroyStandaloneGateway返回参数结构体 class DestroyStandaloneGatewayResponse < TencentCloud::Common::AbstractModel # @param Status: 删除独立网关状态 # @type Status: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Status, :RequestId def initialize(status=nil, requestid=nil) @Status = status @RequestId = requestid end def deserialize(params) @Status = params['Status'] @RequestId = params['RequestId'] end end # DestroyStaticStore请求参数结构体 class DestroyStaticStoreRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param CdnDomain: cdn域名 # @type CdnDomain: String attr_accessor :EnvId, :CdnDomain def initialize(envid=nil, cdndomain=nil) @EnvId = envid @CdnDomain = cdndomain end def deserialize(params) @EnvId = params['EnvId'] @CdnDomain = params['CdnDomain'] end end # DestroyStaticStore返回参数结构体 class DestroyStaticStoreResponse < TencentCloud::Common::AbstractModel # @param Result: 条件任务结果(succ/fail) # @type Result: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Result, :RequestId def initialize(result=nil, requestid=nil) @Result = result @RequestId = requestid end def deserialize(params) @Result = params['Result'] @RequestId = params['RequestId'] end end # 终端用户信息 class EndUserInfo < TencentCloud::Common::AbstractModel # @param UUId: 用户唯一ID # @type UUId: String # @param WXOpenId: 微信ID # @type WXOpenId: String # @param QQOpenId: qq ID # @type QQOpenId: String # @param Phone: 手机号 # @type Phone: String # @param Email: 邮箱 # @type Email: String # @param NickName: 昵称 # @type NickName: String # @param Gender: 性别 # @type Gender: String # @param AvatarUrl: 头像地址 # @type AvatarUrl: String # @param UpdateTime: 更新时间 # @type UpdateTime: String # @param CreateTime: 创建时间 # @type CreateTime: String # @param IsAnonymous: 是否为匿名用户 # @type IsAnonymous: Boolean # @param IsDisabled: 是否禁用账户 # @type IsDisabled: Boolean # @param HasPassword: 是否设置过密码 # @type HasPassword: Boolean # @param UserName: 用户名 # @type UserName: String attr_accessor :UUId, :WXOpenId, :QQOpenId, :Phone, :Email, :NickName, :Gender, :AvatarUrl, :UpdateTime, :CreateTime, :IsAnonymous, :IsDisabled, :HasPassword, :UserName def initialize(uuid=nil, wxopenid=nil, qqopenid=nil, phone=nil, email=nil, nickname=nil, gender=nil, avatarurl=nil, updatetime=nil, createtime=nil, isanonymous=nil, isdisabled=nil, haspassword=nil, username=nil) @UUId = uuid @WXOpenId = wxopenid @QQOpenId = qqopenid @Phone = phone @Email = email @NickName = nickname @Gender = gender @AvatarUrl = avatarurl @UpdateTime = updatetime @CreateTime = createtime @IsAnonymous = isanonymous @IsDisabled = isdisabled @HasPassword = haspassword @UserName = username end def deserialize(params) @UUId = params['UUId'] @WXOpenId = params['WXOpenId'] @QQOpenId = params['QQOpenId'] @Phone = params['Phone'] @Email = params['Email'] @NickName = params['NickName'] @Gender = params['Gender'] @AvatarUrl = params['AvatarUrl'] @UpdateTime = params['UpdateTime'] @CreateTime = params['CreateTime'] @IsAnonymous = params['IsAnonymous'] @IsDisabled = params['IsDisabled'] @HasPassword = params['HasPassword'] @UserName = params['UserName'] end end # 环境计费信息 class EnvBillingInfoItem < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param PackageId: tcb产品套餐ID,参考DescribePackages接口的返回值。 # @type PackageId: String # @param IsAutoRenew: 自动续费标记 # @type IsAutoRenew: Boolean # @param Status: 状态。包含以下取值: #
  • 空字符串:初始化中
  • #
  • NORMAL:正常
  • #
  • ISOLATE:隔离
  • # @type Status: String # @param PayMode: 支付方式。包含以下取值: #
  • PREPAYMENT:预付费
  • #
  • POSTPAID:后付费
  • # @type PayMode: String # @param IsolatedTime: 隔离时间,最近一次隔离的时间 # @type IsolatedTime: String # @param ExpireTime: 过期时间,套餐即将到期的时间 # @type ExpireTime: String # @param CreateTime: 创建时间,第一次接入计费方案的时间。 # @type CreateTime: String # @param UpdateTime: 更新时间,计费信息最近一次更新的时间。 # @type UpdateTime: String # @param IsAlwaysFree: true表示从未升级过付费版。 # @type IsAlwaysFree: Boolean # @param PaymentChannel: 付费渠道。 #
  • miniapp:小程序
  • #
  • qcloud:腾讯云
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type PaymentChannel: String # @param OrderInfo: 最新的订单信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type OrderInfo: :class:`Tencentcloud::Tcb.v20180608.models.OrderInfo` # @param FreeQuota: 免费配额信息。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FreeQuota: String attr_accessor :EnvId, :PackageId, :IsAutoRenew, :Status, :PayMode, :IsolatedTime, :ExpireTime, :CreateTime, :UpdateTime, :IsAlwaysFree, :PaymentChannel, :OrderInfo, :FreeQuota def initialize(envid=nil, packageid=nil, isautorenew=nil, status=nil, paymode=nil, isolatedtime=nil, expiretime=nil, createtime=nil, updatetime=nil, isalwaysfree=nil, paymentchannel=nil, orderinfo=nil, freequota=nil) @EnvId = envid @PackageId = packageid @IsAutoRenew = isautorenew @Status = status @PayMode = paymode @IsolatedTime = isolatedtime @ExpireTime = expiretime @CreateTime = createtime @UpdateTime = updatetime @IsAlwaysFree = isalwaysfree @PaymentChannel = paymentchannel @OrderInfo = orderinfo @FreeQuota = freequota end def deserialize(params) @EnvId = params['EnvId'] @PackageId = params['PackageId'] @IsAutoRenew = params['IsAutoRenew'] @Status = params['Status'] @PayMode = params['PayMode'] @IsolatedTime = params['IsolatedTime'] @ExpireTime = params['ExpireTime'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @IsAlwaysFree = params['IsAlwaysFree'] @PaymentChannel = params['PaymentChannel'] unless params['OrderInfo'].nil? @OrderInfo = OrderInfo.new @OrderInfo.deserialize(params['OrderInfo']) end @FreeQuota = params['FreeQuota'] end end # 环境信息 class EnvInfo < TencentCloud::Common::AbstractModel # @param EnvId: 账户下该环境唯一标识 # @type EnvId: String # @param Source: 环境来源。包含以下取值: #
  • miniapp:微信小程序
  • #
  • qcloud :腾讯云
  • # @type Source: String # @param Alias: 环境别名,要以a-z开头,不能包含 a-zA-z0-9- 以外的字符 # @type Alias: String # @param CreateTime: 创建时间 # @type CreateTime: String # @param UpdateTime: 最后修改时间 # @type UpdateTime: String # @param Status: 环境状态。包含以下取值: #
  • NORMAL:正常可用
  • #
  • UNAVAILABLE:服务不可用,可能是尚未初始化或者初始化过程中
  • # @type Status: String # @param Databases: 数据库列表 # @type Databases: Array # @param Storages: 存储列表 # @type Storages: Array # @param Functions: 函数列表 # @type Functions: Array # @param PackageId: tcb产品套餐ID,参考DescribePackages接口的返回值。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PackageId: String # @param PackageName: 套餐中文名称,参考DescribePackages接口的返回值。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PackageName: String # @param LogServices: 云日志服务列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type LogServices: Array # @param StaticStorages: 静态资源信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type StaticStorages: Array # @param IsAutoDegrade: 是否到期自动降为免费版 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsAutoDegrade: Boolean # @param EnvChannel: 环境渠道 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnvChannel: String # @param PayMode: 支付方式。包含以下取值: #
  • prepayment:预付费
  • #
  • postpaid:后付费
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type PayMode: String # @param IsDefault: 是否为默认环境 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsDefault: Boolean # @param Region: 环境所属地域 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Region: String # @param Tags: 环境标签列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Tags: Array # @param CustomLogServices: 自定义日志服务 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CustomLogServices: Array # @param EnvType: 环境类型:baas, run, hoting, weda # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnvType: String attr_accessor :EnvId, :Source, :Alias, :CreateTime, :UpdateTime, :Status, :Databases, :Storages, :Functions, :PackageId, :PackageName, :LogServices, :StaticStorages, :IsAutoDegrade, :EnvChannel, :PayMode, :IsDefault, :Region, :Tags, :CustomLogServices, :EnvType def initialize(envid=nil, source=nil, _alias=nil, createtime=nil, updatetime=nil, status=nil, databases=nil, storages=nil, functions=nil, packageid=nil, packagename=nil, logservices=nil, staticstorages=nil, isautodegrade=nil, envchannel=nil, paymode=nil, isdefault=nil, region=nil, tags=nil, customlogservices=nil, envtype=nil) @EnvId = envid @Source = source @Alias = _alias @CreateTime = createtime @UpdateTime = updatetime @Status = status @Databases = databases @Storages = storages @Functions = functions @PackageId = packageid @PackageName = packagename @LogServices = logservices @StaticStorages = staticstorages @IsAutoDegrade = isautodegrade @EnvChannel = envchannel @PayMode = paymode @IsDefault = isdefault @Region = region @Tags = tags @CustomLogServices = customlogservices @EnvType = envtype end def deserialize(params) @EnvId = params['EnvId'] @Source = params['Source'] @Alias = params['Alias'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @Status = params['Status'] unless params['Databases'].nil? @Databases = [] params['Databases'].each do |i| databasesinfo_tmp = DatabasesInfo.new databasesinfo_tmp.deserialize(i) @Databases << databasesinfo_tmp end end unless params['Storages'].nil? @Storages = [] params['Storages'].each do |i| storageinfo_tmp = StorageInfo.new storageinfo_tmp.deserialize(i) @Storages << storageinfo_tmp end end unless params['Functions'].nil? @Functions = [] params['Functions'].each do |i| functioninfo_tmp = FunctionInfo.new functioninfo_tmp.deserialize(i) @Functions << functioninfo_tmp end end @PackageId = params['PackageId'] @PackageName = params['PackageName'] unless params['LogServices'].nil? @LogServices = [] params['LogServices'].each do |i| logserviceinfo_tmp = LogServiceInfo.new logserviceinfo_tmp.deserialize(i) @LogServices << logserviceinfo_tmp end end unless params['StaticStorages'].nil? @StaticStorages = [] params['StaticStorages'].each do |i| staticstorageinfo_tmp = StaticStorageInfo.new staticstorageinfo_tmp.deserialize(i) @StaticStorages << staticstorageinfo_tmp end end @IsAutoDegrade = params['IsAutoDegrade'] @EnvChannel = params['EnvChannel'] @PayMode = params['PayMode'] @IsDefault = params['IsDefault'] @Region = params['Region'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end unless params['CustomLogServices'].nil? @CustomLogServices = [] params['CustomLogServices'].each do |i| clsinfo_tmp = ClsInfo.new clsinfo_tmp.deserialize(i) @CustomLogServices << clsinfo_tmp end end @EnvType = params['EnvType'] end end # EstablishCloudBaseRunServer请求参数结构体 class EstablishCloudBaseRunServerRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境id # @type EnvId: String # @param ServiceName: 服务名称 # @type ServiceName: String # @param IsPublic: 是否开通外网访问 # @type IsPublic: Boolean # @param ImageRepo: 镜像仓库 # @type ImageRepo: String # @param Remark: 服务描述 # @type Remark: String # @param EsInfo: es信息 # @type EsInfo: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseEsInfo` # @param LogType: 日志类型; es/cls # @type LogType: String # @param OperatorRemark: 操作备注 # @type OperatorRemark: String # @param Source: 来源方(默认值:qcloud,微信侧来源miniapp) # @type Source: String # @param VpcInfo: vpc信息 # @type VpcInfo: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseRunVpcInfo` # @param PublicAccess: 0/1=允许公网访问;2=关闭公网访问 # @type PublicAccess: Integer # @param OpenAccessTypes: OA PUBLIC MINIAPP VPC # @type OpenAccessTypes: Array # @param IsCreatePath: 是否创建Path 0未传默认创建 1创建 2不创建 # @type IsCreatePath: Integer # @param ServerPath: 指定创建路径(如不存在,则创建。存在,则忽略) # @type ServerPath: String attr_accessor :EnvId, :ServiceName, :IsPublic, :ImageRepo, :Remark, :EsInfo, :LogType, :OperatorRemark, :Source, :VpcInfo, :PublicAccess, :OpenAccessTypes, :IsCreatePath, :ServerPath def initialize(envid=nil, servicename=nil, ispublic=nil, imagerepo=nil, remark=nil, esinfo=nil, logtype=nil, operatorremark=nil, source=nil, vpcinfo=nil, publicaccess=nil, openaccesstypes=nil, iscreatepath=nil, serverpath=nil) @EnvId = envid @ServiceName = servicename @IsPublic = ispublic @ImageRepo = imagerepo @Remark = remark @EsInfo = esinfo @LogType = logtype @OperatorRemark = operatorremark @Source = source @VpcInfo = vpcinfo @PublicAccess = publicaccess @OpenAccessTypes = openaccesstypes @IsCreatePath = iscreatepath @ServerPath = serverpath end def deserialize(params) @EnvId = params['EnvId'] @ServiceName = params['ServiceName'] @IsPublic = params['IsPublic'] @ImageRepo = params['ImageRepo'] @Remark = params['Remark'] unless params['EsInfo'].nil? @EsInfo = CloudBaseEsInfo.new @EsInfo.deserialize(params['EsInfo']) end @LogType = params['LogType'] @OperatorRemark = params['OperatorRemark'] @Source = params['Source'] unless params['VpcInfo'].nil? @VpcInfo = CloudBaseRunVpcInfo.new @VpcInfo.deserialize(params['VpcInfo']) end @PublicAccess = params['PublicAccess'] @OpenAccessTypes = params['OpenAccessTypes'] @IsCreatePath = params['IsCreatePath'] @ServerPath = params['ServerPath'] end end # EstablishCloudBaseRunServer返回参数结构体 class EstablishCloudBaseRunServerResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # EstablishWxGatewayRoute请求参数结构体 class EstablishWxGatewayRouteRequest < TencentCloud::Common::AbstractModel # @param GatewayId: 网关id # @type GatewayId: String # @param GatewayRouteName: 服务名称 # @type GatewayRouteName: String # @param GatewayRouteAddr: 服务地址 # @type GatewayRouteAddr: String # @param GatewayRouteProtocol: 协议类型 http/https # @type GatewayRouteProtocol: String # @param GatewayRouteDesc: 服务描述 # @type GatewayRouteDesc: String attr_accessor :GatewayId, :GatewayRouteName, :GatewayRouteAddr, :GatewayRouteProtocol, :GatewayRouteDesc def initialize(gatewayid=nil, gatewayroutename=nil, gatewayrouteaddr=nil, gatewayrouteprotocol=nil, gatewayroutedesc=nil) @GatewayId = gatewayid @GatewayRouteName = gatewayroutename @GatewayRouteAddr = gatewayrouteaddr @GatewayRouteProtocol = gatewayrouteprotocol @GatewayRouteDesc = gatewayroutedesc end def deserialize(params) @GatewayId = params['GatewayId'] @GatewayRouteName = params['GatewayRouteName'] @GatewayRouteAddr = params['GatewayRouteAddr'] @GatewayRouteProtocol = params['GatewayRouteProtocol'] @GatewayRouteDesc = params['GatewayRouteDesc'] end end # EstablishWxGatewayRoute返回参数结构体 class EstablishWxGatewayRouteResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # 扩展文件 class ExtensionFile < TencentCloud::Common::AbstractModel # @param FileType: 文件类型。枚举值 #
  • FUNCTION:函数代码
  • #
  • STATIC:静态托管代码
  • #
  • SMS:短信文件
  • # @type FileType: String # @param FileName: 文件名,长度不超过24 # @type FileName: String attr_accessor :FileType, :FileName def initialize(filetype=nil, filename=nil) @FileType = filetype @FileName = filename end def deserialize(params) @FileType = params['FileType'] @FileName = params['FileName'] end end # 扩展文件信息 class ExtensionFileInfo < TencentCloud::Common::AbstractModel # @param CodeUri: 模板里使用的地址 # @type CodeUri: String # @param UploadUrl: 上传文件的临时地址,含签名 # @type UploadUrl: String # @param CustomKey: 自定义密钥。如果为空,则表示不需要加密 # @type CustomKey: String # @param MaxSize: 文件大小限制,单位M,客户端上传前需要主动检查文件大小,超过限制的文件会被删除。 # @type MaxSize: Integer attr_accessor :CodeUri, :UploadUrl, :CustomKey, :MaxSize def initialize(codeuri=nil, uploadurl=nil, customkey=nil, maxsize=nil) @CodeUri = codeuri @UploadUrl = uploadurl @CustomKey = customkey @MaxSize = maxsize end def deserialize(params) @CodeUri = params['CodeUri'] @UploadUrl = params['UploadUrl'] @CustomKey = params['CustomKey'] @MaxSize = params['MaxSize'] end end # 后付费资源免费量信息 class FreequotaInfo < TencentCloud::Common::AbstractModel # @param ResourceType: 资源类型 #
  • COS
  • #
  • CDN
  • #
  • FLEXDB
  • #
  • SCF
  • # @type ResourceType: String # @param ResourceMetric: 资源指标名称 # @type ResourceMetric: String # @param FreeQuota: 资源指标免费量 # @type FreeQuota: Integer # @param MetricUnit: 指标单位 # @type MetricUnit: String # @param DeductType: 免费量抵扣周期 #
  • sum-month:以月为单位抵扣
  • #
  • sum-day:以天为单位抵扣
  • #
  • totalize:总容量抵扣
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type DeductType: String # @param FreeQuotaType: 免费量类型 #
  • basic:通用量抵扣
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type FreeQuotaType: String attr_accessor :ResourceType, :ResourceMetric, :FreeQuota, :MetricUnit, :DeductType, :FreeQuotaType def initialize(resourcetype=nil, resourcemetric=nil, freequota=nil, metricunit=nil, deducttype=nil, freequotatype=nil) @ResourceType = resourcetype @ResourceMetric = resourcemetric @FreeQuota = freequota @MetricUnit = metricunit @DeductType = deducttype @FreeQuotaType = freequotatype end def deserialize(params) @ResourceType = params['ResourceType'] @ResourceMetric = params['ResourceMetric'] @FreeQuota = params['FreeQuota'] @MetricUnit = params['MetricUnit'] @DeductType = params['DeductType'] @FreeQuotaType = params['FreeQuotaType'] end end # 函数的信息 class FunctionInfo < TencentCloud::Common::AbstractModel # @param Namespace: 命名空间 # @type Namespace: String # @param Region: 所属地域。 # 当前支持ap-shanghai # @type Region: String attr_accessor :Namespace, :Region def initialize(namespace=nil, region=nil) @Namespace = namespace @Region = region end def deserialize(params) @Namespace = params['Namespace'] @Region = params['Region'] end end # 扩缩容策略 class HpaPolicy < TencentCloud::Common::AbstractModel # @param PolicyType: 策略类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PolicyType: String # @param PolicyThreshold: 策略阈值 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PolicyThreshold: Integer attr_accessor :PolicyType, :PolicyThreshold def initialize(policytype=nil, policythreshold=nil) @PolicyType = policytype @PolicyThreshold = policythreshold end def deserialize(params) @PolicyType = params['PolicyType'] @PolicyThreshold = params['PolicyThreshold'] end end # 键值对 class KVPair < TencentCloud::Common::AbstractModel # @param Key: 键 # @type Key: String # @param Value: 值 # @type Value: String attr_accessor :Key, :Value def initialize(key=nil, value=nil) @Key = key @Value = value end def deserialize(params) @Key = params['Key'] @Value = params['Value'] end end # CLS日志单条信息 class LogObject < TencentCloud::Common::AbstractModel # @param TopicId: 日志属于的 topic ID # @type TopicId: String # @param TopicName: 日志主题的名字 # @type TopicName: String # @param Timestamp: 日志时间 # @type Timestamp: String # @param Content: 日志内容 # @type Content: String # @param FileName: 采集路径 # @type FileName: String # @param Source: 日志来源设备 # @type Source: String attr_accessor :TopicId, :TopicName, :Timestamp, :Content, :FileName, :Source def initialize(topicid=nil, topicname=nil, timestamp=nil, content=nil, filename=nil, source=nil) @TopicId = topicid @TopicName = topicname @Timestamp = timestamp @Content = content @FileName = filename @Source = source end def deserialize(params) @TopicId = params['TopicId'] @TopicName = params['TopicName'] @Timestamp = params['Timestamp'] @Content = params['Content'] @FileName = params['FileName'] @Source = params['Source'] end end # CLS日志结果 class LogResObject < TencentCloud::Common::AbstractModel # @param Context: 获取更多检索结果的游标 # @type Context: String # @param ListOver: 搜索结果是否已经全部返回 # @type ListOver: Boolean # @param Results: 日志内容信息 # @type Results: Array attr_accessor :Context, :ListOver, :Results def initialize(context=nil, listover=nil, results=nil) @Context = context @ListOver = listover @Results = results end def deserialize(params) @Context = params['Context'] @ListOver = params['ListOver'] unless params['Results'].nil? @Results = [] params['Results'].each do |i| logobject_tmp = LogObject.new logobject_tmp.deserialize(i) @Results << logobject_tmp end end end end # 云日志服务相关信息 class LogServiceInfo < TencentCloud::Common::AbstractModel # @param LogsetName: log名 # @type LogsetName: String # @param LogsetId: log-id # @type LogsetId: String # @param TopicName: topic名 # @type TopicName: String # @param TopicId: topic-id # @type TopicId: String # @param Region: cls日志所属地域 # @type Region: String attr_accessor :LogsetName, :LogsetId, :TopicName, :TopicId, :Region def initialize(logsetname=nil, logsetid=nil, topicname=nil, topicid=nil, region=nil) @LogsetName = logsetname @LogsetId = logsetid @TopicName = topicname @TopicId = topicid @Region = region end def deserialize(params) @LogsetName = params['LogsetName'] @LogsetId = params['LogsetId'] @TopicName = params['TopicName'] @TopicId = params['TopicId'] @Region = params['Region'] end end # 终端用户登录新增统计 class LoginStatistic < TencentCloud::Common::AbstractModel # @param StatisticalType: 统计类型 新增NEWUSER 和登录 LOGIN # 注意:此字段可能返回 null,表示取不到有效值。 # @type StatisticalType: String # @param StatisticalCycle: 统计周期:日DAY,周WEEK,月MONTH # 注意:此字段可能返回 null,表示取不到有效值。 # @type StatisticalCycle: String # @param Count: 统计总量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Count: Integer # @param UpdateTime: 更新时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type UpdateTime: String attr_accessor :StatisticalType, :StatisticalCycle, :Count, :UpdateTime def initialize(statisticaltype=nil, statisticalcycle=nil, count=nil, updatetime=nil) @StatisticalType = statisticaltype @StatisticalCycle = statisticalcycle @Count = count @UpdateTime = updatetime end def deserialize(params) @StatisticalType = params['StatisticalType'] @StatisticalCycle = params['StatisticalCycle'] @Count = params['Count'] @UpdateTime = params['UpdateTime'] end end # ModifyCloudBaseRunServerFlowConf请求参数结构体 class ModifyCloudBaseRunServerFlowConfRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param ServerName: 服务名称 # @type ServerName: String # @param VersionFlowItems: 流量占比 # @type VersionFlowItems: Array # @param TrafficType: 流量类型(URL_PARAMS / FLOW / HEADERS) # @type TrafficType: String # @param OperatorRemark: 操作备注 # @type OperatorRemark: String attr_accessor :EnvId, :ServerName, :VersionFlowItems, :TrafficType, :OperatorRemark def initialize(envid=nil, servername=nil, versionflowitems=nil, traffictype=nil, operatorremark=nil) @EnvId = envid @ServerName = servername @VersionFlowItems = versionflowitems @TrafficType = traffictype @OperatorRemark = operatorremark end def deserialize(params) @EnvId = params['EnvId'] @ServerName = params['ServerName'] unless params['VersionFlowItems'].nil? @VersionFlowItems = [] params['VersionFlowItems'].each do |i| cloudbaserunversionflowitem_tmp = CloudBaseRunVersionFlowItem.new cloudbaserunversionflowitem_tmp.deserialize(i) @VersionFlowItems << cloudbaserunversionflowitem_tmp end end @TrafficType = params['TrafficType'] @OperatorRemark = params['OperatorRemark'] end end # ModifyCloudBaseRunServerFlowConf返回参数结构体 class ModifyCloudBaseRunServerFlowConfResponse < TencentCloud::Common::AbstractModel # @param Result: 返回结果,succ代表成功 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Result: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Result, :RequestId def initialize(result=nil, requestid=nil) @Result = result @RequestId = requestid end def deserialize(params) @Result = params['Result'] @RequestId = params['RequestId'] end end # ModifyCloudBaseRunServerVersion请求参数结构体 class ModifyCloudBaseRunServerVersionRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param ServerName: 服务名称 # @type ServerName: String # @param VersionName: 版本名称 # @type VersionName: String # @param EnvParams: 环境变量 # @type EnvParams: String # @param MinNum: 最小副本数 # @type MinNum: String # @param MaxNum: 最大副本数 # @type MaxNum: String # @param ContainerPort: 端口 # @type ContainerPort: String # @param Remark: 备注 # @type Remark: String # @param CustomLogs: 日志采集路径 # @type CustomLogs: String # @param IsResetRemark: 是否重设备注 # @type IsResetRemark: Boolean # @param BasicModify: 修改基础信息 # @type BasicModify: Boolean # @param OperatorRemark: 操作备注 # @type OperatorRemark: String attr_accessor :EnvId, :ServerName, :VersionName, :EnvParams, :MinNum, :MaxNum, :ContainerPort, :Remark, :CustomLogs, :IsResetRemark, :BasicModify, :OperatorRemark def initialize(envid=nil, servername=nil, versionname=nil, envparams=nil, minnum=nil, maxnum=nil, containerport=nil, remark=nil, customlogs=nil, isresetremark=nil, basicmodify=nil, operatorremark=nil) @EnvId = envid @ServerName = servername @VersionName = versionname @EnvParams = envparams @MinNum = minnum @MaxNum = maxnum @ContainerPort = containerport @Remark = remark @CustomLogs = customlogs @IsResetRemark = isresetremark @BasicModify = basicmodify @OperatorRemark = operatorremark end def deserialize(params) @EnvId = params['EnvId'] @ServerName = params['ServerName'] @VersionName = params['VersionName'] @EnvParams = params['EnvParams'] @MinNum = params['MinNum'] @MaxNum = params['MaxNum'] @ContainerPort = params['ContainerPort'] @Remark = params['Remark'] @CustomLogs = params['CustomLogs'] @IsResetRemark = params['IsResetRemark'] @BasicModify = params['BasicModify'] @OperatorRemark = params['OperatorRemark'] end end # ModifyCloudBaseRunServerVersion返回参数结构体 class ModifyCloudBaseRunServerVersionResponse < TencentCloud::Common::AbstractModel # @param Result: 返回结果(succ为成功) # 注意:此字段可能返回 null,表示取不到有效值。 # @type Result: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Result, :RequestId def initialize(result=nil, requestid=nil) @Result = result @RequestId = requestid end def deserialize(params) @Result = params['Result'] @RequestId = params['RequestId'] end end # ModifyDatabaseACL请求参数结构体 class ModifyDatabaseACLRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param CollectionName: 集合名称 # @type CollectionName: String # @param AclTag: 权限标签。包含以下取值: #
  • READONLY:所有用户可读,仅创建者和管理员可写
  • #
  • PRIVATE:仅创建者及管理员可读写
  • #
  • ADMINWRITE:所有用户可读,仅管理员可写
  • #
  • ADMINONLY:仅管理员可读写
  • # @type AclTag: String attr_accessor :EnvId, :CollectionName, :AclTag def initialize(envid=nil, collectionname=nil, acltag=nil) @EnvId = envid @CollectionName = collectionname @AclTag = acltag end def deserialize(params) @EnvId = params['EnvId'] @CollectionName = params['CollectionName'] @AclTag = params['AclTag'] end end # ModifyDatabaseACL返回参数结构体 class ModifyDatabaseACLResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # ModifyEndUser请求参数结构体 class ModifyEndUserRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param UUId: C端用户端的唯一ID # @type UUId: String # @param Status: 帐号的状态 #
  • ENABLE
  • #
  • DISABLE
  • # @type Status: String attr_accessor :EnvId, :UUId, :Status def initialize(envid=nil, uuid=nil, status=nil) @EnvId = envid @UUId = uuid @Status = status end def deserialize(params) @EnvId = params['EnvId'] @UUId = params['UUId'] @Status = params['Status'] end end # ModifyEndUser返回参数结构体 class ModifyEndUserResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # ModifyEnv请求参数结构体 class ModifyEnvRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param Alias: 环境备注名,要以a-z开头,不能包含 a-zA-z0-9- 以外的字符 # @type Alias: String attr_accessor :EnvId, :Alias def initialize(envid=nil, _alias=nil) @EnvId = envid @Alias = _alias end def deserialize(params) @EnvId = params['EnvId'] @Alias = params['Alias'] end end # ModifyEnv返回参数结构体 class ModifyEnvResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # Key-Value类型,模拟的 object 类型 class ObjectKV < TencentCloud::Common::AbstractModel # @param Key: object 的 key # @type Key: String # @param Value: object key 对应的 value # @type Value: String attr_accessor :Key, :Value def initialize(key=nil, value=nil) @Key = key @Value = value end def deserialize(params) @Key = params['Key'] @Value = params['Value'] end end # 一键部署步骤信息 class OneClickTaskStepInfo < TencentCloud::Common::AbstractModel # @param Status: 未启动:"todo" # 运行中:"running" # 失败:"failed" # 成功结束:"finished" # @type Status: String # @param StartTime: 开始时间 # @type StartTime: String # @param EndTime: 结束时间 # @type EndTime: String # @param CostTime: 耗时:秒 # @type CostTime: Integer # @param FailReason: 失败原因 # @type FailReason: String # @param Name: 步骤名 # @type Name: String attr_accessor :Status, :StartTime, :EndTime, :CostTime, :FailReason, :Name def initialize(status=nil, starttime=nil, endtime=nil, costtime=nil, failreason=nil, name=nil) @Status = status @StartTime = starttime @EndTime = endtime @CostTime = costtime @FailReason = failreason @Name = name end def deserialize(params) @Status = params['Status'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @CostTime = params['CostTime'] @FailReason = params['FailReason'] @Name = params['Name'] end end # 订单信息 class OrderInfo < TencentCloud::Common::AbstractModel # @param TranId: 订单号 # @type TranId: String # @param PackageId: 订单要切换的套餐ID # @type PackageId: String # @param TranType: 订单类型 #
  • 1 购买
  • #
  • 2 续费
  • #
  • 3 变配
  • # @type TranType: String # @param TranStatus: 订单状态。 #
  • 1未支付
  • #
  • 2 支付中
  • #
  • 3 发货中
  • #
  • 4 发货成功
  • #
  • 5 发货失败
  • #
  • 6 已退款
  • #
  • 7 已取消
  • #
  • 100 已删除
  • # @type TranStatus: String # @param UpdateTime: 订单更新时间 # @type UpdateTime: String # @param CreateTime: 订单创建时间 # @type CreateTime: String # @param PayMode: 付费模式. #
  • prepayment 预付费
  • #
  • postpaid 后付费
  • # @type PayMode: String # @param ExtensionId: 订单绑定的扩展ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type ExtensionId: String # @param ResourceReady: 资源初始化结果(仅当ExtensionId不为空时有效): successful(初始化成功), failed(初始化失败), doing(初始化进行中), init(准备初始化) # 注意:此字段可能返回 null,表示取不到有效值。 # @type ResourceReady: String # @param Flag: 安装标记。建议使用方统一转大小写之后再判断。 #
  • QuickStart:快速启动来源
  • #
  • Activity:活动来源
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type Flag: String # @param ReqBody: 下单时的参数 # @type ReqBody: String attr_accessor :TranId, :PackageId, :TranType, :TranStatus, :UpdateTime, :CreateTime, :PayMode, :ExtensionId, :ResourceReady, :Flag, :ReqBody def initialize(tranid=nil, packageid=nil, trantype=nil, transtatus=nil, updatetime=nil, createtime=nil, paymode=nil, extensionid=nil, resourceready=nil, flag=nil, reqbody=nil) @TranId = tranid @PackageId = packageid @TranType = trantype @TranStatus = transtatus @UpdateTime = updatetime @CreateTime = createtime @PayMode = paymode @ExtensionId = extensionid @ResourceReady = resourceready @Flag = flag @ReqBody = reqbody end def deserialize(params) @TranId = params['TranId'] @PackageId = params['PackageId'] @TranType = params['TranType'] @TranStatus = params['TranStatus'] @UpdateTime = params['UpdateTime'] @CreateTime = params['CreateTime'] @PayMode = params['PayMode'] @ExtensionId = params['ExtensionId'] @ResourceReady = params['ResourceReady'] @Flag = params['Flag'] @ReqBody = params['ReqBody'] end end # 后付费免费额度 class PackageFreeQuotaInfo < TencentCloud::Common::AbstractModel # @param ResourceType: 资源类型 #
  • COS
  • #
  • CDN
  • #
  • FLEXDB
  • #
  • SCF
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type ResourceType: String # @param ResourceMetric: 资源指标名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ResourceMetric: String # @param FreeQuota: 资源指标免费量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FreeQuota: Integer # @param MetricUnit: 指标单位 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MetricUnit: String # @param DeductType: 免费量抵扣周期 #
  • sum-month:以月为单位抵扣
  • #
  • sum-day:以天为单位抵扣
  • #
  • totalize:总容量抵扣
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type DeductType: String # @param FreeQuotaType: 免费量类型 #
  • basic:通用量抵扣
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type FreeQuotaType: String attr_accessor :ResourceType, :ResourceMetric, :FreeQuota, :MetricUnit, :DeductType, :FreeQuotaType def initialize(resourcetype=nil, resourcemetric=nil, freequota=nil, metricunit=nil, deducttype=nil, freequotatype=nil) @ResourceType = resourcetype @ResourceMetric = resourcemetric @FreeQuota = freequota @MetricUnit = metricunit @DeductType = deducttype @FreeQuotaType = freequotatype end def deserialize(params) @ResourceType = params['ResourceType'] @ResourceMetric = params['ResourceMetric'] @FreeQuota = params['FreeQuota'] @MetricUnit = params['MetricUnit'] @DeductType = params['DeductType'] @FreeQuotaType = params['FreeQuotaType'] end end # 终端用户平台统计信息 class PlatformStatistic < TencentCloud::Common::AbstractModel # @param Platform: 终端用户从属平台 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Platform: String # @param Count: 平台终端用户数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Count: Integer # @param UpdateTime: 更新时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type UpdateTime: String attr_accessor :Platform, :Count, :UpdateTime def initialize(platform=nil, count=nil, updatetime=nil) @Platform = platform @Count = count @UpdateTime = updatetime end def deserialize(params) @Platform = params['Platform'] @Count = params['Count'] @UpdateTime = params['UpdateTime'] end end # 后付费计费详情 class PostPaidEnvDeductInfo < TencentCloud::Common::AbstractModel # @param ResourceType: 资源方 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ResourceType: String # @param MetricName: 指标名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MetricName: String # @param ResQuota: 按量计费详情 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ResQuota: Float # @param PkgQuota: 资源包抵扣详情 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PkgQuota: Float # @param FreeQuota: 免费额度抵扣详情 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FreeQuota: Float # @param EnvId: 环境id # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnvId: String attr_accessor :ResourceType, :MetricName, :ResQuota, :PkgQuota, :FreeQuota, :EnvId def initialize(resourcetype=nil, metricname=nil, resquota=nil, pkgquota=nil, freequota=nil, envid=nil) @ResourceType = resourcetype @MetricName = metricname @ResQuota = resquota @PkgQuota = pkgquota @FreeQuota = freequota @EnvId = envid end def deserialize(params) @ResourceType = params['ResourceType'] @MetricName = params['MetricName'] @ResQuota = params['ResQuota'] @PkgQuota = params['PkgQuota'] @FreeQuota = params['FreeQuota'] @EnvId = params['EnvId'] end end # 按量付费免费配额信息 class PostpayEnvQuota < TencentCloud::Common::AbstractModel # @param ResourceType: 资源类型 # @type ResourceType: String # @param MetricName: 指标名 # @type MetricName: String # @param Value: 配额值 # @type Value: Integer # @param StartTime: 配额生效时间 # 为空表示没有时间限制 # @type StartTime: String # @param EndTime: 配额失效时间 # 为空表示没有时间限制 # @type EndTime: String attr_accessor :ResourceType, :MetricName, :Value, :StartTime, :EndTime def initialize(resourcetype=nil, metricname=nil, value=nil, starttime=nil, endtime=nil) @ResourceType = resourcetype @MetricName = metricname @Value = value @StartTime = starttime @EndTime = endtime end def deserialize(params) @ResourceType = params['ResourceType'] @MetricName = params['MetricName'] @Value = params['Value'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] end end # ReinstateEnv请求参数结构体 class ReinstateEnvRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String attr_accessor :EnvId def initialize(envid=nil) @EnvId = envid end def deserialize(params) @EnvId = params['EnvId'] end end # ReinstateEnv返回参数结构体 class ReinstateEnvResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # ReplaceActivityRecord请求参数结构体 class ReplaceActivityRecordRequest < TencentCloud::Common::AbstractModel # @param ActivityId: 活动id # @type ActivityId: Integer # @param Status: 状态码 # @type Status: Integer # @param SubStatus: 自定义子状态 # @type SubStatus: String # @param ChannelToken: 鉴权token # @type ChannelToken: String # @param Channel: 渠道名,不同渠道对应不同secretKey # @type Channel: String attr_accessor :ActivityId, :Status, :SubStatus, :ChannelToken, :Channel def initialize(activityid=nil, status=nil, substatus=nil, channeltoken=nil, channel=nil) @ActivityId = activityid @Status = status @SubStatus = substatus @ChannelToken = channeltoken @Channel = channel end def deserialize(params) @ActivityId = params['ActivityId'] @Status = params['Status'] @SubStatus = params['SubStatus'] @ChannelToken = params['ChannelToken'] @Channel = params['Channel'] end end # ReplaceActivityRecord返回参数结构体 class ReplaceActivityRecordResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # RollUpdateCloudBaseRunServerVersion请求参数结构体 class RollUpdateCloudBaseRunServerVersionRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param VersionName: 要替换的版本名称,可以为latest # @type VersionName: String # @param UploadType: 枚举(package/repository/image) # @type UploadType: String # @param RepositoryType: repository的类型(coding/gitlab/github) # @type RepositoryType: String # @param FlowRatio: 流量占比 # @type FlowRatio: Integer # @param DockerfilePath: dockerfile地址 # @type DockerfilePath: String # @param BuildDir: 构建目录 # @type BuildDir: String # @param Cpu: Cpu的大小,单位:核 # @type Cpu: String # @param Mem: Mem的大小,单位:G # @type Mem: String # @param MinNum: 最小副本数,最小值:0 # @type MinNum: String # @param MaxNum: 最大副本数 # @type MaxNum: String # @param PolicyType: 策略类型 # @type PolicyType: String # @param PolicyThreshold: 策略阈值 # @type PolicyThreshold: String # @param EnvParams: 环境变量 # @type EnvParams: String # @param ContainerPort: 容器端口 # @type ContainerPort: Integer # @param ServerName: 服务名称 # @type ServerName: String # @param Repository: repository地址 # @type Repository: String # @param Branch: 分支 # @type Branch: String # @param VersionRemark: 版本备注 # @type VersionRemark: String # @param PackageName: 代码包名字 # @type PackageName: String # @param PackageVersion: 代码包版本 # @type PackageVersion: String # @param ImageInfo: Image的详情 # @type ImageInfo: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseRunImageInfo` # @param CodeDetail: Github等拉取代码的详情 # @type CodeDetail: :class:`Tencentcloud::Tcb.v20180608.models.CloudBaseCodeRepoDetail` # @param IsRebuild: 是否回放流量 # @type IsRebuild: Boolean # @param InitialDelaySeconds: 延迟多长时间开始健康检查(单位s) # @type InitialDelaySeconds: Integer # @param MountVolumeInfo: cfs挂载信息 # @type MountVolumeInfo: Array # @param Rollback: 是否回滚 # @type Rollback: Boolean # @param SnapshotName: 版本历史名 # @type SnapshotName: String # @param CustomLogs: 自定义采集路径 # @type CustomLogs: String # @param EnableUnion: 是否启用统一域名 # @type EnableUnion: Boolean # @param OperatorRemark: 操作备注 # @type OperatorRemark: String # @param ServerPath: 服务路径(只会第一次生效) # @type ServerPath: String # @param IsUpdateCls: 是否更新Cls # @type IsUpdateCls: Boolean # @param PolicyDetail: 自动扩缩容策略组 # @type PolicyDetail: Array 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 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) @EnvId = envid @VersionName = versionname @UploadType = uploadtype @RepositoryType = repositorytype @FlowRatio = flowratio @DockerfilePath = dockerfilepath @BuildDir = builddir @Cpu = cpu @Mem = mem @MinNum = minnum @MaxNum = maxnum @PolicyType = policytype @PolicyThreshold = policythreshold @EnvParams = envparams @ContainerPort = containerport @ServerName = servername @Repository = repository @Branch = branch @VersionRemark = versionremark @PackageName = packagename @PackageVersion = packageversion @ImageInfo = imageinfo @CodeDetail = codedetail @IsRebuild = isrebuild @InitialDelaySeconds = initialdelayseconds @MountVolumeInfo = mountvolumeinfo @Rollback = rollback @SnapshotName = snapshotname @CustomLogs = customlogs @EnableUnion = enableunion @OperatorRemark = operatorremark @ServerPath = serverpath @IsUpdateCls = isupdatecls @PolicyDetail = policydetail end def deserialize(params) @EnvId = params['EnvId'] @VersionName = params['VersionName'] @UploadType = params['UploadType'] @RepositoryType = params['RepositoryType'] @FlowRatio = params['FlowRatio'] @DockerfilePath = params['DockerfilePath'] @BuildDir = params['BuildDir'] @Cpu = params['Cpu'] @Mem = params['Mem'] @MinNum = params['MinNum'] @MaxNum = params['MaxNum'] @PolicyType = params['PolicyType'] @PolicyThreshold = params['PolicyThreshold'] @EnvParams = params['EnvParams'] @ContainerPort = params['ContainerPort'] @ServerName = params['ServerName'] @Repository = params['Repository'] @Branch = params['Branch'] @VersionRemark = params['VersionRemark'] @PackageName = params['PackageName'] @PackageVersion = params['PackageVersion'] unless params['ImageInfo'].nil? @ImageInfo = CloudBaseRunImageInfo.new @ImageInfo.deserialize(params['ImageInfo']) end unless params['CodeDetail'].nil? @CodeDetail = CloudBaseCodeRepoDetail.new @CodeDetail.deserialize(params['CodeDetail']) end @IsRebuild = params['IsRebuild'] @InitialDelaySeconds = params['InitialDelaySeconds'] unless params['MountVolumeInfo'].nil? @MountVolumeInfo = [] params['MountVolumeInfo'].each do |i| cloudbaserunvolumemount_tmp = CloudBaseRunVolumeMount.new cloudbaserunvolumemount_tmp.deserialize(i) @MountVolumeInfo << cloudbaserunvolumemount_tmp end end @Rollback = params['Rollback'] @SnapshotName = params['SnapshotName'] @CustomLogs = params['CustomLogs'] @EnableUnion = params['EnableUnion'] @OperatorRemark = params['OperatorRemark'] @ServerPath = params['ServerPath'] @IsUpdateCls = params['IsUpdateCls'] unless params['PolicyDetail'].nil? @PolicyDetail = [] params['PolicyDetail'].each do |i| hpapolicy_tmp = HpaPolicy.new hpapolicy_tmp.deserialize(i) @PolicyDetail << hpapolicy_tmp end end end end # RollUpdateCloudBaseRunServerVersion返回参数结构体 class RollUpdateCloudBaseRunServerVersionResponse < TencentCloud::Common::AbstractModel # @param Result: succ为成功 # @type Result: String # @param VersionName: 滚动更新的VersionName # 注意:此字段可能返回 null,表示取不到有效值。 # @type VersionName: String # @param RunId: 操作记录id # 注意:此字段可能返回 null,表示取不到有效值。 # @type RunId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Result, :VersionName, :RunId, :RequestId def initialize(result=nil, versionname=nil, runid=nil, requestid=nil) @Result = result @VersionName = versionname @RunId = runid @RequestId = requestid end def deserialize(params) @Result = params['Result'] @VersionName = params['VersionName'] @RunId = params['RunId'] @RequestId = params['RequestId'] end end # SearchClsLog请求参数结构体 class SearchClsLogRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境唯一ID # @type EnvId: String # @param StartTime: 查询起始时间条件 # @type StartTime: String # @param EndTime: 查询结束时间条件 # @type EndTime: String # @param QueryString: 查询语句,详情参考 https://cloud.tencent.com/document/product/614/47044 # @type QueryString: String # @param Limit: 单次要返回的日志条数,单次返回的最大条数为100 # @type Limit: Integer # @param Context: 加载更多使用,透传上次返回的 context 值,获取后续的日志内容,通过游标最多可获取10000条,请尽可能缩小时间范围 # @type Context: String # @param Sort: 按时间排序 asc(升序)或者 desc(降序),默认为 desc # @type Sort: String # @param UseLucene: 是否使用Lucene语法,默认为false # @type UseLucene: Boolean attr_accessor :EnvId, :StartTime, :EndTime, :QueryString, :Limit, :Context, :Sort, :UseLucene def initialize(envid=nil, starttime=nil, endtime=nil, querystring=nil, limit=nil, context=nil, sort=nil, uselucene=nil) @EnvId = envid @StartTime = starttime @EndTime = endtime @QueryString = querystring @Limit = limit @Context = context @Sort = sort @UseLucene = uselucene end def deserialize(params) @EnvId = params['EnvId'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @QueryString = params['QueryString'] @Limit = params['Limit'] @Context = params['Context'] @Sort = params['Sort'] @UseLucene = params['UseLucene'] end end # SearchClsLog返回参数结构体 class SearchClsLogResponse < TencentCloud::Common::AbstractModel # @param LogResults: 日志内容结果 # @type LogResults: :class:`Tencentcloud::Tcb.v20180608.models.LogResObject` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :LogResults, :RequestId def initialize(logresults=nil, requestid=nil) @LogResults = logresults @RequestId = requestid end def deserialize(params) unless params['LogResults'].nil? @LogResults = LogResObject.new @LogResults.deserialize(params['LogResults']) end @RequestId = params['RequestId'] end end # 短信免费量 class SmsFreeQuota < TencentCloud::Common::AbstractModel # @param FreeQuota: 免费量总条数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FreeQuota: Integer # @param TotalUsedQuota: 共计已使用总条数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TotalUsedQuota: Integer # @param CycleStart: 免费周期起点,0000-00-00 00:00:00 形式 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CycleStart: String # @param CycleEnd: 免费周期终点,0000-00-00 00:00:00 形式 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CycleEnd: String # @param TodayUsedQuota: 今天已使用总条数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TodayUsedQuota: Integer attr_accessor :FreeQuota, :TotalUsedQuota, :CycleStart, :CycleEnd, :TodayUsedQuota def initialize(freequota=nil, totalusedquota=nil, cyclestart=nil, cycleend=nil, todayusedquota=nil) @FreeQuota = freequota @TotalUsedQuota = totalusedquota @CycleStart = cyclestart @CycleEnd = cycleend @TodayUsedQuota = todayusedquota end def deserialize(params) @FreeQuota = params['FreeQuota'] @TotalUsedQuota = params['TotalUsedQuota'] @CycleStart = params['CycleStart'] @CycleEnd = params['CycleEnd'] @TodayUsedQuota = params['TodayUsedQuota'] end end # 1分钱计费详情 class SpecialCostItem < TencentCloud::Common::AbstractModel # @param ReportDate: 上报日期 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ReportDate: String # @param Uin: 腾讯云uin # 注意:此字段可能返回 null,表示取不到有效值。 # @type Uin: String # @param EnvId: 资源id:环境id # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnvId: String # @param Status: 上报任务状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String attr_accessor :ReportDate, :Uin, :EnvId, :Status def initialize(reportdate=nil, uin=nil, envid=nil, status=nil) @ReportDate = reportdate @Uin = uin @EnvId = envid @Status = status end def deserialize(params) @ReportDate = params['ReportDate'] @Uin = params['Uin'] @EnvId = params['EnvId'] @Status = params['Status'] end end # 独立网关信息 class StandaloneGatewayInfo < TencentCloud::Common::AbstractModel # @param GatewayName: 独立网关名称 # @type GatewayName: String # @param CPU: CPU核心数 # @type CPU: Float # @param Mem: 内存大小,单位MB # @type Mem: Integer # @param PackageVersion: 套餐包版本名称 # @type PackageVersion: String # @param GatewayAlias: 网关别名 # @type GatewayAlias: String # @param VpcId: 私有网络ID # @type VpcId: String # @param SubnetIds: 子网ID列表 # @type SubnetIds: Array # @param GatewayDesc: 网关描述 # @type GatewayDesc: String # @param GateWayStatus: 网关状态 # @type GateWayStatus: String # @param ServiceInfo: 服务信息 # @type ServiceInfo: :class:`Tencentcloud::Tcb.v20180608.models.BackendServiceInfo` # @param PublicClbIp: 公网CLBIP # @type PublicClbIp: String # @param InternalClbIp: 内网CLBIP # @type InternalClbIp: String attr_accessor :GatewayName, :CPU, :Mem, :PackageVersion, :GatewayAlias, :VpcId, :SubnetIds, :GatewayDesc, :GateWayStatus, :ServiceInfo, :PublicClbIp, :InternalClbIp def initialize(gatewayname=nil, cpu=nil, mem=nil, packageversion=nil, gatewayalias=nil, vpcid=nil, subnetids=nil, gatewaydesc=nil, gatewaystatus=nil, serviceinfo=nil, publicclbip=nil, internalclbip=nil) @GatewayName = gatewayname @CPU = cpu @Mem = mem @PackageVersion = packageversion @GatewayAlias = gatewayalias @VpcId = vpcid @SubnetIds = subnetids @GatewayDesc = gatewaydesc @GateWayStatus = gatewaystatus @ServiceInfo = serviceinfo @PublicClbIp = publicclbip @InternalClbIp = internalclbip end def deserialize(params) @GatewayName = params['GatewayName'] @CPU = params['CPU'] @Mem = params['Mem'] @PackageVersion = params['PackageVersion'] @GatewayAlias = params['GatewayAlias'] @VpcId = params['VpcId'] @SubnetIds = params['SubnetIds'] @GatewayDesc = params['GatewayDesc'] @GateWayStatus = params['GateWayStatus'] unless params['ServiceInfo'].nil? @ServiceInfo = BackendServiceInfo.new @ServiceInfo.deserialize(params['ServiceInfo']) end @PublicClbIp = params['PublicClbIp'] @InternalClbIp = params['InternalClbIp'] end end # 小租户网关套餐配置 class StandaloneGatewayPackageInfo < TencentCloud::Common::AbstractModel # @param CPU: CPU核心数 # @type CPU: Float # @param Mem: 内存大小,单位MB # @type Mem: Integer # @param PackageVersion: 套餐包版本名称 # @type PackageVersion: String attr_accessor :CPU, :Mem, :PackageVersion def initialize(cpu=nil, mem=nil, packageversion=nil) @CPU = cpu @Mem = mem @PackageVersion = packageversion end def deserialize(params) @CPU = params['CPU'] @Mem = params['Mem'] @PackageVersion = params['PackageVersion'] end end # 静态CDN资源信息 class StaticStorageInfo < TencentCloud::Common::AbstractModel # @param StaticDomain: 静态CDN域名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type StaticDomain: String # @param DefaultDirName: 静态CDN默认文件夹,当前为根目录 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DefaultDirName: String # @param Status: 资源状态(process/online/offline/init) # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String # @param Region: cos所属区域 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Region: String # @param Bucket: bucket信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Bucket: String attr_accessor :StaticDomain, :DefaultDirName, :Status, :Region, :Bucket def initialize(staticdomain=nil, defaultdirname=nil, status=nil, region=nil, bucket=nil) @StaticDomain = staticdomain @DefaultDirName = defaultdirname @Status = status @Region = region @Bucket = bucket end def deserialize(params) @StaticDomain = params['StaticDomain'] @DefaultDirName = params['DefaultDirName'] @Status = params['Status'] @Region = params['Region'] @Bucket = params['Bucket'] end end # StorageInfo 资源信息 class StorageInfo < TencentCloud::Common::AbstractModel # @param Region: 资源所属地域。 # 当前支持ap-shanghai # @type Region: String # @param Bucket: 桶名,存储资源的唯一标识 # @type Bucket: String # @param CdnDomain: cdn 域名 # @type CdnDomain: String # @param AppId: 资源所属用户的腾讯云appId # @type AppId: String attr_accessor :Region, :Bucket, :CdnDomain, :AppId def initialize(region=nil, bucket=nil, cdndomain=nil, appid=nil) @Region = region @Bucket = bucket @CdnDomain = cdndomain @AppId = appid end def deserialize(params) @Region = params['Region'] @Bucket = params['Bucket'] @CdnDomain = params['CdnDomain'] @AppId = params['AppId'] end end # 标签键值对 class Tag < TencentCloud::Common::AbstractModel # @param Key: 标签键 # @type Key: String # @param Value: 标签值 # @type Value: String attr_accessor :Key, :Value def initialize(key=nil, value=nil) @Key = key @Value = value end def deserialize(params) @Key = params['Key'] @Value = params['Value'] end end # TurnOffStandaloneGateway请求参数结构体 class TurnOffStandaloneGatewayRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param GatewayName: 网关名称 # @type GatewayName: String # @param ServiceNameList: 服务名称列表 # @type ServiceNameList: Array attr_accessor :EnvId, :GatewayName, :ServiceNameList def initialize(envid=nil, gatewayname=nil, servicenamelist=nil) @EnvId = envid @GatewayName = gatewayname @ServiceNameList = servicenamelist end def deserialize(params) @EnvId = params['EnvId'] @GatewayName = params['GatewayName'] @ServiceNameList = params['ServiceNameList'] end end # TurnOffStandaloneGateway返回参数结构体 class TurnOffStandaloneGatewayResponse < TencentCloud::Common::AbstractModel # @param Status: 关闭独立网关状态 # @type Status: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Status, :RequestId def initialize(status=nil, requestid=nil) @Status = status @RequestId = requestid end def deserialize(params) @Status = params['Status'] @RequestId = params['RequestId'] end end # TurnOnStandaloneGateway请求参数结构体 class TurnOnStandaloneGatewayRequest < TencentCloud::Common::AbstractModel # @param EnvId: 环境ID # @type EnvId: String # @param GatewayName: 网关名称 # @type GatewayName: String # @param ServiceNameList: 服务名称列表 # @type ServiceNameList: Array attr_accessor :EnvId, :GatewayName, :ServiceNameList def initialize(envid=nil, gatewayname=nil, servicenamelist=nil) @EnvId = envid @GatewayName = gatewayname @ServiceNameList = servicenamelist end def deserialize(params) @EnvId = params['EnvId'] @GatewayName = params['GatewayName'] @ServiceNameList = params['ServiceNameList'] end end # TurnOnStandaloneGateway返回参数结构体 class TurnOnStandaloneGatewayResponse < TencentCloud::Common::AbstractModel # @param Status: 小租户网关开启状态 # @type Status: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Status, :RequestId def initialize(status=nil, requestid=nil) @Status = status @RequestId = requestid end def deserialize(params) @Status = params['Status'] @RequestId = params['RequestId'] end end end end end