tencentcloud-sdk-cwp 3.0.570 → 3.0.571
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180228/client.rb +72 -0
- data/lib/v20180228/models.rb +148 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af10ae98757e81e777dd0ff6e4977fa93ff2aac8
|
4
|
+
data.tar.gz: 3be851548ee54918fb154fcf4a0832180456bb75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33430670b5db53be546c2277f79ea6ace64b8367643738a29d18d4d9eedaf832bfd45b2cbba2dd5392e7846202a1d89914ad944053668570f408112af6c34d26
|
7
|
+
data.tar.gz: d0842c0e0a69504ef01c7cf334f8d1b50ec86d0c863ef994571ef5aba04aae78d4a5560c2d3b67d5f8b3320c2c93dbe52c164eee265ae7dfd09da377291142ab
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.571
|
data/lib/v20180228/client.rb
CHANGED
@@ -3248,6 +3248,54 @@ module TencentCloud
|
|
3248
3248
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3249
3249
|
end
|
3250
3250
|
|
3251
|
+
# 获取日志存储配置
|
3252
|
+
|
3253
|
+
# @param request: Request instance for DescribeLogStorageConfig.
|
3254
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeLogStorageConfigRequest`
|
3255
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeLogStorageConfigResponse`
|
3256
|
+
def DescribeLogStorageConfig(request)
|
3257
|
+
body = send_request('DescribeLogStorageConfig', request.serialize)
|
3258
|
+
response = JSON.parse(body)
|
3259
|
+
if response['Response'].key?('Error') == false
|
3260
|
+
model = DescribeLogStorageConfigResponse.new
|
3261
|
+
model.deserialize(response['Response'])
|
3262
|
+
model
|
3263
|
+
else
|
3264
|
+
code = response['Response']['Error']['Code']
|
3265
|
+
message = response['Response']['Error']['Message']
|
3266
|
+
reqid = response['Response']['RequestId']
|
3267
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3268
|
+
end
|
3269
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3270
|
+
raise e
|
3271
|
+
rescue StandardError => e
|
3272
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3273
|
+
end
|
3274
|
+
|
3275
|
+
# 获取日志存储量记录
|
3276
|
+
|
3277
|
+
# @param request: Request instance for DescribeLogStorageRecord.
|
3278
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeLogStorageRecordRequest`
|
3279
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeLogStorageRecordResponse`
|
3280
|
+
def DescribeLogStorageRecord(request)
|
3281
|
+
body = send_request('DescribeLogStorageRecord', request.serialize)
|
3282
|
+
response = JSON.parse(body)
|
3283
|
+
if response['Response'].key?('Error') == false
|
3284
|
+
model = DescribeLogStorageRecordResponse.new
|
3285
|
+
model.deserialize(response['Response'])
|
3286
|
+
model
|
3287
|
+
else
|
3288
|
+
code = response['Response']['Error']['Code']
|
3289
|
+
message = response['Response']['Error']['Message']
|
3290
|
+
reqid = response['Response']['RequestId']
|
3291
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3292
|
+
end
|
3293
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3294
|
+
raise e
|
3295
|
+
rescue StandardError => e
|
3296
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3297
|
+
end
|
3298
|
+
|
3251
3299
|
# 获取日志检索容量使用统计
|
3252
3300
|
|
3253
3301
|
# @param request: Request instance for DescribeLogStorageStatistic.
|
@@ -5986,6 +6034,30 @@ module TencentCloud
|
|
5986
6034
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5987
6035
|
end
|
5988
6036
|
|
6037
|
+
# 修改日志存储配置
|
6038
|
+
|
6039
|
+
# @param request: Request instance for ModifyLogStorageConfig.
|
6040
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::ModifyLogStorageConfigRequest`
|
6041
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::ModifyLogStorageConfigResponse`
|
6042
|
+
def ModifyLogStorageConfig(request)
|
6043
|
+
body = send_request('ModifyLogStorageConfig', request.serialize)
|
6044
|
+
response = JSON.parse(body)
|
6045
|
+
if response['Response'].key?('Error') == false
|
6046
|
+
model = ModifyLogStorageConfigResponse.new
|
6047
|
+
model.deserialize(response['Response'])
|
6048
|
+
model
|
6049
|
+
else
|
6050
|
+
code = response['Response']['Error']['Code']
|
6051
|
+
message = response['Response']['Error']['Message']
|
6052
|
+
reqid = response['Response']['RequestId']
|
6053
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
6054
|
+
end
|
6055
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
6056
|
+
raise e
|
6057
|
+
rescue StandardError => e
|
6058
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6059
|
+
end
|
6060
|
+
|
5989
6061
|
# 修改主机备注信息
|
5990
6062
|
|
5991
6063
|
# @param request: Request instance for ModifyMachineRemark.
|
data/lib/v20180228/models.rb
CHANGED
@@ -12364,6 +12364,87 @@ module TencentCloud
|
|
12364
12364
|
end
|
12365
12365
|
end
|
12366
12366
|
|
12367
|
+
# DescribeLogStorageConfig请求参数结构体
|
12368
|
+
class DescribeLogStorageConfigRequest < TencentCloud::Common::AbstractModel
|
12369
|
+
|
12370
|
+
|
12371
|
+
def initialize()
|
12372
|
+
end
|
12373
|
+
|
12374
|
+
def deserialize(params)
|
12375
|
+
end
|
12376
|
+
end
|
12377
|
+
|
12378
|
+
# DescribeLogStorageConfig返回参数结构体
|
12379
|
+
class DescribeLogStorageConfigResponse < TencentCloud::Common::AbstractModel
|
12380
|
+
# @param Type: 存储类型,string数组
|
12381
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12382
|
+
# @type Type: Array
|
12383
|
+
# @param Period: 日志存储天数,3640表示不限
|
12384
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12385
|
+
# @type Period: Integer
|
12386
|
+
# @param PeriodModifyCount: 本月Period的修改次数
|
12387
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12388
|
+
# @type PeriodModifyCount: Integer
|
12389
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
12390
|
+
# @type RequestId: String
|
12391
|
+
|
12392
|
+
attr_accessor :Type, :Period, :PeriodModifyCount, :RequestId
|
12393
|
+
|
12394
|
+
def initialize(type=nil, period=nil, periodmodifycount=nil, requestid=nil)
|
12395
|
+
@Type = type
|
12396
|
+
@Period = period
|
12397
|
+
@PeriodModifyCount = periodmodifycount
|
12398
|
+
@RequestId = requestid
|
12399
|
+
end
|
12400
|
+
|
12401
|
+
def deserialize(params)
|
12402
|
+
@Type = params['Type']
|
12403
|
+
@Period = params['Period']
|
12404
|
+
@PeriodModifyCount = params['PeriodModifyCount']
|
12405
|
+
@RequestId = params['RequestId']
|
12406
|
+
end
|
12407
|
+
end
|
12408
|
+
|
12409
|
+
# DescribeLogStorageRecord请求参数结构体
|
12410
|
+
class DescribeLogStorageRecordRequest < TencentCloud::Common::AbstractModel
|
12411
|
+
|
12412
|
+
|
12413
|
+
def initialize()
|
12414
|
+
end
|
12415
|
+
|
12416
|
+
def deserialize(params)
|
12417
|
+
end
|
12418
|
+
end
|
12419
|
+
|
12420
|
+
# DescribeLogStorageRecord返回参数结构体
|
12421
|
+
class DescribeLogStorageRecordResponse < TencentCloud::Common::AbstractModel
|
12422
|
+
# @param Records: 存储量记录
|
12423
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12424
|
+
# @type Records: Array
|
12425
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
12426
|
+
# @type RequestId: String
|
12427
|
+
|
12428
|
+
attr_accessor :Records, :RequestId
|
12429
|
+
|
12430
|
+
def initialize(records=nil, requestid=nil)
|
12431
|
+
@Records = records
|
12432
|
+
@RequestId = requestid
|
12433
|
+
end
|
12434
|
+
|
12435
|
+
def deserialize(params)
|
12436
|
+
unless params['Records'].nil?
|
12437
|
+
@Records = []
|
12438
|
+
params['Records'].each do |i|
|
12439
|
+
logstoragerecord_tmp = LogStorageRecord.new
|
12440
|
+
logstoragerecord_tmp.deserialize(i)
|
12441
|
+
@Records << logstoragerecord_tmp
|
12442
|
+
end
|
12443
|
+
end
|
12444
|
+
@RequestId = params['RequestId']
|
12445
|
+
end
|
12446
|
+
end
|
12447
|
+
|
12367
12448
|
# DescribeLogStorageStatistic请求参数结构体
|
12368
12449
|
class DescribeLogStorageStatisticRequest < TencentCloud::Common::AbstractModel
|
12369
12450
|
|
@@ -19640,6 +19721,33 @@ module TencentCloud
|
|
19640
19721
|
end
|
19641
19722
|
end
|
19642
19723
|
|
19724
|
+
# 日志存储量记录
|
19725
|
+
class LogStorageRecord < TencentCloud::Common::AbstractModel
|
19726
|
+
# @param Month: 年月份
|
19727
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19728
|
+
# @type Month: String
|
19729
|
+
# @param UsedSize: 存储量,字节
|
19730
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19731
|
+
# @type UsedSize: Integer
|
19732
|
+
# @param InquireSize: 总量,字节
|
19733
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19734
|
+
# @type InquireSize: Integer
|
19735
|
+
|
19736
|
+
attr_accessor :Month, :UsedSize, :InquireSize
|
19737
|
+
|
19738
|
+
def initialize(month=nil, usedsize=nil, inquiresize=nil)
|
19739
|
+
@Month = month
|
19740
|
+
@UsedSize = usedsize
|
19741
|
+
@InquireSize = inquiresize
|
19742
|
+
end
|
19743
|
+
|
19744
|
+
def deserialize(params)
|
19745
|
+
@Month = params['Month']
|
19746
|
+
@UsedSize = params['UsedSize']
|
19747
|
+
@InquireSize = params['InquireSize']
|
19748
|
+
end
|
19749
|
+
end
|
19750
|
+
|
19643
19751
|
# 异地登录合并后白名单
|
19644
19752
|
class LoginWhiteCombinedInfo < TencentCloud::Common::AbstractModel
|
19645
19753
|
# @param Places: 白名单地域
|
@@ -20827,6 +20935,46 @@ module TencentCloud
|
|
20827
20935
|
end
|
20828
20936
|
end
|
20829
20937
|
|
20938
|
+
# ModifyLogStorageConfig请求参数结构体
|
20939
|
+
class ModifyLogStorageConfigRequest < TencentCloud::Common::AbstractModel
|
20940
|
+
# @param IsModifyPeriod: 是否修改有效期
|
20941
|
+
# @type IsModifyPeriod: Boolean
|
20942
|
+
# @param Type: 存储类型,string数组
|
20943
|
+
# @type Type: Array
|
20944
|
+
# @param Period: 日志存储天数,3640表示不限
|
20945
|
+
# @type Period: Integer
|
20946
|
+
|
20947
|
+
attr_accessor :IsModifyPeriod, :Type, :Period
|
20948
|
+
|
20949
|
+
def initialize(ismodifyperiod=nil, type=nil, period=nil)
|
20950
|
+
@IsModifyPeriod = ismodifyperiod
|
20951
|
+
@Type = type
|
20952
|
+
@Period = period
|
20953
|
+
end
|
20954
|
+
|
20955
|
+
def deserialize(params)
|
20956
|
+
@IsModifyPeriod = params['IsModifyPeriod']
|
20957
|
+
@Type = params['Type']
|
20958
|
+
@Period = params['Period']
|
20959
|
+
end
|
20960
|
+
end
|
20961
|
+
|
20962
|
+
# ModifyLogStorageConfig返回参数结构体
|
20963
|
+
class ModifyLogStorageConfigResponse < TencentCloud::Common::AbstractModel
|
20964
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
20965
|
+
# @type RequestId: String
|
20966
|
+
|
20967
|
+
attr_accessor :RequestId
|
20968
|
+
|
20969
|
+
def initialize(requestid=nil)
|
20970
|
+
@RequestId = requestid
|
20971
|
+
end
|
20972
|
+
|
20973
|
+
def deserialize(params)
|
20974
|
+
@RequestId = params['RequestId']
|
20975
|
+
end
|
20976
|
+
end
|
20977
|
+
|
20830
20978
|
# ModifyMachineRemark请求参数结构体
|
20831
20979
|
class ModifyMachineRemarkRequest < TencentCloud::Common::AbstractModel
|
20832
20980
|
# @param Quuid: 主机Quuid
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cwp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.571
|
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-05-
|
11
|
+
date: 2023-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|