tencentcloud-sdk-kms 1.0.322 → 1.0.323

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190118/models.rb +44 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fd8011b16687531efde90f1234a630bfa2cc47b
4
- data.tar.gz: d90ddce3cff3087a0404d0be7629725ca97931ed
3
+ metadata.gz: cbcd60f86eb79a38aca933512b0124f8b5f9a7c3
4
+ data.tar.gz: ed2d285065adf2c7bff59773f212e4fbce016e12
5
5
  SHA512:
6
- metadata.gz: 7b8ba4a374963e2735edd27ac0958ae5c43d205f9869f098d8c281c7619b44312b4ed1e807bb8262a89c6aebdb58c7fbed162bc82662925ac3d61b679e0f15db
7
- data.tar.gz: f7c59ced1187f0818e6056b31446260d51d6a6bf04d55828ae771a3088b81f74468f5b4d9bd7f3acf38e75276378acfd12c6266499c7486ad81ad7cd11ec6b5e
6
+ metadata.gz: 9ad56a458b4bc6c1a5c088c0566c7b4dd64f7613a7874bc14f3c3e1e4f6fb27cf8574d553e8d009e9b3b17dd90408bef5d7670320b9b7b1e6ac884cc461db863
7
+ data.tar.gz: 52606de1284ee799bc8831de2026a4a53887eb7be148e43036bb14d929a1b295c4b931048ab8f6169ad3d04e3e70f67a7d84f13efca650b9a92abe536313f8d4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.322
1
+ 1.0.323
@@ -281,15 +281,18 @@ module TencentCloud
281
281
  # @type Type: Integer
282
282
  # @param Tags: 标签列表
283
283
  # @type Tags: Array
284
+ # @param HsmClusterId: KMS 高级版对应的 HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)。
285
+ # @type HsmClusterId: String
284
286
 
285
- attr_accessor :Alias, :Description, :KeyUsage, :Type, :Tags
287
+ attr_accessor :Alias, :Description, :KeyUsage, :Type, :Tags, :HsmClusterId
286
288
 
287
- def initialize(_alias=nil, description=nil, keyusage=nil, type=nil, tags=nil)
289
+ def initialize(_alias=nil, description=nil, keyusage=nil, type=nil, tags=nil, hsmclusterid=nil)
288
290
  @Alias = _alias
289
291
  @Description = description
290
292
  @KeyUsage = keyusage
291
293
  @Type = type
292
294
  @Tags = tags
295
+ @HsmClusterId = hsmclusterid
293
296
  end
294
297
 
295
298
  def deserialize(params)
@@ -305,6 +308,7 @@ module TencentCloud
305
308
  @Tags << tag_tmp
306
309
  end
307
310
  end
311
+ @HsmClusterId = params['HsmClusterId']
308
312
  end
309
313
  end
310
314
 
@@ -329,12 +333,15 @@ module TencentCloud
329
333
  # @param TagMsg: 标签操作的返回信息
330
334
  # 注意:此字段可能返回 null,表示取不到有效值。
331
335
  # @type TagMsg: String
336
+ # @param HsmClusterId: HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
337
+ # 注意:此字段可能返回 null,表示取不到有效值。
338
+ # @type HsmClusterId: String
332
339
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
333
340
  # @type RequestId: String
334
341
 
335
- attr_accessor :KeyId, :Alias, :CreateTime, :Description, :KeyState, :KeyUsage, :TagCode, :TagMsg, :RequestId
342
+ attr_accessor :KeyId, :Alias, :CreateTime, :Description, :KeyState, :KeyUsage, :TagCode, :TagMsg, :HsmClusterId, :RequestId
336
343
 
337
- def initialize(keyid=nil, _alias=nil, createtime=nil, description=nil, keystate=nil, keyusage=nil, tagcode=nil, tagmsg=nil, requestid=nil)
344
+ def initialize(keyid=nil, _alias=nil, createtime=nil, description=nil, keystate=nil, keyusage=nil, tagcode=nil, tagmsg=nil, hsmclusterid=nil, requestid=nil)
338
345
  @KeyId = keyid
339
346
  @Alias = _alias
340
347
  @CreateTime = createtime
@@ -343,6 +350,7 @@ module TencentCloud
343
350
  @KeyUsage = keyusage
344
351
  @TagCode = tagcode
345
352
  @TagMsg = tagmsg
353
+ @HsmClusterId = hsmclusterid
346
354
  @RequestId = requestid
347
355
  end
348
356
 
