lib/v20201101/models.rb in tencentcloud-sdk-tcss-1.0.218 vs lib/v20201101/models.rb in tencentcloud-sdk-tcss-1.0.219
- old
+ new
@@ -2156,14 +2156,16 @@
# @type HostIP: String
# @param UpdateTime: 更新时间
# @type UpdateTime: String
# @param HostName: 主机名称
# @type HostName: String
+ # @param PublicIp: 外网ip
+ # @type PublicIp: String
- attr_accessor :ContainerID, :ContainerName, :Status, :CreateTime, :RunAs, :Cmd, :CPUUsage, :RamUsage, :ImageName, :ImageID, :POD, :HostID, :HostIP, :UpdateTime, :HostName
+ attr_accessor :ContainerID, :ContainerName, :Status, :CreateTime, :RunAs, :Cmd, :CPUUsage, :RamUsage, :ImageName, :ImageID, :POD, :HostID, :HostIP, :UpdateTime, :HostName, :PublicIp
- def initialize(containerid=nil, containername=nil, status=nil, createtime=nil, runas=nil, cmd=nil, cpuusage=nil, ramusage=nil, imagename=nil, imageid=nil, pod=nil, hostid=nil, hostip=nil, updatetime=nil, hostname=nil)
+ def initialize(containerid=nil, containername=nil, status=nil, createtime=nil, runas=nil, cmd=nil, cpuusage=nil, ramusage=nil, imagename=nil, imageid=nil, pod=nil, hostid=nil, hostip=nil, updatetime=nil, hostname=nil, publicip=nil)
@ContainerID = containerid
@ContainerName = containername
@Status = status
@CreateTime = createtime
@RunAs = runas
@@ -2175,10 +2177,11 @@
@POD = pod
@HostID = hostid
@HostIP = hostip
@UpdateTime = updatetime
@HostName = hostname
+ @PublicIp = publicip
end
def deserialize(params)
@ContainerID = params['ContainerID']
@ContainerName = params['ContainerName']
@@ -2193,10 +2196,11 @@
@POD = params['POD']
@HostID = params['HostID']
@HostIP = params['HostIP']
@UpdateTime = params['UpdateTime']
@HostName = params['HostName']
+ @PublicIp = params['PublicIp']
end
end
# 容器挂载信息
class ContainerMount < TencentCloud::Common::AbstractModel
@@ -2523,11 +2527,11 @@
end
end
# CreateCheckComponent返回参数结构体
class CreateCheckComponentResponse < TencentCloud::Common::AbstractModel
- # @param InstallResult: “InstallSucc"表示安装成功,"InstallFailed"表示安装失败
+ # @param InstallResult: "InstallSucc"表示安装成功,"InstallFailed"表示安装失败
# @type InstallResult: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstallResult, :RequestId
@@ -4401,24 +4405,30 @@
# @type DockerRootDir: String
# @param ImageCnt: 镜像数
# @type ImageCnt: Integer
# @param ContainerCnt: 容器数
# @type ContainerCnt: Integer
- # @param K8sMasterIP: k8s ip
+ # @param K8sMasterIP: k8s IP
# @type K8sMasterIP: String
# @param K8sVersion: k8s version
# @type K8sVersion: String
# @param KubeProxyVersion: kube proxy
# @type KubeProxyVersion: String
- # @param Status: 主机运行状态 offline,online,pause
+ # @param Status: "UNINSTALL":"未安装","OFFLINE":"离线", "ONLINE":"防护中
# @type Status: String
+ # @param IsContainerd: 是否Containerd
+ # @type IsContainerd: Boolean
+ # @param MachineType: 主机来源;"TENCENTCLOUD":"腾讯云服务器","OTHERCLOUD":"非腾讯云服务器"
+ # @type MachineType: String
+ # @param PublicIp: 外网ip
+ # @type PublicIp: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :UUID, :UpdateTime, :HostName, :Group, :HostIP, :OsName, :AgentVersion, :KernelVersion, :DockerVersion, :DockerAPIVersion, :DockerGoVersion, :DockerFileSystemDriver, :DockerRootDir, :ImageCnt, :ContainerCnt, :K8sMasterIP, :K8sVersion, :KubeProxyVersion, :Status, :RequestId
+ attr_accessor :UUID, :UpdateTime, :HostName, :Group, :HostIP, :OsName, :AgentVersion, :KernelVersion, :DockerVersion, :DockerAPIVersion, :DockerGoVersion, :DockerFileSystemDriver, :DockerRootDir, :ImageCnt, :ContainerCnt, :K8sMasterIP, :K8sVersion, :KubeProxyVersion, :Status, :IsContainerd, :MachineType, :PublicIp, :RequestId
- def initialize(uuid=nil, updatetime=nil, hostname=nil, group=nil, hostip=nil, osname=nil, agentversion=nil, kernelversion=nil, dockerversion=nil, dockerapiversion=nil, dockergoversion=nil, dockerfilesystemdriver=nil, dockerrootdir=nil, imagecnt=nil, containercnt=nil, k8smasterip=nil, k8sversion=nil, kubeproxyversion=nil, status=nil, requestid=nil)
+ def initialize(uuid=nil, updatetime=nil, hostname=nil, group=nil, hostip=nil, osname=nil, agentversion=nil, kernelversion=nil, dockerversion=nil, dockerapiversion=nil, dockergoversion=nil, dockerfilesystemdriver=nil, dockerrootdir=nil, imagecnt=nil, containercnt=nil, k8smasterip=nil, k8sversion=nil, kubeproxyversion=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, requestid=nil)
@UUID = uuid
@UpdateTime = updatetime
@HostName = hostname
@Group = group
@HostIP = hostip
@@ -4434,10 +4444,13 @@
@ContainerCnt = containercnt
@K8sMasterIP = k8smasterip
@K8sVersion = k8sversion
@KubeProxyVersion = kubeproxyversion
@Status = status
+ @IsContainerd = iscontainerd
+ @MachineType = machinetype
+ @PublicIp = publicip
@RequestId = requestid
end
def deserialize(params)
@UUID = params['UUID']
@@ -4457,10 +4470,13 @@
@ContainerCnt = params['ContainerCnt']
@K8sMasterIP = params['K8sMasterIP']
@K8sVersion = params['K8sVersion']
@KubeProxyVersion = params['KubeProxyVersion']
@Status = params['Status']
+ @IsContainerd = params['IsContainerd']
+ @MachineType = params['MachineType']
+ @PublicIp = params['PublicIp']
@RequestId = params['RequestId']
end
end
# DescribeAssetHostList请求参数结构体
@@ -4468,16 +4484,17 @@
# @param Limit: 需要返回的数量,默认为10,最大值为100
# @type Limit: Integer
# @param Offset: 偏移量,默认为0。
# @type Offset: Integer
# @param Filters: 过滤条件。
- # <li>Status - String - 是否必填:否 - 主机运行状态筛选,0:"offline",1:"online", 2:"paused"</li>
+ # <li>Status - String - 是否必填:否 - agent状态筛选,"ALL":"全部"(或不传该字段),"UNINSTALL":"未安装","OFFLINE":"离线", "ONLINE":"防护中"</li>
# <li>HostName - String - 是否必填:否 - 主机名筛选</li>
# <li>Group- String - 是否必填:否 - 主机群组搜索</li>
# <li>HostIP- string - 是否必填:否 - 主机ip搜索</li>
# <li>HostID- string - 是否必填:否 - 主机id搜索</li>
# <li>DockerVersion- string - 是否必填:否 - docker版本搜索</li>
+ # <li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),"TENCENTCLOUD":"腾讯云服务器","OTHERCLOUD":"非腾讯云服务器"</li>
# @type Filters: Array
# @param By: 排序字段
# @type By: String
# @param Order: 排序方式 asc,desc
# @type Order: String
@@ -8349,11 +8366,11 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type StartTime: String
# @param EndTime: 专业版结束时间,补充购买时才不为空
# 注意:此字段可能返回 null,表示取不到有效值。
# @type EndTime: String
- # @param CoresCnt: 需购买的虚拟机核数
+ # @param CoresCnt: 需购买的机器核数
# @type CoresCnt: Integer
# @param MaxPostPayCoresCnt: 弹性计费上限
# @type MaxPostPayCoresCnt: Integer
# @param ResourceId: 资源ID
# 注意:此字段可能返回 null,表示取不到有效值。
@@ -10402,11 +10419,11 @@
# 容器安全主机列表
class HostInfo < TencentCloud::Common::AbstractModel
# @param HostID: 主机id
# @type HostID: String
- # @param HostIP: 主机ip
+ # @param HostIP: 主机ip即内网ip
# @type HostIP: String
# @param HostName: 主机名称
# @type HostName: String
# @param Group: 业务组
# @type Group: String
@@ -10416,25 +10433,37 @@
# @type DockerFileSystemDriver: String
# @param ImageCnt: 镜像个数
# @type ImageCnt: Integer
# @param ContainerCnt: 容器个数
# @type ContainerCnt: Integer
- # @param Status: 主机运行状态
+ # @param Status: agent运行状态
# @type Status: String
+ # @param IsContainerd: 是否是Containerd
+ # @type IsContainerd: Boolean
+ # @param MachineType: 主机来源
+ # @type MachineType: String
+ # @param PublicIp: 外网ip
+ # @type PublicIp: String
+ # @param Uuid: 主机uuid
+ # @type Uuid: String
- attr_accessor :HostID, :HostIP, :HostName, :Group, :DockerVersion, :DockerFileSystemDriver, :ImageCnt, :ContainerCnt, :Status
+ attr_accessor :HostID, :HostIP, :HostName, :Group, :DockerVersion, :DockerFileSystemDriver, :ImageCnt, :ContainerCnt, :Status, :IsContainerd, :MachineType, :PublicIp, :Uuid
- def initialize(hostid=nil, hostip=nil, hostname=nil, group=nil, dockerversion=nil, dockerfilesystemdriver=nil, imagecnt=nil, containercnt=nil, status=nil)
+ def initialize(hostid=nil, hostip=nil, hostname=nil, group=nil, dockerversion=nil, dockerfilesystemdriver=nil, imagecnt=nil, containercnt=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, uuid=nil)
@HostID = hostid
@HostIP = hostip
@HostName = hostname
@Group = group
@DockerVersion = dockerversion
@DockerFileSystemDriver = dockerfilesystemdriver
@ImageCnt = imagecnt
@ContainerCnt = containercnt
@Status = status
+ @IsContainerd = iscontainerd
+ @MachineType = machinetype
+ @PublicIp = publicip
+ @Uuid = uuid
end
def deserialize(params)
@HostID = params['HostID']
@HostIP = params['HostIP']
@@ -10443,10 +10472,14 @@
@DockerVersion = params['DockerVersion']
@DockerFileSystemDriver = params['DockerFileSystemDriver']
@ImageCnt = params['ImageCnt']
@ContainerCnt = params['ContainerCnt']
@Status = params['Status']
+ @IsContainerd = params['IsContainerd']
+ @MachineType = params['MachineType']
+ @PublicIp = params['PublicIp']
+ @Uuid = params['Uuid']
end
end
# 容器安全 主机镜像关联列表
class ImageHost < TencentCloud::Common::AbstractModel
@@ -11993,14 +12026,18 @@
# @type ListenContainer: String
# @param ListenHost: 容器外监听地址
# @type ListenHost: String
# @param RunAs: 运行账号
# @type RunAs: String
+ # @param HostName: 主机名称
+ # @type HostName: String
+ # @param PublicIp: 外网ip
+ # @type PublicIp: String
- attr_accessor :Type, :PublicIP, :PublicPort, :ContainerPort, :ContainerPID, :ContainerName, :HostID, :HostIP, :ProcessName, :ListenContainer, :ListenHost, :RunAs
+ attr_accessor :Type, :PublicIP, :PublicPort, :ContainerPort, :ContainerPID, :ContainerName, :HostID, :HostIP, :ProcessName, :ListenContainer, :ListenHost, :RunAs, :HostName, :PublicIp
- def initialize(type=nil, publicip=nil, publicport=nil, containerport=nil, containerpid=nil, containername=nil, hostid=nil, hostip=nil, processname=nil, listencontainer=nil, listenhost=nil, runas=nil)
+ def initialize(type=nil, publicip=nil, publicport=nil, containerport=nil, containerpid=nil, containername=nil, hostid=nil, hostip=nil, processname=nil, listencontainer=nil, listenhost=nil, runas=nil, hostname=nil, publicip=nil)
@Type = type
@PublicIP = publicip
@PublicPort = publicport
@ContainerPort = containerport
@ContainerPID = containerpid
@@ -12009,10 +12046,12 @@
@HostIP = hostip
@ProcessName = processname
@ListenContainer = listencontainer
@ListenHost = listenhost
@RunAs = runas
+ @HostName = hostname
+ @PublicIp = publicip
end
def deserialize(params)
@Type = params['Type']
@PublicIP = params['PublicIP']
@@ -12024,10 +12063,12 @@
@HostIP = params['HostIP']
@ProcessName = params['ProcessName']
@ListenContainer = params['ListenContainer']
@ListenHost = params['ListenHost']
@RunAs = params['RunAs']
+ @HostName = params['HostName']
+ @PublicIp = params['PublicIp']
end
end
# 运行是安全详情,进程基础信息
class ProcessDetailBaseInfo < TencentCloud::Common::AbstractModel
@@ -12133,24 +12174,30 @@
# @type HostID: String
# @param HostIP: 主机ip
# @type HostIP: String
# @param ProcessName: 进程名称
# @type ProcessName: String
+ # @param HostName: 主机名称
+ # @type HostName: String
+ # @param PublicIp: 外网ip
+ # @type PublicIp: String
- attr_accessor :StartTime, :RunAs, :CmdLine, :Exe, :PID, :ContainerPID, :ContainerName, :HostID, :HostIP, :ProcessName
+ attr_accessor :StartTime, :RunAs, :CmdLine, :Exe, :PID, :ContainerPID, :ContainerName, :HostID, :HostIP, :ProcessName, :HostName, :PublicIp
- def initialize(starttime=nil, runas=nil, cmdline=nil, exe=nil, pid=nil, containerpid=nil, containername=nil, hostid=nil, hostip=nil, processname=nil)
+ def initialize(starttime=nil, runas=nil, cmdline=nil, exe=nil, pid=nil, containerpid=nil, containername=nil, hostid=nil, hostip=nil, processname=nil, hostname=nil, publicip=nil)
@StartTime = starttime
@RunAs = runas
@CmdLine = cmdline
@Exe = exe
@PID = pid
@ContainerPID = containerpid
@ContainerName = containername
@HostID = hostid
@HostIP = hostip
@ProcessName = processname
+ @HostName = hostname
+ @PublicIp = publicip
end
def deserialize(params)
@StartTime = params['StartTime']
@RunAs = params['RunAs']
@@ -12160,10 +12207,12 @@
@ContainerPID = params['ContainerPID']
@ContainerName = params['ContainerName']
@HostID = params['HostID']
@HostIP = params['HostIP']
@ProcessName = params['ProcessName']
+ @HostName = params['HostName']
+ @PublicIp = params['PublicIp']
end
end
# RemoveAssetImageRegistryRegistryDetail请求参数结构体
class RemoveAssetImageRegistryRegistryDetailRequest < TencentCloud::Common::AbstractModel
@@ -13019,14 +13068,18 @@
# @type Exe: String
# @param Parameter: 服务命令行参数
# @type Parameter: String
# @param ContainerId: 容器id
# @type ContainerId: String
+ # @param HostName: 主机名称
+ # @type HostName: String
+ # @param PublicIp: 外网ip
+ # @type PublicIp: String
- attr_accessor :ServiceID, :HostID, :HostIP, :ContainerName, :Type, :Version, :RunAs, :Listen, :Config, :ProcessCnt, :AccessLog, :ErrorLog, :DataPath, :WebRoot, :Pids, :MainType, :Exe, :Parameter, :ContainerId
+ attr_accessor :ServiceID, :HostID, :HostIP, :ContainerName, :Type, :Version, :RunAs, :Listen, :Config, :ProcessCnt, :AccessLog, :ErrorLog, :DataPath, :WebRoot, :Pids, :MainType, :Exe, :Parameter, :ContainerId, :HostName, :PublicIp
- def initialize(serviceid=nil, hostid=nil, hostip=nil, containername=nil, type=nil, version=nil, runas=nil, listen=nil, config=nil, processcnt=nil, accesslog=nil, errorlog=nil, datapath=nil, webroot=nil, pids=nil, maintype=nil, exe=nil, parameter=nil, containerid=nil)
+ def initialize(serviceid=nil, hostid=nil, hostip=nil, containername=nil, type=nil, version=nil, runas=nil, listen=nil, config=nil, processcnt=nil, accesslog=nil, errorlog=nil, datapath=nil, webroot=nil, pids=nil, maintype=nil, exe=nil, parameter=nil, containerid=nil, hostname=nil, publicip=nil)
@ServiceID = serviceid
@HostID = hostid
@HostIP = hostip
@ContainerName = containername
@Type = type
@@ -13042,10 +13095,12 @@
@Pids = pids
@MainType = maintype
@Exe = exe
@Parameter = parameter
@ContainerId = containerid
+ @HostName = hostname
+ @PublicIp = publicip
end
def deserialize(params)
@ServiceID = params['ServiceID']
@HostID = params['HostID']
@@ -13064,10 +13119,12 @@
@Pids = params['Pids']
@MainType = params['MainType']
@Exe = params['Exe']
@Parameter = params['Parameter']
@ContainerId = params['ContainerId']
+ @HostName = params['HostName']
+ @PublicIp = params['PublicIp']
end
end
# SetCheckMode请求参数结构体
class SetCheckModeRequest < TencentCloud::Common::AbstractModel
@@ -13093,10 +13150,10 @@
end
end
# SetCheckMode返回参数结构体
class SetCheckModeResponse < TencentCloud::Common::AbstractModel
- # @param SetCheckResult: “Succ"表示设置成功,"Failed"表示设置失败
+ # @param SetCheckResult: "Succ"表示设置成功,"Failed"表示设置失败
# @type SetCheckResult: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :SetCheckResult, :RequestId