tencentcloud-sdk-dasb 3.0.547 → 3.0.548

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: d65cc8f92c2e7b475f7eed32ef8f588c7da2aa69
4
- data.tar.gz: d7721d4a9c316f6f786e532401b72158ffceed17
3
+ metadata.gz: ffb4ef6a046399e4c54639cd8cdbeaa70acae41b
4
+ data.tar.gz: 9209d611f86cbd59b2c7cd55a559ccac53b5a7c7
5
5
  SHA512:
6
- metadata.gz: ae4c07475bfb892d1e7ef638183c5cb1333ccb7cd55523ee05fa328405407bd2a6c33180d9dce45ad3bea809c0f62be833a0065f51123f53d8d2add9ae6a0767
7
- data.tar.gz: 021466c9279578594abf6b810db048a1b2694384cacf05c3a7b928930d718ac5c37f5c3b8b1b539560670576af4cfc4f121e83502132b445439a641ab0e2cff9
6
+ metadata.gz: 0e8d8629dd9e546316b789336e03660c168ff47a983a0919b07493ce3f4aa41bc584d4a0a09ae525c27c87891671138bece0ba5bb492bea55c634d7e824cfe48
7
+ data.tar.gz: d8f22fa31a69f84e553f31043c98a4a03590080cc7780b98a6f73a96af6a6a628a12af5c4a7d2178a470136eb8a7e7c1be8a8284a8d53f55533931ed5884667b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.547
1
+ 3.0.548
@@ -749,6 +749,54 @@ module TencentCloud
749
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
750
  end
751
751
 
752
+ # 查询登录日志
753
+
754
+ # @param request: Request instance for DescribeLoginEvent.
755
+ # @type request: :class:`Tencentcloud::dasb::V20191018::DescribeLoginEventRequest`
756
+ # @rtype: :class:`Tencentcloud::dasb::V20191018::DescribeLoginEventResponse`
757
+ def DescribeLoginEvent(request)
758
+ body = send_request('DescribeLoginEvent', request.serialize)
759
+ response = JSON.parse(body)
760
+ if response['Response'].key?('Error') == false
761
+ model = DescribeLoginEventResponse.new
762
+ model.deserialize(response['Response'])
763
+ model
764
+ else
765
+ code = response['Response']['Error']['Code']
766
+ message = response['Response']['Error']['Message']
767
+ reqid = response['Response']['RequestId']
768
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
769
+ end
770
+ rescue TencentCloud::Common::TencentCloudSDKException => e
771
+ raise e
772
+ rescue StandardError => e
773
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
+ end
775
+
776
+ # 查询操作日志
777
+
778
+ # @param request: Request instance for DescribeOperationEvent.
779
+ # @type request: :class:`Tencentcloud::dasb::V20191018::DescribeOperationEventRequest`
780
+ # @rtype: :class:`Tencentcloud::dasb::V20191018::DescribeOperationEventResponse`
781
+ def DescribeOperationEvent(request)
782
+ body = send_request('DescribeOperationEvent', request.serialize)
783
+ response = JSON.parse(body)
784
+ if response['Response'].key?('Error') == false
785
+ model = DescribeOperationEventResponse.new
786
+ model.deserialize(response['Response'])
787
+ model
788
+ else
789
+ code = response['Response']['Error']['Code']
790
+ message = response['Response']['Error']['Message']
791
+ reqid = response['Response']['RequestId']
792
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
793
+ end
794
+ rescue TencentCloud::Common::TencentCloudSDKException => e
795
+ raise e
796
+ rescue StandardError => e
797
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
+ end
799
+
752
800
  # 查询用户购买的堡垒机服务信息,包括资源ID、授权点数、VPC、过期时间等。
753
801
 
754
802
  # @param request: Request instance for DescribeResources.
@@ -1037,6 +1085,174 @@ module TencentCloud
1037
1085
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1038
1086
  end
1039
1087
 