@@ -355,6 +363,7 @@ module TencentCloud
355
363
  @KeyUsage = params['KeyUsage']
356
364
  @TagCode = params['TagCode']
357
365
  @TagMsg = params['TagMsg']
366
+ @HsmClusterId = params['HsmClusterId']
358
367
  @RequestId = params['RequestId']
359
368
  end
360
369
  end
@@ -1584,18 +1593,26 @@ module TencentCloud
1584
1593
  # @param ProResourceId: 旗舰版购买记录的唯一性标识。如果为开通旗舰版,则返回值为空
1585
1594
  # 注意:此字段可能返回 null,表示取不到有效值。
1586
1595
  # @type ProResourceId: String
1596
+ # @param ExclusiveVSMEnabled: 是否开通 KMS 托管版
1597
+ # 注意:此字段可能返回 null,表示取不到有效值。
1598
+ # @type ExclusiveVSMEnabled: Boolean
1599
+ # @param ExclusiveHSMEnabled: 是否开通 KMS 独享版
1600
+ # 注意:此字段可能返回 null,表示取不到有效值。
1601
+ # @type ExclusiveHSMEnabled: Boolean
1587
1602
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1588
1603
  # @type RequestId: String
1589
1604
 
1590
- attr_accessor :ServiceEnabled, :InvalidType, :UserLevel, :ProExpireTime, :ProRenewFlag, :ProResourceId, :RequestId
1605
+ attr_accessor :ServiceEnabled, :InvalidType, :UserLevel, :ProExpireTime, :ProRenewFlag, :ProResourceId, :ExclusiveVSMEnabled, :ExclusiveHSMEnabled, :RequestId
1591
1606
 
1592
- def initialize(serviceenabled=nil, invalidtype=nil, userlevel=nil, proexpiretime=nil, prorenewflag=nil, proresourceid=nil, requestid=nil)
1607
+ def initialize(serviceenabled=nil, invalidtype=nil, userlevel=nil, proexpiretime=nil, prorenewflag=nil, proresourceid=nil, exclusivevsmenabled=nil, exclusivehsmenabled=nil, requestid=nil)
1593
1608
  @ServiceEnabled = serviceenabled
1594
1609
  @InvalidType = invalidtype
1595
1610
  @UserLevel = userlevel
1596
1611
  @ProExpireTime = proexpiretime
1597
1612
  @ProRenewFlag = prorenewflag
1598
1613
  @ProResourceId = proresourceid
1614
+ @ExclusiveVSMEnabled = exclusivevsmenabled
1615
+ @ExclusiveHSMEnabled = exclusivehsmenabled
1599
1616
  @RequestId = requestid
1600
1617
  end
1601
1618
 
@@ -1606,6 +1623,8 @@ module TencentCloud
1606
1623
  @ProExpireTime = params['ProExpireTime']
1607
1624
  @ProRenewFlag = params['ProRenewFlag']
1608
1625
  @ProResourceId = params['ProResourceId']
1626
+ @ExclusiveVSMEnabled = params['ExclusiveVSMEnabled']
1627
+ @ExclusiveHSMEnabled = params['ExclusiveHSMEnabled']
1609
1628
  @RequestId = params['RequestId']
1610
1629
  end
1611
1630
  end
@@ -1705,10 +1724,13 @@ module TencentCloud
1705
1724
  # @type ValidTo: Integer
1706
1725
  # @param ResourceId: 资源ID,格式:creatorUin/$creatorUin/$keyId
1707
1726
  # @type ResourceId: String
1727
+ # @param HsmClusterId: HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
1728
+ # 注意:此字段可能返回 null,表示取不到有效值。
1729
+ # @type HsmClusterId: String
1708
1730
 
1709
- attr_accessor :KeyId, :Alias, :CreateTime, :Description, :KeyState, :KeyUsage, :Type, :CreatorUin, :KeyRotationEnabled, :Owner, :NextRotateTime, :DeletionDate, :Origin, :ValidTo, :ResourceId
1731
+ attr_accessor :KeyId, :Alias, :CreateTime, :Description, :KeyState, :KeyUsage, :Type, :CreatorUin, :KeyRotationEnabled, :Owner, :NextRotateTime, :DeletionDate, :Origin, :ValidTo, :ResourceId, :HsmClusterId
1710
1732
 
