tencentcloud-sdk-nodejs 4.0.232 → 4.0.236
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/CHANGELOG.md +436 -64
- package/package.json +1 -1
- package/products.md +154 -153
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +60 -17
- package/src/services/apigateway/v20180808/apigateway_models.ts +420 -70
- package/src/services/as/v20180419/as_client.ts +0 -12
- package/src/services/as/v20180419/as_models.ts +0 -75
- package/src/services/cdb/v20170320/cdb_client.ts +37 -12
- package/src/services/cdb/v20170320/cdb_models.ts +163 -68
- package/src/services/clb/v20180317/clb_client.ts +14 -1
- package/src/services/clb/v20180317/clb_models.ts +54 -19
- package/src/services/cme/v20191029/cme_models.ts +1 -1
- package/src/services/cpdp/v20190820/cpdp_client.ts +39 -14
- package/src/services/cpdp/v20190820/cpdp_models.ts +774 -637
- package/src/services/cvm/v20170312/cvm_client.ts +1 -0
- package/src/services/cvm/v20170312/cvm_models.ts +14 -11
- package/src/services/ecm/v20190719/ecm_models.ts +12 -1
- package/src/services/ie/v20200304/ie_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +46 -9
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +252 -61
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +6 -1
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/monitor/v20180724/monitor_models.ts +1 -1
- package/src/services/mrs/v20200910/mrs_models.ts +2 -2
- package/src/services/oceanus/v20190422/oceanus_models.ts +15 -5
- package/src/services/ocr/v20181119/ocr_client.ts +13 -0
- package/src/services/ocr/v20181119/ocr_models.ts +203 -27
- package/src/services/postgres/v20170312/postgres_models.ts +14 -11
- package/src/services/sms/v20210111/sms_client.ts +1 -1
- package/src/services/sms/v20210111/sms_models.ts +8 -6
- package/src/services/tcb/v20180608/tcb_client.ts +18 -6
- package/src/services/tcb/v20180608/tcb_models.ts +93 -1
- package/src/services/tcm/index.ts +5 -0
- package/src/services/tcm/v20210413/index.ts +6 -0
- package/src/services/tcm/v20210413/tcm_client.ts +88 -0
- package/src/services/tcm/v20210413/tcm_models.ts +891 -0
- package/src/services/tiia/v20190529/tiia_client.ts +1 -0
- package/src/services/tiia/v20190529/tiia_models.ts +29 -0
- package/src/services/tiw/v20190919/tiw_models.ts +3 -2
- package/src/services/trtc/v20190722/trtc_client.ts +1 -1
- package/src/services/trtc/v20190722/trtc_models.ts +6 -6
- package/src/services/tsf/v20180326/tsf_models.ts +146 -16
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +17 -5
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +24 -6
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +354 -60
- package/tencentcloud/services/as/v20180419/as_client.d.ts +1 -5
- package/tencentcloud/services/as/v20180419/as_client.js +0 -6
- package/tencentcloud/services/as/v20180419/as_models.d.ts +0 -62
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +11 -3
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +15 -3
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +141 -61
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +5 -1
- package/tencentcloud/services/clb/v20180317/clb_client.js +6 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +47 -16
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +1 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +9 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +12 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +569 -451
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +9 -6
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +10 -1
- package/tencentcloud/services/ie/v20200304/ie_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +15 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +21 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +214 -54
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +5 -1
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_client.js +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +2 -2
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +12 -4
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +6 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +7 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +173 -27
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +14 -11
- package/tencentcloud/services/sms/v20210111/sms_client.d.ts +1 -1
- package/tencentcloud/services/sms/v20210111/sms_client.js +1 -1
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +8 -6
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +7 -3
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +9 -3
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +77 -1
- package/tencentcloud/services/tcm/index.d.ts +6 -0
- package/tencentcloud/services/tcm/index.js +7 -0
- package/tencentcloud/services/tcm/v20210413/index.d.ts +6 -0
- package/tencentcloud/services/tcm/v20210413/index.js +9 -0
- package/tencentcloud/services/tcm/v20210413/tcm_client.d.ts +18 -0
- package/tencentcloud/services/tcm/v20210413/tcm_client.js +43 -0
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +746 -0
- package/tencentcloud/services/tcm/v20210413/tcm_models.js +18 -0
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +25 -0
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +3 -2
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -6
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +120 -16
- package/test/apigateway.v20180808.test.js +34 -4
- package/test/as.v20180419.test.js +0 -10
- package/test/cdb.v20170320.test.js +22 -2
- package/test/clb.v20180317.test.js +10 -0
- package/test/cpdp.v20190820.test.js +20 -0
- package/test/iotexplorer.v20190423.test.js +32 -2
- package/test/ocr.v20181119.test.js +10 -0
- package/test/tcb.v20180608.test.js +12 -2
- package/test/tcm.v20210413.test.js +41 -0
|
@@ -956,17 +956,17 @@ export interface DescribePluginResponse {
|
|
|
956
956
|
RequestId?: string;
|
|
957
957
|
}
|
|
958
958
|
/**
|
|
959
|
-
*
|
|
959
|
+
* DescribeExclusiveInstances返回参数结构体
|
|
960
960
|
*/
|
|
961
|
-
export interface
|
|
961
|
+
export interface DescribeExclusiveInstancesResponse {
|
|
962
962
|
/**
|
|
963
|
-
*
|
|
963
|
+
* 独享实例列表查询结果
|
|
964
964
|
*/
|
|
965
|
-
|
|
965
|
+
Result: InstanceInfo;
|
|
966
966
|
/**
|
|
967
|
-
*
|
|
967
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
968
968
|
*/
|
|
969
|
-
|
|
969
|
+
RequestId?: string;
|
|
970
970
|
}
|
|
971
971
|
/**
|
|
972
972
|
* DeleteUsagePlan请求参数结构体
|
|
@@ -1302,18 +1302,21 @@ export interface UsagePlanEnvironmentStatus {
|
|
|
1302
1302
|
EnvironmentList: Array<UsagePlanEnvironment>;
|
|
1303
1303
|
}
|
|
1304
1304
|
/**
|
|
1305
|
-
*
|
|
1305
|
+
* DescribeExclusiveInstances请求参数结构体
|
|
1306
1306
|
*/
|
|
1307
|
-
export interface
|
|
1307
|
+
export interface DescribeExclusiveInstancesRequest {
|
|
1308
1308
|
/**
|
|
1309
|
-
*
|
|
1310
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1309
|
+
* 分页查询,limit
|
|
1311
1310
|
*/
|
|
1312
|
-
|
|
1311
|
+
Limit: number;
|
|
1313
1312
|
/**
|
|
1314
|
-
*
|
|
1313
|
+
* 分页查询,offset
|
|
1315
1314
|
*/
|
|
1316
|
-
|
|
1315
|
+
Offset: number;
|
|
1316
|
+
/**
|
|
1317
|
+
* 过滤条件
|
|
1318
|
+
*/
|
|
1319
|
+
Filters?: Array<Filter>;
|
|
1317
1320
|
}
|
|
1318
1321
|
/**
|
|
1319
1322
|
* BindSubDomain返回参数结构体
|
|
@@ -1356,6 +1359,19 @@ export interface Tag {
|
|
|
1356
1359
|
*/
|
|
1357
1360
|
Value: string;
|
|
1358
1361
|
}
|
|
1362
|
+
/**
|
|
1363
|
+
* DescribeExclusiveInstanceDetail返回参数结构体
|
|
1364
|
+
*/
|
|
1365
|
+
export interface DescribeExclusiveInstanceDetailResponse {
|
|
1366
|
+
/**
|
|
1367
|
+
* 独享实例详情
|
|
1368
|
+
*/
|
|
1369
|
+
Result: InstanceDetail;
|
|
1370
|
+
/**
|
|
1371
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1372
|
+
*/
|
|
1373
|
+
RequestId?: string;
|
|
1374
|
+
}
|
|
1359
1375
|
/**
|
|
1360
1376
|
* DescribeApiBindApiAppsStatus返回参数结构体
|
|
1361
1377
|
*/
|
|
@@ -1523,6 +1539,15 @@ export interface UnBindIPStrategyResponse {
|
|
|
1523
1539
|
*/
|
|
1524
1540
|
RequestId?: string;
|
|
1525
1541
|
}
|
|
1542
|
+
/**
|
|
1543
|
+
* DescribeExclusiveInstanceDetail请求参数结构体
|
|
1544
|
+
*/
|
|
1545
|
+
export interface DescribeExclusiveInstanceDetailRequest {
|
|
1546
|
+
/**
|
|
1547
|
+
* 独享实例唯一id
|
|
1548
|
+
*/
|
|
1549
|
+
InstanceId: string;
|
|
1550
|
+
}
|
|
1526
1551
|
/**
|
|
1527
1552
|
* ModifyPlugin请求参数结构体
|
|
1528
1553
|
*/
|
|
@@ -1812,29 +1837,18 @@ export interface DescribeIPStrategyApisStatusRequest {
|
|
|
1812
1837
|
Filters?: Array<Filter>;
|
|
1813
1838
|
}
|
|
1814
1839
|
/**
|
|
1815
|
-
*
|
|
1840
|
+
* ModifyIPStrategy返回参数结构体
|
|
1816
1841
|
*/
|
|
1817
|
-
export interface
|
|
1818
|
-
/**
|
|
1819
|
-
* 绑定类型,取值为 API、SERVICE,默认值为 SERVICE。
|
|
1820
|
-
*/
|
|
1821
|
-
BindType: string;
|
|
1822
|
-
/**
|
|
1823
|
-
* 待绑定的使用计划唯一 ID 列表。
|
|
1824
|
-
*/
|
|
1825
|
-
UsagePlanIds: Array<string>;
|
|
1826
|
-
/**
|
|
1827
|
-
* 待解绑的服务环境。
|
|
1828
|
-
*/
|
|
1829
|
-
Environment: string;
|
|
1842
|
+
export interface ModifyIPStrategyResponse {
|
|
1830
1843
|
/**
|
|
1831
|
-
*
|
|
1844
|
+
* 修改操作是否成功。
|
|
1845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1832
1846
|
*/
|
|
1833
|
-
|
|
1847
|
+
Result?: boolean;
|
|
1834
1848
|
/**
|
|
1835
|
-
*
|
|
1849
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1836
1850
|
*/
|
|
1837
|
-
|
|
1851
|
+
RequestId?: string;
|
|
1838
1852
|
}
|
|
1839
1853
|
/**
|
|
1840
1854
|
* Oauth授权配置信息
|
|
@@ -1874,6 +1888,31 @@ export interface ModifyApiEnvironmentStrategyRequest {
|
|
|
1874
1888
|
*/
|
|
1875
1889
|
ApiIds: Array<string>;
|
|
1876
1890
|
}
|
|
1891
|
+
/**
|
|
1892
|
+
* 独享实例网络配置
|
|
1893
|
+
*/
|
|
1894
|
+
export interface NetworkConfig {
|
|
1895
|
+
/**
|
|
1896
|
+
* 最大出带宽
|
|
1897
|
+
*/
|
|
1898
|
+
InternetMaxBandwidthOut: number;
|
|
1899
|
+
/**
|
|
1900
|
+
* EnableInternetInbound信息
|
|
1901
|
+
*/
|
|
1902
|
+
EnableInternetInbound: boolean;
|
|
1903
|
+
/**
|
|
1904
|
+
* EnableInternetOutbound信息
|
|
1905
|
+
*/
|
|
1906
|
+
EnableInternetOutbound: boolean;
|
|
1907
|
+
/**
|
|
1908
|
+
* InboundIpAddresses信息
|
|
1909
|
+
*/
|
|
1910
|
+
InboundIpAddresses: Array<string>;
|
|
1911
|
+
/**
|
|
1912
|
+
* OutboundIpAddresses信息
|
|
1913
|
+
*/
|
|
1914
|
+
OutboundIpAddresses: Array<string>;
|
|
1915
|
+
}
|
|
1877
1916
|
/**
|
|
1878
1917
|
* ModifyUsagePlan返回参数结构体
|
|
1879
1918
|
*/
|
|
@@ -1903,33 +1942,17 @@ export interface CreateUsagePlanResponse {
|
|
|
1903
1942
|
RequestId?: string;
|
|
1904
1943
|
}
|
|
1905
1944
|
/**
|
|
1906
|
-
*
|
|
1945
|
+
* 自定义服务域名展示
|
|
1907
1946
|
*/
|
|
1908
|
-
export interface
|
|
1909
|
-
/**
|
|
1910
|
-
* API 的前端参数名称。
|
|
1911
|
-
*/
|
|
1912
|
-
Name: string;
|
|
1913
|
-
/**
|
|
1914
|
-
* API 的前端参数位置,如 header。目前支持 header、query、path。
|
|
1915
|
-
*/
|
|
1916
|
-
Position: string;
|
|
1917
|
-
/**
|
|
1918
|
-
* API 的前端参数类型,如 String、int。
|
|
1919
|
-
*/
|
|
1920
|
-
Type: string;
|
|
1921
|
-
/**
|
|
1922
|
-
* API 的前端参数默认值。
|
|
1923
|
-
*/
|
|
1924
|
-
DefaultValue: string;
|
|
1947
|
+
export interface DomainSets {
|
|
1925
1948
|
/**
|
|
1926
|
-
*
|
|
1949
|
+
* 服务下的自定义域名数量。
|
|
1927
1950
|
*/
|
|
1928
|
-
|
|
1951
|
+
TotalCount: number;
|
|
1929
1952
|
/**
|
|
1930
|
-
*
|
|
1953
|
+
* 自定义服务域名列表。
|
|
1931
1954
|
*/
|
|
1932
|
-
|
|
1955
|
+
DomainSet: Array<DomainSetList>;
|
|
1933
1956
|
}
|
|
1934
1957
|
/**
|
|
1935
1958
|
* DeletePlugin请求参数结构体
|
|
@@ -1987,6 +2010,27 @@ export interface DeleteApiKeyResponse {
|
|
|
1987
2010
|
*/
|
|
1988
2011
|
RequestId?: string;
|
|
1989
2012
|
}
|
|
2013
|
+
/**
|
|
2014
|
+
* ModifyExclusiveInstance请求参数结构体
|
|
2015
|
+
*/
|
|
2016
|
+
export interface ModifyExclusiveInstanceRequest {
|
|
2017
|
+
/**
|
|
2018
|
+
* 独享实例唯一id
|
|
2019
|
+
*/
|
|
2020
|
+
InstanceId: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* 独享实例name
|
|
2023
|
+
*/
|
|
2024
|
+
InstanceName?: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* 独享实例描述
|
|
2027
|
+
*/
|
|
2028
|
+
InstanceDescription?: string;
|
|
2029
|
+
/**
|
|
2030
|
+
* 独享实例参数配置
|
|
2031
|
+
*/
|
|
2032
|
+
Parameters?: Array<InstanceParameterInput>;
|
|
2033
|
+
}
|
|
1990
2034
|
/**
|
|
1991
2035
|
* usagePlan详情
|
|
1992
2036
|
*/
|
|
@@ -2480,18 +2524,41 @@ export interface BindSecretIdsRequest {
|
|
|
2480
2524
|
AccessKeyIds: Array<string>;
|
|
2481
2525
|
}
|
|
2482
2526
|
/**
|
|
2483
|
-
*
|
|
2527
|
+
* 独享实例配置参数
|
|
2484
2528
|
*/
|
|
2485
|
-
export interface
|
|
2529
|
+
export interface ParameterInfo {
|
|
2486
2530
|
/**
|
|
2487
|
-
*
|
|
2488
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2531
|
+
* 名字
|
|
2489
2532
|
*/
|
|
2490
|
-
|
|
2533
|
+
Name: string;
|
|
2491
2534
|
/**
|
|
2492
|
-
*
|
|
2535
|
+
* 当前值
|
|
2493
2536
|
*/
|
|
2494
|
-
|
|
2537
|
+
Value: number;
|
|
2538
|
+
/**
|
|
2539
|
+
* 默认值
|
|
2540
|
+
*/
|
|
2541
|
+
Default: number;
|
|
2542
|
+
/**
|
|
2543
|
+
* 单位
|
|
2544
|
+
*/
|
|
2545
|
+
Unit: string;
|
|
2546
|
+
/**
|
|
2547
|
+
* 类型
|
|
2548
|
+
*/
|
|
2549
|
+
Type: string;
|
|
2550
|
+
/**
|
|
2551
|
+
* 最小
|
|
2552
|
+
*/
|
|
2553
|
+
Minimum: number;
|
|
2554
|
+
/**
|
|
2555
|
+
* 最大
|
|
2556
|
+
*/
|
|
2557
|
+
Maximum: number;
|
|
2558
|
+
/**
|
|
2559
|
+
* 修改时间
|
|
2560
|
+
*/
|
|
2561
|
+
ModifedTime: string;
|
|
2495
2562
|
}
|
|
2496
2563
|
/**
|
|
2497
2564
|
* 使用计划绑定密钥
|
|
@@ -3394,6 +3461,19 @@ export interface CreatePluginResponse {
|
|
|
3394
3461
|
*/
|
|
3395
3462
|
RequestId?: string;
|
|
3396
3463
|
}
|
|
3464
|
+
/**
|
|
3465
|
+
* ModifyExclusiveInstance返回参数结构体
|
|
3466
|
+
*/
|
|
3467
|
+
export interface ModifyExclusiveInstanceResponse {
|
|
3468
|
+
/**
|
|
3469
|
+
* 独享实例详情信息
|
|
3470
|
+
*/
|
|
3471
|
+
Result: InstanceDetail;
|
|
3472
|
+
/**
|
|
3473
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3474
|
+
*/
|
|
3475
|
+
RequestId?: string;
|
|
3476
|
+
}
|
|
3397
3477
|
/**
|
|
3398
3478
|
* DescribePlugins返回参数结构体
|
|
3399
3479
|
*/
|
|
@@ -3719,6 +3799,48 @@ export interface UsagePlanBindEnvironment {
|
|
|
3719
3799
|
*/
|
|
3720
3800
|
ServiceId: string;
|
|
3721
3801
|
}
|
|
3802
|
+
/**
|
|
3803
|
+
* 独享实例信息
|
|
3804
|
+
*/
|
|
3805
|
+
export interface InstanceInfo {
|
|
3806
|
+
/**
|
|
3807
|
+
* 独享实例唯一id
|
|
3808
|
+
*/
|
|
3809
|
+
InstanceId: string;
|
|
3810
|
+
/**
|
|
3811
|
+
* 独享实例name
|
|
3812
|
+
*/
|
|
3813
|
+
InstanceName: string;
|
|
3814
|
+
/**
|
|
3815
|
+
* 独享实例描述
|
|
3816
|
+
*/
|
|
3817
|
+
InstanceDescription: string;
|
|
3818
|
+
/**
|
|
3819
|
+
* 独享实例计费类型
|
|
3820
|
+
*/
|
|
3821
|
+
InstanceChargeType: string;
|
|
3822
|
+
/**
|
|
3823
|
+
* 独享实例类型
|
|
3824
|
+
*/
|
|
3825
|
+
InstanceType: string;
|
|
3826
|
+
/**
|
|
3827
|
+
* 独享实例状态
|
|
3828
|
+
*/
|
|
3829
|
+
InstanceState: string;
|
|
3830
|
+
/**
|
|
3831
|
+
* 独享实例创建时间
|
|
3832
|
+
*/
|
|
3833
|
+
CreatedTime: string;
|
|
3834
|
+
/**
|
|
3835
|
+
* 订单号
|
|
3836
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3837
|
+
*/
|
|
3838
|
+
DealName: string;
|
|
3839
|
+
/**
|
|
3840
|
+
* 资源ID同唯一id
|
|
3841
|
+
*/
|
|
3842
|
+
ResourceId: string;
|
|
3843
|
+
}
|
|
3722
3844
|
/**
|
|
3723
3845
|
* DeleteApi请求参数结构体
|
|
3724
3846
|
*/
|
|
@@ -4032,6 +4154,19 @@ export interface DescribeApiRequest {
|
|
|
4032
4154
|
*/
|
|
4033
4155
|
ApiId: string;
|
|
4034
4156
|
}
|
|
4157
|
+
/**
|
|
4158
|
+
* 独享实例vpc配置信息
|
|
4159
|
+
*/
|
|
4160
|
+
export interface VpcConfig {
|
|
4161
|
+
/**
|
|
4162
|
+
* vpcid
|
|
4163
|
+
*/
|
|
4164
|
+
UniqVpcId: string;
|
|
4165
|
+
/**
|
|
4166
|
+
* subnetid
|
|
4167
|
+
*/
|
|
4168
|
+
UniqSubnetId: string;
|
|
4169
|
+
}
|
|
4035
4170
|
/**
|
|
4036
4171
|
* UnBindSecretIds返回参数结构体
|
|
4037
4172
|
*/
|
|
@@ -4427,6 +4562,20 @@ export interface CreateIPStrategyResponse {
|
|
|
4427
4562
|
*/
|
|
4428
4563
|
RequestId?: string;
|
|
4429
4564
|
}
|
|
4565
|
+
/**
|
|
4566
|
+
* UnBindEnvironment返回参数结构体
|
|
4567
|
+
*/
|
|
4568
|
+
export interface UnBindEnvironmentResponse {
|
|
4569
|
+
/**
|
|
4570
|
+
* 解绑操作是否成功。
|
|
4571
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4572
|
+
*/
|
|
4573
|
+
Result?: boolean;
|
|
4574
|
+
/**
|
|
4575
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4576
|
+
*/
|
|
4577
|
+
RequestId?: string;
|
|
4578
|
+
}
|
|
4430
4579
|
/**
|
|
4431
4580
|
* DeleteApi返回参数结构体
|
|
4432
4581
|
*/
|
|
@@ -4558,6 +4707,35 @@ export interface ServiceEnvironmentStrategyStatus {
|
|
|
4558
4707
|
*/
|
|
4559
4708
|
EnvironmentList: Array<ServiceEnvironmentStrategy>;
|
|
4560
4709
|
}
|
|
4710
|
+
/**
|
|
4711
|
+
* 请求参数
|
|
4712
|
+
*/
|
|
4713
|
+
export interface ReqParameter {
|
|
4714
|
+
/**
|
|
4715
|
+
* API 的前端参数名称。
|
|
4716
|
+
*/
|
|
4717
|
+
Name: string;
|
|
4718
|
+
/**
|
|
4719
|
+
* API 的前端参数位置,如 header。目前支持 header、query、path。
|
|
4720
|
+
*/
|
|
4721
|
+
Position: string;
|
|
4722
|
+
/**
|
|
4723
|
+
* API 的前端参数类型,如 String、int。
|
|
4724
|
+
*/
|
|
4725
|
+
Type: string;
|
|
4726
|
+
/**
|
|
4727
|
+
* API 的前端参数默认值。
|
|
4728
|
+
*/
|
|
4729
|
+
DefaultValue: string;
|
|
4730
|
+
/**
|
|
4731
|
+
* API 的前端参数是否必填,True:表示必填,False:表示可选。
|
|
4732
|
+
*/
|
|
4733
|
+
Required: boolean;
|
|
4734
|
+
/**
|
|
4735
|
+
* API 的前端参数备注。
|
|
4736
|
+
*/
|
|
4737
|
+
Desc: string;
|
|
4738
|
+
}
|
|
4561
4739
|
/**
|
|
4562
4740
|
* DescribeApiEnvironmentStrategy返回参数结构体
|
|
4563
4741
|
*/
|
|
@@ -4774,6 +4952,31 @@ export interface DescribeUsagePlanResponse {
|
|
|
4774
4952
|
*/
|
|
4775
4953
|
RequestId?: string;
|
|
4776
4954
|
}
|
|
4955
|
+
/**
|
|
4956
|
+
* UnBindEnvironment请求参数结构体
|
|
4957
|
+
*/
|
|
4958
|
+
export interface UnBindEnvironmentRequest {
|
|
4959
|
+
/**
|
|
4960
|
+
* 绑定类型,取值为 API、SERVICE,默认值为 SERVICE。
|
|
4961
|
+
*/
|
|
4962
|
+
BindType: string;
|
|
4963
|
+
/**
|
|
4964
|
+
* 待绑定的使用计划唯一 ID 列表。
|
|
4965
|
+
*/
|
|
4966
|
+
UsagePlanIds: Array<string>;
|
|
4967
|
+
/**
|
|
4968
|
+
* 待解绑的服务环境。
|
|
4969
|
+
*/
|
|
4970
|
+
Environment: string;
|
|
4971
|
+
/**
|
|
4972
|
+
* 待解绑的服务唯一 ID。
|
|
4973
|
+
*/
|
|
4974
|
+
ServiceId: string;
|
|
4975
|
+
/**
|
|
4976
|
+
* API 唯一 ID 数组,当 BindType=API 时,需要传入此参数。
|
|
4977
|
+
*/
|
|
4978
|
+
ApiIds?: Array<string>;
|
|
4979
|
+
}
|
|
4777
4980
|
/**
|
|
4778
4981
|
* AttachPlugin返回参数结构体
|
|
4779
4982
|
*/
|
|
@@ -4872,6 +5075,19 @@ export interface EnvironmentStrategy {
|
|
|
4872
5075
|
*/
|
|
4873
5076
|
MaxQuota: number;
|
|
4874
5077
|
}
|
|
5078
|
+
/**
|
|
5079
|
+
* 独享实例参数信息
|
|
5080
|
+
*/
|
|
5081
|
+
export interface InstanceParameterInput {
|
|
5082
|
+
/**
|
|
5083
|
+
* ServiceRequestNumPreSec,ApiRequestNumPreSec
|
|
5084
|
+
*/
|
|
5085
|
+
Name: string;
|
|
5086
|
+
/**
|
|
5087
|
+
* 参数值
|
|
5088
|
+
*/
|
|
5089
|
+
Value: string;
|
|
5090
|
+
}
|
|
4875
5091
|
/**
|
|
4876
5092
|
* DescribeUsagePlanEnvironments请求参数结构体
|
|
4877
5093
|
*/
|
|
@@ -5465,6 +5681,71 @@ export interface UpdateApiAppKeyResponse {
|
|
|
5465
5681
|
*/
|
|
5466
5682
|
RequestId?: string;
|
|
5467
5683
|
}
|
|
5684
|
+
/**
|
|
5685
|
+
* 独享实例详情
|
|
5686
|
+
*/
|
|
5687
|
+
export interface InstanceDetail {
|
|
5688
|
+
/**
|
|
5689
|
+
* 独享实例唯一id
|
|
5690
|
+
*/
|
|
5691
|
+
InstanceId: string;
|
|
5692
|
+
/**
|
|
5693
|
+
* 可用区
|
|
5694
|
+
*/
|
|
5695
|
+
Zone: string;
|
|
5696
|
+
/**
|
|
5697
|
+
* 独享实例名字
|
|
5698
|
+
*/
|
|
5699
|
+
InstanceName: string;
|
|
5700
|
+
/**
|
|
5701
|
+
* 独享实例描述
|
|
5702
|
+
*/
|
|
5703
|
+
InstanceDescription: string;
|
|
5704
|
+
/**
|
|
5705
|
+
* 独享实例计费类型
|
|
5706
|
+
*/
|
|
5707
|
+
InstanceChargeType: string;
|
|
5708
|
+
/**
|
|
5709
|
+
* 独享实例状态
|
|
5710
|
+
*/
|
|
5711
|
+
InstanceState: string;
|
|
5712
|
+
/**
|
|
5713
|
+
* 独享实例预付费类型
|
|
5714
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5715
|
+
*/
|
|
5716
|
+
InstanceChargePrepaid: InstanceChargePrepaid;
|
|
5717
|
+
/**
|
|
5718
|
+
* 独享实例类型
|
|
5719
|
+
*/
|
|
5720
|
+
InstanceType: string;
|
|
5721
|
+
/**
|
|
5722
|
+
* 独享实例网络类型
|
|
5723
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5724
|
+
*/
|
|
5725
|
+
NetworkConfig: NetworkConfig;
|
|
5726
|
+
/**
|
|
5727
|
+
* 独享实例vpc配置
|
|
5728
|
+
*/
|
|
5729
|
+
VpcConfig: VpcConfig;
|
|
5730
|
+
/**
|
|
5731
|
+
* 独享实例参数配置
|
|
5732
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5733
|
+
*/
|
|
5734
|
+
Parameters: Array<ParameterInfo>;
|
|
5735
|
+
/**
|
|
5736
|
+
* 独享实例隔离时间
|
|
5737
|
+
*/
|
|
5738
|
+
IsolationStartedTime: string;
|
|
5739
|
+
/**
|
|
5740
|
+
* 创建时间
|
|
5741
|
+
*/
|
|
5742
|
+
CreatedTime: string;
|
|
5743
|
+
/**
|
|
5744
|
+
* 可用区列表
|
|
5745
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5746
|
+
*/
|
|
5747
|
+
Zones: string;
|
|
5748
|
+
}
|
|
5468
5749
|
/**
|
|
5469
5750
|
* CreateApiApp请求参数结构体
|
|
5470
5751
|
*/
|
|
@@ -5546,6 +5827,19 @@ export interface RequestParameter {
|
|
|
5546
5827
|
*/
|
|
5547
5828
|
Required?: boolean;
|
|
5548
5829
|
}
|
|
5830
|
+
/**
|
|
5831
|
+
* 独享实例预付费详情
|
|
5832
|
+
*/
|
|
5833
|
+
export interface InstanceChargePrepaid {
|
|
5834
|
+
/**
|
|
5835
|
+
* 自动续费标示
|
|
5836
|
+
*/
|
|
5837
|
+
RenewFlag: string;
|
|
5838
|
+
/**
|
|
5839
|
+
* 预付费到期时间
|
|
5840
|
+
*/
|
|
5841
|
+
ExpiredTime: string;
|
|
5842
|
+
}
|
|
5549
5843
|
/**
|
|
5550
5844
|
* 服务发布版本
|
|
5551
5845
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DisableAutoScalingGroupResponse, ModifyLaunchConfigurationAttributesRequest, DisableAutoScalingGroupRequest, ModifyAutoScalingGroupRequest, ScaleOutInstancesRequest, ModifyScheduledActionRequest, DescribeAutoScalingGroupsRequest, CreateAutoScalingGroupResponse, DescribeAccountLimitsResponse,
|
|
3
|
+
import { DisableAutoScalingGroupResponse, ModifyLaunchConfigurationAttributesRequest, DisableAutoScalingGroupRequest, ModifyAutoScalingGroupRequest, ScaleOutInstancesRequest, ModifyScheduledActionRequest, DescribeAutoScalingGroupsRequest, CreateAutoScalingGroupResponse, DescribeAccountLimitsResponse, CreateLaunchConfigurationResponse, CreateLifecycleHookResponse, ClearLaunchConfigurationAttributesResponse, DescribeAutoScalingGroupsResponse, StopAutoScalingInstancesResponse, DescribeScalingPoliciesRequest, ModifyScheduledActionResponse, CreateAutoScalingGroupFromInstanceRequest, ExecuteScalingPolicyResponse, ModifyLaunchConfigurationAttributesResponse, SetInstancesProtectionResponse, StartAutoScalingInstancesResponse, CompleteLifecycleActionRequest, CreateScalingPolicyResponse, CreateNotificationConfigurationResponse, DescribeLaunchConfigurationsResponse, DeleteScalingPolicyResponse, DescribeAutoScalingInstancesRequest, ModifyLoadBalancersRequest, RemoveInstancesResponse, ModifyScalingPolicyResponse, SetInstancesProtectionRequest, DeleteNotificationConfigurationResponse, DetachInstancesResponse, CreateLaunchConfigurationRequest, AttachInstancesResponse, DescribeAutoScalingGroupLastActivitiesResponse, DescribeAccountLimitsRequest, UpgradeLifecycleHookRequest, DescribeAutoScalingGroupLastActivitiesRequest, ModifyLoadBalancersResponse, DescribePaiInstancesRequest, CreateNotificationConfigurationRequest, DescribeScheduledActionsResponse, ModifyNotificationConfigurationRequest, DeleteLifecycleHookRequest, ModifyAutoScalingGroupResponse, DeleteLaunchConfigurationRequest, ModifyScalingPolicyRequest, UpgradeLifecycleHookResponse, CreateAutoScalingGroupRequest, DeleteScheduledActionResponse, UpgradeLaunchConfigurationRequest, DescribeAutoScalingActivitiesResponse, DescribeNotificationConfigurationsResponse, PreviewPaiDomainNameRequest, DeleteScalingPolicyRequest, CreateAutoScalingGroupFromInstanceResponse, DetachInstancesRequest, CreateScheduledActionRequest, DeleteLaunchConfigurationResponse, DescribeScheduledActionsRequest, DeleteScheduledActionRequest, DescribeAutoScalingActivitiesRequest, ModifyDesiredCapacityRequest, CreateScheduledActionResponse, CreateLifecycleHookRequest, CompleteLifecycleActionResponse, ScaleOutInstancesResponse, DescribeLifecycleHooksRequest, ModifyNotificationConfigurationResponse, DescribeAutoScalingInstancesResponse, DescribeLifecycleHooksResponse, CreateScalingPolicyRequest, ScaleInInstancesResponse, DeleteNotificationConfigurationRequest, DescribeLaunchConfigurationsRequest, DeleteAutoScalingGroupResponse, EnableAutoScalingGroupRequest, DescribeNotificationConfigurationsRequest, ScaleInInstancesRequest, ClearLaunchConfigurationAttributesRequest, PreviewPaiDomainNameResponse, DeleteAutoScalingGroupRequest, RemoveInstancesRequest, StartAutoScalingInstancesRequest, AttachInstancesRequest, DescribeScalingPoliciesResponse, ModifyDesiredCapacityResponse, StopAutoScalingInstancesRequest, DeleteLifecycleHookResponse, EnableAutoScalingGroupResponse, UpgradeLaunchConfigurationResponse, DescribePaiInstancesResponse, ExecuteScalingPolicyRequest } from "./as_models";
|
|
4
4
|
/**
|
|
5
5
|
* as client
|
|
6
6
|
* @class
|
|
@@ -55,10 +55,6 @@ export declare class Client extends AbstractClient {
|
|
|
55
55
|
* 本接口支持批量操作,每次请求开机实例的上限为100
|
|
56
56
|
*/
|
|
57
57
|
StartAutoScalingInstances(req: StartAutoScalingInstancesRequest, cb?: (error: string, rep: StartAutoScalingInstancesResponse) => void): Promise<StartAutoScalingInstancesResponse>;
|
|
58
|
-
/**
|
|
59
|
-
* 本接口 (CreatePaiInstance) 用于创建一个指定配置的PAI实例。
|
|
60
|
-
*/
|
|
61
|
-
CreatePaiInstance(req: CreatePaiInstanceRequest, cb?: (error: string, rep: CreatePaiInstanceResponse) => void): Promise<CreatePaiInstanceResponse>;
|
|
62
58
|
/**
|
|
63
59
|
* 本接口(UpgradeLaunchConfiguration)用于升级启动配置。
|
|
64
60
|
|
|
@@ -93,12 +93,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
93
93
|
async StartAutoScalingInstances(req, cb) {
|
|
94
94
|
return this.request("StartAutoScalingInstances", req, cb);
|
|
95
95
|
}
|
|
96
|
-
/**
|
|
97
|
-
* 本接口 (CreatePaiInstance) 用于创建一个指定配置的PAI实例。
|
|
98
|
-
*/
|
|
99
|
-
async CreatePaiInstance(req, cb) {
|
|
100
|
-
return this.request("CreatePaiInstance", req, cb);
|
|
101
|
-
}
|
|
102
96
|
/**
|
|
103
97
|
* 本接口(UpgradeLaunchConfiguration)用于升级启动配置。
|
|
104
98
|
|
|
@@ -380,19 +380,6 @@ export interface DescribeAccountLimitsResponse {
|
|
|
380
380
|
*/
|
|
381
381
|
RequestId?: string;
|
|
382
382
|
}
|
|
383
|
-
/**
|
|
384
|
-
* CreatePaiInstance返回参数结构体
|
|
385
|
-
*/
|
|
386
|
-
export interface CreatePaiInstanceResponse {
|
|
387
|
-
/**
|
|
388
|
-
* 当通过本接口来创建实例时会返回该参数,表示一个或多个实例`ID`。返回实例`ID`列表并不代表实例创建成功,可根据 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口查询返回的InstancesSet中对应实例的`ID`的状态来判断创建是否完成;如果实例状态由“准备中”变为“正在运行”,则为创建成功。
|
|
389
|
-
*/
|
|
390
|
-
InstanceIdSet: Array<string>;
|
|
391
|
-
/**
|
|
392
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
393
|
-
*/
|
|
394
|
-
RequestId?: string;
|
|
395
|
-
}
|
|
396
383
|
/**
|
|
397
384
|
* CreateLaunchConfiguration返回参数结构体
|
|
398
385
|
*/
|
|
@@ -445,55 +432,6 @@ export interface DescribeAutoScalingGroupsResponse {
|
|
|
445
432
|
*/
|
|
446
433
|
RequestId?: string;
|
|
447
434
|
}
|
|
448
|
-
/**
|
|
449
|
-
* CreatePaiInstance请求参数结构体
|
|
450
|
-
*/
|
|
451
|
-
export interface CreatePaiInstanceRequest {
|
|
452
|
-
/**
|
|
453
|
-
* PAI实例的域名。
|
|
454
|
-
*/
|
|
455
|
-
DomainName: string;
|
|
456
|
-
/**
|
|
457
|
-
* 公网带宽相关信息设置。
|
|
458
|
-
*/
|
|
459
|
-
InternetAccessible: InternetAccessible;
|
|
460
|
-
/**
|
|
461
|
-
* 启动脚本的base64编码字符串。
|
|
462
|
-
*/
|
|
463
|
-
InitScript?: string;
|
|
464
|
-
/**
|
|
465
|
-
* 可用区列表。
|
|
466
|
-
*/
|
|
467
|
-
Zones?: Array<string>;
|
|
468
|
-
/**
|
|
469
|
-
* VPC ID。
|
|
470
|
-
*/
|
|
471
|
-
VpcId?: string;
|
|
472
|
-
/**
|
|
473
|
-
* 子网列表。
|
|
474
|
-
*/
|
|
475
|
-
SubnetIds?: Array<string>;
|
|
476
|
-
/**
|
|
477
|
-
* 实例显示名称。
|
|
478
|
-
*/
|
|
479
|
-
InstanceName?: string;
|
|
480
|
-
/**
|
|
481
|
-
* 实例机型列表。
|
|
482
|
-
*/
|
|
483
|
-
InstanceTypes?: Array<string>;
|
|
484
|
-
/**
|
|
485
|
-
* 实例登录设置。
|
|
486
|
-
*/
|
|
487
|
-
LoginSettings?: LoginSettings;
|
|
488
|
-
/**
|
|
489
|
-
* 实例计费类型。
|
|
490
|
-
*/
|
|
491
|
-
InstanceChargeType?: string;
|
|
492
|
-
/**
|
|
493
|
-
* 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
|
|
494
|
-
*/
|
|
495
|
-
InstanceChargePrepaid?: InstanceChargePrepaid;
|
|
496
|
-
}
|
|
497
435
|
/**
|
|
498
436
|
* 启动配置的系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
|
499
437
|
*/
|