tencentcloud-sdk-mqtt 3.0.1027 → 3.0.1028

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: 68cbc27a06f4acad1872015b0db4a6cabc0cc9aa
4
- data.tar.gz: 6770022dc9bd2c39111ba70413bff57115e0610b
3
+ metadata.gz: cdd409eb1b1a37cfabe60554e5a8870ec03b3676
4
+ data.tar.gz: 1aa6eb467d732dd193d13e4ee79fd66d91fda962
5
5
  SHA512:
6
- metadata.gz: 4c7799a44b53e82cbf001d018e9555cd30ea0406a1dab993b3cb2bd3fa06795409f3d819f451e8cc05c135f3aff2f87eb923ce35bbfed9c22b1fe378639416ad
7
- data.tar.gz: 25882e8b5aa38fb42ba0035c1b4374da23b09144263c45798948f9750a9047c95ee0b8c6161905a73f096c162565baa77c62c7d038e64dda6f458c750e457966
6
+ metadata.gz: 53eb53e3c09e213e9523c5fbf7418898cbc0d0ad82a8513b6103aa5210271cecb563c83cfc29d34953f30a0716aad3ffce99721c807166201d481ab3bbf13b46
7
+ data.tar.gz: 9ab3798fa6c4aaaf341903d890677b3673138bf45b5e2aa11ab9754631b28ccf5bb943399b83543fcdcc9da362fa778e9f99b9ec1656e75c150302c3e3c5f40a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1027
1
+ 3.0.1028
@@ -1192,7 +1192,7 @@ module TencentCloud
1192
1192
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1193
1193
  end
1194
1194
 
1195
- # 注册ca证书
1195
+ # 注册CA证书(仅一机一证场景支持),可参考 [自定义 X.509 证书实现 “一机一证”](https://cloud.tencent.com/document/product/1778/114817)
1196
1196
 
1197
1197
  # @param request: Request instance for RegisterCaCertificate.
1198
1198
  # @type request: :class:`Tencentcloud::mqtt::V20240516::RegisterCaCertificateRequest`
@@ -1216,7 +1216,7 @@ module TencentCloud
1216
1216
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1217
1217
  end
1218
1218
 
1219
- # 注册设备证书
1219
+ # 注册设备证书(仅一机一证场景生效),可参考 [自定义 X.509 证书实现 “一机一证”](https://cloud.tencent.com/document/product/1778/114817#6cb39d46-efad-4220-8f11-2e7fab207bc8)
1220
1220
 
1221
1221
  # @param request: Request instance for RegisterDeviceCertificate.
1222
1222
  # @type request: :class:`Tencentcloud::mqtt::V20240516::RegisterDeviceCertificateRequest`
@@ -19,9 +19,9 @@ module TencentCloud
19
19
  module V20240516
20
20
  # ActivateCaCertificate请求参数结构体
21
21
  class ActivateCaCertificateRequest < TencentCloud::Common::AbstractModel
22
- # @param InstanceId: 集群id
22
+ # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
23
23
  # @type InstanceId: String
24
- # @param CaSn: 证书序列号
24
+ # @param CaSn: CA证书的SN序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
25
25
  # @type CaSn: String
26
26
 
27
27
  attr_accessor :InstanceId, :CaSn
@@ -803,7 +803,7 @@ module TencentCloud
803
803
  # @type InstanceId: String
804
804
  # @param Username: 用户名,不能为空,只支持数字 大小写字母 分隔符("_","-"),不能超过 32 个字符
805
805
  # @type Username: String
806
- # @param Password: 密码,该字段为空时候则后端会默认生成
806
+ # @param Password: 密码,该字段为空时候则后端会默认生成。用户自定义密码时,不能为空,只支持数字 大小写字母 分隔符("_","-"),不能超过 64 个字符。
807
807
  # @type Password: String
808
808
  # @param Remark: 备注,长度不超过128个字符。
809
809
  # @type Remark: String
@@ -992,7 +992,7 @@ module TencentCloud
992
992
  class DeleteCaCertificateRequest < TencentCloud::Common::AbstractModel
993
993
  # @param InstanceId: 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
994
994
  # @type InstanceId: String
995
- # @param CaSn: 证书序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
995
+ # @param CaSn: CA证书序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
996
996
  # @type CaSn: String
997
997
 
998
998
  attr_accessor :InstanceId, :CaSn
@@ -1094,7 +1094,7 @@ module TencentCloud
1094
1094
 
1095
1095
  # DeleteInstance请求参数结构体
1096
1096
  class DeleteInstanceRequest < TencentCloud::Common::AbstractModel
1097
- # @param InstanceId: 实例ID
1097
+ # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1098
1098
  # @type InstanceId: String
1099
1099
 
1100
1100
  attr_accessor :InstanceId
