lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.622 vs lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.623

- old
+ new

@@ -972,24 +972,27 @@ # @type RegistryRegion: String # @param SpeedLimit: 限速 # @type SpeedLimit: Integer # @param Insecure: 安全模式(证书校验):0(默认) 非安全模式(跳过证书校验):1 # @type Insecure: Integer + # @param ConnDetectConfig: 联通性检测的记录ID + # @type ConnDetectConfig: Array - attr_accessor :Name, :Username, :Password, :Url, :RegistryType, :NetType, :RegistryVersion, :RegistryRegion, :SpeedLimit, :Insecure + attr_accessor :Name, :Username, :Password, :Url, :RegistryType, :NetType, :RegistryVersion, :RegistryRegion, :SpeedLimit, :Insecure, :ConnDetectConfig - def initialize(name=nil, username=nil, password=nil, url=nil, registrytype=nil, nettype=nil, registryversion=nil, registryregion=nil, speedlimit=nil, insecure=nil) + def initialize(name=nil, username=nil, password=nil, url=nil, registrytype=nil, nettype=nil, registryversion=nil, registryregion=nil, speedlimit=nil, insecure=nil, conndetectconfig=nil) @Name = name @Username = username @Password = password @Url = url @RegistryType = registrytype @NetType = nettype @RegistryVersion = registryversion @RegistryRegion = registryregion @SpeedLimit = speedlimit @Insecure = insecure + @ConnDetectConfig = conndetectconfig end def deserialize(params) @Name = params['Name'] @Username = params['Username'] @@ -999,10 +1002,18 @@ @NetType = params['NetType'] @RegistryVersion = params['RegistryVersion'] @RegistryRegion = params['RegistryRegion'] @SpeedLimit = params['SpeedLimit'] @Insecure = params['Insecure'] + unless params['ConnDetectConfig'].nil? + @ConnDetectConfig = [] + params['ConnDetectConfig'].each do |i| + conndetectconfig_tmp = ConnDetectConfig.new + conndetectconfig_tmp.deserialize(i) + @ConnDetectConfig << conndetectconfig_tmp + end + end end end # AddAssetImageRegistryRegistryDetail返回参数结构体 class AddAssetImageRegistryRegistryDetailResponse < TencentCloud::Common::AbstractModel @@ -3450,10 +3461,30 @@ @Result = params['Result'] @RequestId = params['RequestId'] end end + # 联通性检测配置 + class ConnDetectConfig < TencentCloud::Common::AbstractModel + # @param Quuid: 主机quuid + # @type Quuid: String + # @param Uuid: 主机uuid + # @type Uuid: String + + attr_accessor :Quuid, :Uuid + + def initialize(quuid=nil, uuid=nil) + @Quuid = quuid + @Uuid = uuid + end + + def deserialize(params) + @Quuid = params['Quuid'] + @Uuid = params['Uuid'] + end + end + # 容器列表集合 class ContainerInfo < TencentCloud::Common::AbstractModel # @param ContainerID: 容器id # @type ContainerID: String # @param ContainerName: 容器名称 @@ -3817,20 +3848,24 @@ end end # CreateAssetImageRegistryScanTaskOneKey返回参数结构体 class CreateAssetImageRegistryScanTaskOneKeyResponse < TencentCloud::Common::AbstractModel + # @param TaskID: 扫描任务id + # @type TaskID: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :RequestId + attr_accessor :TaskID, :RequestId - def initialize(requestid=nil) + def initialize(taskid=nil, requestid=nil) + @TaskID = taskid @RequestId = requestid end def deserialize(params) + @TaskID = params['TaskID'] @RequestId = params['RequestId'] end end # CreateAssetImageRegistryScanTask请求参数结构体 @@ -3887,20 +3922,24 @@ end end # CreateAssetImageRegistryScanTask返回参数结构体 class CreateAssetImageRegistryScanTaskResponse < TencentCloud::Common::AbstractModel + # @param TaskID: 返回的任务ID + # @type TaskID: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :RequestId + attr_accessor :TaskID, :RequestId - def initialize(requestid=nil) + def initialize(taskid=nil, requestid=nil) + @TaskID = taskid @RequestId = requestid end def deserialize(params) + @TaskID = params['TaskID'] @RequestId = params['RequestId'] end end # CreateAssetImageScanSetting请求参数结构体 @@ -9347,37 +9386,43 @@ # @param RegistryType: 仓库类型,列表:harbor # @type RegistryType: String # @param RegistryVersion: 仓库版本 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RegistryVersion: String - # @param NetType: 网络类型,列表:public(公网) + # @param NetType: 网络类型,列表:public(公网),private(私网) # @type NetType: String # @param RegistryRegion: 区域,列表:default(默认) # 注意:此字段可能返回 null,表示取不到有效值。 # @type RegistryRegion: String # @param SpeedLimit: 限速 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SpeedLimit: Integer # @param Insecure: 安全模式(证书校验):0(默认) 非安全模式(跳过证书校验):1 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Insecure: Integer + # @param ConnDetectDetail: 联通性检测结果详情 + # @type ConnDetectDetail: Array + # @param InstanceID: tcr情况下instance_id + # @type InstanceID: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :Name, :Username, :Password, :Url, :RegistryType, :RegistryVersion, :NetType, :RegistryRegion, :SpeedLimit, :Insecure, :RequestId + attr_accessor :Name, :Username, :Password, :Url, :RegistryType, :RegistryVersion, :NetType, :RegistryRegion, :SpeedLimit, :Insecure, :ConnDetectDetail, :InstanceID, :RequestId - def initialize(name=nil, username=nil, password=nil, url=nil, registrytype=nil, registryversion=nil, nettype=nil, registryregion=nil, speedlimit=nil, insecure=nil, requestid=nil) + def initialize(name=nil, username=nil, password=nil, url=nil, registrytype=nil, registryversion=nil, nettype=nil, registryregion=nil, speedlimit=nil, insecure=nil, conndetectdetail=nil, instanceid=nil, requestid=nil) @Name = name @Username = username @Password = password @Url = url @RegistryType = registrytype @RegistryVersion = registryversion @NetType = nettype @RegistryRegion = registryregion @SpeedLimit = speedlimit @Insecure = insecure + @ConnDetectDetail = conndetectdetail + @InstanceID = instanceid @RequestId = requestid end def deserialize(params) @Name = params['Name'] @@ -9388,10 +9433,19 @@ @RegistryVersion = params['RegistryVersion'] @NetType = params['NetType'] @RegistryRegion = params['RegistryRegion'] @SpeedLimit = params['SpeedLimit'] @Insecure = params['Insecure'] + unless params['ConnDetectDetail'].nil? + @ConnDetectDetail = [] + params['ConnDetectDetail'].each do |i| + registryconndetectresult_tmp = RegistryConnDetectResult.new + registryconndetectresult_tmp.deserialize(i) + @ConnDetectDetail << registryconndetectresult_tmp + end + end + @InstanceID = params['InstanceID'] @RequestId = params['RequestId'] end end # DescribeAssetImageRegistryRegistryList请求参数结构体 @@ -9581,17 +9635,20 @@ # @type Images: Array # @param All: 是否获取全部镜像 # @type All: Boolean # @param Id: 需要获取进度的镜像列表Id # @type Id: Array + # @param TaskID: 获取进度的任务ID + # @type TaskID: Integer - attr_accessor :Images, :All, :Id + attr_accessor :Images, :All, :Id, :TaskID - def initialize(images=nil, all=nil, id=nil) + def initialize(images=nil, all=nil, id=nil, taskid=nil) @Images = images @All = all @Id = id + @TaskID = taskid end def deserialize(params) unless params['Images'].nil? @Images = [] @@ -9601,10 +9658,11 @@ @Images << imageinfo_tmp end end @All = params['All'] @Id = params['Id'] + @TaskID = params['TaskID'] end end # DescribeAssetImageRegistryScanStatusOneKey返回参数结构体 class DescribeAssetImageRegistryScanStatusOneKeyResponse < TencentCloud::Common::AbstractModel @@ -21896,17 +21954,20 @@ # @type All: Boolean # @param Images: 扫描的镜像列表 # @type Images: Array # @param Id: 扫描的镜像列表Id # @type Id: Array + # @param TaskID: 停止的任务ID + # @type TaskID: Integer - attr_accessor :All, :Images, :Id + attr_accessor :All, :Images, :Id, :TaskID - def initialize(all=nil, images=nil, id=nil) + def initialize(all=nil, images=nil, id=nil, taskid=nil) @All = all @Images = images @Id = id + @TaskID = taskid end def deserialize(params) @All = params['All'] unless params['Images'].nil? @@ -21916,10 +21977,11 @@ imageinfo_tmp.deserialize(i) @Images << imageinfo_tmp end end @Id = params['Id'] + @TaskID = params['TaskID'] end end # ModifyAssetImageRegistryScanStopOneKey返回参数结构体 class ModifyAssetImageRegistryScanStopOneKeyResponse < TencentCloud::Common::AbstractModel @@ -21949,20 +22011,23 @@ # @type Filters: Array # @param ExcludeImageList: 不要扫描的镜像列表,与Filters配合使用 # @type ExcludeImageList: Array # @param OnlyScanLatest: 是否仅扫描各repository最新版本的镜像 # @type OnlyScanLatest: Boolean + # @param TaskID: 停止的任务ID + # @type TaskID: Integer - attr_accessor :All, :Images, :Id, :Filters, :ExcludeImageList, :OnlyScanLatest + attr_accessor :All, :Images, :Id, :Filters, :ExcludeImageList, :OnlyScanLatest, :TaskID - def initialize(all=nil, images=nil, id=nil, filters=nil, excludeimagelist=nil, onlyscanlatest=nil) + def initialize(all=nil, images=nil, id=nil, filters=nil, excludeimagelist=nil, onlyscanlatest=nil, taskid=nil) @All = all @Images = images @Id = id @Filters = filters @ExcludeImageList = excludeimagelist @OnlyScanLatest = onlyscanlatest + @TaskID = taskid end def deserialize(params) @All = params['All'] unless params['Images'].nil? @@ -21982,10 +22047,11 @@ @Filters << assetfilters_tmp end end @ExcludeImageList = params['ExcludeImageList'] @OnlyScanLatest = params['OnlyScanLatest'] + @TaskID = params['TaskID'] end end # ModifyAssetImageRegistryScanStop返回参数结构体 class ModifyAssetImageRegistryScanStopResponse < TencentCloud::Common::AbstractModel @@ -24085,10 +24151,46 @@ @Region = params['Region'] @RegionName = params['RegionName'] end end + # 镜像仓库联通性检测结果 + class RegistryConnDetectResult < TencentCloud::Common::AbstractModel + # @param Quuid: 联通性检测的主机quuid 或者 backend + # @type Quuid: String + # @param Uuid: 联通性检测的主机uuid 或者 backend + # @type Uuid: String + # @param ConnDetectStatus: 检测结果状态 + # @type ConnDetectStatus: String + # @param ConnDetectMessage: 检测结果信息 + # @type ConnDetectMessage: String + # @param Solution: 失败的解决方案 + # @type Solution: String + # @param FailReason: 失败原因 + # @type FailReason: String + + attr_accessor :Quuid, :Uuid, :ConnDetectStatus, :ConnDetectMessage, :Solution, :FailReason + + def initialize(quuid=nil, uuid=nil, conndetectstatus=nil, conndetectmessage=nil, solution=nil, failreason=nil) + @Quuid = quuid + @Uuid = uuid + @ConnDetectStatus = conndetectstatus + @ConnDetectMessage = conndetectmessage + @Solution = solution + @FailReason = failreason + end + + def deserialize(params) + @Quuid = params['Quuid'] + @Uuid = params['Uuid'] + @ConnDetectStatus = params['ConnDetectStatus'] + @ConnDetectMessage = params['ConnDetectMessage'] + @Solution = params['Solution'] + @FailReason = params['FailReason'] + end + end + # RemoveAssetImageRegistryRegistryDetail请求参数结构体 class RemoveAssetImageRegistryRegistryDetailRequest < TencentCloud::Common::AbstractModel # @param RegistryId: 仓库唯一id # @type RegistryId: Integer @@ -25972,24 +26074,27 @@ # @type RegistryRegion: String # @param SpeedLimit: 限速 # @type SpeedLimit: Integer # @param Insecure: 安全模式(证书校验):0(默认) 非安全模式(跳过证书校验):1 # @type Insecure: Integer + # @param ConnDetectConfig: 联通性检测的配置 + # @type ConnDetectConfig: Array - attr_accessor :Name, :Username, :Password, :Url, :RegistryType, :NetType, :RegistryVersion, :RegistryRegion, :SpeedLimit, :Insecure + attr_accessor :Name, :Username, :Password, :Url, :RegistryType, :NetType, :RegistryVersion, :RegistryRegion, :SpeedLimit, :Insecure, :ConnDetectConfig - def initialize(name=nil, username=nil, password=nil, url=nil, registrytype=nil, nettype=nil, registryversion=nil, registryregion=nil, speedlimit=nil, insecure=nil) + def initialize(name=nil, username=nil, password=nil, url=nil, registrytype=nil, nettype=nil, registryversion=nil, registryregion=nil, speedlimit=nil, insecure=nil, conndetectconfig=nil) @Name = name @Username = username @Password = password @Url = url @RegistryType = registrytype @NetType = nettype @RegistryVersion = registryversion @RegistryRegion = registryregion @SpeedLimit = speedlimit @Insecure = insecure + @ConnDetectConfig = conndetectconfig end def deserialize(params) @Name = params['Name'] @Username = params['Username'] @@ -25999,9 +26104,17 @@ @NetType = params['NetType'] @RegistryVersion = params['RegistryVersion'] @RegistryRegion = params['RegistryRegion'] @SpeedLimit = params['SpeedLimit'] @Insecure = params['Insecure'] + unless params['ConnDetectConfig'].nil? + @ConnDetectConfig = [] + params['ConnDetectConfig'].each do |i| + conndetectconfig_tmp = ConnDetectConfig.new + conndetectconfig_tmp.deserialize(i) + @ConnDetectConfig << conndetectconfig_tmp + end + end end end # UpdateAssetImageRegistryRegistryDetail返回参数结构体 class UpdateAssetImageRegistryRegistryDetailResponse < TencentCloud::Common::AbstractModel