@huaweicloud/huaweicloud-sdk-eip 3.1.13 → 3.1.15

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 (81) hide show
  1. package/package.json +2 -2
  2. package/v2/EipClient.d.ts +260 -0
  3. package/v2/EipClient.js +435 -0
  4. package/v2/EipRegion.d.ts +1 -0
  5. package/v2/EipRegion.js +2 -0
  6. package/v2/model/BandwidthPkgPage.d.ts +7 -0
  7. package/v2/model/BandwidthPkgPage.js +19 -0
  8. package/v2/model/BandwidthPkgResp.d.ts +25 -0
  9. package/v2/model/BandwidthPkgResp.js +68 -0
  10. package/v2/model/BatchBandwidth.d.ts +33 -0
  11. package/v2/model/BatchBandwidth.js +68 -0
  12. package/v2/model/BatchCreatePublicipsRequest.d.ts +6 -0
  13. package/v2/model/BatchCreatePublicipsRequest.js +13 -0
  14. package/v2/model/BatchCreatePublicipsResponse.d.ts +8 -0
  15. package/v2/model/BatchCreatePublicipsResponse.js +41 -0
  16. package/v2/model/BatchCreatePublicipsV2RequestBody.d.ts +17 -0
  17. package/v2/model/BatchCreatePublicipsV2RequestBody.js +49 -0
  18. package/v2/model/BatchDeletePublicIpRequest.d.ts +6 -0
  19. package/v2/model/BatchDeletePublicIpRequest.js +13 -0
  20. package/v2/model/BatchDeletePublicIpRequestBody.d.ts +7 -0
  21. package/v2/model/BatchDeletePublicIpRequestBody.js +24 -0
  22. package/v2/model/BatchDeletePublicIpResponse.d.ts +8 -0
  23. package/v2/model/BatchDeletePublicIpResponse.js +41 -0
  24. package/v2/model/BatchDisassociatePublicipsRequest.d.ts +6 -0
  25. package/v2/model/BatchDisassociatePublicipsRequest.js +13 -0
  26. package/v2/model/BatchDisassociatePublicipsResponse.d.ts +8 -0
  27. package/v2/model/BatchDisassociatePublicipsResponse.js +41 -0
  28. package/v2/model/BatchProfile.d.ts +19 -0
  29. package/v2/model/BatchProfile.js +65 -0
  30. package/v2/model/BatchPublicIp.d.ts +29 -0
  31. package/v2/model/BatchPublicIp.js +64 -0
  32. package/v2/model/BwChangeToPeriodReq.d.ts +9 -0
  33. package/v2/model/BwChangeToPeriodReq.js +29 -0
  34. package/v2/model/ChangeBandwidthToPeriodRequest.d.ts +6 -0
  35. package/v2/model/ChangeBandwidthToPeriodRequest.js +13 -0
  36. package/v2/model/ChangeBandwidthToPeriodResponse.d.ts +16 -0
  37. package/v2/model/ChangeBandwidthToPeriodResponse.js +69 -0
  38. package/v2/model/ChangePublicipToPeriodRequest.d.ts +6 -0
  39. package/v2/model/ChangePublicipToPeriodRequest.js +13 -0
  40. package/v2/model/ChangePublicipToPeriodResponse.d.ts +16 -0
  41. package/v2/model/ChangePublicipToPeriodResponse.js +69 -0
  42. package/v2/model/ChangeToPeriodReq.d.ts +9 -0
  43. package/v2/model/ChangeToPeriodReq.js +29 -0
  44. package/v2/model/CountPublicIpInstanceRequest.d.ts +3 -0
  45. package/v2/model/CountPublicIpInstanceRequest.js +9 -0
  46. package/v2/model/CountPublicIpInstanceResponse.d.ts +6 -0
  47. package/v2/model/CountPublicIpInstanceResponse.js +31 -0
  48. package/v2/model/CountPublicIpRequest.d.ts +3 -0
  49. package/v2/model/CountPublicIpRequest.js +9 -0
  50. package/v2/model/CountPublicIpResponse.d.ts +8 -0
  51. package/v2/model/CountPublicIpResponse.js +41 -0
  52. package/v2/model/ListBandwidthPkgRequest.d.ts +3 -0
  53. package/v2/model/ListBandwidthPkgRequest.js +9 -0
  54. package/v2/model/ListBandwidthPkgResponse.d.ts +12 -0
  55. package/v2/model/ListBandwidthPkgResponse.js +45 -0
  56. package/v2/model/ShowPublicIpTypeRequest.d.ts +3 -0
  57. package/v2/model/ShowPublicIpTypeRequest.js +9 -0
  58. package/v2/model/ShowPublicIpTypeResponse.d.ts +6 -0
  59. package/v2/model/ShowPublicIpTypeResponse.js +31 -0
  60. package/v2/model/ShowResourcesJobDetailRequest.d.ts +7 -0
  61. package/v2/model/ShowResourcesJobDetailRequest.js +24 -0
  62. package/v2/model/ShowResourcesJobDetailResponse.d.ts +33 -0
  63. package/v2/model/ShowResourcesJobDetailResponse.js +119 -0
  64. package/v2/model/SubJobs.d.ts +31 -0
  65. package/v2/model/SubJobs.js +101 -0
  66. package/v2/public-api.d.ts +30 -0
  67. package/v2/public-api.js +30 -0
  68. package/v3/EipClient.d.ts +70 -43
  69. package/v3/EipClient.js +219 -169
  70. package/v3/EipRegion.d.ts +1 -0
  71. package/v3/EipRegion.js +2 -0
  72. package/v3/model/AssociatePublicipsOption.d.ts +1 -2
  73. package/v3/model/AssociatePublicipsOption.js +0 -1
  74. package/v3/model/CountEipAvailableResourcesRequest.d.ts +6 -0
  75. package/v3/model/CountEipAvailableResourcesRequest.js +13 -0
  76. package/v3/model/CountEipAvailableResourcesResponse.d.ts +6 -0
  77. package/v3/model/CountEipAvailableResourcesResponse.js +31 -0
  78. package/v3/model/EipResourcesAvailableV3RequestBody.d.ts +7 -0
  79. package/v3/model/EipResourcesAvailableV3RequestBody.js +18 -0
  80. package/v3/public-api.d.ts +3 -0
  81. package/v3/public-api.js +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-eip",