1711
- def initialize(keyid=nil, _alias=nil, createtime=nil, description=nil, keystate=nil, keyusage=nil, type=nil, creatoruin=nil, keyrotationenabled=nil, owner=nil, nextrotatetime=nil, deletiondate=nil, origin=nil, validto=nil, resourceid=nil)
1733
+ def initialize(keyid=nil, _alias=nil, createtime=nil, description=nil, keystate=nil, keyusage=nil, type=nil, creatoruin=nil, keyrotationenabled=nil, owner=nil, nextrotatetime=nil, deletiondate=nil, origin=nil, validto=nil, resourceid=nil, hsmclusterid=nil)
1712
1734
  @KeyId = keyid
1713
1735
  @Alias = _alias
1714
1736
  @CreateTime = createtime
@@ -1724,6 +1746,7 @@ module TencentCloud
1724
1746
  @Origin = origin
1725
1747
  @ValidTo = validto
1726
1748
  @ResourceId = resourceid
1749
+ @HsmClusterId = hsmclusterid
1727
1750
  end
1728
1751
 
1729
1752
  def deserialize(params)
@@ -1742,6 +1765,7 @@ module TencentCloud
1742
1765
  @Origin = params['Origin']
1743
1766
  @ValidTo = params['ValidTo']
1744
1767
  @ResourceId = params['ResourceId']
1768
+ @HsmClusterId = params['HsmClusterId']
1745
1769
  end
1746
1770
  end
1747
1771
 
@@ -1825,10 +1849,12 @@ module TencentCloud
1825
1849
  # @type KeyUsage: String
1826
1850
  # @param TagFilters: 标签过滤条件
1827
1851
  # @type TagFilters: Array
1852
+ # @param HsmClusterId: KMS 高级版对应的 HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)。
1853
+ # @type HsmClusterId: String
1828
1854
 
1829
- attr_accessor :Offset, :Limit, :Role, :OrderType, :KeyState, :SearchKeyAlias, :Origin, :KeyUsage, :TagFilters
1855
+ attr_accessor :Offset, :Limit, :Role, :OrderType, :KeyState, :SearchKeyAlias, :Origin, :KeyUsage, :TagFilters, :HsmClusterId
1830
1856
 
1831
- def initialize(offset=nil, limit=nil, role=nil, ordertype=nil, keystate=nil, searchkeyalias=nil, origin=nil, keyusage=nil, tagfilters=nil)
1857
+ def initialize(offset=nil, limit=nil, role=nil, ordertype=nil, keystate=nil, searchkeyalias=nil, origin=nil, keyusage=nil, tagfilters=nil, hsmclusterid=nil)
1832
1858
  @Offset = offset
1833
1859
  @Limit = limit
1834
1860
  @Role = role
@@ -1838,6 +1864,7 @@ module TencentCloud
1838
1864
  @Origin = origin
1839
1865
  @KeyUsage = keyusage
1840
1866
  @TagFilters = tagfilters
1867
+ @HsmClusterId = hsmclusterid
1841
1868
  end
1842
1869
 
1843
1870
  def deserialize(params)
@@ -1857,6 +1884,7 @@ module TencentCloud
1857
1884
  @TagFilters << tagfilter_tmp
1858
1885
  end
1859
1886
  end
1887
+ @HsmClusterId = params['HsmClusterId']
1860
1888
  end
1861
1889
  end
1862
1890
 
@@ -1900,19 +1928,23 @@ module TencentCloud
1900
1928
  # @type Limit: Integer
1901
1929
  # @param Role: 根据创建者角色筛选,默认 0 表示用户自己创建的cmk, 1 表示授权其它云产品自动创建的cmk
1902
1930
  # @type Role: Integer
1931
+ # @param HsmClusterId: KMS 高级版对应的 HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)。
1932
+ # @type HsmClusterId: String
1903
1933
 
1904
- attr_accessor :Offset, :Limit, :Role
1934
+ attr_accessor :Offset, :Limit, :Role, :HsmClusterId
1905
1935
 
1906
- def initialize(offset=nil, limit=nil, role=nil)
1936
+ def initialize(offset=nil, limit=nil, role=nil, hsmclusterid=nil)
1907
1937
  @Offset = offset
1908
1938
  @Limit = limit
1909
1939
  @Role = role
1940
+ @HsmClusterId = hsmclusterid
1910
1941
  end
1911
1942
 
1912
1943
  def deserialize(params)
1913
1944
  @Offset = params['Offset']
1914
1945
  @Limit = params['Limit']
1915
1946
  @Role = params['Role']
1947
+ @HsmClusterId = params['HsmClusterId']
1916
1948
  end
1917
1949
  end
1918
1950
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-kms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.322
4
+ version: 1.0.323
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-05-29 00:00:00.000000000 Z
11
+ date: 2022-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common