@@ -1291,9 +1291,9 @@ module TencentCloud
1291
1291
 
1292
1292
  # DescribeCaCertificate请求参数结构体
1293
1293
  class DescribeCaCertificateRequest < TencentCloud::Common::AbstractModel
1294
- # @param CaSn: ca证书sn
1294
+ # @param CaSn: CA证书的SN序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
1295
1295
  # @type CaSn: String
1296
- # @param InstanceId: 集群id
1296
+ # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1297
1297
  # @type InstanceId: String
1298
1298
 
1299
1299
  attr_accessor :CaSn, :InstanceId
@@ -1311,29 +1311,31 @@ module TencentCloud
1311
1311
 
1312
1312
  # DescribeCaCertificate返回参数结构体
1313
1313
  class DescribeCaCertificateResponse < TencentCloud::Common::AbstractModel
1314
- # @param CreatedTime: 创建时间
1314
+ # @param CreatedTime: 创建时间,毫秒级时间戳 。
1315
1315
  # @type CreatedTime: Integer
1316
- # @param UpdateTime: 上次更新时间
1316
+ # @param UpdateTime: 上次更新时间,毫秒级时间戳 。
1317
1317
  # @type UpdateTime: Integer
1318
- # @param NotAfterTime: 失效日期
1318
+ # @param NotAfterTime: 失效日期,毫秒级时间戳 。
1319
1319
  # @type NotAfterTime: Integer
1320
- # @param LastActivationTime: 上次激活时间
1320
+ # @param LastActivationTime: 上次激活时间,毫秒级时间戳 。
1321
1321
  # @type LastActivationTime: Integer
1322
- # @param LastInactivationTime: 上次吊销时间
1322
+ # @param LastInactivationTime: 上次吊销时间,毫秒级时间戳 。
1323
1323
  # @type LastInactivationTime: Integer
1324
- # @param Status: 证书状态
1324
+ # @param Status: CA证书状态
1325
+ # ACTIVE:激活
1326
+ # INACTIVE:未激活
1325
1327
  # @type Status: String
1326
1328
  # @param CaSn: 证书序列号
1327
1329
  # @type CaSn: String
1328
- # @param CaCn: common name
1330
+ # @param CaCn: 证书的CN(Common Name),证书中用于标识主体的名称,通常是域名或组织名称
1329
1331
  # @type CaCn: String
1330
1332
  # @param CaCertificate: 证书内容
1331
1333
  # @type CaCertificate: String
1332
- # @param Format: 证书格式
1334
+ # @param Format: 证书格式,当仅支持PEM格式
1333
1335
  # @type Format: String
1334
1336
  # @param CaIssuerCn: Ca证书颁发者CN
1335
1337
  # @type CaIssuerCn: String
1336
- # @param NotBeforeTime: 生效开始时间
1338
+ # @param NotBeforeTime: 生效开始时间,毫秒级时间戳 。
1337
1339
  # @type NotBeforeTime: Integer
1338
1340
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1339
1341
  # @type RequestId: String
@@ -1420,7 +1422,7 @@ module TencentCloud
1420
1422
  class DescribeClientListRequest < TencentCloud::Common::AbstractModel
1421
1423
  # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1422
1424
  # @type InstanceId: String
1423
- # @param ClientId: 客户端名
1425
+ # @param ClientId: 客户端ID
1424
1426
  # @type ClientId: String
1425
1427
  # @param Number: 客户端数量限制,最大1024,默认1024
1426
1428
  # @type Number: String
@@ -1571,23 +1573,24 @@ module TencentCloud
1571
1573
 
1572
1574
  # DescribeDeviceCertificates请求参数结构体
1573
1575
  class DescribeDeviceCertificatesRequest < TencentCloud::Common::AbstractModel
1574
- # @param InstanceId: 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1576
+ # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1575
1577
  # @type InstanceId: String
1576
1578
  # @param Filters: 支持搜索参数
1577
- # ClientId:客户端id
1578
- # CaSn:所属的CA证书SN
1579
- # DeviceCertificateSn:设备证书SN
1580
- # DeviceCertificateCn:设备证书CN
1579
+ # ClientId:客户端id,根据实际业务使用获取
1580
+ # CaSn:所属的CA证书SN序列号 可以从 [查询集群CA证书列表](https://cloud.tencent.com/document/api/1778/116206) 或者实际业务使用获取
1581
+ # DeviceCertificateSn:设备证书SN序列号 可从[查询设备证书详情](https://cloud.tencent.com/document/api/1778/113748) 获取
1582
+ # DeviceCertificateCn:设备证书CN 可从[查询设备证书详情](https://cloud.tencent.com/document/api/1778/113748) 获取
1581
1583
  # OrganizationalUnit:证书OU
1582
1584
  # NotAfterEnd:过期时间小于等于指定时间的证书
