tencentcloud-sdk-nodejs-mqtt 4.1.334 → 4.1.346
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.
package/package.json
CHANGED
|
@@ -283,7 +283,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
283
283
|
*/
|
|
284
284
|
DescribeSharedSubscriptionClient(req: DescribeSharedSubscriptionClientRequest, cb?: (error: string, rep: DescribeSharedSubscriptionClientResponse) => void): Promise<DescribeSharedSubscriptionClientResponse>;
|
|
285
285
|
/**
|
|
286
|
-
* 注册CA
|
|
286
|
+
* 注册CA证书(仅一机一证场景支持)
|
|
287
287
|
*/
|
|
288
288
|
RegisterCaCertificate(req: RegisterCaCertificateRequest, cb?: (error: string, rep: RegisterCaCertificateResponse) => void): Promise<RegisterCaCertificateResponse>;
|
|
289
289
|
/**
|
|
@@ -437,7 +437,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
437
437
|
return this.request("DescribeSharedSubscriptionClient", req, cb);
|
|
438
438
|
}
|
|
439
439
|
/**
|
|
440
|
-
* 注册CA
|
|
440
|
+
* 注册CA证书(仅一机一证场景支持)
|
|
441
441
|
*/
|
|
442
442
|
async RegisterCaCertificate(req, cb) {
|
|
443
443
|
return this.request("RegisterCaCertificate", req, cb);
|
|
@@ -778,11 +778,11 @@ export interface CreateMessageEnrichmentRuleResponse {
|
|
|
778
778
|
*/
|
|
779
779
|
export interface RegisterCaCertificateResponse {
|
|
780
780
|
/**
|
|
781
|
-
* mqtt实例ID
|
|
781
|
+
* <p>mqtt实例ID</p>
|
|
782
782
|
*/
|
|
783
783
|
InstanceId?: string;
|
|
784
784
|
/**
|
|
785
|
-
* ca
|
|
785
|
+
* <p>ca 证书的序列号</p>
|
|
786
786
|
*/
|
|
787
787
|
CaSn?: string;
|
|
788
788
|
/**
|
|
@@ -2763,25 +2763,23 @@ export interface CreateAuthorizationPolicyResponse {
|
|
|
2763
2763
|
*/
|
|
2764
2764
|
export interface RegisterCaCertificateRequest {
|
|
2765
2765
|
/**
|
|
2766
|
-
*
|
|
2766
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
2767
2767
|
*/
|
|
2768
2768
|
InstanceId: string;
|
|
2769
2769
|
/**
|
|
2770
|
-
* CA
|
|
2770
|
+
* <p>CA证书内容</p>
|
|
2771
2771
|
*/
|
|
2772
2772
|
CaCertificate: string;
|
|
2773
2773
|
/**
|
|
2774
|
-
*
|
|
2774
|
+
* <p>验证证书内容</p>
|
|
2775
2775
|
*/
|
|
2776
2776
|
VerificationCertificate?: string;
|
|
2777
2777
|
/**
|
|
2778
|
-
*
|
|
2778
|
+
* <p>证书格式,不传默认PEM格式,当前仅支持PEM格式</p>
|
|
2779
2779
|
*/
|
|
2780
2780
|
Format?: string;
|
|
2781
2781
|
/**
|
|
2782
|
-
*
|
|
2783
|
-
ACTIVE:激活
|
|
2784
|
-
INACTIVE:未激活
|
|
2782
|
+
* <p>证书状态,不传默认ACTIVE状态<br> ACTIVE:激活<br> INACTIVE:未激活</p>
|
|
2785
2783
|
*/
|
|
2786
2784
|
Status?: string;
|
|
2787
2785
|
}
|