3
- "version": "3.1.13",
3
+ "version": "3.1.15",
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.1.13"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.15"
18
18
  }
19
19
  }
package/v2/EipClient.d.ts CHANGED
@@ -3,9 +3,20 @@ import { ClientBuilder } from "@huaweicloud/huaweicloud-sdk-core/ClientBuilder";
3
3
  import { AddPublicipsIntoSharedBandwidthRequest } from './model/AddPublicipsIntoSharedBandwidthRequest';
4
4
  import { AddPublicipsIntoSharedBandwidthResponse } from './model/AddPublicipsIntoSharedBandwidthResponse';
5
5
  import { BatchCreatePublicipTagsRequest } from './model/BatchCreatePublicipTagsRequest';
6
+ import { BatchCreatePublicipsRequest } from './model/BatchCreatePublicipsRequest';
7
+ import { BatchCreatePublicipsResponse } from './model/BatchCreatePublicipsResponse';
6
8
  import { BatchCreateSharedBandwidthsRequest } from './model/BatchCreateSharedBandwidthsRequest';
7
9
  import { BatchCreateSharedBandwidthsResponse } from './model/BatchCreateSharedBandwidthsResponse';
10
+ import { BatchDeletePublicIpRequest } from './model/BatchDeletePublicIpRequest';
11
+ import { BatchDeletePublicIpResponse } from './model/BatchDeletePublicIpResponse';
8
12
  import { BatchDeletePublicipTagsRequest } from './model/BatchDeletePublicipTagsRequest';
