@huaweicloud/huaweicloud-sdk-eip 3.0.19-beta → 3.0.23-beta

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.
Files changed (99) hide show
  1. package/huaweicloud-sdk-eip.d.ts +1 -0
  2. package/huaweicloud-sdk-eip.js +1 -0
  3. package/package.json +2 -2
  4. package/v2/EipClient.d.ts +3 -2
  5. package/v2/EipClient.js +9 -2
  6. package/v2/model/CreatePrePaidPublicipOption.d.ts +2 -0
  7. package/v2/model/CreatePrePaidPublicipOption.js +4 -0
  8. package/v2/model/CreatePublicipOption.d.ts +2 -0
  9. package/v2/model/CreatePublicipOption.js +4 -0
  10. package/v2/model/CreateSharedBandwidthOption.d.ts +4 -0
  11. package/v2/model/CreateSharedBandwidthOption.js +14 -0
  12. package/v2/model/ListPublicipsRequest.d.ts +4 -0
  13. package/v2/model/ListPublicipsRequest.js +14 -0
  14. package/v2/model/NeutronListFloatingIpsRequest.d.ts +2 -2
  15. package/v2/model/PublicipCreateResp.d.ts +2 -0
  16. package/v2/model/PublicipCreateResp.js +4 -0
  17. package/v2/model/PublicipShowResp.d.ts +6 -0
  18. package/v2/model/PublicipShowResp.js +18 -0
  19. package/v2/model/PublicipUpdateResp.d.ts +97 -0
  20. package/v2/model/PublicipUpdateResp.js +235 -0
  21. package/v2/model/UpdatePublicipOption.d.ts +2 -0
  22. package/v2/model/UpdatePublicipOption.js +4 -0
  23. package/v2/model/UpdatePublicipResponse.d.ts +3 -3
  24. package/v2/public-api.d.ts +1 -0
  25. package/v2/public-api.js +1 -0
  26. package/v3/EipClient.d.ts +284 -0
  27. package/v3/EipClient.js +921 -0
  28. package/v3/model/AssociatePublicipsOption.d.ts +21 -0
  29. package/v3/model/AssociatePublicipsOption.js +48 -0
  30. package/v3/model/AssociatePublicipsRequest.d.ts +10 -0
  31. package/v3/model/AssociatePublicipsRequest.js +28 -0
  32. package/v3/model/AssociatePublicipsRequestBody.d.ts +6 -0
  33. package/v3/model/AssociatePublicipsRequestBody.js +14 -0
  34. package/v3/model/AssociatePublicipsResponse.d.ts +11 -0
  35. package/v3/model/AssociatePublicipsResponse.js +45 -0
  36. package/v3/model/BandwidthInfoResp.d.ts +27 -0
  37. package/v3/model/BandwidthInfoResp.js +74 -0
  38. package/v3/model/BillingInfoDict.d.ts +11 -0
  39. package/v3/model/BillingInfoDict.js +37 -0
  40. package/v3/model/CommonPoolDict.d.ts +21 -0
  41. package/v3/model/CommonPoolDict.js +57 -0
  42. package/v3/model/CommonPoolsWithBorderGroupDict.d.ts +11 -0
  43. package/v3/model/CommonPoolsWithBorderGroupDict.js +37 -0
  44. package/v3/model/DisassociatePublicipsOption.d.ts +21 -0
  45. package/v3/model/DisassociatePublicipsOption.js +48 -0
  46. package/v3/model/DisassociatePublicipsRequest.d.ts +10 -0
  47. package/v3/model/DisassociatePublicipsRequest.js +28 -0
  48. package/v3/model/DisassociatePublicipsRequestBody.d.ts +6 -0
  49. package/v3/model/DisassociatePublicipsRequestBody.js +14 -0
  50. package/v3/model/DisassociatePublicipsResponse.d.ts +11 -0
  51. package/v3/model/DisassociatePublicipsResponse.js +45 -0
  52. package/v3/model/ListCommonPoolsRequest.d.ts +11 -0
  53. package/v3/model/ListCommonPoolsRequest.js +31 -0
  54. package/v3/model/ListCommonPoolsResponse.d.ts +13 -0
  55. package/v3/model/ListCommonPoolsResponse.js +55 -0
  56. package/v3/model/ListPublicBorderGroupsRequest.d.ts +5 -0
  57. package/v3/model/ListPublicBorderGroupsRequest.js +13 -0
  58. package/v3/model/ListPublicBorderGroupsResponse.d.ts +13 -0
  59. package/v3/model/ListPublicBorderGroupsResponse.js +55 -0
  60. package/v3/model/ListPublicipPoolRequest.d.ts +33 -0
  61. package/v3/model/ListPublicipPoolRequest.js +87 -0
  62. package/v3/model/ListPublicipPoolResponse.d.ts +18 -0
  63. package/v3/model/ListPublicipPoolResponse.js +69 -0
  64. package/v3/model/ListPublicipsRequest.d.ts +245 -0
  65. package/v3/model/ListPublicipsRequest.js +599 -0
  66. package/v3/model/ListPublicipsResponse.d.ts +20 -0
  67. package/v3/model/ListPublicipsResponse.js +73 -0
  68. package/v3/model/ListShareBandwidthTypesRequest.d.ts +33 -0
  69. package/v3/model/ListShareBandwidthTypesRequest.js +105 -0
  70. package/v3/model/ListShareBandwidthTypesResponse.d.ts +18 -0
  71. package/v3/model/ListShareBandwidthTypesResponse.js +69 -0
  72. package/v3/model/PageInfoOption.d.ts +15 -0
  73. package/v3/model/PageInfoOption.js +51 -0
  74. package/v3/model/ProfileInfo.d.ts +68 -0
  75. package/v3/model/ProfileInfo.js +168 -0
  76. package/v3/model/PublicipBandwidthInfo.d.ts +21 -0
  77. package/v3/model/PublicipBandwidthInfo.js +63 -0
  78. package/v3/model/PublicipInstanceResp.d.ts +123 -0
  79. package/v3/model/PublicipInstanceResp.js +285 -0
  80. package/v3/model/PublicipPoolShowResp.d.ts +63 -0
  81. package/v3/model/PublicipPoolShowResp.js +166 -0
  82. package/v3/model/PublicipSingleShowResp.d.ts +153 -0
  83. package/v3/model/PublicipSingleShowResp.js +377 -0
  84. package/v3/model/ShareBandwidthTypeShowResp.d.ts +31 -0
  85. package/v3/model/ShareBandwidthTypeShowResp.js +101 -0
  86. package/v3/model/ShowPublicipPoolRequest.d.ts +9 -0
  87. package/v3/model/ShowPublicipPoolRequest.js +28 -0
  88. package/v3/model/ShowPublicipPoolResponse.d.ts +13 -0
  89. package/v3/model/ShowPublicipPoolResponse.js +55 -0
  90. package/v3/model/ShowPublicipRequest.d.ts +9 -0
  91. package/v3/model/ShowPublicipRequest.js +28 -0
  92. package/v3/model/ShowPublicipResponse.d.ts +11 -0
  93. package/v3/model/ShowPublicipResponse.js +45 -0
  94. package/v3/model/TagsInfo.d.ts +7 -0
  95. package/v3/model/TagsInfo.js +17 -0
  96. package/v3/model/VnicInfo.d.ts +41 -0
  97. package/v3/model/VnicInfo.js +133 -0
  98. package/v3/public-api.d.ts +36 -0
  99. package/v3/public-api.js +48 -0
