tencentcloud-sdk-csip 3.0.664 → 3.0.665

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8cfb9b20da530b47cdb8b11f489e3f7528ec9870
4
- data.tar.gz: 5ba29e3981757ea60b84624b9968d0fa91e99600
3
+ metadata.gz: 61423be339e8832ef6cc7ffb6591c5e46951ef1f
4
+ data.tar.gz: 741b271ea4d5f23e78acb8c4f172b0974dfa8d66
5
5
  SHA512:
6
- metadata.gz: fc9a721cecdf927d9d8a86fde07a937a848eff17b791dc69f6badb82dd96be30fe6ec98419d08b9628043b6c4ec07e110fa55f4ce533d5cb5726e8a1fe3dba70
7
- data.tar.gz: 493c554ea5b2cc08a42c785ec0141ae12757849e74b4e442890f622275fd58ba003527577ea50f838639620fb74d9b0fe13f8b073b89cc16c48b00d01d331152
6
+ metadata.gz: 5e503cf282cd47153f22c361a44fb32172bc61f4ecd50b75a4cacd5a3775d7ceb3127b59cf3087ae251de1e950076eb3f56b47db95aec69550d26fc93f02b025
7
+ data.tar.gz: 8c43ea3d32fc3f311a27b9274c98f34041b69b981a3affac54d724a2bbfb8a9f4b477ee521c3998c89cd1c034660c6643c56b304d62c2cd3dc8c07f18a37f936
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.664
1
+ 3.0.665
@@ -101,6 +101,54 @@ module TencentCloud
101
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
102
  end
103
103
 