13
+ import { BatchDisassociatePublicipsRequest } from './model/BatchDisassociatePublicipsRequest';
14
+ import { BatchDisassociatePublicipsResponse } from './model/BatchDisassociatePublicipsResponse';
15
+ import { ChangeBandwidthToPeriodRequest } from './model/ChangeBandwidthToPeriodRequest';
16
+ import { ChangeBandwidthToPeriodResponse } from './model/ChangeBandwidthToPeriodResponse';
17
+ import { ChangePublicipToPeriodRequest } from './model/ChangePublicipToPeriodRequest';
18
+ import { ChangePublicipToPeriodResponse } from './model/ChangePublicipToPeriodResponse';
19
+ import { CountPublicIpResponse } from './model/CountPublicIpResponse';
9
20
  import { CreatePrePaidPublicipRequest } from './model/CreatePrePaidPublicipRequest';
10
21
  import { CreatePrePaidPublicipResponse } from './model/CreatePrePaidPublicipResponse';
11
22
  import { CreatePublicipRequest } from './model/CreatePublicipRequest';
@@ -16,6 +27,7 @@ import { CreateSharedBandwidthResponse } from './model/CreateSharedBandwidthResp
16
27
  import { DeletePublicipRequest } from './model/DeletePublicipRequest';
17
28
  import { DeletePublicipTagRequest } from './model/DeletePublicipTagRequest';
18
29
  import { DeleteSharedBandwidthRequest } from './model/DeleteSharedBandwidthRequest';
30
+ import { ListBandwidthPkgResponse } from './model/ListBandwidthPkgResponse';
19
31
  import { ListBandwidthsRequest } from './model/ListBandwidthsRequest';
20
32
  import { ListBandwidthsResponse } from './model/ListBandwidthsResponse';
21
33
  import { ListPublicipTagsResponse } from './model/ListPublicipTagsResponse';
@@ -41,6 +53,8 @@ import { ShowPublicipRequest } from './model/ShowPublicipRequest';
41
53
  import { ShowPublicipResponse } from './model/ShowPublicipResponse';
42
54
  import { ShowPublicipTagsRequest } from './model/ShowPublicipTagsRequest';
43
55
  import { ShowPublicipTagsResponse } from './model/ShowPublicipTagsResponse';
56
+ import { ShowResourcesJobDetailRequest } from './model/ShowResourcesJobDetailRequest';
57
+ import { ShowResourcesJobDetailResponse } from './model/ShowResourcesJobDetailResponse';
44
58
  import { UpdateBandwidthRequest } from './model/UpdateBandwidthRequest';
45
59
  import { UpdateBandwidthResponse } from './model/UpdateBandwidthResponse';
46
60
  import { UpdatePrePaidBandwidthRequest } from './model/UpdatePrePaidBandwidthRequest';