@@ -1 +1,2 @@
1
1
  export * from './v2/public-api';
2
+ export * from './v3/public-api';
@@ -11,3 +11,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./v2/public-api"), exports);
14
+ __exportStar(require("./v3/public-api"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-eip",
3
- "version": "3.0.19-beta",
3
+ "version": "3.0.23-beta",
4
4
  "description": "Huaweicloud SDK for eip",
5
5
  "main": "huaweicloud-sdk-eip.js",
6
6
  "typings": "huaweicloud-sdk-eip.d.ts",
@@ -14,6 +14,6 @@
14
14
  "author": "HuaweiCloud_SDK",
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
- "@huaweicloud/huaweicloud-sdk-core": "^3.0.19-beta"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.0.23-beta"
18
18
  }
19
19
  }
package/v2/EipClient.d.ts CHANGED
@@ -217,6 +217,7 @@ export declare class EipClient {
217
217
  * @param {Array<string>} [publicIpAddress] IPv4时是申请到的弹性公网IP地址,IPv6时是IPv6地址对应的IPv4地址
218
218
  * @param {Array<string>} [privateIpAddress] 关联端口的私有IP地址
219
219
  * @param {Array<string>} [id] 弹性公网IP唯一标识
220
+ * @param {Array<string>} [allowShareBandwidthTypeAny] 共享带宽类型,根据任一共享带宽类型过滤EIP列表。 可以指定多个带宽类型,不同的带宽类型间用逗号分隔。
220
221
  * @param {*} [options] Override http request option.
221
222
  * @throws {RequiredError}
222
223
  */
@@ -273,7 +274,7 @@ export declare class EipClient {
273
274
  /**
274
275
  * 查询提交请求的租户有权限操作的所有浮动IP地址。
275
276
  * @summary 查询浮动IP列表
276
- * @param {string} [limit] 每页显示的条目数量。
277
+ * @param {number} [limit] 每页显示的条目数量。
277
278
  * @param {string} [marker] 取值为上一页数据的最后一条记录的id,当marker参数为无效id时,response将响应错误码400
278
279
  * @param {boolean} [pageReverse] False/True,是否设置分页的顺序。
279
280
  * @param {string} [id] 浮动IP的id。
@@ -299,7 +300,7 @@ export declare class EipClient {
299
300
  * 更新浮动IP。 更新时需在URL中给出浮动IP地址的ID。 port_id 为空,则表示浮动IP从端口解绑。
300
301
  * @summary 更新浮动IP
301
302
  * @param {string} floatingipId floatingip的ID
302
- * @param {NeutronUpdateFloatingIpRequestBody} floatingip 更新floatingip对象
303
+ * @param {NeutronUpdateFloatingIpRequestBody} neutronUpdateFloatingIpRequestBody 更新floatingip对象
303
304
  * @param {*} [options] Override http request option.
304
305
  * @throws {RequiredError}
305
306
  */
package/v2/EipClient.js CHANGED
@@ -309,6 +309,7 @@ var EipClient = /** @class */ (function () {
309
309
  * @param {Array<string>} [publicIpAddress] IPv4时是申请到的弹性公网IP地址,IPv6时是IPv6地址对应的IPv4地址
310
310
  * @param {Array<string>} [privateIpAddress] 关联端口的私有IP地址
311
311
  * @param {Array<string>} [id] 弹性公网IP唯一标识
312
+ * @param {Array<string>} [allowShareBandwidthTypeAny] 共享带宽类型,根据任一共享带宽类型过滤EIP列表。 可以指定多个带宽类型,不同的带宽类型间用逗号分隔。
312
313
  * @param {*} [options] Override http request option.
313
314
  * @throws {RequiredError}
314
315
  */
@@ -400,7 +401,7 @@ var EipClient = /** @class */ (function () {
400
401
  /**
401
402
  * 查询提交请求的租户有权限操作的所有浮动IP地址。
402
403
  * @summary 查询浮动IP列表
403
- * @param {string} [limit] 每页显示的条目数量。
404
+ * @param {number} [limit] 每页显示的条目数量。
404
405
  * @param {string} [marker] 取值为上一页数据的最后一条记录的id,当marker参数为无效id时,response将响应错误码400
405
406
  * @param {boolean} [pageReverse] False/True,是否设置分页的顺序。
406
407
  * @param {string} [id] 浮动IP的id。
@@ -436,7 +437,7 @@ var EipClient = /** @class */ (function () {
436
437
  * 更新浮动IP。 更新时需在URL中给出浮动IP地址的ID。 port_id 为空,则表示浮动IP从端口解绑。
437
438
  * @summary 更新浮动IP
438
439
  * @param {string} floatingipId floatingip的ID
439
- * @param {NeutronUpdateFloatingIpRequestBody} floatingip 更新floatingip对象
440
+ * @param {NeutronUpdateFloatingIpRequestBody} neutronUpdateFloatingIpRequestBody 更新floatingip对象
440
441
  * @param {*} [options] Override http request option.
441
442
  * @throws {RequiredError}
442
443
  */
@@ -1087,6 +1088,7 @@ var ParamCreater = function () {
1087
1088
  var publicIpAddress;
1088
1089
  var privateIpAddress;
1089
1090
  var id;
1091
+ var allowShareBandwidthTypeAny;
1090
1092
  if (listPublicipsRequest !== null && listPublicipsRequest !== undefined) {
1091
1093
  if (listPublicipsRequest instanceof ListPublicipsRequest_1.ListPublicipsRequest) {
1092
1094
  marker = listPublicipsRequest.marker;
@@ -1097,6 +1099,7 @@ var ParamCreater = function () {
1097
1099
  publicIpAddress = listPublicipsRequest.publicIpAddress;
1098
1100
  privateIpAddress = listPublicipsRequest.privateIpAddress;
1099
1101
  id = listPublicipsRequest.id;
1102
+ allowShareBandwidthTypeAny = listPublicipsRequest.allowShareBandwidthTypeAny;
1100
1103
  }
1101
1104
  else {
1102
1105
  marker = listPublicipsRequest['marker'];
@@ -1107,6 +1110,7 @@ var ParamCreater = function () {
1107
1110
  publicIpAddress = listPublicipsRequest['public_ip_address'];
1108
1111
  privateIpAddress = listPublicipsRequest['private_ip_address'];
1109
1112
  id = listPublicipsRequest['id'];
1113
+ allowShareBandwidthTypeAny = listPublicipsRequest['allow_share_bandwidth_type_any'];
1110
1114
  }
1111
1115
  }
1112
1116
  if (marker !== null && marker !== undefined) {
@@ -1133,6 +1137,9 @@ var ParamCreater = function () {
1133
1137
  if (id !== null && id !== undefined) {
1134
1138
  localVarQueryParameter['id'] = id;
1135
1139
  }
1140
+ if (allowShareBandwidthTypeAny !== null && allowShareBandwidthTypeAny !== undefined) {
1141
+ localVarQueryParameter['allow_share_bandwidth_type_any'] = allowShareBandwidthTypeAny;
1142
+ }
1136
1143
  options.queryParams = localVarQueryParameter;
1137
1144
  options.headers = localVarHeaderParameter;
1138
1145
  return options;
@@ -1,9 +1,11 @@
1
1
  export declare class CreatePrePaidPublicipOption {
2
2
  type: string;
3
3
  private 'ip_version'?;
4
+ alias?: string;
4
5
  constructor(type?: any);
5
6
  withType(type: string): CreatePrePaidPublicipOption;
6
7
  withIpVersion(ipVersion: number): CreatePrePaidPublicipOption;
7
8
  set ipVersion(ipVersion: number | undefined);
8
9
  get ipVersion(): number | undefined;
10
+ withAlias(alias: string): CreatePrePaidPublicipOption;
9
11
  }
@@ -23,6 +23,10 @@ var CreatePrePaidPublicipOption = /** @class */ (function () {
23
23
  enumerable: false,
24
24
  configurable: true
25
25
  });
26
+ CreatePrePaidPublicipOption.prototype.withAlias = function (alias) {
27
+ this['alias'] = alias;
28
+ return this;
29
+ };
26
30
  return CreatePrePaidPublicipOption;
27
31
  }());
28
32
  exports.CreatePrePaidPublicipOption = CreatePrePaidPublicipOption;
@@ -2,6 +2,7 @@ export declare class CreatePublicipOption {
2
2
  private 'ip_address'?;
3
3
  type: string;
4
4
  private 'ip_version'?;
5
+ alias?: string;
5
6
  constructor(type?: any);
6
7
  withIpAddress(ipAddress: string): CreatePublicipOption;
7
8
  set ipAddress(ipAddress: string | undefined);
@@ -10,6 +11,7 @@ export declare class CreatePublicipOption {
10
11
  withIpVersion(ipVersion: CreatePublicipOptionIpVersionEnum): CreatePublicipOption;
11
12
  set ipVersion(ipVersion: CreatePublicipOptionIpVersionEnum | undefined);
12
13
  get ipVersion(): CreatePublicipOptionIpVersionEnum | undefined;
14
+ withAlias(alias: string): CreatePublicipOption;
13
15
  }
14
16
  /**
15
17
  * @export
@@ -37,6 +37,10 @@ var CreatePublicipOption = /** @class */ (function () {
37
37
  enumerable: false,
38
38
  configurable: true
39
39
  });
40
+ CreatePublicipOption.prototype.withAlias = function (alias) {
41
+ this['alias'] = alias;
42
+ return this;
43
+ };
40
44
  return CreatePublicipOption;
41
45
  }());
42
46
  exports.CreatePublicipOption = CreatePublicipOption;
@@ -4,6 +4,7 @@ export declare class CreateSharedBandwidthOption {
4
4
  size: number;
5
5
  private 'charge_mode'?;
6
6
  private 'public_border_group'?;
7
+ private 'bandwidth_type'?;
7
8
  constructor(name?: any, size?: any);
8
9
  withEnterpriseProjectId(enterpriseProjectId: string): CreateSharedBandwidthOption;
9
10
  set enterpriseProjectId(enterpriseProjectId: string | undefined);
@@ -16,6 +17,9 @@ export declare class CreateSharedBandwidthOption {
16
17
  withPublicBorderGroup(publicBorderGroup: string): CreateSharedBandwidthOption;
17
18
  set publicBorderGroup(publicBorderGroup: string | undefined);
18
19
  get publicBorderGroup(): string | undefined;
20
+ withBandwidthType(bandwidthType: string): CreateSharedBandwidthOption;
21
+ set bandwidthType(bandwidthType: string | undefined);
22
+ get bandwidthType(): string | undefined;
19
23
  }
20
24
  /**
21
25
  * @export
@@ -56,6 +56,20 @@ var CreateSharedBandwidthOption = /** @class */ (function () {
56
56
  enumerable: false,
57
57
  configurable: true
58
58
  });
59
+ CreateSharedBandwidthOption.prototype.withBandwidthType = function (bandwidthType) {
60
+ this['bandwidth_type'] = bandwidthType;
61
+ return this;
62
+ };
63
+ Object.defineProperty(CreateSharedBandwidthOption.prototype, "bandwidthType", {
64
+ get: function () {
65
+ return this['bandwidth_type'];
66
+ },
67
+ set: function (bandwidthType) {
68
+ this['bandwidth_type'] = bandwidthType;
69
+ },
70
+ enumerable: false,
71
+ configurable: true
72
+ });
59
73
  return CreateSharedBandwidthOption;
60
74
  }());
61
75
  exports.CreateSharedBandwidthOption = CreateSharedBandwidthOption;
@@ -7,6 +7,7 @@ export declare class ListPublicipsRequest {
7
7
  private 'public_ip_address'?;
8
8
  private 'private_ip_address'?;
9
9
  id?: Array<string>;
10
+ private 'allow_share_bandwidth_type_any'?;
10
11
  constructor();
11
12
  withMarker(marker: string): ListPublicipsRequest;
12
13
  withLimit(limit: number): ListPublicipsRequest;
@@ -26,6 +27,9 @@ export declare class ListPublicipsRequest {
26
27
  set privateIpAddress(privateIpAddress: Array<string> | undefined);
27
28
  get privateIpAddress(): Array<string> | undefined;
28
29
  withId(id: Array<string>): ListPublicipsRequest;
30
+ withAllowShareBandwidthTypeAny(allowShareBandwidthTypeAny: Array<string>): ListPublicipsRequest;
31
+ set allowShareBandwidthTypeAny(allowShareBandwidthTypeAny: Array<string> | undefined);
32
+ get allowShareBandwidthTypeAny(): Array<string> | undefined;
29
33
  }
30
34
  /**
31
35
  * @export
@@ -86,6 +86,20 @@ var ListPublicipsRequest = /** @class */ (function () {
86
86
  this['id'] = id;
87
87
  return this;
88
88
  };
89
+ ListPublicipsRequest.prototype.withAllowShareBandwidthTypeAny = function (allowShareBandwidthTypeAny) {
90
+ this['allow_share_bandwidth_type_any'] = allowShareBandwidthTypeAny;
91
+ return this;
92
+ };
93
+ Object.defineProperty(ListPublicipsRequest.prototype, "allowShareBandwidthTypeAny", {
94
+ get: function () {
95
+ return this['allow_share_bandwidth_type_any'];
96
+ },
97
+ set: function (allowShareBandwidthTypeAny) {
98
+ this['allow_share_bandwidth_type_any'] = allowShareBandwidthTypeAny;
99
+ },
100
+ enumerable: false,
101
+ configurable: true
102
+ });
89
103
  return ListPublicipsRequest;
90
104
  }());
91
105
  exports.ListPublicipsRequest = ListPublicipsRequest;
@@ -1,5 +1,5 @@
1
1
  export declare class NeutronListFloatingIpsRequest {
2
- limit?: string;
2
+ limit?: number;
3
3
  marker?: string;
4
4
  private 'page_reverse'?;
5
5
  id?: string;
@@ -10,7 +10,7 @@ export declare class NeutronListFloatingIpsRequest {
10
10
  private 'tenant_id'?;
11
11
  private 'floating_network_id'?;
12
12
  constructor();
13
- withLimit(limit: string): NeutronListFloatingIpsRequest;
13
+ withLimit(limit: number): NeutronListFloatingIpsRequest;
14
14
  withMarker(marker: string): NeutronListFloatingIpsRequest;
15
15
  withPageReverse(pageReverse: boolean): NeutronListFloatingIpsRequest;
16
16
  set pageReverse(pageReverse: boolean | undefined);
@@ -9,6 +9,7 @@ export declare class PublicipCreateResp {
9
9
  private 'public_ipv6_address'?;
10
10
  private 'ip_version'?;
11
11
  private 'enterprise_project_id'?;
12
+ alias?: string;
12
13
  constructor();
13
14
  withBandwidthSize(bandwidthSize: number): PublicipCreateResp;
14
15
  set bandwidthSize(bandwidthSize: number | undefined);
@@ -34,6 +35,7 @@ export declare class PublicipCreateResp {
34
35
  withEnterpriseProjectId(enterpriseProjectId: string): PublicipCreateResp;
35
36
  set enterpriseProjectId(enterpriseProjectId: string | undefined);
36
37
  get enterpriseProjectId(): string | undefined;
38
+ withAlias(alias: string): PublicipCreateResp;
37
39
  }
38
40
  /**
39
41
  * @export
@@ -114,6 +114,10 @@ var PublicipCreateResp = /** @class */ (function () {
114
114
  enumerable: false,
115
115
  configurable: true
116
116
  });
117
+ PublicipCreateResp.prototype.withAlias = function (alias) {
118
+ this['alias'] = alias;
119
+ return this;
120
+ };
117
121
  return PublicipCreateResp;
118
122
  }());
119
123
  exports.PublicipCreateResp = PublicipCreateResp;
@@ -17,6 +17,8 @@ export declare class PublicipShowResp {
17
17
  private 'public_ipv6_address'?;
18
18
  private 'ip_version'?;
19
19
  private 'public_border_group'?;
20
+ private 'allow_share_bandwidth_types'?;
21
+ alias?: string;
20
22
  constructor();
21
23
  withBandwidthId(bandwidthId: string): PublicipShowResp;
22
24
  set bandwidthId(bandwidthId: string | undefined);
@@ -61,6 +63,10 @@ export declare class PublicipShowResp {
61
63
  withPublicBorderGroup(publicBorderGroup: string): PublicipShowResp;
62
64
  set publicBorderGroup(publicBorderGroup: string | undefined);
63
65
  get publicBorderGroup(): string | undefined;
66
+ withAllowShareBandwidthTypes(allowShareBandwidthTypes: Array<string>): PublicipShowResp;
67
+ set allowShareBandwidthTypes(allowShareBandwidthTypes: Array<string> | undefined);
68
+ get allowShareBandwidthTypes(): Array<string> | undefined;
69
+ withAlias(alias: string): PublicipShowResp;
64
70
  }
65
71
  /**
66
72
  * @export
@@ -202,6 +202,24 @@ var PublicipShowResp = /** @class */ (function () {
202
202
  enumerable: false,
203
203
  configurable: true
204
204
  });
205
+ PublicipShowResp.prototype.withAllowShareBandwidthTypes = function (allowShareBandwidthTypes) {
206
+ this['allow_share_bandwidth_types'] = allowShareBandwidthTypes;
207
+ return this;
208
+ };
209
+ Object.defineProperty(PublicipShowResp.prototype, "allowShareBandwidthTypes", {
210
+ get: function () {
211
+ return this['allow_share_bandwidth_types'];
212
+ },
213
+ set: function (allowShareBandwidthTypes) {
214
+ this['allow_share_bandwidth_types'] = allowShareBandwidthTypes;
215
+ },
216
+ enumerable: false,
217
+ configurable: true
218
+ });
219
+ PublicipShowResp.prototype.withAlias = function (alias) {
220
+ this['alias'] = alias;
221
+ return this;
222
+ };
205
223
  return PublicipShowResp;
206
224
  }());
207
225
  exports.PublicipShowResp = PublicipShowResp;
@@ -0,0 +1,97 @@
1
+ import { ProfileResp } from './ProfileResp';
2
+ export declare class PublicipUpdateResp {
3
+ private 'bandwidth_id'?;
4
+ private 'bandwidth_name'?;
5
+ private 'bandwidth_share_type'?;
6
+ private 'bandwidth_size'?;
7
+ private 'create_time'?;
8
+ private 'enterprise_project_id'?;
9
+ id?: string;
10
+ private 'port_id'?;
11
+ private 'private_ip_address'?;
12
+ profile?: ProfileResp;
13
+ private 'public_ip_address'?;
14
+ status?: PublicipUpdateRespStatusEnum;
15
+ private 'tenant_id'?;
16
+ type?: string;
17
+ private 'public_ipv6_address'?;
18
+ private 'ip_version'?;
19
+ alias?: string;
20
+ constructor();
21
+ withBandwidthId(bandwidthId: string): PublicipUpdateResp;
22
+ set bandwidthId(bandwidthId: string | undefined);
23
+ get bandwidthId(): string | undefined;
24
+ withBandwidthName(bandwidthName: string): PublicipUpdateResp;
25
+ set bandwidthName(bandwidthName: string | undefined);
26
+ get bandwidthName(): string | undefined;
27
+ withBandwidthShareType(bandwidthShareType: PublicipUpdateRespBandwidthShareTypeEnum): PublicipUpdateResp;
28
+ set bandwidthShareType(bandwidthShareType: PublicipUpdateRespBandwidthShareTypeEnum | undefined);
29
+ get bandwidthShareType(): PublicipUpdateRespBandwidthShareTypeEnum | undefined;
30
+ withBandwidthSize(bandwidthSize: number): PublicipUpdateResp;
31
+ set bandwidthSize(bandwidthSize: number | undefined);
32
+ get bandwidthSize(): number | undefined;
33
+ withCreateTime(createTime: Date): PublicipUpdateResp;
34
+ set createTime(createTime: Date | undefined);
35
+ get createTime(): Date | undefined;
36
+ withEnterpriseProjectId(enterpriseProjectId: string): PublicipUpdateResp;
37
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
38
+ get enterpriseProjectId(): string | undefined;
39
+ withId(id: string): PublicipUpdateResp;
40
+ withPortId(portId: string): PublicipUpdateResp;
41
+ set portId(portId: string | undefined);
42
+ get portId(): string | undefined;
43
+ withPrivateIpAddress(privateIpAddress: string): PublicipUpdateResp;
44
+ set privateIpAddress(privateIpAddress: string | undefined);
45
+ get privateIpAddress(): string | undefined;
46
+ withProfile(profile: ProfileResp): PublicipUpdateResp;
47
+ withPublicIpAddress(publicIpAddress: string): PublicipUpdateResp;
48
+ set publicIpAddress(publicIpAddress: string | undefined);
49
+ get publicIpAddress(): string | undefined;
50
+ withStatus(status: PublicipUpdateRespStatusEnum): PublicipUpdateResp;
51
+ withTenantId(tenantId: string): PublicipUpdateResp;
52
+ set tenantId(tenantId: string | undefined);
53
+ get tenantId(): string | undefined;
54
+ withType(type: string): PublicipUpdateResp;
55
+ withPublicIpv6Address(publicIpv6Address: string): PublicipUpdateResp;
56
+ set publicIpv6Address(publicIpv6Address: string | undefined);
57
+ get publicIpv6Address(): string | undefined;
58
+ withIpVersion(ipVersion: PublicipUpdateRespIpVersionEnum): PublicipUpdateResp;
59
+ set ipVersion(ipVersion: PublicipUpdateRespIpVersionEnum | undefined);
60
+ get ipVersion(): PublicipUpdateRespIpVersionEnum | undefined;
61
+ withAlias(alias: string): PublicipUpdateResp;
62
+ }
63
+ /**
64
+ * @export
65
+ * @enum {string}
66
+ */
67
+ export declare enum PublicipUpdateRespBandwidthShareTypeEnum {
68
+ WHOLE = "WHOLE",
69
+ PER = "PER"
70
+ }
71
+ /**
72
+ * @export
73
+ * @enum {string}
74
+ */
75
+ export declare enum PublicipUpdateRespStatusEnum {
76
+ FREEZED = "FREEZED",
77
+ BIND_ERROR = "BIND_ERROR",
78
+ BINDING = "BINDING",
79
+ PENDING_DELETE = "PENDING_DELETE",
80
+ PENDING_CREATE = "PENDING_CREATE",
81
+ NOTIFYING = "NOTIFYING",
82
+ NOTIFY_DELETE = "NOTIFY_DELETE",
83
+ PENDING_UPDATE = "PENDING_UPDATE",
84
+ DOWN = "DOWN",
85
+ ACTIVE = "ACTIVE",
86
+ ELB = "ELB",
87
+ ERROR = "ERROR",
88
+ VPN = "VPN"
89
+ }
90
+ /**
91
+ * @export
92
+ * @enum {string}
93
+ */
94
+ export declare enum PublicipUpdateRespIpVersionEnum {
95
+ NUMBER_4 = 4,
96
+ NUMBER_6 = 6
97
+ }
@@ -0,0 +1,235 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PublicipUpdateRespIpVersionEnum = exports.PublicipUpdateRespStatusEnum = exports.PublicipUpdateRespBandwidthShareTypeEnum = exports.PublicipUpdateResp = void 0;
4
+ var PublicipUpdateResp = /** @class */ (function () {
5
+ function PublicipUpdateResp() {
6
+ }
7
+ PublicipUpdateResp.prototype.withBandwidthId = function (bandwidthId) {
8
+ this['bandwidth_id'] = bandwidthId;
9
+ return this;
10
+ };
11
+ Object.defineProperty(PublicipUpdateResp.prototype, "bandwidthId", {
12
+ get: function () {
13
+ return this['bandwidth_id'];
14
+ },
15
+ set: function (bandwidthId) {
16
+ this['bandwidth_id'] = bandwidthId;
17
+ },
18
+ enumerable: false,
19
+ configurable: true
20
+ });
21
+ PublicipUpdateResp.prototype.withBandwidthName = function (bandwidthName) {
22
+ this['bandwidth_name'] = bandwidthName;
23
+ return this;
24
+ };
25
+ Object.defineProperty(PublicipUpdateResp.prototype, "bandwidthName", {
26
+ get: function () {
27
+ return this['bandwidth_name'];
28
+ },
29
+ set: function (bandwidthName) {
30
+ this['bandwidth_name'] = bandwidthName;
31
+ },
32
+ enumerable: false,
33
+ configurable: true
34
+ });
35
+ PublicipUpdateResp.prototype.withBandwidthShareType = function (bandwidthShareType) {
36
+ this['bandwidth_share_type'] = bandwidthShareType;
37
+ return this;
38
+ };
39
+ Object.defineProperty(PublicipUpdateResp.prototype, "bandwidthShareType", {
40
+ get: function () {
41
+ return this['bandwidth_share_type'];
42
+ },
43
+ set: function (bandwidthShareType) {
44
+ this['bandwidth_share_type'] = bandwidthShareType;
45
+ },
46
+ enumerable: false,
47
+ configurable: true
48
+ });
49
+ PublicipUpdateResp.prototype.withBandwidthSize = function (bandwidthSize) {
50
+ this['bandwidth_size'] = bandwidthSize;
51
+ return this;
52
+ };
53
+ Object.defineProperty(PublicipUpdateResp.prototype, "bandwidthSize", {
54
+ get: function () {
55
+ return this['bandwidth_size'];
56
+ },
57
+ set: function (bandwidthSize) {
58
+ this['bandwidth_size'] = bandwidthSize;
59
+ },
60
+ enumerable: false,
61
+ configurable: true
62
+ });
63
+ PublicipUpdateResp.prototype.withCreateTime = function (createTime) {
64
+ this['create_time'] = createTime;
65
+ return this;
66
+ };
67
+ Object.defineProperty(PublicipUpdateResp.prototype, "createTime", {
68
+ get: function () {
69
+ return this['create_time'];
70
+ },
71
+ set: function (createTime) {
72
+ this['create_time'] = createTime;
73
+ },
74
+ enumerable: false,
75
+ configurable: true
76
+ });
77
+ PublicipUpdateResp.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
78
+ this['enterprise_project_id'] = enterpriseProjectId;
79
+ return this;
80
+ };
81
+ Object.defineProperty(PublicipUpdateResp.prototype, "enterpriseProjectId", {
82
+ get: function () {
83
+ return this['enterprise_project_id'];
84
+ },
85
+ set: function (enterpriseProjectId) {
86
+ this['enterprise_project_id'] = enterpriseProjectId;
87
+ },
88
+ enumerable: false,
89
+ configurable: true
90
+ });
91
+ PublicipUpdateResp.prototype.withId = function (id) {
92
+ this['id'] = id;
93
+ return this;
94
+ };
95
+ PublicipUpdateResp.prototype.withPortId = function (portId) {
96
+ this['port_id'] = portId;
97
+ return this;
98
+ };
99
+ Object.defineProperty(PublicipUpdateResp.prototype, "portId", {
100
+ get: function () {
101
+ return this['port_id'];
102
+ },
103
+ set: function (portId) {
104
+ this['port_id'] = portId;
105
+ },
106
+ enumerable: false,
107
+ configurable: true
108
+ });
109
+ PublicipUpdateResp.prototype.withPrivateIpAddress = function (privateIpAddress) {
110
+ this['private_ip_address'] = privateIpAddress;
111
+ return this;
112
+ };
113
+ Object.defineProperty(PublicipUpdateResp.prototype, "privateIpAddress", {
114
+ get: function () {
115
+ return this['private_ip_address'];
116
+ },
117
+ set: function (privateIpAddress) {
118
+ this['private_ip_address'] = privateIpAddress;
119
+ },
120
+ enumerable: false,
121
+ configurable: true
122
+ });
123
+ PublicipUpdateResp.prototype.withProfile = function (profile) {
124
+ this['profile'] = profile;
125
+ return this;
126
+ };
127
+ PublicipUpdateResp.prototype.withPublicIpAddress = function (publicIpAddress) {
128
+ this['public_ip_address'] = publicIpAddress;
129
+ return this;
130
+ };
131
+ Object.defineProperty(PublicipUpdateResp.prototype, "publicIpAddress", {
132
+ get: function () {
133
+ return this['public_ip_address'];
134
+ },
135
+ set: function (publicIpAddress) {
136
+ this['public_ip_address'] = publicIpAddress;
137
+ },
138
+ enumerable: false,
139
+ configurable: true
140
+ });
141
+ PublicipUpdateResp.prototype.withStatus = function (status) {
142
+ this['status'] = status;
143
+ return this;
144
+ };
145
+ PublicipUpdateResp.prototype.withTenantId = function (tenantId) {
146
+ this['tenant_id'] = tenantId;
147
+ return this;
148
+ };
149
+ Object.defineProperty(PublicipUpdateResp.prototype, "tenantId", {
150
+ get: function () {
151
+ return this['tenant_id'];
152
+ },
153
+ set: function (tenantId) {
154
+ this['tenant_id'] = tenantId;
155
+ },
156
+ enumerable: false,
157
+ configurable: true
158
+ });
159
+ PublicipUpdateResp.prototype.withType = function (type) {
160
+ this['type'] = type;
161
+ return this;
162
+ };
163
+ PublicipUpdateResp.prototype.withPublicIpv6Address = function (publicIpv6Address) {
164
+ this['public_ipv6_address'] = publicIpv6Address;
165
+ return this;
166
+ };
167
+ Object.defineProperty(PublicipUpdateResp.prototype, "publicIpv6Address", {
168
+ get: function () {
169
+ return this['public_ipv6_address'];
170
+ },
171
+ set: function (publicIpv6Address) {
172
+ this['public_ipv6_address'] = publicIpv6Address;
173
+ },
174
+ enumerable: false,
175
+ configurable: true
176
+ });
177
+ PublicipUpdateResp.prototype.withIpVersion = function (ipVersion) {
178
+ this['ip_version'] = ipVersion;
179
+ return this;
180
+ };
181
+ Object.defineProperty(PublicipUpdateResp.prototype, "ipVersion", {
182
+ get: function () {
183
+ return this['ip_version'];
184
+ },
185
+ set: function (ipVersion) {
186
+ this['ip_version'] = ipVersion;
187
+ },
188
+ enumerable: false,
189
+ configurable: true
190
+ });
191
+ PublicipUpdateResp.prototype.withAlias = function (alias) {
192
+ this['alias'] = alias;
193
+ return this;
194
+ };
195
+ return PublicipUpdateResp;
196
+ }());
197
+ exports.PublicipUpdateResp = PublicipUpdateResp;
198
+ /**
199
+ * @export
200
+ * @enum {string}
201
+ */
202
+ var PublicipUpdateRespBandwidthShareTypeEnum;
203
+ (function (PublicipUpdateRespBandwidthShareTypeEnum) {
204
+ PublicipUpdateRespBandwidthShareTypeEnum["WHOLE"] = "WHOLE";
205
+ PublicipUpdateRespBandwidthShareTypeEnum["PER"] = "PER";
206
+ })(PublicipUpdateRespBandwidthShareTypeEnum = exports.PublicipUpdateRespBandwidthShareTypeEnum || (exports.PublicipUpdateRespBandwidthShareTypeEnum = {}));
207
+ /**
208
+ * @export
209
+ * @enum {string}
210
+ */
211
+ var PublicipUpdateRespStatusEnum;
212
+ (function (PublicipUpdateRespStatusEnum) {
213
+ PublicipUpdateRespStatusEnum["FREEZED"] = "FREEZED";
214
+ PublicipUpdateRespStatusEnum["BIND_ERROR"] = "BIND_ERROR";
215
+ PublicipUpdateRespStatusEnum["BINDING"] = "BINDING";
216
+ PublicipUpdateRespStatusEnum["PENDING_DELETE"] = "PENDING_DELETE";
217
+ PublicipUpdateRespStatusEnum["PENDING_CREATE"] = "PENDING_CREATE";
218
+ PublicipUpdateRespStatusEnum["NOTIFYING"] = "NOTIFYING";
219
+ PublicipUpdateRespStatusEnum["NOTIFY_DELETE"] = "NOTIFY_DELETE";
220
+ PublicipUpdateRespStatusEnum["PENDING_UPDATE"] = "PENDING_UPDATE";
221
+ PublicipUpdateRespStatusEnum["DOWN"] = "DOWN";
222
+ PublicipUpdateRespStatusEnum["ACTIVE"] = "ACTIVE";
223
+ PublicipUpdateRespStatusEnum["ELB"] = "ELB";
224
+ PublicipUpdateRespStatusEnum["ERROR"] = "ERROR";
225
+ PublicipUpdateRespStatusEnum["VPN"] = "VPN";
226
+ })(PublicipUpdateRespStatusEnum = exports.PublicipUpdateRespStatusEnum || (exports.PublicipUpdateRespStatusEnum = {}));
227
+ /**
228
+ * @export
229
+ * @enum {string}
230
+ */
231
+ var PublicipUpdateRespIpVersionEnum;
232
+ (function (PublicipUpdateRespIpVersionEnum) {
233
+ PublicipUpdateRespIpVersionEnum[PublicipUpdateRespIpVersionEnum["NUMBER_4"] = 4] = "NUMBER_4";
234
+ PublicipUpdateRespIpVersionEnum[PublicipUpdateRespIpVersionEnum["NUMBER_6"] = 6] = "NUMBER_6";
235
+ })(PublicipUpdateRespIpVersionEnum = exports.PublicipUpdateRespIpVersionEnum || (exports.PublicipUpdateRespIpVersionEnum = {}));