1088
+ # 搜索审计日志
1089
+
1090
+ # @param request: Request instance for SearchAuditLog.
1091
+ # @type request: :class:`Tencentcloud::dasb::V20191018::SearchAuditLogRequest`
1092
+ # @rtype: :class:`Tencentcloud::dasb::V20191018::SearchAuditLogResponse`
1093
+ def SearchAuditLog(request)
1094
+ body = send_request('SearchAuditLog', request.serialize)
1095
+ response = JSON.parse(body)
1096
+ if response['Response'].key?('Error') == false
1097
+ model = SearchAuditLogResponse.new
1098
+ model.deserialize(response['Response'])
1099
+ model
1100
+ else
1101
+ code = response['Response']['Error']['Code']
1102
+ message = response['Response']['Error']['Message']
1103
+ reqid = response['Response']['RequestId']
1104
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1105
+ end
1106
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1107
+ raise e
1108
+ rescue StandardError => e
1109
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1110
+ end
1111
+
1112
+ # 命令执行检索
1113
+
1114
+ # @param request: Request instance for SearchCommand.
1115
+ # @type request: :class:`Tencentcloud::dasb::V20191018::SearchCommandRequest`
1116
+ # @rtype: :class:`Tencentcloud::dasb::V20191018::SearchCommandResponse`
1117
+ def SearchCommand(request)
1118
+ body = send_request('SearchCommand', request.serialize)
1119
+ response = JSON.parse(body)
1120
+ if response['Response'].key?('Error') == false
1121
+ model = SearchCommandResponse.new
1122
+ model.deserialize(response['Response'])
1123
+ model
1124
+ else
1125
+ code = response['Response']['Error']['Code']
1126
+ message = response['Response']['Error']['Message']
1127
+ reqid = response['Response']['RequestId']
1128
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1129
+ end
1130
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1131
+ raise e
1132
+ rescue StandardError => e
1133
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1134
+ end
1135
+
1136
+ # 根据会话Id搜索Command
1137
+
1138
+ # @param request: Request instance for SearchCommandBySid.
1139
+ # @type request: :class:`Tencentcloud::dasb::V20191018::SearchCommandBySidRequest`
1140
+ # @rtype: :class:`Tencentcloud::dasb::V20191018::SearchCommandBySidResponse`
1141
+ def SearchCommandBySid(request)
1142
+ body = send_request('SearchCommandBySid', request.serialize)
1143
+ response = JSON.parse(body)
1144
+ if response['Response'].key?('Error') == false
1145
+ model = SearchCommandBySidResponse.new
1146
+ model.deserialize(response['Response'])
1147
+ model
1148
+ else
1149
+ code = response['Response']['Error']['Code']
1150
+ message = response['Response']['Error']['Message']
1151
+ reqid = response['Response']['RequestId']
1152
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1153
+ end
1154
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1155
+ raise e
1156
+ rescue StandardError => e
1157
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
+ end
1159
+
1160
+ # 文件传输检索
1161
+
1162
+ # @param request: Request instance for SearchFile.
1163
+ # @type request: :class:`Tencentcloud::dasb::V20191018::SearchFileRequest`
1164
+ # @rtype: :class:`Tencentcloud::dasb::V20191018::SearchFileResponse`
1165
+ def SearchFile(request)
1166
+ body = send_request('SearchFile', request.serialize)
1167
+ response = JSON.parse(body)
1168
+ if response['Response'].key?('Error') == false
1169
+ model = SearchFileResponse.new
1170
+ model.deserialize(response['Response'])
1171
+ model
1172
+ else
1173
+ code = response['Response']['Error']['Code']
1174
+ message = response['Response']['Error']['Message']
1175
+ reqid = response['Response']['RequestId']
1176
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1177
+ end
1178
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1179
+ raise e
1180
+ rescue StandardError => e
1181
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1182
+ end
1183
+
1184
+ # 搜索文件传输会话下文件操作列表
1185
+
1186
+ # @param request: Request instance for SearchFileBySid.
1187
+ # @type request: :class:`Tencentcloud::dasb::V20191018::SearchFileBySidRequest`
1188
+ # @rtype: :class:`Tencentcloud::dasb::V20191018::SearchFileBySidResponse`
1189
+ def SearchFileBySid(request)
1190
+ body = send_request('SearchFileBySid', request.serialize)
1191
+ response = JSON.parse(body)
1192
+ if response['Response'].key?('Error') == false
1193
+ model = SearchFileBySidResponse.new
1194
+ model.deserialize(response['Response'])
1195
+ model
1196
+ else
1197
+ code = response['Response']['Error']['Code']
1198
+ message = response['Response']['Error']['Message']
1199
+ reqid = response['Response']['RequestId']
1200
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1201
+ end
1202
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1203
+ raise e
1204
+ rescue StandardError => e
1205
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1206
+ end
1207
+
1208
+ # 搜索会话
1209
+
1210
+ # @param request: Request instance for SearchSession.
1211
+ # @type request: :class:`Tencentcloud::dasb::V20191018::SearchSessionRequest`
1212
+ # @rtype: :class:`Tencentcloud::dasb::V20191018::SearchSessionResponse`
1213
+ def SearchSession(request)
1214
+ body = send_request('SearchSession', request.serialize)
1215
+ response = JSON.parse(body)
1216
+ if response['Response'].key?('Error') == false
1217
+ model = SearchSessionResponse.new
1218
+ model.deserialize(response['Response'])
1219
+ model
1220
+ else
1221
+ code = response['Response']['Error']['Code']
1222
+ message = response['Response']['Error']['Message']
1223
+ reqid = response['Response']['RequestId']
1224
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1225
+ end
1226
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1227
+ raise e
1228
+ rescue StandardError => e
1229
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1230
+ end
1231
+
1232
+ # 命令检索
1233
+
1234
+ # @param request: Request instance for SearchSessionCommand.
1235
+ # @type request: :class:`Tencentcloud::dasb::V20191018::SearchSessionCommandRequest`
1236
+ # @rtype: :class:`Tencentcloud::dasb::V20191018::SearchSessionCommandResponse`
1237
+ def SearchSessionCommand(request)
1238
+ body = send_request('SearchSessionCommand', request.serialize)
1239
+ response = JSON.parse(body)
1240
+ if response['Response'].key?('Error') == false
1241
+ model = SearchSessionCommandResponse.new
1242
+ model.deserialize(response['Response'])
1243
+ model
1244
+ else
1245
+ code = response['Response']['Error']['Code']
1246
+ message = response['Response']['Error']['Message']
1247
+ reqid = response['Response']['RequestId']
1248
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1249
+ end
1250
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1251
+ raise e
1252
+ rescue StandardError => e
1253
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1254
+ end
1255
+
1040
1256
 
1041
1257
  end
1042
1258
  end