@@ -75,6 +89,17 @@ export declare class EipClient {
75
89
  * @throws {RequiredError}
76
90
  */
77
91
  batchCreateSharedBandwidths(batchCreateSharedBandwidthsRequest?: BatchCreateSharedBandwidthsRequest): Promise<BatchCreateSharedBandwidthsResponse>;
92
+ /**
93
+ * 租户按需转包接口。
94
+ *
95
+ * Please refer to HUAWEI cloud API Explorer for details.
96
+ *
97
+ * @summary 按需转包API
98
+ * @param {BwChangeToPeriodReq} ipChangeToPeriodRequestBody This is a auto create Body Object
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ changeBandwidthToPeriod(changeBandwidthToPeriodRequest?: ChangeBandwidthToPeriodRequest): Promise<ChangeBandwidthToPeriodResponse>;
78
103
  /**
79
104
  * 创建共享带宽。
80
105
  *
@@ -97,6 +122,16 @@ export declare class EipClient {
97
122
  * @throws {RequiredError}
98
123
  */
99
124
  deleteSharedBandwidth(deleteSharedBandwidthRequest?: DeleteSharedBandwidthRequest): Promise<void>;
125
+ /**
126
+ * 查询带宽加油包列表信息
127
+ *
128
+ * Please refer to HUAWEI cloud API Explorer for details.
129
+ *
130
+ * @summary 查询带宽加油包列表
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ listBandwidthPkg(): Promise<ListBandwidthPkgResponse>;
100
135
  /**
101
136
  * 查询带宽列表。
102
137
  *
@@ -181,6 +216,28 @@ export declare class EipClient {
181
216
  * @throws {RequiredError}
182
217
  */
183
218
  batchCreatePublicipTags(batchCreatePublicipTagsRequest?: BatchCreatePublicipTagsRequest): Promise<void>;
219
+ /**
220
+ * 批量创建弹性公网IP
221
+ *
222
+ * Please refer to HUAWEI cloud API Explorer for details.
223
+ *
224
+ * @summary 批量创建弹性公网IP
225
+ * @param {BatchCreatePublicipsV2RequestBody} batchCreatePublicipsV2RequestBody This is a auto create Body Object
226
+ * @param {*} [options] Override http request option.
227
+ * @throws {RequiredError}
228
+ */
229
+ batchCreatePublicips(batchCreatePublicipsRequest?: BatchCreatePublicipsRequest): Promise<BatchCreatePublicipsResponse>;
230
+ /**
231
+ * 批量删除弹性公网IP
232
+ *
233
+ * Please refer to HUAWEI cloud API Explorer for details.
234
+ *
235
+ * @summary 批量删除弹性公网IP
236
+ * @param {BatchDeletePublicIpRequestBody} batchDeletePublicIpRequestBody 批量操作弹性公网IP请求体
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ batchDeletePublicIp(batchDeletePublicIpRequest?: BatchDeletePublicIpRequest): Promise<BatchDeletePublicIpResponse>;
184
241
  /**
185
242
  * 为指定的弹性公网IP资源实例批量删除标签。
186
243
  *
@@ -193,6 +250,48 @@ export declare class EipClient {
193
250
  * @throws {RequiredError}
194
251
  */
195
252
  batchDeletePublicipTags(batchDeletePublicipTagsRequest?: BatchDeletePublicipTagsRequest): Promise<void>;
253
+ /**
254
+ * 批量解绑弹性公网IP
255
+ *
256
+ * Please refer to HUAWEI cloud API Explorer for details.
257
+ *
258
+ * @summary 批量解绑弹性公网IP
259
+ * @param {BatchDeletePublicIpRequestBody} batchDisassociatePublicipsRequestBody 批量操作弹性公网IP请求体
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ */
263
+ batchDisassociatePublicips(batchDisassociatePublicipsRequest?: BatchDisassociatePublicipsRequest): Promise<BatchDisassociatePublicipsResponse>;
264
+ /**
265
+ * 租户按需转包接口。
266
+ *
267
+ * Please refer to HUAWEI cloud API Explorer for details.
268
+ *
269
+ * @summary 按需转包接口
270
+ * @param {ChangeToPeriodReq} ipChangeToPeriodRequestBody This is a auto create Body Object
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ */
274
+ changePublicipToPeriod(changePublicipToPeriodRequest?: ChangePublicipToPeriodRequest): Promise<ChangePublicipToPeriodResponse>;
275
+ /**
276
+ * 查询PublicIp数量
277
+ *
278
+ * Please refer to HUAWEI cloud API Explorer for details.
279
+ *
280
+ * @summary 查询PublicIp数量
281
+ * @param {*} [options] Override http request option.
282
+ * @throws {RequiredError}
283
+ */
284
+ countPublicIp(): Promise<CountPublicIpResponse>;
285
+ /**
286
+ * 查询PublicIp实例数
287
+ *
288
+ * Please refer to HUAWEI cloud API Explorer for details.
289
+ *
290
+ * @summary 查询PublicIp实例数
291
+ * @param {*} [options] Override http request option.
292
+ * @throws {RequiredError}
293
+ */
294
+ countPublicIpInstance(): Promise<string>;
196
295
  /**
197
296
  * 申请包年包月的弹性公网IP。
198
297
  *
@@ -291,6 +390,16 @@ export declare class EipClient {
291
390
  * @throws {RequiredError}
292
391
  */
293
392
  listPublicipsByTags(listPublicipsByTagsRequest?: ListPublicipsByTagsRequest): Promise<ListPublicipsByTagsResponse>;
393
+ /**
394
+ * 查询PublicIp类型
395
+ *
396
+ * Please refer to HUAWEI cloud API Explorer for details.
397
+ *
398
+ * @summary 查询PublicIp类型
399
+ * @param {*} [options] Override http request option.
400
+ * @throws {RequiredError}
401
+ */
402
+ showPublicIpType(): Promise<string>;
294
403
  /**
295
404
  * 查询指定的弹性公网IP。
296
405
  *
@@ -325,6 +434,17 @@ export declare class EipClient {
325
434
  * @throws {RequiredError}
326
435
  */
327
436
  updatePublicip(updatePublicipRequest?: UpdatePublicipRequest): Promise<UpdatePublicipResponse>;
437
+ /**
438
+ * 查询Job状态接口
439
+ *
440
+ * Please refer to HUAWEI cloud API Explorer for details.
441
+ *
442
+ * @summary 查询Job状态接口
443
+ * @param {string} jobId 批量操作返回的JOB ID
444
+ * @param {*} [options] Override http request option.
445
+ * @throws {RequiredError}
446
+ */
447
+ showResourcesJobDetail(showResourcesJobDetailRequest?: ShowResourcesJobDetailRequest): Promise<ShowResourcesJobDetailResponse>;
328
448
  /**
329
449
  * 创建浮动IP的外部网络UUID,请使用GET /v2.0/networks?router:external&#x3D;True或neutron net-external-list方式获取。
330
450
  *
@@ -422,6 +542,20 @@ export declare const ParamCreater: () => {
422
542
  headers: {};
423
543
  data: {};
424
544
  };
545
+ /**
546
+ * 租户按需转包接口。
547
+ *
548
+ * Please refer to HUAWEI cloud API Explorer for details.
549
+ */
550
+ changeBandwidthToPeriod(changeBandwidthToPeriodRequest?: ChangeBandwidthToPeriodRequest): {
551
+ method: string;
552
+ url: string;
553
+ contentType: string;
554
+ queryParams: {};
555
+ pathParams: {};
556
+ headers: {};
557
+ data: {};
558
+ };
425
559
  /**
426
560
  * 创建共享带宽。
427
561
  *
@@ -450,6 +584,20 @@ export declare const ParamCreater: () => {
450
584
  headers: {};
451
585
  data: {};
452
586
  };
587
+ /**
588
+ * 查询带宽加油包列表信息
589
+ *
590
+ * Please refer to HUAWEI cloud API Explorer for details.
591
+ */
592
+ listBandwidthPkg(): {
593
+ method: string;
594
+ url: string;
595
+ contentType: string;
596
+ queryParams: {};
597
+ pathParams: {};
598
+ headers: {};
599
+ data: {};
600
+ };
453
601
  /**
454
602
  * 查询带宽列表。
455
603
  *
@@ -548,6 +696,34 @@ export declare const ParamCreater: () => {
548
696
  headers: {};
549
697
  data: {};
550
698
  };
699
+ /**
700
+ * 批量创建弹性公网IP
701
+ *
702
+ * Please refer to HUAWEI cloud API Explorer for details.
703
+ */
704
+ batchCreatePublicips(batchCreatePublicipsRequest?: BatchCreatePublicipsRequest): {
705
+ method: string;
706
+ url: string;
707
+ contentType: string;
708
+ queryParams: {};
709
+ pathParams: {};
710
+ headers: {};
711
+ data: {};
712
+ };
713
+ /**
714
+ * 批量删除弹性公网IP
715
+ *
716
+ * Please refer to HUAWEI cloud API Explorer for details.
717
+ */
718
+ batchDeletePublicIp(batchDeletePublicIpRequest?: BatchDeletePublicIpRequest): {
719
+ method: string;
720
+ url: string;
721
+ contentType: string;
722
+ queryParams: {};
723
+ pathParams: {};
724
+ headers: {};
725
+ data: {};
726
+ };
551
727
  /**
552
728
  * 为指定的弹性公网IP资源实例批量删除标签。
553
729
  *
@@ -562,6 +738,62 @@ export declare const ParamCreater: () => {
562
738
  headers: {};
563
739
  data: {};
564
740
  };
741
+ /**
742
+ * 批量解绑弹性公网IP
743
+ *
744
+ * Please refer to HUAWEI cloud API Explorer for details.
745
+ */
746
+ batchDisassociatePublicips(batchDisassociatePublicipsRequest?: BatchDisassociatePublicipsRequest): {
747
+ method: string;
748
+ url: string;
749
+ contentType: string;
750
+ queryParams: {};
751
+ pathParams: {};
752
+ headers: {};
753
+ data: {};
754
+ };
755
+ /**
756
+ * 租户按需转包接口。
757
+ *
758
+ * Please refer to HUAWEI cloud API Explorer for details.
759
+ */
760
+ changePublicipToPeriod(changePublicipToPeriodRequest?: ChangePublicipToPeriodRequest): {
761
+ method: string;
762
+ url: string;
763
+ contentType: string;
764
+ queryParams: {};
765
+ pathParams: {};
766
+ headers: {};
767
+ data: {};
768
+ };
769
+ /**
770
+ * 查询PublicIp数量
771
+ *
772
+ * Please refer to HUAWEI cloud API Explorer for details.
773
+ */
774
+ countPublicIp(): {
775
+ method: string;
776
+ url: string;
777
+ contentType: string;
778
+ queryParams: {};
779
+ pathParams: {};
780
+ headers: {};
781
+ data: {};
782
+ };
783
+ /**
784
+ * 查询PublicIp实例数
785
+ *
786
+ * Please refer to HUAWEI cloud API Explorer for details.
787
+ */
788
+ countPublicIpInstance(): {
789
+ method: string;
790
+ url: string;
791
+ contentType: string;
792
+ queryParams: {};
793
+ pathParams: {};
794
+ headers: {};
795
+ data: {};
796
+ };
565
797
  /**
566
798
  * 申请包年包月的弹性公网IP。
567
799
  *
@@ -675,6 +907,20 @@ export declare const ParamCreater: () => {
675
907
  headers: {};
676
908
  data: {};
677
909
  };
910
+ /**
911
+ * 查询PublicIp类型
912
+ *
913
+ * Please refer to HUAWEI cloud API Explorer for details.
914
+ */
915
+ showPublicIpType(): {
916
+ method: string;
917
+ url: string;
918
+ contentType: string;
919
+ queryParams: {};
920
+ pathParams: {};
921
+ headers: {};
922
+ data: {};
923
+ };
678
924
  /**
679
925
  * 查询指定的弹性公网IP。
680
926
  *
@@ -717,6 +963,20 @@ export declare const ParamCreater: () => {
717
963
  headers: {};
718
964
  data: {};
719
965
  };
966
+ /**
967
+ * 查询Job状态接口
968
+ *
969
+ * Please refer to HUAWEI cloud API Explorer for details.
970
+ */
971
+ showResourcesJobDetail(showResourcesJobDetailRequest?: ShowResourcesJobDetailRequest): {
972
+ method: string;
973
+ url: string;
974
+ contentType: string;
975
+ queryParams: {};
976
+ pathParams: {};
977
+ headers: {};
978
+ data: {};
979
+ };
720
980
  /**
721
981
  * 创建浮动IP的外部网络UUID,请使用GET /v2.0/networks?router:external&#x3D;True或neutron net-external-list方式获取。
722
982
  *