tencentcloud-sdk-hai 3.0.1074 → 3.0.1077

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c8b3eb1c50268f4a27ee0a6ac6bfd37418e01ed
4
- data.tar.gz: 03bc71e11c91e45f78beb99f71bdfac86af036df
3
+ metadata.gz: 47e4175c5309b7a18a7b4d7d57968e61fda6b651
4
+ data.tar.gz: feff40d4902018b7210aabb3ded2b52322ed76a8
5
5
  SHA512:
6
- metadata.gz: 169486b7c7ad7b792e41850da9b76d9fea76e674eedfdc8c3cad86be4fd207875cbd5ef78116491e99e0c77b8293ff24912ca5e25aaa07f47ddb41f9a823e873
7
- data.tar.gz: acec98c8675abc17ff5e63c33480650820edcde5136b8c1f021fc3e041aa43489ca59798689403aeccc5c946797b4c5aa48aeb425c5606a08597d7d1b4f394b4
6
+ metadata.gz: 44bf8578b2092efb7d6afac3e61ed52ee5bf1a7565c6c27944e2d565dd43267a849b8acf1bcdbe60b0745a6b8c0ba2f7d35f27f7b94ab8a4d01835332bbb0b8d
7
+ data.tar.gz: c6d1a531bc1aa6765eb5de44821b35c7dfa653ed14e0c0e1c55c42e5e5fea9401785de4b61a9e58c297f02c4a444ec539a1244fb4af54710d05d7537a9fc2a4f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1074
1
+ 3.0.1077
@@ -269,6 +269,30 @@ module TencentCloud
269
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
270
  end
271
271
 
272
+ # 本接口 (ResetInstancesPassword) 用于重置实例的用户密码。
273
+
274
+ # @param request: Request instance for ResetInstancesPassword.
275
+ # @type request: :class:`Tencentcloud::hai::V20230812::ResetInstancesPasswordRequest`
276
+ # @rtype: :class:`Tencentcloud::hai::V20230812::ResetInstancesPasswordResponse`
277
+ def ResetInstancesPassword(request)
278
+ body = send_request('ResetInstancesPassword', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = ResetInstancesPasswordResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
272
296
  # 本接口 (RunInstances) 用于创建一个或多个指定配置的实例。
273
297
 
274
298
  # @param request: Request instance for RunInstances.
@@ -1044,6 +1044,50 @@ module TencentCloud
1044
1044
  end
1045
1045
  end
1046
1046
 
1047
+ # ResetInstancesPassword请求参数结构体
1048
+ class ResetInstancesPasswordRequest < TencentCloud::Common::AbstractModel
1049
+ # @param InstanceIds: 实例ID列表
1050
+ # @type InstanceIds: Array
1051
+ # @param Password: 实例密码必须8-30位,推荐使用12位以上密码,不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:<br><li>小写字母:[a-z]</li><br><li>大写字母:[A-Z]</li><br><li>数字:0-9</li><br><li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;'<>,.?/</li>
1052
+ # @type Password: String
1053
+ # @param DryRun: 默认为False,True代表只验证接口连通性
1054
+ # @type DryRun: Boolean
1055
+
1056
+ attr_accessor :InstanceIds, :Password, :DryRun
1057
+
1058
+ def initialize(instanceids=nil, password=nil, dryrun=nil)
1059
+ @InstanceIds = instanceids
1060
+ @Password = password
1061
+ @DryRun = dryrun
1062
+ end
1063
+
1064
+ def deserialize(params)
1065
+ @InstanceIds = params['InstanceIds']
1066
+ @Password = params['Password']
1067
+ @DryRun = params['DryRun']
1068
+ end
1069
+ end
1070
+
1071
+ # ResetInstancesPassword返回参数结构体
1072
+ class ResetInstancesPasswordResponse < TencentCloud::Common::AbstractModel
1073
+ # @param TaskId: task任务id
1074
+ # @type TaskId: Integer
1075
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1076
+ # @type RequestId: String
1077
+
1078
+ attr_accessor :TaskId, :RequestId
1079
+
1080
+ def initialize(taskid=nil, requestid=nil)
1081
+ @TaskId = taskid
1082
+ @RequestId = requestid
1083
+ end
1084
+
1085
+ def deserialize(params)
1086
+ @TaskId = params['TaskId']
1087
+ @RequestId = params['RequestId']
1088
+ end
1089
+ end
1090
+
1047
1091
  # RunInstances请求参数结构体
1048
1092
  class RunInstancesRequest < TencentCloud::Common::AbstractModel
1049
1093
  # @param ApplicationId: 应用ID通过调用接口[DescribeApplications](https://cloud.tencent.com/document/api/1721/101609)获取。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-hai
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1074
4
+ version: 3.0.1077
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-06-04 00:00:00.000000000 Z
11
+ date: 2025-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common