1583
1585
  # NotAfterStart:过期时间大于等于指定时间的证书
1584
- # Status:证书状态
1586
+ # Status:设备证书状态 ACTIVE(激活); INACTIVE(未激活)REVOKED(吊销);PENDING_ACTIVATION(注册待激活)
1585
1587
  # @type Filters: Array
1586
- # @param Limit: 分页limit
1588
+ # @param Limit: 分页limit,默认20,最大100
1587
1589
  # @type Limit: Integer
1588
- # @param Offset: 分页偏移量
1590
+ # @param Offset: 分页偏移量,默认0
1589
1591
  # @type Offset: Integer
1590
- # @param OrderBy: CREATE_TIME_DESC, 创建时间降序
1592
+ # @param OrderBy: 排序规则
1593
+ # CREATE_TIME_DESC, 创建时间降序
1591
1594
  # CREATE_TIME_ASC,创建时间升序
1592
1595
  # UPDATE_TIME_DESC,更新时间降序
1593
1596
  # UPDATE_TIME_ASC,更新时间升序
@@ -1623,7 +1626,7 @@ module TencentCloud
1623
1626
  class DescribeDeviceCertificatesResponse < TencentCloud::Common::AbstractModel
1624
1627
  # @param TotalCount: 总数
1625
1628
  # @type TotalCount: Integer
1626
- # @param Data: 设备证书
1629
+ # @param Data: 设备证书列表
1627
1630
  # @type Data: Array
1628
1631
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1629
1632
  # @type RequestId: String
@@ -2134,7 +2137,7 @@ module TencentCloud
2134
2137
  # @type Filters: Array
2135
2138
  # @param Offset: 查询起始位置,默认0。
2136
2139
  # @type Offset: Integer
2137
- # @param Limit: 查询结果限制数量,默认0,最大20
2140
+ # @param Limit: 查询结果限制数量,默认20,最大20
2138
2141
  # @type Limit: Integer
2139
2142
 
2140
2143
  attr_accessor :InstanceId, :Filters, :Offset, :Limit
@@ -2317,37 +2320,37 @@ module TencentCloud
2317
2320
  # @type ClientId: String
2318
2321
  # @param DeviceCertificate: 设备证书
2319
2322
  # @type DeviceCertificate: String
2320
- # @param DeviceCertificateSn: 设备证书Sn
2323
+ # @param DeviceCertificateSn: 设备证书SN序列号,用于唯一标识一个设备证书
2321
2324
  # @type DeviceCertificateSn: String
2322
2325
  # @param DeviceCertificateCn: 设备证书Cn
2323
2326
  # @type DeviceCertificateCn: String
2324
- # @param CaSn: 签发ca的序列号
2327
+ # @param CaSn: 签发该证书的CA证书的序列号
2325
2328
  # @type CaSn: String
2326
- # @param Format: 证书格式
2329
+ # @param Format: 证书格式,当前仅支持PEM
2327
2330
  # @type Format: String
2328
- # @param Status: 证书状态
2329
- # ACTIVE,//激活
2330
- # INACTIVE,//未激活
2331
- # REVOKED,//吊销
2332
- # PENDING_ACTIVATION,//注册待激活
2331
+ # @param Status: 设备证书状态
2332
+ # ACTIVE:激活
2333
+ # INACTIVE:未激活
2334
+ # REVOKED:吊销
2335
+ # PENDING_ACTIVATION:注册待激活
2333
2336
  # @type Status: String
2334
2337
  # @param OrganizationalUnit: 组织单位
2335
2338
  # @type OrganizationalUnit: String
2336
- # @param LastActivationTime: 上次激活时间
2339
+ # @param LastActivationTime: 上次激活时间,毫秒级时间戳 。
2337
2340
  # @type LastActivationTime: Integer
2338
- # @param LastInactivationTime: 上次取消激活时间
2341
+ # @param LastInactivationTime: 上次取消激活时间,毫秒级时间戳 。
2339
2342
  # @type LastInactivationTime: Integer
2340
- # @param CreatedTime: 创建时间
2343
+ # @param CreatedTime: 创建时间,毫秒级时间戳 。
2341
2344
  # @type CreatedTime: Integer
2342
- # @param UpdateTime: 预销毁时间
2345
+ # @param UpdateTime: 更新时间,毫秒级时间戳 。
2343
2346
  # @type UpdateTime: Integer
2344
2347
  # @param CertificateSource: 证书来源:
2345
2348
  # API, 手动注册
2346
2349
  # JITP 自动注册
2347
2350
  # @type CertificateSource: String
2348
- # @param NotAfterTime: 证书失效日期
2351
+ # @param NotAfterTime: 证书失效日期,毫秒级时间戳 。
2349
2352
  # @type NotAfterTime: Integer
