@ucloud-sdks/ucloud-sdk-js 0.2.2 → 0.2.3
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/lib/services/uhost/index.d.ts +1 -1
- package/lib/services/ulb/index.d.ts +2 -2
- package/lib/services/unet/index.d.ts +6 -2
- package/lib/services/uphone/index.d.ts +680 -20
- package/lib/services/uphone/index.js +84 -3
- package/lib/services/uvms/index.d.ts +8 -4
- package/lib/services/vpc/index.d.ts +239 -22
- package/lib/services/vpc/index.js +18 -0
- package/package.json +1 -1
|
@@ -656,7 +656,7 @@ export interface DescribeAvailableInstanceTypesResponse {
|
|
|
656
656
|
* 返回Arm的CPU平台信息,例如:Ampere: ['Ampere/Altra']
|
|
657
657
|
*/
|
|
658
658
|
Ampere?: string[];
|
|
659
|
-
}
|
|
659
|
+
};
|
|
660
660
|
/**
|
|
661
661
|
* 磁盘信息。磁盘主要分类如下:云盘|cloudDisk、普通本地盘|normalLocalDisk和SSD本地盘|ssdLocalDisk。其中云盘主要包含普通云盘|CLOUD_NORMAL、SSD云盘|CLOUD_SSD和RSSD云盘|CLOUD_RSSD。普通本地盘只包含普通本地盘|LOCAL_NORMAL一种。SSD本地盘只包含SSD本地盘|LOCAL_SSD一种。MinimalSize为磁盘最小值,如果没有该字段,最小值取基础镜像Size值即可(linux为20G,windows为40G)。MaximalSize为磁盘最大值。InstantResize表示系统盘是否允许扩容,如果是本地盘,则不允许扩容,InstantResize为false。Features为磁盘可支持的服务:数据方舟|DATAARK,快照服务|SNAPSHOT,加密盘|Encrypted。
|
|
662
662
|
*/
|
|
@@ -259,7 +259,7 @@ export interface CreatePolicyResponse {
|
|
|
259
259
|
*/
|
|
260
260
|
export interface CreateSSLRequest {
|
|
261
261
|
/**
|
|
262
|
-
* SSL
|
|
262
|
+
* SSL证书的名字,默认值不为空
|
|
263
263
|
*/
|
|
264
264
|
SSLName: string;
|
|
265
265
|
/**
|
|
@@ -1483,7 +1483,7 @@ export interface UpdateBackendAttributeRequest {
|
|
|
1483
1483
|
*/
|
|
1484
1484
|
Port?: number;
|
|
1485
1485
|
/**
|
|
1486
|
-
* 所添加的后端RS权重(在加权轮询算法下有效),取值范围[
|
|
1486
|
+
* 所添加的后端RS权重(在加权轮询算法下有效),取值范围[1-100],默认为1
|
|
1487
1487
|
*/
|
|
1488
1488
|
Weight?: number;
|
|
1489
1489
|
/**
|
|
@@ -274,7 +274,7 @@ export interface AllocateEIPResponse {
|
|
|
274
274
|
*/
|
|
275
275
|
EIPAddr?: {
|
|
276
276
|
/**
|
|
277
|
-
* 运营商信息如: 国际: International, BGP:
|
|
277
|
+
* 运营商信息如: 电信: Telecom, 联通: Unicom, 国际: International, Duplet: 双线IP(电信+联通), BGP: Bgp
|
|
278
278
|
*/
|
|
279
279
|
OperatorName?: string;
|
|
280
280
|
/**
|
|
@@ -356,6 +356,10 @@ export interface BindEIPRequest {
|
|
|
356
356
|
* 弹性IP请求绑定的资源ID
|
|
357
357
|
*/
|
|
358
358
|
ResourceId: string;
|
|
359
|
+
/**
|
|
360
|
+
* EIP与内网IP进行绑定时需要传入UNI下未绑定过EIP的内网IP
|
|
361
|
+
*/
|
|
362
|
+
PrivateIP?: string;
|
|
359
363
|
}
|
|
360
364
|
/**
|
|
361
365
|
* BindEIP - 将尚未使用的弹性IP绑定到指定的资源
|
|
@@ -668,7 +672,7 @@ export interface DescribeEIPResponse {
|
|
|
668
672
|
*/
|
|
669
673
|
EIPAddr?: {
|
|
670
674
|
/**
|
|
671
|
-
* 运营商信息如: 国际: International, BGP:
|
|
675
|
+
* 运营商信息如: 电信: Telecom, 联通: Unicom, 国际: International, Duplet: 双线IP(电信+联通), BGP: Bgp
|
|
672
676
|
*/
|
|
673
677
|
OperatorName?: string;
|
|
674
678
|
/**
|