tencentcloud-sdk-ssm 1.0.238 → 1.0.239
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190923/client.rb +2 -1
- data/lib/v20190923/models.rb +28 -9
- 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: 7105ea3d8879a5e9b71cbf02ca06d11a7e1ca5ac
|
4
|
+
data.tar.gz: 5f09c13a269e0a50554abf50988783d5eb60cfd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ea8bbaadf33798fa5feae33e541bf94e41db178bffebe14dc1d08bbb0e5e76f72e07618e2632b132d94592bdd95b7a5c834162e5600b739d3afef0a8ba4f477
|
7
|
+
data.tar.gz: d87366b9248ab807258cffd10268391dadc2d28205e9372a6b939a8ae4b1516433284abcbb0970259fefcb7bc6b54f10c9751e4223b29a0d63ccec4c3d270fdb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.239
|
data/lib/v20190923/client.rb
CHANGED
@@ -514,7 +514,8 @@ module TencentCloud
|
|
514
514
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
515
515
|
end
|
516
516
|
|
517
|
-
#
|
517
|
+
# 轮转云产品凭据或云API密钥对凭据。
|
518
|
+
# 该接口仅适用于处于Enabled状态的云产品凭据或处于Enable状态的云API密钥对凭据,对于其他状态的云产品凭据或云API密钥对凭据或用户自定义凭据不适用。
|
518
519
|
|
519
520
|
# @param request: Request instance for RotateProductSecret.
|
520
521
|
# @type request: :class:`Tencentcloud::ssm::V20190923::RotateProductSecretRequest`
|
data/lib/v20190923/models.rb
CHANGED
@@ -565,7 +565,7 @@ module TencentCloud
|
|
565
565
|
# @param ResourceID: 云产品实例ID。
|
566
566
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
567
567
|
# @type ResourceID: String
|
568
|
-
# @param RotationStatus: 是否开启轮转:True -- 开启轮转;False --
|
568
|
+
# @param RotationStatus: 是否开启轮转:True -- 开启轮转;False -- 关闭轮转。
|
569
569
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
570
570
|
# @type RotationStatus: Boolean
|
571
571
|
# @param RotationFrequency: 轮转周期,默认以天为单位。
|
@@ -580,12 +580,15 @@ module TencentCloud
|
|
580
580
|
# @param AssociatedInstanceIDs: 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对所关联的CVM实例ID。
|
581
581
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
582
582
|
# @type AssociatedInstanceIDs: Array
|
583
|
+
# @param TargetUin: 当凭据类型为云API密钥对凭据时,此字段有效,用于表示此云API密钥对所属的用户UIN。
|
584
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
585
|
+
# @type TargetUin: Integer
|
583
586
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
584
587
|
# @type RequestId: String
|
585
588
|
|
586
|
-
attr_accessor :SecretName, :Description, :KmsKeyId, :CreateUin, :Status, :DeleteTime, :CreateTime, :SecretType, :ProductName, :ResourceID, :RotationStatus, :RotationFrequency, :ResourceName, :ProjectID, :AssociatedInstanceIDs, :RequestId
|
589
|
+
attr_accessor :SecretName, :Description, :KmsKeyId, :CreateUin, :Status, :DeleteTime, :CreateTime, :SecretType, :ProductName, :ResourceID, :RotationStatus, :RotationFrequency, :ResourceName, :ProjectID, :AssociatedInstanceIDs, :TargetUin, :RequestId
|
587
590
|
|
588
|
-
def initialize(secretname=nil, description=nil, kmskeyid=nil, createuin=nil, status=nil, deletetime=nil, createtime=nil, secrettype=nil, productname=nil, resourceid=nil, rotationstatus=nil, rotationfrequency=nil, resourcename=nil, projectid=nil, associatedinstanceids=nil, requestid=nil)
|
591
|
+
def initialize(secretname=nil, description=nil, kmskeyid=nil, createuin=nil, status=nil, deletetime=nil, createtime=nil, secrettype=nil, productname=nil, resourceid=nil, rotationstatus=nil, rotationfrequency=nil, resourcename=nil, projectid=nil, associatedinstanceids=nil, targetuin=nil, requestid=nil)
|
589
592
|
@SecretName = secretname
|
590
593
|
@Description = description
|
591
594
|
@KmsKeyId = kmskeyid
|
@@ -601,6 +604,7 @@ module TencentCloud
|
|
601
604
|
@ResourceName = resourcename
|
602
605
|
@ProjectID = projectid
|
603
606
|
@AssociatedInstanceIDs = associatedinstanceids
|
607
|
+
@TargetUin = targetuin
|
604
608
|
@RequestId = requestid
|
605
609
|
end
|
606
610
|
|
@@ -620,6 +624,7 @@ module TencentCloud
|
|
620
624
|
@ResourceName = params['ResourceName']
|
621
625
|
@ProjectID = params['ProjectID']
|
622
626
|
@AssociatedInstanceIDs = params['AssociatedInstanceIDs']
|
627
|
+
@TargetUin = params['TargetUin']
|
623
628
|
@RequestId = params['RequestId']
|
624
629
|
end
|
625
630
|
end
|
@@ -896,20 +901,25 @@ module TencentCloud
|
|
896
901
|
# @type ServiceEnabled: Boolean
|
897
902
|
# @param InvalidType: 服务不可用类型: 0-未购买,1-正常, 2-欠费停服, 3-资源释放。
|
898
903
|
# @type InvalidType: Integer
|
904
|
+
# @param AccessKeyEscrowEnabled: true表示用户已经可以使用云API密钥安全托管功能,
|
905
|
+
# false表示用户暂时不能使用云API密钥安全托管功能。
|
906
|
+
# @type AccessKeyEscrowEnabled: Boolean
|
899
907
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
900
908
|
# @type RequestId: String
|
901
909
|
|
902
|
-
attr_accessor :ServiceEnabled, :InvalidType, :RequestId
|
910
|
+
attr_accessor :ServiceEnabled, :InvalidType, :AccessKeyEscrowEnabled, :RequestId
|
903
911
|
|
904
|
-
def initialize(serviceenabled=nil, invalidtype=nil, requestid=nil)
|
912
|
+
def initialize(serviceenabled=nil, invalidtype=nil, accesskeyescrowenabled=nil, requestid=nil)
|
905
913
|
@ServiceEnabled = serviceenabled
|
906
914
|
@InvalidType = invalidtype
|
915
|
+
@AccessKeyEscrowEnabled = accesskeyescrowenabled
|
907
916
|
@RequestId = requestid
|
908
917
|
end
|
909
918
|
|
910
919
|
def deserialize(params)
|
911
920
|
@ServiceEnabled = params['ServiceEnabled']
|
912
921
|
@InvalidType = params['InvalidType']
|
922
|
+
@AccessKeyEscrowEnabled = params['AccessKeyEscrowEnabled']
|
913
923
|
@RequestId = params['RequestId']
|
914
924
|
end
|
915
925
|
end
|
@@ -986,6 +996,7 @@ module TencentCloud
|
|
986
996
|
# @param SecretType: 0 -- 表示用户自定义凭据,默认为0。
|
987
997
|
# 1 -- 表示用户云产品凭据。
|
988
998
|
# 2 -- 表示SSH密钥对凭据。
|
999
|
+
# 3 -- 表示云API密钥对凭据。
|
989
1000
|
# @type SecretType: Integer
|
990
1001
|
# @param ProductName: 此参数仅在SecretType参数值为1时生效,
|
991
1002
|
# 当SecretType值为1时:
|
@@ -1221,7 +1232,7 @@ module TencentCloud
|
|
1221
1232
|
|
1222
1233
|
# RotateProductSecret返回参数结构体
|
1223
1234
|
class RotateProductSecretResponse < TencentCloud::Common::AbstractModel
|
1224
|
-
# @param FlowID:
|
1235
|
+
# @param FlowID: 当凭据类型为云产品凭据时(即SecretType为1,如Mysq、Tdsql等托管凭据)此字段有效,返回轮转异步任务ID号。
|
1225
1236
|
# @type FlowID: Integer
|
1226
1237
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1227
1238
|
# @type RequestId: String
|
@@ -1263,7 +1274,10 @@ module TencentCloud
|
|
1263
1274
|
# @param NextRotationTime: 下一次轮转开始时间,uinx 时间戳
|
1264
1275
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1265
1276
|
# @type NextRotationTime: Integer
|
1266
|
-
# @param SecretType: 0 -- 用户自定义凭据;
|
1277
|
+
# @param SecretType: 0 -- 用户自定义凭据;
|
1278
|
+
# 1 -- 云产品凭据;
|
1279
|
+
# 2 -- SSH密钥对凭据;
|
1280
|
+
# 3 -- 云API密钥对凭据;
|
1267
1281
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1268
1282
|
# @type SecretType: Integer
|
1269
1283
|
# @param ProductName: 云产品名称,仅在SecretType为1,即凭据类型为云产品凭据时生效
|
@@ -1278,10 +1292,13 @@ module TencentCloud
|
|
1278
1292
|
# @param AssociatedInstanceIDs: 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对所关联的CVM实例ID。
|
1279
1293
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1280
1294
|
# @type AssociatedInstanceIDs: Array
|
1295
|
+
# @param TargetUin: 当凭据类型为云API密钥对凭据时,此字段有效,用于表示云API密钥对所属的用户UIN。
|
1296
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1297
|
+
# @type TargetUin: Integer
|
1281
1298
|
|
1282
|
-
attr_accessor :SecretName, :Description, :KmsKeyId, :CreateUin, :Status, :DeleteTime, :CreateTime, :KmsKeyType, :RotationStatus, :NextRotationTime, :SecretType, :ProductName, :ResourceName, :ProjectID, :AssociatedInstanceIDs
|
1299
|
+
attr_accessor :SecretName, :Description, :KmsKeyId, :CreateUin, :Status, :DeleteTime, :CreateTime, :KmsKeyType, :RotationStatus, :NextRotationTime, :SecretType, :ProductName, :ResourceName, :ProjectID, :AssociatedInstanceIDs, :TargetUin
|
1283
1300
|
|
1284
|
-
def initialize(secretname=nil, description=nil, kmskeyid=nil, createuin=nil, status=nil, deletetime=nil, createtime=nil, kmskeytype=nil, rotationstatus=nil, nextrotationtime=nil, secrettype=nil, productname=nil, resourcename=nil, projectid=nil, associatedinstanceids=nil)
|
1301
|
+
def initialize(secretname=nil, description=nil, kmskeyid=nil, createuin=nil, status=nil, deletetime=nil, createtime=nil, kmskeytype=nil, rotationstatus=nil, nextrotationtime=nil, secrettype=nil, productname=nil, resourcename=nil, projectid=nil, associatedinstanceids=nil, targetuin=nil)
|
1285
1302
|
@SecretName = secretname
|
1286
1303
|
@Description = description
|
1287
1304
|
@KmsKeyId = kmskeyid
|
@@ -1297,6 +1314,7 @@ module TencentCloud
|
|
1297
1314
|
@ResourceName = resourcename
|
1298
1315
|
@ProjectID = projectid
|
1299
1316
|
@AssociatedInstanceIDs = associatedinstanceids
|
1317
|
+
@TargetUin = targetuin
|
1300
1318
|
end
|
1301
1319
|
|
1302
1320
|
def deserialize(params)
|
@@ -1315,6 +1333,7 @@ module TencentCloud
|
|
1315
1333
|
@ResourceName = params['ResourceName']
|
1316
1334
|
@ProjectID = params['ProjectID']
|
1317
1335
|
@AssociatedInstanceIDs = params['AssociatedInstanceIDs']
|
1336
|
+
@TargetUin = params['TargetUin']
|
1318
1337
|
end
|
1319
1338
|
end
|
1320
1339
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ssm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.239
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|