2350
- # @param NotBeforeTime: 证书生效开始日期
2353
+ # @param NotBeforeTime: 证书生效开始日期,毫秒级时间戳 。
2351
2354
  # @type NotBeforeTime: Integer
2352
2355
 
2353
2356
  attr_accessor :ClientId, :DeviceCertificate, :DeviceCertificateSn, :DeviceCertificateCn, :CaSn, :Format, :Status, :OrganizationalUnit, :LastActivationTime, :LastInactivationTime, :CreatedTime, :UpdateTime, :CertificateSource, :NotAfterTime, :NotBeforeTime
@@ -2670,7 +2673,7 @@ module TencentCloud
2670
2673
  # @type MaxSubscriptionPerClient: Integer
2671
2674
  # @param ClientNumLimit: 客户端连接数上线
2672
2675
  # @type ClientNumLimit: Integer
2673
- # @param RenewFlag: 是否自动续费。仅包年包月就去那生效。
2676
+ # @param RenewFlag: 是否自动续费。仅包年包月集群生效。
2674
2677
  # 1:自动续费
2675
2678
  # 0:非自动续费
2676
2679
  # @type RenewFlag: Integer
@@ -3528,19 +3531,17 @@ module TencentCloud
3528
3531
 
3529
3532
  # RegisterCaCertificate请求参数结构体
3530
3533
  class RegisterCaCertificateRequest < TencentCloud::Common::AbstractModel
3531
- # @param InstanceId: 集群id
3534
+ # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
3532
3535
  # @type InstanceId: String
3533
- # @param CaCertificate: CA证书
3536
+ # @param CaCertificate: CA证书内容,自签CA可参考 [自定义 X.509 证书实现 “一机一证”](https://cloud.tencent.com/document/product/1778/114817) 签发自签CA
3534
3537
  # @type CaCertificate: String
3535
- # @param VerificationCertificate: 验证证书
3538
+ # @param VerificationCertificate: 验证证书内容,可参考 [自定义 X.509 证书实现 “一机一证”](https://cloud.tencent.com/document/product/1778/114817) 手动注册CA证书章节
3536
3539
  # @type VerificationCertificate: String
3537
- # @param Format: 证书格式,不传默认PEM格式
3540
+ # @param Format: 证书格式,不传默认PEM格式,当前仅支持PEM格式
3538
3541
  # @type Format: String
3539
3542
  # @param Status: 证书状态,不传默认ACTIVE状态
3540
- # ACTIVE,//激活
3541
- # INACTIVE,//未激活
3542
- # REVOKED,//吊销
3543
- # PENDING_ACTIVATION,//注册待激活
3543
+ # ACTIVE:激活
3544
+ # INACTIVE:未激活
3544
3545
  # @type Status: String
3545
3546
 
3546
3547
  attr_accessor :InstanceId, :CaCertificate, :VerificationCertificate, :Format, :Status
@@ -3580,17 +3581,21 @@ module TencentCloud
3580
3581
 
3581
3582
  # RegisterDeviceCertificate请求参数结构体
3582
3583
  class RegisterDeviceCertificateRequest < TencentCloud::Common::AbstractModel
3583
- # @param InstanceId: 集群id
3584
+ # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
3584
3585
  # @type InstanceId: String
3585
- # @param DeviceCertificate: 设备证书
3586
+ # @param DeviceCertificate: 设备证书内容,可参考 [使用 CA 证书生成服务端/客户端证书](https://cloud.tencent.com/document/product/1778/114817#aab79cc8-a148-412e-beb8-9c9e158eb944) 生成
3586
3587
  # @type DeviceCertificate: String
3587
3588
  # @param CaSn: 关联的CA证书SN
3588
3589
  # @type CaSn: String
3589
- # @param ClientId: 客户端ID
3590
+ # @param ClientId: 客户端ID,需要关联该证书的客户端ID。根据实际业务使用填写
3590
3591
  # @type ClientId: String
3591
- # @param Format: 证书格式
3592
+ # @param Format: 证书格式,默认为PEM,当前仅支持PEM格式
3592
3593
  # @type Format: String
3593
- # @param Status: ACTIVE,//激活 INACTIVE,//未激活 REVOKED,//吊销 PENDING_ACTIVATION,//注册待激活
3594
+ # @param Status: 客户端证书状态,默认激活状态(ACTIVE
3595
+ # ACTIVE:激活
3596
+ # INACTIVE:未激活
3597
+ # REVOKED:吊销
3598
+ # PENDING_ACTIVATION:注册待激活
3594
3599
  # @type Status: String
3595
3600
 
3596
3601
  attr_accessor :InstanceId, :DeviceCertificate, :CaSn, :ClientId, :Format, :Status
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mqtt
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1027
4
+ version: 3.0.1028
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-03-25 00:00:00.000000000 Z
11
+ date: 2025-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common