tencentcloud-sdk-emr 3.0.1167 → 3.0.1173
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/v20190103/client.rb +24 -0
- data/lib/v20190103/models.rb +138 -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: bda727e061554b006df6c9f15b07f18e6115211c
|
|
4
|
+
data.tar.gz: d4b3e2632dc6a79b04d70bdbcc19906ebbbe15c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50ac175fb124624df9c522e87ea789ddf77666dc82c84580becd6ed2136c163a38b863e74b7b53b67be1bdb2aa9258d5ed646ad73871ac7d00d495a8c0080492
|
|
7
|
+
data.tar.gz: 05330f1ba99fc46922b222de46e605741cbd17bf65a9095e7a8569a0891458dbc1b98a36250d5f5c7176e47ff709ef03de4bfcff9d43f805e5f571c6a3df3d01
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1173
|
data/lib/v20190103/client.rb
CHANGED
|
@@ -800,6 +800,30 @@ module TencentCloud
|
|
|
800
800
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
801
801
|
end
|
|
802
802
|
|
|
803
|
+
# 获取实例操作日志
|
|
804
|
+
|
|
805
|
+
# @param request: Request instance for DescribeInstanceOplog.
|
|
806
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeInstanceOplogRequest`
|
|
807
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeInstanceOplogResponse`
|
|
808
|
+
def DescribeInstanceOplog(request)
|
|
809
|
+
body = send_request('DescribeInstanceOplog', request.serialize)
|
|
810
|
+
response = JSON.parse(body)
|
|
811
|
+
if response['Response'].key?('Error') == false
|
|
812
|
+
model = DescribeInstanceOplogResponse.new
|
|
813
|
+
model.deserialize(response['Response'])
|
|
814
|
+
model
|
|
815
|
+
else
|
|
816
|
+
code = response['Response']['Error']['Code']
|
|
817
|
+
message = response['Response']['Error']['Message']
|
|
818
|
+
reqid = response['Response']['RequestId']
|
|
819
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
820
|
+
end
|
|
821
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
822
|
+
raise e
|
|
823
|
+
rescue StandardError => e
|
|
824
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
825
|
+
end
|
|
826
|
+
|
|
803
827
|
# 查询待续费节点信息
|
|
804
828
|
|
|
805
829
|
# @param request: Request instance for DescribeInstanceRenewNodes.
|
data/lib/v20190103/models.rb
CHANGED
|
@@ -4078,6 +4078,96 @@ module TencentCloud
|
|
|
4078
4078
|
end
|
|
4079
4079
|
end
|
|
4080
4080
|
|
|
4081
|
+
# DescribeInstanceOplog请求参数结构体
|
|
4082
|
+
class DescribeInstanceOplogRequest < TencentCloud::Common::AbstractModel
|
|
4083
|
+
# @param InstanceId: EMR实例ID
|
|
4084
|
+
# @type InstanceId: String
|
|
4085
|
+
# @param Offset: 偏移量
|
|
4086
|
+
# @type Offset: Integer
|
|
4087
|
+
# @param Limit: 页大小
|
|
4088
|
+
# @type Limit: Integer
|
|
4089
|
+
# @param StartTime: 开头时间时间戳
|
|
4090
|
+
# @type StartTime: Integer
|
|
4091
|
+
# @param EndTime: 结尾时间时间戳
|
|
4092
|
+
# @type EndTime: Integer
|
|
4093
|
+
# @param SearchFields: 搜索项数组
|
|
4094
|
+
# @type SearchFields: Array
|
|
4095
|
+
# @param Operand: 集群、节点、组件
|
|
4096
|
+
# @type Operand: String
|
|
4097
|
+
# @param SecurityLevel: 一般、危险、高危
|
|
4098
|
+
# @type SecurityLevel: String
|
|
4099
|
+
|
|
4100
|
+
attr_accessor :InstanceId, :Offset, :Limit, :StartTime, :EndTime, :SearchFields, :Operand, :SecurityLevel
|
|
4101
|
+
|
|
4102
|
+
def initialize(instanceid=nil, offset=nil, limit=nil, starttime=nil, endtime=nil, searchfields=nil, operand=nil, securitylevel=nil)
|
|
4103
|
+
@InstanceId = instanceid
|
|
4104
|
+
@Offset = offset
|
|
4105
|
+
@Limit = limit
|
|
4106
|
+
@StartTime = starttime
|
|
4107
|
+
@EndTime = endtime
|
|
4108
|
+
@SearchFields = searchfields
|
|
4109
|
+
@Operand = operand
|
|
4110
|
+
@SecurityLevel = securitylevel
|
|
4111
|
+
end
|
|
4112
|
+
|
|
4113
|
+
def deserialize(params)
|
|
4114
|
+
@InstanceId = params['InstanceId']
|
|
4115
|
+
@Offset = params['Offset']
|
|
4116
|
+
@Limit = params['Limit']
|
|
4117
|
+
@StartTime = params['StartTime']
|
|
4118
|
+
@EndTime = params['EndTime']
|
|
4119
|
+
unless params['SearchFields'].nil?
|
|
4120
|
+
@SearchFields = []
|
|
4121
|
+
params['SearchFields'].each do |i|
|
|
4122
|
+
searchitem_tmp = SearchItem.new
|
|
4123
|
+
searchitem_tmp.deserialize(i)
|
|
4124
|
+
@SearchFields << searchitem_tmp
|
|
4125
|
+
end
|
|
4126
|
+
end
|
|
4127
|
+
@Operand = params['Operand']
|
|
4128
|
+
@SecurityLevel = params['SecurityLevel']
|
|
4129
|
+
end
|
|
4130
|
+
end
|
|
4131
|
+
|
|
4132
|
+
# DescribeInstanceOplog返回参数结构体
|
|
4133
|
+
class DescribeInstanceOplogResponse < TencentCloud::Common::AbstractModel
|
|
4134
|
+
# @param TotalCnt: 操作日志数量
|
|
4135
|
+
# @type TotalCnt: Integer
|
|
4136
|
+
# @param LogList: 操作日志列表
|
|
4137
|
+
# @type LogList: Array
|
|
4138
|
+
# @param OperandList: 操作对象筛选项数组
|
|
4139
|
+
# @type OperandList: Array
|
|
4140
|
+
# @param SecurityLevelList: 安全级别筛选数组
|
|
4141
|
+
# @type SecurityLevelList: Array
|
|
4142
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4143
|
+
# @type RequestId: String
|
|
4144
|
+
|
|
4145
|
+
attr_accessor :TotalCnt, :LogList, :OperandList, :SecurityLevelList, :RequestId
|
|
4146
|
+
|
|
4147
|
+
def initialize(totalcnt=nil, loglist=nil, operandlist=nil, securitylevellist=nil, requestid=nil)
|
|
4148
|
+
@TotalCnt = totalcnt
|
|
4149
|
+
@LogList = loglist
|
|
4150
|
+
@OperandList = operandlist
|
|
4151
|
+
@SecurityLevelList = securitylevellist
|
|
4152
|
+
@RequestId = requestid
|
|
4153
|
+
end
|
|
4154
|
+
|
|
4155
|
+
def deserialize(params)
|
|
4156
|
+
@TotalCnt = params['TotalCnt']
|
|
4157
|
+
unless params['LogList'].nil?
|
|
4158
|
+
@LogList = []
|
|
4159
|
+
params['LogList'].each do |i|
|
|
4160
|
+
operationlog_tmp = OperationLog.new
|
|
4161
|
+
operationlog_tmp.deserialize(i)
|
|
4162
|
+
@LogList << operationlog_tmp
|
|
4163
|
+
end
|
|
4164
|
+
end
|
|
4165
|
+
@OperandList = params['OperandList']
|
|
4166
|
+
@SecurityLevelList = params['SecurityLevelList']
|
|
4167
|
+
@RequestId = params['RequestId']
|
|
4168
|
+
end
|
|
4169
|
+
end
|
|
4170
|
+
|
|
4081
4171
|
# DescribeInstanceRenewNodes请求参数结构体
|
|
4082
4172
|
class DescribeInstanceRenewNodesRequest < TencentCloud::Common::AbstractModel
|
|
4083
4173
|
# @param InstanceId: 集群实例ID,实例ID形如: emr-xxxxxxxx
|
|
@@ -10355,6 +10445,54 @@ module TencentCloud
|
|
|
10355
10445
|
end
|
|
10356
10446
|
end
|
|
10357
10447
|
|
|
10448
|
+
# 操作日志描述
|
|
10449
|
+
class OperationLog < TencentCloud::Common::AbstractModel
|
|
10450
|
+
# @param InstanceId: EMR实例ID
|
|
10451
|
+
# @type InstanceId: Integer
|
|
10452
|
+
# @param Operation: 操作名称
|
|
10453
|
+
# @type Operation: String
|
|
10454
|
+
# @param OperationType: 操作类型
|
|
10455
|
+
# @type OperationType: Integer
|
|
10456
|
+
# @param UserType: 用户类型
|
|
10457
|
+
# @type UserType: Integer
|
|
10458
|
+
# @param Operator: 操作者
|
|
10459
|
+
# @type Operator: String
|
|
10460
|
+
# @param CreateTime: 操作时间
|
|
10461
|
+
# @type CreateTime: String
|
|
10462
|
+
# @param Operand: 操作对象
|
|
10463
|
+
# @type Operand: String
|
|
10464
|
+
# @param OperationDesc: 操作详情
|
|
10465
|
+
# @type OperationDesc: String
|
|
10466
|
+
# @param SecurityLevel: 安全级别
|
|
10467
|
+
# @type SecurityLevel: String
|
|
10468
|
+
|
|
10469
|
+
attr_accessor :InstanceId, :Operation, :OperationType, :UserType, :Operator, :CreateTime, :Operand, :OperationDesc, :SecurityLevel
|
|
10470
|
+
|
|
10471
|
+
def initialize(instanceid=nil, operation=nil, operationtype=nil, usertype=nil, operator=nil, createtime=nil, operand=nil, operationdesc=nil, securitylevel=nil)
|
|
10472
|
+
@InstanceId = instanceid
|
|
10473
|
+
@Operation = operation
|
|
10474
|
+
@OperationType = operationtype
|
|
10475
|
+
@UserType = usertype
|
|
10476
|
+
@Operator = operator
|
|
10477
|
+
@CreateTime = createtime
|
|
10478
|
+
@Operand = operand
|
|
10479
|
+
@OperationDesc = operationdesc
|
|
10480
|
+
@SecurityLevel = securitylevel
|
|
10481
|
+
end
|
|
10482
|
+
|
|
10483
|
+
def deserialize(params)
|
|
10484
|
+
@InstanceId = params['InstanceId']
|
|
10485
|
+
@Operation = params['Operation']
|
|
10486
|
+
@OperationType = params['OperationType']
|
|
10487
|
+
@UserType = params['UserType']
|
|
10488
|
+
@Operator = params['Operator']
|
|
10489
|
+
@CreateTime = params['CreateTime']
|
|
10490
|
+
@Operand = params['Operand']
|
|
10491
|
+
@OperationDesc = params['OperationDesc']
|
|
10492
|
+
@SecurityLevel = params['SecurityLevel']
|
|
10493
|
+
end
|
|
10494
|
+
end
|
|
10495
|
+
|
|
10358
10496
|
# 描述排序,用于排序.
|
|
10359
10497
|
class Order < TencentCloud::Common::AbstractModel
|
|
10360
10498
|
# @param Name: 排序字段。
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-emr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1173
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|