tencentcloud-sdk-nodejs 4.1.332 → 4.1.334
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/es/common/sdk_version.js +1 -1
- package/es/services/ctem/v20231128/ctem_client.js +21 -6
- package/es/services/cvd/index.js +4 -0
- package/es/services/cvd/v20201104/cvd_client.js +150 -0
- package/es/services/cvd/v20201104/cvd_models.js +1 -0
- package/es/services/cvd/v20201104/index.js +6 -0
- package/es/services/dbbrain/v20210527/dbbrain_client.js +3 -0
- package/es/services/goosefs/v20220519/goosefs_client.js +3 -0
- package/es/services/index.js +1 -0
- package/es/services/kms/v20190118/kms_client.js +9 -6
- package/es/services/tcb/v20180608/tcb_client.js +2 -17
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/adp/v20260520/adp_client.d.ts +1 -2
- package/tencentcloud/services/adp/v20260520/adp_client.js +1 -2
- package/tencentcloud/services/adp/v20260520/adp_models.d.ts +7 -3
- package/tencentcloud/services/ags/v20250920/ags_models.d.ts +3 -3
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +44 -11
- package/tencentcloud/services/cdz/v20221123/cdz_models.d.ts +10 -6
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +25 -13
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +4 -0
- package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +23 -4
- package/tencentcloud/services/cngw/v20230418/cngw_client.js +22 -3
- package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +723 -227
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +8 -0
- package/tencentcloud/services/ctem/v20231128/ctem_client.d.ts +27 -7
- package/tencentcloud/services/ctem/v20231128/ctem_client.js +39 -9
- package/tencentcloud/services/ctem/v20231128/ctem_models.d.ts +247 -76
- package/tencentcloud/services/cvd/index.d.ts +6 -0
- package/tencentcloud/services/cvd/index.js +7 -0
- package/tencentcloud/services/cvd/v20201104/cvd_client.d.ts +205 -0
- package/tencentcloud/services/cvd/v20201104/cvd_client.js +322 -0
- package/tencentcloud/services/cvd/v20201104/cvd_models.d.ts +2527 -0
- package/tencentcloud/services/cvd/v20201104/cvd_models.js +18 -0
- package/tencentcloud/services/cvd/v20201104/index.d.ts +6 -0
- package/tencentcloud/services/cvd/v20201104/index.js +10 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +83 -20
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +164 -46
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +41 -0
- package/tencentcloud/services/ga2/v20250115/ga2_client.d.ts +1 -1
- package/tencentcloud/services/ga2/v20250115/ga2_models.d.ts +72 -30
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +5 -1
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +6 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +169 -23
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +7 -5
- package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +3 -3
- package/tencentcloud/services/ioa/v20220601/ioa_client.js +3 -3
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +113 -41
- package/tencentcloud/services/kms/v20190118/kms_client.d.ts +11 -7
- package/tencentcloud/services/kms/v20190118/kms_client.js +15 -9
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +79 -20
- package/tencentcloud/services/live/v20180801/live_models.d.ts +44 -61
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +1 -1
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +30 -47
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +63 -3
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +31 -73
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +5 -25
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +5 -35
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +116 -515
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +2 -2
- package/tencentcloud/services/tse/v20201207/tse_client.js +1 -1
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +457 -145
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -0
- package/tencentcloud/services/vod/v20180717/vod_client.js +1 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +157 -3
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +7 -7
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +20 -0
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.d.ts +1 -1
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.js +1 -1
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.d.ts +58 -1
- package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +1 -1
|
@@ -191,41 +191,77 @@ export interface ModifyCompanyDirectoryConfigRequest {
|
|
|
191
191
|
*/
|
|
192
192
|
export interface ModifyBusinessResourceRequest {
|
|
193
193
|
/**
|
|
194
|
-
*
|
|
194
|
+
* <p>业务资源所在的模块id,没有资源模块先创建资源模块(只支持32位)</p>
|
|
195
195
|
*/
|
|
196
196
|
AreaId: number;
|
|
197
197
|
/**
|
|
198
|
-
*
|
|
198
|
+
* <p>业务资源协议类型,3:所有,2:UDP,1:TCP(只支持32位)</p>
|
|
199
199
|
*/
|
|
200
200
|
Protocol: number;
|
|
201
201
|
/**
|
|
202
|
-
*
|
|
202
|
+
* <p>业务资源名称,同一个资源模块下面不可重复</p>
|
|
203
203
|
*/
|
|
204
204
|
ServiceName: string;
|
|
205
205
|
/**
|
|
206
|
-
*
|
|
206
|
+
* <p>业务资源优先级 1-65535(只支持32位)</p>
|
|
207
207
|
*/
|
|
208
208
|
Levels: number;
|
|
209
209
|
/**
|
|
210
|
-
*
|
|
210
|
+
* <p>业务资源类型:ip,domain,ip_section,对应ip、域名、ip段</p>
|
|
211
211
|
*/
|
|
212
212
|
ServiceType: string;
|
|
213
213
|
/**
|
|
214
|
-
*
|
|
214
|
+
* <p>业务资源端口 all,1-65535</p>
|
|
215
215
|
*/
|
|
216
216
|
ServicePort: string;
|
|
217
217
|
/**
|
|
218
|
-
*
|
|
218
|
+
* <p>修改业务资源的id(只支持32位)</p>
|
|
219
219
|
*/
|
|
220
220
|
ServiceId: number;
|
|
221
221
|
/**
|
|
222
|
-
*
|
|
222
|
+
* <p>业务资源地址(ip、域名、ip段)</p>
|
|
223
223
|
*/
|
|
224
224
|
ServiceAddress: string;
|
|
225
225
|
/**
|
|
226
|
-
*
|
|
226
|
+
* <p>是否走代理,该参数不传,默认为0, 2:内外网直连,1:内网直连, 0:不启用代理配置(只支持32位)</p>
|
|
227
227
|
*/
|
|
228
228
|
DirectConn?: number;
|
|
229
|
+
/**
|
|
230
|
+
* <p>连通性检查开关,0-关闭 1-开启,默认1(只支持32位)</p>
|
|
231
|
+
*/
|
|
232
|
+
ConnectivityCheckSwitch?: number;
|
|
233
|
+
/**
|
|
234
|
+
* <p>连通性检查测试间隔数值,最小为1,默认1(只支持32位)</p>
|
|
235
|
+
*/
|
|
236
|
+
ConnectivityCheckInterval?: number;
|
|
237
|
+
/**
|
|
238
|
+
* <p>连通性检查测试间隔单位 minutes/hours/days,默认hours</p>
|
|
239
|
+
*/
|
|
240
|
+
ConnectivityCheckIntervalUnit?: string;
|
|
241
|
+
/**
|
|
242
|
+
* <p>资源网络类型:1-内网资源 2-外网资源,默认1</p>
|
|
243
|
+
*/
|
|
244
|
+
ServiceNetwork?: number;
|
|
245
|
+
/**
|
|
246
|
+
* <p>是否启用L3网络:1-不启用 2-启用,默认1</p>
|
|
247
|
+
*/
|
|
248
|
+
WireGuardTunnel?: number;
|
|
249
|
+
/**
|
|
250
|
+
* <p>资源描述</p>
|
|
251
|
+
*/
|
|
252
|
+
Description?: string;
|
|
253
|
+
/**
|
|
254
|
+
* <p>URL审计开关:0-关闭 1-开启,默认0</p>
|
|
255
|
+
*/
|
|
256
|
+
URLAuditState?: number;
|
|
257
|
+
/**
|
|
258
|
+
* <p>URL审计证书ID列表,多个用分号分隔</p>
|
|
259
|
+
*/
|
|
260
|
+
URLAuditId?: string;
|
|
261
|
+
/**
|
|
262
|
+
* <p>URL审计路径,多个用分号分隔</p>
|
|
263
|
+
*/
|
|
264
|
+
URLPath?: string;
|
|
229
265
|
}
|
|
230
266
|
/**
|
|
231
267
|
* 业务响应数据
|
|
@@ -818,7 +854,7 @@ export interface DescribeDeviceVirtualGroupsResponse {
|
|
|
818
854
|
*/
|
|
819
855
|
export interface CreateBusinessResourceResponse {
|
|
820
856
|
/**
|
|
821
|
-
*
|
|
857
|
+
* <p>创建业务资源响应的数据</p>
|
|
822
858
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
823
859
|
*/
|
|
824
860
|
Data?: CreateBusinessResourceData;
|
|
@@ -2043,37 +2079,77 @@ export interface ModifyBusinessResourceResponse {
|
|
|
2043
2079
|
*/
|
|
2044
2080
|
export interface CreateBusinessResourceRequest {
|
|
2045
2081
|
/**
|
|
2046
|
-
*
|
|
2082
|
+
* <p>业务资源所在的模块id,没有资源模块先创建资源模块(只支持32位)</p>
|
|
2047
2083
|
*/
|
|
2048
2084
|
AreaId: number;
|
|
2049
2085
|
/**
|
|
2050
|
-
*
|
|
2086
|
+
* <p>业务资源协议类型, 1:UDP, 2:TCP, 3:所有协议(只支持32位)</p>
|
|
2051
2087
|
*/
|
|
2052
2088
|
Protocol: number;
|
|
2053
2089
|
/**
|
|
2054
|
-
*
|
|
2090
|
+
* <p>业务资源名称,同一个资源模块下面不可重复</p>
|
|
2055
2091
|
*/
|
|
2056
2092
|
ServiceName: string;
|
|
2057
2093
|
/**
|
|
2058
|
-
*
|
|
2094
|
+
* <p>业务资源类型:ip,domain,ip_section,对应ip、域名、ip段</p>
|
|
2059
2095
|
*/
|
|
2060
2096
|
ServiceType: string;
|
|
2061
2097
|
/**
|
|
2062
|
-
*
|
|
2098
|
+
* <p>业务资源端口 all,1-65535</p>
|
|
2063
2099
|
*/
|
|
2064
2100
|
ServicePort: string;
|
|
2065
2101
|
/**
|
|
2066
|
-
*
|
|
2102
|
+
* <p>业务资源优先级 1-65535(只支持32位)</p>
|
|
2067
2103
|
*/
|
|
2068
2104
|
Levels: number;
|
|
2069
2105
|
/**
|
|
2070
|
-
*
|
|
2106
|
+
* <p>业务资源地址(ip、域名、ip段)</p>
|
|
2071
2107
|
*/
|
|
2072
2108
|
ServiceAddress: string;
|
|
2073
2109
|
/**
|
|
2074
|
-
*
|
|
2110
|
+
* <p>是否走代理,该参数不传,默认为0, 2:内外网直连,1:内网直连, 0:不启用代理配置(只支持32位)</p>
|
|
2075
2111
|
*/
|
|
2076
2112
|
DirectConn?: number;
|
|
2113
|
+
/**
|
|
2114
|
+
* <p>连通性检查开关,0-关闭 1-开启,默认1(只支持32位)</p>
|
|
2115
|
+
*/
|
|
2116
|
+
ConnectivityCheckSwitch?: number;
|
|
2117
|
+
/**
|
|
2118
|
+
* <p>连通性检查测试间隔数值,最小为1,默认1(只支持32位)</p>
|
|
2119
|
+
*/
|
|
2120
|
+
ConnectivityCheckInterval?: number;
|
|
2121
|
+
/**
|
|
2122
|
+
* <p>连通性检查测试间隔单位 minutes/hours/days,默认hours</p>
|
|
2123
|
+
*/
|
|
2124
|
+
ConnectivityCheckIntervalUnit?: string;
|
|
2125
|
+
/**
|
|
2126
|
+
* <p>资源网络类型:1-内网资源 2-外网资源,默认1</p>
|
|
2127
|
+
*/
|
|
2128
|
+
ServiceNetwork?: number;
|
|
2129
|
+
/**
|
|
2130
|
+
* <p>是否启用L3网络:1-不启用 2-启用,默认1</p>
|
|
2131
|
+
*/
|
|
2132
|
+
WireGuardTunnel?: number;
|
|
2133
|
+
/**
|
|
2134
|
+
* <p>资源描述</p>
|
|
2135
|
+
*/
|
|
2136
|
+
Description?: string;
|
|
2137
|
+
/**
|
|
2138
|
+
* <p>URL审计开关:0-关闭 1-开启,默认0</p><p>枚举值:</p><ul><li>0: 关闭</li><li>1: 开启</li></ul>
|
|
2139
|
+
*/
|
|
2140
|
+
URLAuditState?: number;
|
|
2141
|
+
/**
|
|
2142
|
+
* <p>URL审计证书ID列表,多个用分号分隔</p>
|
|
2143
|
+
*/
|
|
2144
|
+
URLAuditId?: string;
|
|
2145
|
+
/**
|
|
2146
|
+
* <p>URL审计路径,多个用分号分隔</p>
|
|
2147
|
+
*/
|
|
2148
|
+
URLPath?: string;
|
|
2149
|
+
/**
|
|
2150
|
+
* <p>证书Id</p>
|
|
2151
|
+
*/
|
|
2152
|
+
SSLCertId?: string;
|
|
2077
2153
|
}
|
|
2078
2154
|
/**
|
|
2079
2155
|
* DescribeDeviceInfo请求参数结构体
|
|
@@ -2723,39 +2799,35 @@ export interface FilterGroup {
|
|
|
2723
2799
|
*/
|
|
2724
2800
|
export interface DescribeBusinessResourcesRequest {
|
|
2725
2801
|
/**
|
|
2726
|
-
*
|
|
2802
|
+
* <p>滤条件、分页参数。分页内容不传,默认获取第1页,10条数据<br>排序条件</p><li>CreateTime - string - 是否必填:否 - 排序支持:是 - 按业务资源创建时间排序。</li><li>Levels - int - 是否必填:否 - 排序支持:是 - 按业务资源优先级排序。</li><li>ReachableState - int - 是否必填:否 - 排序支持:是 - 按业务资源连通性排序(私有化版本不支持)。</li>
|
|
2727
2803
|
*/
|
|
2728
|
-
|
|
2804
|
+
Condition?: Condition;
|
|
2729
2805
|
/**
|
|
2730
|
-
*
|
|
2806
|
+
* <p>资源模块Id</p>
|
|
2731
2807
|
*/
|
|
2732
|
-
|
|
2808
|
+
AreaId?: number;
|
|
2733
2809
|
/**
|
|
2734
|
-
*
|
|
2810
|
+
* <p>服务名称</p>
|
|
2735
2811
|
*/
|
|
2736
|
-
|
|
2812
|
+
ServiceName?: string;
|
|
2737
2813
|
/**
|
|
2738
|
-
*
|
|
2814
|
+
* <p>搜索关键字</p>
|
|
2739
2815
|
*/
|
|
2740
2816
|
Keywords?: string;
|
|
2741
2817
|
/**
|
|
2742
|
-
*
|
|
2818
|
+
* <p>获取业务资源列表的开始时间,时间格式:2006-01-02</p>
|
|
2743
2819
|
*/
|
|
2744
|
-
|
|
2820
|
+
StartTime?: string;
|
|
2745
2821
|
/**
|
|
2746
|
-
*
|
|
2747
|
-
排序条件
|
|
2748
|
-
<li>CreateTime - string - 是否必填:否 - 排序支持:是 - 按业务资源创建时间排序。</li>
|
|
2749
|
-
<li>Levels - int - 是否必填:否 - 排序支持:是 - 按业务资源优先级排序。</li>
|
|
2750
|
-
<li>ReachableState - int - 是否必填:否 - 排序支持:是 - 按业务资源连通性排序(私有化版本不支持)。</li>
|
|
2822
|
+
* <p>获取业务资源列表的结束时间,时间格式:2006-01-02</p>
|
|
2751
2823
|
*/
|
|
2752
|
-
|
|
2824
|
+
EndTime?: string;
|
|
2753
2825
|
/**
|
|
2754
|
-
*
|
|
2826
|
+
* <p>资源类型</p>
|
|
2755
2827
|
*/
|
|
2756
2828
|
AccessType?: string;
|
|
2757
2829
|
/**
|
|
2758
|
-
* web
|
|
2830
|
+
* <p>web资源前端地址</p>
|
|
2759
2831
|
*/
|
|
2760
2832
|
FrontAddr?: string;
|
|
2761
2833
|
}
|
|
@@ -3065,10 +3137,10 @@ export interface SoftwareInformationData {
|
|
|
3065
3137
|
*/
|
|
3066
3138
|
export interface DescribeBusinessResourcesResponse {
|
|
3067
3139
|
/**
|
|
3068
|
-
*
|
|
3140
|
+
* <p>业务资源分页返回对象</p>
|
|
3069
3141
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3070
3142
|
*/
|
|
3071
|
-
Data
|
|
3143
|
+
Data?: DescribeBusinessResourcePageRsp;
|
|
3072
3144
|
/**
|
|
3073
3145
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3074
3146
|
*/
|
|
@@ -3079,15 +3151,15 @@ export interface DescribeBusinessResourcesResponse {
|
|
|
3079
3151
|
*/
|
|
3080
3152
|
export interface DescribeBusinessResourcePageRsp {
|
|
3081
3153
|
/**
|
|
3082
|
-
*
|
|
3154
|
+
* 分页公共对象
|
|
3083
3155
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3084
3156
|
*/
|
|
3085
|
-
|
|
3157
|
+
Page?: Paging;
|
|
3086
3158
|
/**
|
|
3087
|
-
*
|
|
3159
|
+
* 业务资源列表数据对象集合
|
|
3088
3160
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3089
3161
|
*/
|
|
3090
|
-
|
|
3162
|
+
Items?: Array<DescribeBusinessResourceData>;
|
|
3091
3163
|
}
|
|
3092
3164
|
/**
|
|
3093
3165
|
* DeleteDeliveryStrategy请求参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { UpdateAliasRequest, EnableWhiteBoxKeyRequest, AsymmetricRsaDecryptRequest, EnableKeyRotationRequest, DescribeWhiteBoxKeyDetailsResponse, CreateKeyRequest, DisableWhiteBoxKeyResponse, DisableKeyResponse, DescribeWhiteBoxServiceStatusRequest, UpdateDataKeyDescriptionRequest, DescribeDataKeyResponse, DisableDataKeyResponse, DescribeKeyRequest, DescribeDataKeysRequest, ListAlgorithmsResponse, DisableKeysResponse, EnableDataKeyResponse, DescribeWhiteBoxKeyResponse, UpdateKeyDescriptionResponse, DescribeWhiteBoxServiceStatusResponse, AsymmetricRsaDecryptResponse, ScheduleDataKeyDeletionResponse, EnableKeyRequest, GetKeyRotationStatusRequest, ListAlgorithmsRequest, ListKeyDetailResponse, GenerateDataKeyRequest, UpdateAliasResponse, ScheduleKeyDeletionResponse, PostQuantumCryptoVerifyRequest, GenerateRandomResponse, UpdateDataKeyNameRequest, ScheduleDataKeyDeletionRequest, DescribeKeysRequest, GetPublicKeyRequest, GetServiceStatusRequest, EnableWhiteBoxKeysResponse, ArchiveKeyResponse, VerifyByAsymmetricKeyResponse, DescribeDataKeysResponse, DescribeWhiteBoxKeyRequest, GetParametersForImportResponse, DecryptResponse, ListDataKeyDetailResponse, CreateWhiteBoxKeyResponse, ImportKeyMaterialRequest, DeleteImportedKeyMaterialResponse, EnableKeysRequest, EnableWhiteBoxKeysRequest, EncryptByWhiteBoxResponse, UpdateDataKeyNameResponse, DescribeKeysResponse, EnableWhiteBoxKeyResponse, ListDataKeysResponse, ReEncryptRequest, ListKeysResponse, DescribeDataKeyRequest, AsymmetricSm2DecryptResponse, DisableKeyRotationResponse, VerifyByAsymmetricKeyRequest, DisableWhiteBoxKeysRequest, ImportDataKeyRequest, ListKeyDetailRequest, DeleteWhiteBoxKeyRequest, GetRegionsResponse, UpdateDataKeyDescriptionResponse,
|
|
3
|
+
import { UpdateAliasRequest, EnableWhiteBoxKeyRequest, AsymmetricRsaDecryptRequest, EnableKeyRotationRequest, DescribeWhiteBoxKeyDetailsResponse, CreateKeyRequest, DisableWhiteBoxKeyResponse, DisableKeyResponse, DescribeWhiteBoxServiceStatusRequest, UpdateDataKeyDescriptionRequest, DescribeDataKeyResponse, DisableDataKeyResponse, DescribeKeyRequest, DescribeDataKeysRequest, ListAlgorithmsResponse, DisableKeysResponse, EnableDataKeyResponse, DescribeWhiteBoxKeyResponse, UpdateKeyDescriptionResponse, DescribeWhiteBoxServiceStatusResponse, AsymmetricRsaDecryptResponse, ScheduleDataKeyDeletionResponse, EnableKeyRequest, GetKeyRotationStatusRequest, ListAlgorithmsRequest, ListKeyDetailResponse, GenerateDataKeyRequest, UpdateAliasResponse, ScheduleKeyDeletionResponse, PostQuantumCryptoVerifyRequest, GenerateRandomResponse, UpdateDataKeyNameRequest, ScheduleDataKeyDeletionRequest, DescribeKeysRequest, GetPublicKeyRequest, GetServiceStatusRequest, EnableWhiteBoxKeysResponse, ArchiveKeyResponse, VerifyByAsymmetricKeyResponse, DescribeDataKeysResponse, DescribeWhiteBoxKeyRequest, GetParametersForImportResponse, DecryptResponse, CreateKmsInstanceRequest, ListDataKeyDetailResponse, CreateWhiteBoxKeyResponse, ImportKeyMaterialRequest, DeleteImportedKeyMaterialResponse, EnableKeysRequest, EnableWhiteBoxKeysRequest, EncryptByWhiteBoxResponse, UpdateDataKeyNameResponse, DescribeKeysResponse, EnableWhiteBoxKeyResponse, ListDataKeysResponse, ReEncryptRequest, ListKeysResponse, DescribeDataKeyRequest, AsymmetricSm2DecryptResponse, DisableKeyRotationResponse, VerifyByAsymmetricKeyRequest, DisableWhiteBoxKeysRequest, ImportDataKeyRequest, ListKeyDetailRequest, DeleteWhiteBoxKeyRequest, PostQuantumCryptoSignResponse, GetRegionsResponse, UpdateDataKeyDescriptionResponse, GetDataKeyCiphertextBlobRequest, EnableDataKeysResponse, GenerateDataKeyResponse, EnableDataKeysRequest, CreateWhiteBoxKeyRequest, GetDataKeyPlaintextResponse, DisableDataKeyRequest, OverwriteWhiteBoxDeviceFingerprintsResponse, DisableWhiteBoxKeysResponse, ArchiveKeyRequest, GetParametersForImportRequest, CreateKeyResponse, ReEncryptResponse, EncryptResponse, GetDataKeyPlaintextRequest, CancelKeyDeletionRequest, DeleteImportedKeyMaterialRequest, EnableKeyResponse, ImportDataKeyResponse, GetServiceStatusResponse, GetKeyRotationStatusResponse, EncryptRequest, AsymmetricSm2DecryptRequest, ListDataKeysRequest, DeleteWhiteBoxKeyResponse, ListDataKeyDetailRequest, CancelDataKeyDeletionResponse, RotateKeyResponse, ListKeysRequest, DescribeWhiteBoxDecryptKeyRequest, CancelKeyArchiveResponse, CreateKmsInstanceResponse, DecryptRequest, DescribeWhiteBoxKeyDetailsRequest, PostQuantumCryptoSignRequest, PostQuantumCryptoDecryptRequest, CancelKeyDeletionResponse, DisableKeysRequest, DisableWhiteBoxKeyRequest, UnbindCloudResourceRequest, OverwriteWhiteBoxDeviceFingerprintsRequest, EnableKeyRotationResponse, BindCloudResourceResponse, EnableKeysResponse, SignByAsymmetricKeyRequest, DescribeWhiteBoxDeviceFingerprintsRequest, GetRegionsRequest, PostQuantumCryptoEncryptResponse, EncryptByWhiteBoxRequest, GenerateRandomRequest, DisableDataKeysResponse, ScheduleKeyDeletionRequest, CancelDataKeyDeletionRequest, PostQuantumCryptoEncryptRequest, DisableKeyRequest, ImportKeyMaterialResponse, EnableDataKeyRequest, BindCloudResourceRequest, GetDataKeyCiphertextBlobResponse, GetPublicKeyResponse, SignByAsymmetricKeyResponse, PostQuantumCryptoVerifyResponse, DescribeWhiteBoxDecryptKeyResponse, DescribeWhiteBoxDeviceFingerprintsResponse, PostQuantumCryptoDecryptResponse, RotateKeyRequest, DisableDataKeysRequest, UpdateKeyDescriptionRequest, UnbindCloudResourceResponse, DescribeKeyResponse, CancelKeyArchiveRequest, DisableKeyRotationRequest } from "./kms_models";
|
|
4
4
|
/**
|
|
5
5
|
* kms client
|
|
6
6
|
* @class
|
|
@@ -44,6 +44,10 @@ export declare class Client extends AbstractClient {
|
|
|
44
44
|
* 该接口用于获取非对称密钥的公钥信息,可用于本地数据加密或验签。只有处于Enabled状态的非对称密钥才可能获取公钥。
|
|
45
45
|
*/
|
|
46
46
|
GetPublicKey(req: GetPublicKeyRequest, cb?: (error: string, rep: GetPublicKeyResponse) => void): Promise<GetPublicKeyResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* 该接口用于对指定的cmk修改描述信息。对于处于PendingDelete状态的CMK禁止修改。
|
|
49
|
+
*/
|
|
50
|
+
UpdateKeyDescription(req: UpdateKeyDescriptionRequest, cb?: (error: string, rep: UpdateKeyDescriptionResponse) => void): Promise<UpdateKeyDescriptionResponse>;
|
|
47
51
|
/**
|
|
48
52
|
* 本接口用于禁用一个主密钥,处于禁用状态的Key无法用于加密、解密操作。
|
|
49
53
|
*/
|
|
@@ -154,9 +158,9 @@ export declare class Client extends AbstractClient {
|
|
|
154
158
|
*/
|
|
155
159
|
VerifyByAsymmetricKey(req: VerifyByAsymmetricKeyRequest, cb?: (error: string, rep: VerifyByAsymmetricKeyResponse) => void): Promise<VerifyByAsymmetricKeyResponse>;
|
|
156
160
|
/**
|
|
157
|
-
*
|
|
161
|
+
* 返回数据密钥属性信息列表
|
|
158
162
|
*/
|
|
159
|
-
|
|
163
|
+
DescribeDataKeys(req: DescribeDataKeysRequest, cb?: (error: string, rep: DescribeDataKeysResponse) => void): Promise<DescribeDataKeysResponse>;
|
|
160
164
|
/**
|
|
161
165
|
* 数据密钥导入接口,并托管到KMS
|
|
162
166
|
*/
|
|
@@ -186,9 +190,9 @@ export declare class Client extends AbstractClient {
|
|
|
186
190
|
*/
|
|
187
191
|
DisableDataKey(req: DisableDataKeyRequest, cb?: (error: string, rep: DisableDataKeyResponse) => void): Promise<DisableDataKeyResponse>;
|
|
188
192
|
/**
|
|
189
|
-
*
|
|
193
|
+
* 购买开通KMS服务
|
|
190
194
|
*/
|
|
191
|
-
|
|
195
|
+
CreateKmsInstance(req: CreateKmsInstanceRequest, cb?: (error: string, rep: CreateKmsInstanceResponse) => void): Promise<CreateKmsInstanceResponse>;
|
|
192
196
|
/**
|
|
193
197
|
* 对指定的CMK禁止密钥轮换功能。
|
|
194
198
|
*/
|
|
@@ -258,9 +262,9 @@ export declare class Client extends AbstractClient {
|
|
|
258
262
|
*/
|
|
259
263
|
DescribeWhiteBoxServiceStatus(req?: DescribeWhiteBoxServiceStatusRequest, cb?: (error: string, rep: DescribeWhiteBoxServiceStatusResponse) => void): Promise<DescribeWhiteBoxServiceStatusResponse>;
|
|
260
264
|
/**
|
|
261
|
-
*
|
|
265
|
+
* 批量启用数据密钥
|
|
262
266
|
*/
|
|
263
|
-
|
|
267
|
+
EnableDataKeys(req: EnableDataKeysRequest, cb?: (error: string, rep: EnableDataKeysResponse) => void): Promise<EnableDataKeysResponse>;
|
|
264
268
|
/**
|
|
265
269
|
* 取消密钥归档,取消后密钥的状态变为Enabled。
|
|
266
270
|
*/
|
|
@@ -82,6 +82,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
82
82
|
async GetPublicKey(req, cb) {
|
|
83
83
|
return this.request("GetPublicKey", req, cb);
|
|
84
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* 该接口用于对指定的cmk修改描述信息。对于处于PendingDelete状态的CMK禁止修改。
|
|
87
|
+
*/
|
|
88
|
+
async UpdateKeyDescription(req, cb) {
|
|
89
|
+
return this.request("UpdateKeyDescription", req, cb);
|
|
90
|
+
}
|
|
85
91
|
/**
|
|
86
92
|
* 本接口用于禁用一个主密钥,处于禁用状态的Key无法用于加密、解密操作。
|
|
87
93
|
*/
|
|
@@ -246,10 +252,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
246
252
|
return this.request("VerifyByAsymmetricKey", req, cb);
|
|
247
253
|
}
|
|
248
254
|
/**
|
|
249
|
-
*
|
|
255
|
+
* 返回数据密钥属性信息列表
|
|
250
256
|
*/
|
|
251
|
-
async
|
|
252
|
-
return this.request("
|
|
257
|
+
async DescribeDataKeys(req, cb) {
|
|
258
|
+
return this.request("DescribeDataKeys", req, cb);
|
|
253
259
|
}
|
|
254
260
|
/**
|
|
255
261
|
* 数据密钥导入接口,并托管到KMS
|
|
@@ -294,10 +300,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
294
300
|
return this.request("DisableDataKey", req, cb);
|
|
295
301
|
}
|
|
296
302
|
/**
|
|
297
|
-
*
|
|
303
|
+
* 购买开通KMS服务
|
|
298
304
|
*/
|
|
299
|
-
async
|
|
300
|
-
return this.request("
|
|
305
|
+
async CreateKmsInstance(req, cb) {
|
|
306
|
+
return this.request("CreateKmsInstance", req, cb);
|
|
301
307
|
}
|
|
302
308
|
/**
|
|
303
309
|
* 对指定的CMK禁止密钥轮换功能。
|
|
@@ -402,10 +408,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
402
408
|
return this.request("DescribeWhiteBoxServiceStatus", req, cb);
|
|
403
409
|
}
|
|
404
410
|
/**
|
|
405
|
-
*
|
|
411
|
+
* 批量启用数据密钥
|
|
406
412
|
*/
|
|
407
|
-
async
|
|
408
|
-
return this.request("
|
|
413
|
+
async EnableDataKeys(req, cb) {
|
|
414
|
+
return this.request("EnableDataKeys", req, cb);
|
|
409
415
|
}
|
|
410
416
|
/**
|
|
411
417
|
* 取消密钥归档,取消后密钥的状态变为Enabled。
|
|
@@ -687,6 +687,31 @@ export interface DecryptResponse {
|
|
|
687
687
|
*/
|
|
688
688
|
RequestId?: string;
|
|
689
689
|
}
|
|
690
|
+
/**
|
|
691
|
+
* CreateKmsInstance请求参数结构体
|
|
692
|
+
*/
|
|
693
|
+
export interface CreateKmsInstanceRequest {
|
|
694
|
+
/**
|
|
695
|
+
* <p>实例付费类型(PREPAID)</p>
|
|
696
|
+
*/
|
|
697
|
+
InstanceChargeType: string;
|
|
698
|
+
/**
|
|
699
|
+
* <p>版本类型</p><p>枚举值:</p><ul><li>professional: 专业版</li></ul>
|
|
700
|
+
*/
|
|
701
|
+
ProductVersion?: string;
|
|
702
|
+
/**
|
|
703
|
+
* <p>预付费实例信息</p>
|
|
704
|
+
*/
|
|
705
|
+
InstanceChargePrepaid?: InstanceChargePrepaid;
|
|
706
|
+
/**
|
|
707
|
+
* <p>可重入客户端ID</p>
|
|
708
|
+
*/
|
|
709
|
+
ClientToken?: string;
|
|
710
|
+
/**
|
|
711
|
+
* <p>实例标签</p>
|
|
712
|
+
*/
|
|
713
|
+
Tags?: Array<Tag>;
|
|
714
|
+
}
|
|
690
715
|
/**
|
|
691
716
|
* ListDataKeyDetail返回参数结构体
|
|
692
717
|
*/
|
|
@@ -1171,6 +1196,19 @@ export interface DeleteWhiteBoxKeyRequest {
|
|
|
1171
1196
|
*/
|
|
1172
1197
|
KeyId: string;
|
|
1173
1198
|
}
|
|
1199
|
+
/**
|
|
1200
|
+
* PostQuantumCryptoSign返回参数结构体
|
|
1201
|
+
*/
|
|
1202
|
+
export interface PostQuantumCryptoSignResponse {
|
|
1203
|
+
/**
|
|
1204
|
+
* 签名值,Base64编码。可使用 PostQuantumCryptoVerify接口对签名值进行验证。
|
|
1205
|
+
*/
|
|
1206
|
+
Signature?: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1209
|
+
*/
|
|
1210
|
+
RequestId?: string;
|
|
1211
|
+
}
|
|
1174
1212
|
/**
|
|
1175
1213
|
* 算法的名称 和 标识
|
|
1176
1214
|
*/
|
|
@@ -1220,13 +1258,13 @@ export interface ExclusiveHSM {
|
|
|
1220
1258
|
HsmClusterName?: string;
|
|
1221
1259
|
}
|
|
1222
1260
|
/**
|
|
1223
|
-
*
|
|
1261
|
+
* GetDataKeyCiphertextBlob请求参数结构体
|
|
1224
1262
|
*/
|
|
1225
|
-
export interface
|
|
1263
|
+
export interface GetDataKeyCiphertextBlobRequest {
|
|
1226
1264
|
/**
|
|
1227
|
-
*
|
|
1265
|
+
* 数据密钥的唯一标志符
|
|
1228
1266
|
*/
|
|
1229
|
-
|
|
1267
|
+
DataKeyId: string;
|
|
1230
1268
|
/**
|
|
1231
1269
|
* 可信服务成员账号信息,当前账号时管理员或者委派管理员时有效。
|
|
1232
1270
|
*/
|
|
@@ -1488,13 +1526,13 @@ export interface GetDataKeyPlaintextRequest {
|
|
|
1488
1526
|
EncryptionAlgorithm?: string;
|
|
1489
1527
|
}
|
|
1490
1528
|
/**
|
|
1491
|
-
*
|
|
1529
|
+
* CancelKeyDeletion请求参数结构体
|
|
1492
1530
|
*/
|
|
1493
|
-
export interface
|
|
1531
|
+
export interface CancelKeyDeletionRequest {
|
|
1494
1532
|
/**
|
|
1495
|
-
*
|
|
1533
|
+
* 需要被取消删除的CMK的唯一标志
|
|
1496
1534
|
*/
|
|
1497
|
-
|
|
1535
|
+
KeyId: string;
|
|
1498
1536
|
/**
|
|
1499
1537
|
* 可信服务成员账号信息,当前账号时管理员或者委派管理员时有效。
|
|
1500
1538
|
*/
|
|
@@ -1987,21 +2025,21 @@ export interface CancelKeyArchiveResponse {
|
|
|
1987
2025
|
RequestId?: string;
|
|
1988
2026
|
}
|
|
1989
2027
|
/**
|
|
1990
|
-
*
|
|
2028
|
+
* CreateKmsInstance返回参数结构体
|
|
1991
2029
|
*/
|
|
1992
|
-
export interface
|
|
2030
|
+
export interface CreateKmsInstanceResponse {
|
|
1993
2031
|
/**
|
|
1994
|
-
*
|
|
2032
|
+
* <p>实例ID</p>
|
|
1995
2033
|
*/
|
|
1996
|
-
|
|
2034
|
+
InstanceId?: string;
|
|
1997
2035
|
/**
|
|
1998
|
-
*
|
|
2036
|
+
* <p>计费订单号</p>
|
|
1999
2037
|
*/
|
|
2000
|
-
|
|
2038
|
+
DealName?: string;
|
|
2001
2039
|
/**
|
|
2002
|
-
*
|
|
2040
|
+
* <p>计费冻结流水号</p>
|
|
2003
2041
|
*/
|
|
2004
|
-
|
|
2042
|
+
BillId?: string;
|
|
2005
2043
|
/**
|
|
2006
2044
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2007
2045
|
*/
|
|
@@ -2388,13 +2426,21 @@ export interface GetDataKeyCiphertextBlobResponse {
|
|
|
2388
2426
|
RequestId?: string;
|
|
2389
2427
|
}
|
|
2390
2428
|
/**
|
|
2391
|
-
*
|
|
2429
|
+
* GetPublicKey返回参数结构体
|
|
2392
2430
|
*/
|
|
2393
|
-
export interface
|
|
2431
|
+
export interface GetPublicKeyResponse {
|
|
2394
2432
|
/**
|
|
2395
|
-
*
|
|
2433
|
+
* CMK的唯一标识。
|
|
2396
2434
|
*/
|
|
2397
|
-
|
|
2435
|
+
KeyId: string;
|
|
2436
|
+
/**
|
|
2437
|
+
* 经过base64编码的公钥内容。
|
|
2438
|
+
*/
|
|
2439
|
+
PublicKey: string;
|
|
2440
|
+
/**
|
|
2441
|
+
* PEM格式的公钥内容。
|
|
2442
|
+
*/
|
|
2443
|
+
PublicKeyPem: string;
|
|
2398
2444
|
/**
|
|
2399
2445
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2400
2446
|
*/
|
|
@@ -2535,6 +2581,19 @@ export interface DescribeKeyResponse {
|
|
|
2535
2581
|
*/
|
|
2536
2582
|
RequestId?: string;
|
|
2537
2583
|
}
|
|
2584
|
+
/**
|
|
2585
|
+
* 预付费计费信息
|
|
2586
|
+
*/
|
|
2587
|
+
export interface InstanceChargePrepaid {
|
|
2588
|
+
/**
|
|
2589
|
+
* <p>按月购买时长(1~100)月</p>
|
|
2590
|
+
*/
|
|
2591
|
+
Period: number;
|
|
2592
|
+
/**
|
|
2593
|
+
* <p>续费标记(0:用户未设置,1:自动续费 2:不自动续费)</p>
|
|
2594
|
+
*/
|
|
2595
|
+
RenewFlag: number;
|
|
2596
|
+
}
|
|
2538
2597
|
/**
|
|
2539
2598
|
* CancelKeyArchive请求参数结构体
|
|
2540
2599
|
*/
|