104
+ # 删除域名和ip请求
105
+
106
+ # @param request: Request instance for DeleteDomainAndIp.
107
+ # @type request: :class:`Tencentcloud::csip::V20221121::DeleteDomainAndIpRequest`
108
+ # @rtype: :class:`Tencentcloud::csip::V20221121::DeleteDomainAndIpResponse`
109
+ def DeleteDomainAndIp(request)
110
+ body = send_request('DeleteDomainAndIp', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DeleteDomainAndIpResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
128
+ # 删除风险中心扫描任务
129
+
130
+ # @param request: Request instance for DeleteRiskScanTask.
131
+ # @type request: :class:`Tencentcloud::csip::V20221121::DeleteRiskScanTaskRequest`
132
+ # @rtype: :class:`Tencentcloud::csip::V20221121::DeleteRiskScanTaskResponse`
133
+ def DeleteRiskScanTask(request)
134
+ body = send_request('DeleteRiskScanTask', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = DeleteRiskScanTaskResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
104
152
  # cvm详情
105
153
 
106
154
  # @param request: Request instance for DescribeCVMAssetInfo.
@@ -509,6 +557,30 @@ module TencentCloud
509
557
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
558
  end
511
559
 
560
+ # 停止扫风险中心扫描任务
561
+
562
+ # @param request: Request instance for StopRiskCenterTask.
563
+ # @type request: :class:`Tencentcloud::csip::V20221121::StopRiskCenterTaskRequest`
564
+ # @rtype: :class:`Tencentcloud::csip::V20221121::StopRiskCenterTaskResponse`
565
+ def StopRiskCenterTask(request)
566
+ body = send_request('StopRiskCenterTask', request.serialize)
567
+ response = JSON.parse(body)
568
+ if response['Response'].key?('Error') == false
569
+ model = StopRiskCenterTaskResponse.new
570
+ model.deserialize(response['Response'])
571
+ model
572
+ else
573
+ code = response['Response']['Error']['Code']
574
+ message = response['Response']['Error']['Message']
575
+ reqid = response['Response']['RequestId']
576
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
577
+ end
578
+ rescue TencentCloud::Common::TencentCloudSDKException => e
579
+ raise e
580
+ rescue StandardError => e
581
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
+ end
583
+
512
584
 
513
585
  end
514
586
  end
@@ -1476,6 +1476,96 @@ module TencentCloud
1476
1476
  end
1477
1477
  end
1478
1478
 
1479
+ # DeleteDomainAndIp请求参数结构体
1480
+ class DeleteDomainAndIpRequest < TencentCloud::Common::AbstractModel
1481
+ # @param Content: -
1482
+ # @type Content: Array
1483
+ # @param RetainPath: 是否保留路径配置,1:保留,其他:不保留,默认不传为不保留
1484
+ # @type RetainPath: Integer
1485
+ # @param IgnoreAsset: 以后是否忽略该资产,,1:忽略,其他:不忽略,默认不传为忽略
1486
+ # @type IgnoreAsset: Integer
1487
+
1488
+ attr_accessor :Content, :RetainPath, :IgnoreAsset
1489
+
1490
+ def initialize(content=nil, retainpath=nil, ignoreasset=nil)
1491
+ @Content = content
1492
+ @RetainPath = retainpath
1493
+ @IgnoreAsset = ignoreasset
1494
+ end
1495
+
1496
+ def deserialize(params)
1497
+ unless params['Content'].nil?
1498
+ @Content = []
1499
+ params['Content'].each do |i|
1500
+ publicipdomainlistkey_tmp = PublicIpDomainListKey.new
1501
+ publicipdomainlistkey_tmp.deserialize(i)
1502
+ @Content << publicipdomainlistkey_tmp
1503
+ end
1504
+ end
1505
+ @RetainPath = params['RetainPath']
1506
+ @IgnoreAsset = params['IgnoreAsset']
1507
+ end
1508
+ end
1509
+
1510
+ # DeleteDomainAndIp返回参数结构体
1511
+ class DeleteDomainAndIpResponse < TencentCloud::Common::AbstractModel
1512
+ # @param Data: 删除的资产数量
1513
+ # @type Data: Integer
1514
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1515
+ # @type RequestId: String
1516
+
1517
+ attr_accessor :Data, :RequestId
1518
+
1519
+ def initialize(data=nil, requestid=nil)
1520
+ @Data = data
1521
+ @RequestId = requestid
1522
+ end
1523
+
1524
+ def deserialize(params)
1525
+ @Data = params['Data']
1526
+ @RequestId = params['RequestId']
1527
+ end
1528
+ end
1529
+
1530
+ # DeleteRiskScanTask请求参数结构体
1531
+ class DeleteRiskScanTaskRequest < TencentCloud::Common::AbstractModel
1532
+ # @param TaskIdList: 任务id 列表
1533
+ # @type TaskIdList: Array
1534
+
1535
+ attr_accessor :TaskIdList
1536
+
1537
+ def initialize(taskidlist=nil)
1538
+ @TaskIdList = taskidlist
1539
+ end
1540
+
1541
+ def deserialize(params)
1542
+ unless params['TaskIdList'].nil?
1543
+ @TaskIdList = []
1544
+ params['TaskIdList'].each do |i|
1545
+ taskidlistkey_tmp = TaskIdListKey.new
1546
+ taskidlistkey_tmp.deserialize(i)
1547
+ @TaskIdList << taskidlistkey_tmp
1548
+ end
1549
+ end
1550
+ end
1551
+ end
1552
+
1553
+ # DeleteRiskScanTask返回参数结构体
1554
+ class DeleteRiskScanTaskResponse < TencentCloud::Common::AbstractModel
1555
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1556
+ # @type RequestId: String
1557
+
1558
+ attr_accessor :RequestId
1559
+
1560
+ def initialize(requestid=nil)
1561
+ @RequestId = requestid
1562
+ end
1563
+
1564
+ def deserialize(params)
1565
+ @RequestId = params['RequestId']
1566
+ end
1567
+ end
1568
+
1479
1569
  # DescribeCVMAssetInfo请求参数结构体
1480
1570
  class DescribeCVMAssetInfoRequest < TencentCloud::Common::AbstractModel
1481
1571
  # @param AssetId: -
@@ -3335,6 +3425,22 @@ module TencentCloud
3335
3425
  end
3336
3426
  end
3337
3427
 
3428
+ # 公网IP和域名资产列表key
3429
+ class PublicIpDomainListKey < TencentCloud::Common::AbstractModel
3430
+ # @param Asset: 资产值
3431
+ # @type Asset: String
3432
+
3433
+ attr_accessor :Asset
3434
+
3435
+ def initialize(asset=nil)
3436
+ @Asset = asset
3437
+ end
3438
+
3439
+ def deserialize(params)
3440
+ @Asset = params['Asset']
3441
+ end
3442
+ end
3443
+
3338
3444
  # 报告项key
3339
3445
  class ReportItemKey < TencentCloud::Common::AbstractModel
3340
3446
  # @param TaskLogList: 日志Id列表
@@ -3637,6 +3743,49 @@ module TencentCloud
3637
3743
  end
3638
3744
  end
3639
3745
 
3746
+ # StopRiskCenterTask请求参数结构体
3747
+ class StopRiskCenterTaskRequest < TencentCloud::Common::AbstractModel
3748
+ # @param TaskIdList: 任务id 列表
3749
+ # @type TaskIdList: Array
3750
+
3751
+ attr_accessor :TaskIdList
3752
+
3753
+ def initialize(taskidlist=nil)
3754
+ @TaskIdList = taskidlist
3755
+ end
3756
+
3757
+ def deserialize(params)
3758
+ unless params['TaskIdList'].nil?
3759
+ @TaskIdList = []
3760
+ params['TaskIdList'].each do |i|
3761
+ taskidlistkey_tmp = TaskIdListKey.new
3762
+ taskidlistkey_tmp.deserialize(i)
3763
+ @TaskIdList << taskidlistkey_tmp
3764
+ end
3765
+ end
3766
+ end
3767
+ end
3768
+
3769
+ # StopRiskCenterTask返回参数结构体
3770
+ class StopRiskCenterTaskResponse < TencentCloud::Common::AbstractModel
3771
+ # @param Status: Status为0, 停止成功
3772
+ # @type Status: Integer
3773
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3774
+ # @type RequestId: String
3775
+
3776
+ attr_accessor :Status, :RequestId
3777
+
3778
+ def initialize(status=nil, requestid=nil)
3779
+ @Status = status
3780
+ @RequestId = requestid
3781
+ end
3782
+
3783
+ def deserialize(params)
3784
+ @Status = params['Status']
3785
+ @RequestId = params['RequestId']
3786
+ end
3787
+ end
3788
+
3640
3789
  # 子网资产
3641
3790
  class SubnetAsset < TencentCloud::Common::AbstractModel
3642
3791
  # @param AppId: appid
@@ -3900,6 +4049,22 @@ module TencentCloud
3900
4049
  end
3901
4050
  end
3902
4051
 
4052
+ # 任务ID列表Key
4053
+ class TaskIdListKey < TencentCloud::Common::AbstractModel
4054
+ # @param TaskId: 任务ID
4055
+ # @type TaskId: String
4056
+
4057
+ attr_accessor :TaskId
4058
+
4059
+ def initialize(taskid=nil)
4060
+ @TaskId = taskid
4061
+ end
4062
+
4063
+ def deserialize(params)
4064
+ @TaskId = params['TaskId']
4065
+ end
4066
+ end
4067
+
3903
4068
  # 任务报告信息
3904
4069
  class TaskLogInfo < TencentCloud::Common::AbstractModel
3905
4070
  # @param TaskLogName: 报告名称
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-csip
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.664
4
+ version: 3.0.665
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-21 00:00:00.000000000 Z
11
+ date: 2023-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common