@huaweicloud/huaweicloud-sdk-vpc 3.0.20-beta → 3.0.24-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/package.json +2 -2
  2. package/v2/model/AllowedAddressPair.d.ts +2 -2
  3. package/v2/model/AllowedAddressPair.js +2 -1
  4. package/v3/VpcClient.d.ts +319 -0
  5. package/v3/VpcClient.js +727 -0
  6. package/v3/model/AddExtendCidrOption.d.ts +7 -0
  7. package/v3/model/AddExtendCidrOption.js +24 -0
  8. package/v3/model/AddVpcExtendCidrRequest.d.ts +10 -0
  9. package/v3/model/AddVpcExtendCidrRequest.js +28 -0
  10. package/v3/model/AddVpcExtendCidrRequestBody.d.ts +10 -0
  11. package/v3/model/AddVpcExtendCidrRequestBody.js +28 -0
  12. package/v3/model/AddVpcExtendCidrResponse.d.ts +11 -0
  13. package/v3/model/AddVpcExtendCidrResponse.js +45 -0
  14. package/v3/model/AddressGroup.d.ts +29 -0
  15. package/v3/model/AddressGroup.js +99 -0
  16. package/v3/model/CloudResource.d.ts +11 -0
  17. package/v3/model/CloudResource.js +39 -0
  18. package/v3/model/CreateAddressGroupOption.d.ts +15 -0
  19. package/v3/model/CreateAddressGroupOption.js +47 -0
  20. package/v3/model/CreateAddressGroupRequest.d.ts +6 -0
  21. package/v3/model/CreateAddressGroupRequest.js +13 -0
  22. package/v3/model/CreateAddressGroupRequestBody.d.ts +12 -0
  23. package/v3/model/CreateAddressGroupRequestBody.js +38 -0
  24. package/v3/model/CreateAddressGroupResponse.d.ts +13 -0
  25. package/v3/model/CreateAddressGroupResponse.js +55 -0
  26. package/v3/model/CreateVpcOption.d.ts +16 -0
  27. package/v3/model/CreateVpcOption.js +41 -0
  28. package/v3/model/CreateVpcRequest.d.ts +6 -0
  29. package/v3/model/CreateVpcRequest.js +13 -0
  30. package/v3/model/CreateVpcRequestBody.d.ts +10 -0
  31. package/v3/model/CreateVpcRequestBody.js +28 -0
  32. package/v3/model/CreateVpcResponse.d.ts +16 -0
  33. package/v3/model/CreateVpcResponse.js +69 -0
  34. package/v3/model/DeleteAddressGroupRequest.d.ts +7 -0
  35. package/v3/model/DeleteAddressGroupRequest.js +24 -0
  36. package/v3/model/DeleteAddressGroupResponse.d.ts +4 -0
  37. package/v3/model/DeleteAddressGroupResponse.js +27 -0
  38. package/v3/model/DeleteIpAddressGroupForceRequest.d.ts +7 -0
  39. package/v3/model/DeleteIpAddressGroupForceRequest.js +24 -0
  40. package/v3/model/DeleteIpAddressGroupForceResponse.d.ts +4 -0
  41. package/v3/model/DeleteIpAddressGroupForceResponse.js +27 -0
  42. package/v3/model/DeleteVpcRequest.d.ts +7 -0
  43. package/v3/model/DeleteVpcRequest.js +24 -0
  44. package/v3/model/DeleteVpcResponse.d.ts +4 -0
  45. package/v3/model/DeleteVpcResponse.js +27 -0
  46. package/v3/model/ListAddressGroupRequest.d.ts +17 -0
  47. package/v3/model/ListAddressGroupRequest.js +43 -0
  48. package/v3/model/ListAddressGroupResponse.d.ts +18 -0
  49. package/v3/model/ListAddressGroupResponse.js +69 -0
  50. package/v3/model/ListVpcsRequest.d.ts +15 -0
  51. package/v3/model/ListVpcsRequest.js +33 -0
  52. package/v3/model/ListVpcsResponse.d.ts +16 -0
  53. package/v3/model/ListVpcsResponse.js +59 -0
  54. package/v3/model/MigrateSubNetworkInterfaceOption.d.ts +17 -0
  55. package/v3/model/MigrateSubNetworkInterfaceOption.js +39 -0
  56. package/v3/model/MigrateSubNetworkInterfaceRequest.d.ts +6 -0
  57. package/v3/model/MigrateSubNetworkInterfaceRequest.js +13 -0
  58. package/v3/model/MigrateSubNetworkInterfaceRequestBody.d.ts +12 -0
  59. package/v3/model/MigrateSubNetworkInterfaceRequestBody.js +38 -0
  60. package/v3/model/MigrateSubNetworkInterfaceResponse.d.ts +13 -0
  61. package/v3/model/MigrateSubNetworkInterfaceResponse.js +55 -0
  62. package/v3/model/RemoveExtendCidrOption.d.ts +7 -0
  63. package/v3/model/RemoveExtendCidrOption.js +24 -0
  64. package/v3/model/RemoveVpcExtendCidrRequest.d.ts +10 -0
  65. package/v3/model/RemoveVpcExtendCidrRequest.js +28 -0
  66. package/v3/model/RemoveVpcExtendCidrRequestBody.d.ts +10 -0
  67. package/v3/model/RemoveVpcExtendCidrRequestBody.js +28 -0
  68. package/v3/model/RemoveVpcExtendCidrResponse.d.ts +11 -0
  69. package/v3/model/RemoveVpcExtendCidrResponse.js +45 -0
  70. package/v3/model/ShowAddressGroupRequest.d.ts +7 -0
  71. package/v3/model/ShowAddressGroupRequest.js +24 -0
  72. package/v3/model/ShowAddressGroupResponse.d.ts +13 -0
  73. package/v3/model/ShowAddressGroupResponse.js +55 -0
  74. package/v3/model/ShowVpcRequest.d.ts +7 -0
  75. package/v3/model/ShowVpcRequest.js +24 -0
  76. package/v3/model/ShowVpcResponse.d.ts +11 -0
  77. package/v3/model/ShowVpcResponse.js +45 -0
  78. package/v3/model/Tag.d.ts +7 -0
  79. package/v3/model/Tag.js +19 -0
  80. package/v3/model/UpdateAddressGroupOption.d.ts +11 -0
  81. package/v3/model/UpdateAddressGroupOption.js +31 -0
  82. package/v3/model/UpdateAddressGroupRequest.d.ts +10 -0
  83. package/v3/model/UpdateAddressGroupRequest.js +28 -0
  84. package/v3/model/UpdateAddressGroupRequestBody.d.ts +12 -0
  85. package/v3/model/UpdateAddressGroupRequestBody.js +38 -0
  86. package/v3/model/UpdateAddressGroupResponse.d.ts +13 -0
  87. package/v3/model/UpdateAddressGroupResponse.js +55 -0
  88. package/v3/model/UpdateVpcOption.d.ts +7 -0
  89. package/v3/model/UpdateVpcOption.js +17 -0
  90. package/v3/model/UpdateVpcRequest.d.ts +10 -0
  91. package/v3/model/UpdateVpcRequest.js +28 -0
  92. package/v3/model/UpdateVpcRequestBody.d.ts +10 -0
  93. package/v3/model/UpdateVpcRequestBody.js +28 -0
  94. package/v3/model/UpdateVpcResponse.d.ts +16 -0
  95. package/v3/model/UpdateVpcResponse.js +69 -0
  96. package/v3/model/Vpc.d.ts +41 -0
  97. package/v3/model/Vpc.js +129 -0
  98. package/v3/public-api.d.ts +46 -0
  99. package/v3/public-api.js +46 -0
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateVpcRequestBody = void 0;
4
+ var CreateVpcRequestBody = /** @class */ (function () {
5
+ function CreateVpcRequestBody(vpc) {
6
+ this['vpc'] = vpc;
7
+ }
8
+ CreateVpcRequestBody.prototype.withDryRun = function (dryRun) {
9
+ this['dry_run'] = dryRun;
10
+ return this;
11
+ };
12
+ Object.defineProperty(CreateVpcRequestBody.prototype, "dryRun", {
13
+ get: function () {
14
+ return this['dry_run'];
15
+ },
16
+ set: function (dryRun) {
17
+ this['dry_run'] = dryRun;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ CreateVpcRequestBody.prototype.withVpc = function (vpc) {
23
+ this['vpc'] = vpc;
24
+ return this;
25
+ };
26
+ return CreateVpcRequestBody;
27
+ }());
28
+ exports.CreateVpcRequestBody = CreateVpcRequestBody;
@@ -0,0 +1,16 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class CreateVpcResponse extends SdkResponse {
3
+ private 'request_id'?;
4
+ private 'error_msg'?;
5
+ private 'error_code'?;
6
+ constructor();
7
+ withRequestId(requestId: string): CreateVpcResponse;
8
+ set requestId(requestId: string | undefined);
9
+ get requestId(): string | undefined;
10
+ withErrorMsg(errorMsg: string): CreateVpcResponse;
11
+ set errorMsg(errorMsg: string | undefined);
12
+ get errorMsg(): string | undefined;
13
+ withErrorCode(errorCode: string): CreateVpcResponse;
14
+ set errorCode(errorCode: string | undefined);
15
+ get errorCode(): string | undefined;
16
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.CreateVpcResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var CreateVpcResponse = /** @class */ (function (_super) {
21
+ __extends(CreateVpcResponse, _super);
22
+ function CreateVpcResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ CreateVpcResponse.prototype.withRequestId = function (requestId) {
26
+ this['request_id'] = requestId;
27
+ return this;
28
+ };
29
+ Object.defineProperty(CreateVpcResponse.prototype, "requestId", {
30
+ get: function () {
31
+ return this['request_id'];
32
+ },
33
+ set: function (requestId) {
34
+ this['request_id'] = requestId;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ CreateVpcResponse.prototype.withErrorMsg = function (errorMsg) {
40
+ this['error_msg'] = errorMsg;
41
+ return this;
42
+ };
43
+ Object.defineProperty(CreateVpcResponse.prototype, "errorMsg", {
44
+ get: function () {
45
+ return this['error_msg'];
46
+ },
47
+ set: function (errorMsg) {
48
+ this['error_msg'] = errorMsg;
49
+ },
50
+ enumerable: false,
51
+ configurable: true
52
+ });
53
+ CreateVpcResponse.prototype.withErrorCode = function (errorCode) {
54
+ this['error_code'] = errorCode;
55
+ return this;
56
+ };
57
+ Object.defineProperty(CreateVpcResponse.prototype, "errorCode", {
58
+ get: function () {
59
+ return this['error_code'];
60
+ },
61
+ set: function (errorCode) {
62
+ this['error_code'] = errorCode;
63
+ },
64
+ enumerable: false,
65
+ configurable: true
66
+ });
67
+ return CreateVpcResponse;
68
+ }(SdkResponse_1.SdkResponse));
69
+ exports.CreateVpcResponse = CreateVpcResponse;
@@ -0,0 +1,7 @@
1
+ export declare class DeleteAddressGroupRequest {
2
+ private 'address_group_id';
3
+ constructor(addressGroupId?: any);
4
+ withAddressGroupId(addressGroupId: string): DeleteAddressGroupRequest;
5
+ set addressGroupId(addressGroupId: string | undefined);
6
+ get addressGroupId(): string | undefined;
7
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAddressGroupRequest = void 0;
4
+ var DeleteAddressGroupRequest = /** @class */ (function () {
5
+ function DeleteAddressGroupRequest(addressGroupId) {
6
+ this['address_group_id'] = addressGroupId;
7
+ }
8
+ DeleteAddressGroupRequest.prototype.withAddressGroupId = function (addressGroupId) {
9
+ this['address_group_id'] = addressGroupId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(DeleteAddressGroupRequest.prototype, "addressGroupId", {
13
+ get: function () {
14
+ return this['address_group_id'];
15
+ },
16
+ set: function (addressGroupId) {
17
+ this['address_group_id'] = addressGroupId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return DeleteAddressGroupRequest;
23
+ }());
24
+ exports.DeleteAddressGroupRequest = DeleteAddressGroupRequest;
@@ -0,0 +1,4 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class DeleteAddressGroupResponse extends SdkResponse {
3
+ constructor();
4
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.DeleteAddressGroupResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var DeleteAddressGroupResponse = /** @class */ (function (_super) {
21
+ __extends(DeleteAddressGroupResponse, _super);
22
+ function DeleteAddressGroupResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ return DeleteAddressGroupResponse;
26
+ }(SdkResponse_1.SdkResponse));
27
+ exports.DeleteAddressGroupResponse = DeleteAddressGroupResponse;
@@ -0,0 +1,7 @@
1
+ export declare class DeleteIpAddressGroupForceRequest {
2
+ private 'address_group_id';
3
+ constructor(addressGroupId?: any);
4
+ withAddressGroupId(addressGroupId: string): DeleteIpAddressGroupForceRequest;
5
+ set addressGroupId(addressGroupId: string | undefined);
6
+ get addressGroupId(): string | undefined;
7
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteIpAddressGroupForceRequest = void 0;
4
+ var DeleteIpAddressGroupForceRequest = /** @class */ (function () {
5
+ function DeleteIpAddressGroupForceRequest(addressGroupId) {
6
+ this['address_group_id'] = addressGroupId;
7
+ }
8
+ DeleteIpAddressGroupForceRequest.prototype.withAddressGroupId = function (addressGroupId) {
9
+ this['address_group_id'] = addressGroupId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(DeleteIpAddressGroupForceRequest.prototype, "addressGroupId", {
13
+ get: function () {
14
+ return this['address_group_id'];
15
+ },
16
+ set: function (addressGroupId) {
17
+ this['address_group_id'] = addressGroupId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return DeleteIpAddressGroupForceRequest;
23
+ }());
24
+ exports.DeleteIpAddressGroupForceRequest = DeleteIpAddressGroupForceRequest;
@@ -0,0 +1,4 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class DeleteIpAddressGroupForceResponse extends SdkResponse {
3
+ constructor();
4
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.DeleteIpAddressGroupForceResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var DeleteIpAddressGroupForceResponse = /** @class */ (function (_super) {
21
+ __extends(DeleteIpAddressGroupForceResponse, _super);
22
+ function DeleteIpAddressGroupForceResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ return DeleteIpAddressGroupForceResponse;
26
+ }(SdkResponse_1.SdkResponse));
27
+ exports.DeleteIpAddressGroupForceResponse = DeleteIpAddressGroupForceResponse;
@@ -0,0 +1,7 @@
1
+ export declare class DeleteVpcRequest {
2
+ private 'vpc_id';
3
+ constructor(vpcId?: any);
4
+ withVpcId(vpcId: string): DeleteVpcRequest;
5
+ set vpcId(vpcId: string | undefined);
6
+ get vpcId(): string | undefined;
7
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteVpcRequest = void 0;
4
+ var DeleteVpcRequest = /** @class */ (function () {
5
+ function DeleteVpcRequest(vpcId) {
6
+ this['vpc_id'] = vpcId;
7
+ }
8
+ DeleteVpcRequest.prototype.withVpcId = function (vpcId) {
9
+ this['vpc_id'] = vpcId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(DeleteVpcRequest.prototype, "vpcId", {
13
+ get: function () {
14
+ return this['vpc_id'];
15
+ },
16
+ set: function (vpcId) {
17
+ this['vpc_id'] = vpcId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return DeleteVpcRequest;
23
+ }());
24
+ exports.DeleteVpcRequest = DeleteVpcRequest;
@@ -0,0 +1,4 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class DeleteVpcResponse extends SdkResponse {
3
+ constructor();
4
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.DeleteVpcResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var DeleteVpcResponse = /** @class */ (function (_super) {
21
+ __extends(DeleteVpcResponse, _super);
22
+ function DeleteVpcResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ return DeleteVpcResponse;
26
+ }(SdkResponse_1.SdkResponse));
27
+ exports.DeleteVpcResponse = DeleteVpcResponse;
@@ -0,0 +1,17 @@
1
+ export declare class ListAddressGroupRequest {
2
+ limit?: number;
3
+ marker?: string;
4
+ id?: Array<string>;
5
+ name?: Array<string>;
6
+ private 'ip_version'?;
7
+ description?: Array<string>;
8
+ constructor();
9
+ withLimit(limit: number): ListAddressGroupRequest;
10
+ withMarker(marker: string): ListAddressGroupRequest;
11
+ withId(id: Array<string>): ListAddressGroupRequest;
12
+ withName(name: Array<string>): ListAddressGroupRequest;
13
+ withIpVersion(ipVersion: number): ListAddressGroupRequest;
14
+ set ipVersion(ipVersion: number | undefined);
15
+ get ipVersion(): number | undefined;
16
+ withDescription(description: Array<string>): ListAddressGroupRequest;
17
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAddressGroupRequest = void 0;
4
+ var ListAddressGroupRequest = /** @class */ (function () {
5
+ function ListAddressGroupRequest() {
6
+ }
7
+ ListAddressGroupRequest.prototype.withLimit = function (limit) {
8
+ this['limit'] = limit;
9
+ return this;
10
+ };
11
+ ListAddressGroupRequest.prototype.withMarker = function (marker) {
12
+ this['marker'] = marker;
13
+ return this;
14
+ };
15
+ ListAddressGroupRequest.prototype.withId = function (id) {
16
+ this['id'] = id;
17
+ return this;
18
+ };
19
+ ListAddressGroupRequest.prototype.withName = function (name) {
20
+ this['name'] = name;
21
+ return this;
22
+ };
23
+ ListAddressGroupRequest.prototype.withIpVersion = function (ipVersion) {
24
+ this['ip_version'] = ipVersion;
25
+ return this;
26
+ };
27
+ Object.defineProperty(ListAddressGroupRequest.prototype, "ipVersion", {
28
+ get: function () {
29
+ return this['ip_version'];
30
+ },
31
+ set: function (ipVersion) {
32
+ this['ip_version'] = ipVersion;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ ListAddressGroupRequest.prototype.withDescription = function (description) {
38
+ this['description'] = description;
39
+ return this;
40
+ };
41
+ return ListAddressGroupRequest;
42
+ }());
43
+ exports.ListAddressGroupRequest = ListAddressGroupRequest;
@@ -0,0 +1,18 @@
1
+ import { AddressGroup } from './AddressGroup';
2
+ import { PageInfo } from './PageInfo';
3
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
4
+ export declare class ListAddressGroupResponse extends SdkResponse {
5
+ private 'request_id'?;
6
+ private 'address_groups'?;
7
+ private 'page_info'?;
8
+ constructor();
9
+ withRequestId(requestId: string): ListAddressGroupResponse;
10
+ set requestId(requestId: string | undefined);
11
+ get requestId(): string | undefined;
12
+ withAddressGroups(addressGroups: Array<AddressGroup>): ListAddressGroupResponse;
13
+ set addressGroups(addressGroups: Array<AddressGroup> | undefined);
14
+ get addressGroups(): Array<AddressGroup> | undefined;
15
+ withPageInfo(pageInfo: PageInfo): ListAddressGroupResponse;
16
+ set pageInfo(pageInfo: PageInfo | undefined);
17
+ get pageInfo(): PageInfo | undefined;
18
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ListAddressGroupResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ListAddressGroupResponse = /** @class */ (function (_super) {
21
+ __extends(ListAddressGroupResponse, _super);
22
+ function ListAddressGroupResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ListAddressGroupResponse.prototype.withRequestId = function (requestId) {
26
+ this['request_id'] = requestId;
27
+ return this;
28
+ };
29
+ Object.defineProperty(ListAddressGroupResponse.prototype, "requestId", {
30
+ get: function () {
31
+ return this['request_id'];
32
+ },
33
+ set: function (requestId) {
34
+ this['request_id'] = requestId;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ ListAddressGroupResponse.prototype.withAddressGroups = function (addressGroups) {
40
+ this['address_groups'] = addressGroups;
41
+ return this;
42
+ };
43
+ Object.defineProperty(ListAddressGroupResponse.prototype, "addressGroups", {
44
+ get: function () {
45
+ return this['address_groups'];
46
+ },
47
+ set: function (addressGroups) {
48
+ this['address_groups'] = addressGroups;
49
+ },
50
+ enumerable: false,
51
+ configurable: true
52
+ });
53
+ ListAddressGroupResponse.prototype.withPageInfo = function (pageInfo) {
54
+ this['page_info'] = pageInfo;
55
+ return this;
56
+ };
57
+ Object.defineProperty(ListAddressGroupResponse.prototype, "pageInfo", {
58
+ get: function () {
59
+ return this['page_info'];
60
+ },
61
+ set: function (pageInfo) {
62
+ this['page_info'] = pageInfo;
63
+ },
64
+ enumerable: false,
65
+ configurable: true
66
+ });
67
+ return ListAddressGroupResponse;
68
+ }(SdkResponse_1.SdkResponse));
69
+ exports.ListAddressGroupResponse = ListAddressGroupResponse;
@@ -0,0 +1,15 @@
1
+ export declare class ListVpcsRequest {
2
+ limit?: number;
3
+ marker?: string;
4
+ id?: Array<string>;
5
+ name?: Array<string>;
6
+ description?: Array<string>;
7
+ cidr?: Array<string>;
8
+ constructor();
9
+ withLimit(limit: number): ListVpcsRequest;
10
+ withMarker(marker: string): ListVpcsRequest;
11
+ withId(id: Array<string>): ListVpcsRequest;
12
+ withName(name: Array<string>): ListVpcsRequest;
13
+ withDescription(description: Array<string>): ListVpcsRequest;
14
+ withCidr(cidr: Array<string>): ListVpcsRequest;
15
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListVpcsRequest = void 0;
4
+ var ListVpcsRequest = /** @class */ (function () {
5
+ function ListVpcsRequest() {
6
+ }
7
+ ListVpcsRequest.prototype.withLimit = function (limit) {
8
+ this['limit'] = limit;
9
+ return this;
10
+ };
11
+ ListVpcsRequest.prototype.withMarker = function (marker) {
12
+ this['marker'] = marker;
13
+ return this;
14
+ };
15
+ ListVpcsRequest.prototype.withId = function (id) {
16
+ this['id'] = id;
17
+ return this;
18
+ };
19
+ ListVpcsRequest.prototype.withName = function (name) {
20
+ this['name'] = name;
21
+ return this;
22
+ };
23
+ ListVpcsRequest.prototype.withDescription = function (description) {
24
+ this['description'] = description;
25
+ return this;
26
+ };
27
+ ListVpcsRequest.prototype.withCidr = function (cidr) {
28
+ this['cidr'] = cidr;
29
+ return this;
30
+ };
31
+ return ListVpcsRequest;
32
+ }());
33
+ exports.ListVpcsRequest = ListVpcsRequest;
@@ -0,0 +1,16 @@
1
+ import { PageInfo } from './PageInfo';
2
+ import { Vpc } from './Vpc';
3
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
4
+ export declare class ListVpcsResponse extends SdkResponse {
5
+ private 'request_id'?;
6
+ vpcs?: Array<Vpc>;
7
+ private 'page_info'?;
8
+ constructor();
9
+ withRequestId(requestId: string): ListVpcsResponse;
10
+ set requestId(requestId: string | undefined);
11
+ get requestId(): string | undefined;
12
+ withVpcs(vpcs: Array<Vpc>): ListVpcsResponse;
13
+ withPageInfo(pageInfo: PageInfo): ListVpcsResponse;
14
+ set pageInfo(pageInfo: PageInfo | undefined);
15
+ get pageInfo(): PageInfo | undefined;
16
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ListVpcsResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ListVpcsResponse = /** @class */ (function (_super) {
21
+ __extends(ListVpcsResponse, _super);
22
+ function ListVpcsResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ListVpcsResponse.prototype.withRequestId = function (requestId) {
26
+ this['request_id'] = requestId;
27
+ return this;
28
+ };
29
+ Object.defineProperty(ListVpcsResponse.prototype, "requestId", {
30
+ get: function () {
31
+ return this['request_id'];
32
+ },
33
+ set: function (requestId) {
34
+ this['request_id'] = requestId;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ ListVpcsResponse.prototype.withVpcs = function (vpcs) {
40
+ this['vpcs'] = vpcs;
41
+ return this;
42
+ };
43
+ ListVpcsResponse.prototype.withPageInfo = function (pageInfo) {
44
+ this['page_info'] = pageInfo;
45
+ return this;
46
+ };
47
+ Object.defineProperty(ListVpcsResponse.prototype, "pageInfo", {
48
+ get: function () {
49
+ return this['page_info'];
50
+ },
51
+ set: function (pageInfo) {
52
+ this['page_info'] = pageInfo;
53
+ },
54
+ enumerable: false,
55
+ configurable: true
56
+ });
57
+ return ListVpcsResponse;
58
+ }(SdkResponse_1.SdkResponse));
59
+ exports.ListVpcsResponse = ListVpcsResponse;
@@ -0,0 +1,17 @@
1
+ export declare class MigrateSubNetworkInterfaceOption {
2
+ private 'parent_id';
3
+ private 'sub_network_interfaces';
4
+ constructor(parentId?: any, subNetworkInterfaces?: any);
5
+ withParentId(parentId: string): MigrateSubNetworkInterfaceOption;
6
+ set parentId(parentId: string | undefined);
7
+ get parentId(): string | undefined;
8
+ withSubNetworkInterfaces(subNetworkInterfaces: Array<{
9
+ [key: string]: string;
10
+ }>): MigrateSubNetworkInterfaceOption;
11
+ set subNetworkInterfaces(subNetworkInterfaces: Array<{
12
+ [key: string]: string;
13
+ }> | undefined);
14
+ get subNetworkInterfaces(): Array<{
15
+ [key: string]: string;
16
+ }> | undefined;
17
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MigrateSubNetworkInterfaceOption = void 0;
4
+ var MigrateSubNetworkInterfaceOption = /** @class */ (function () {
5
+ function MigrateSubNetworkInterfaceOption(parentId, subNetworkInterfaces) {
6
+ this['parent_id'] = parentId;
7
+ this['sub_network_interfaces'] = subNetworkInterfaces;
8
+ }
9
+ MigrateSubNetworkInterfaceOption.prototype.withParentId = function (parentId) {
10
+ this['parent_id'] = parentId;
11
+ return this;
12
+ };
13
+ Object.defineProperty(MigrateSubNetworkInterfaceOption.prototype, "parentId", {
14
+ get: function () {
15
+ return this['parent_id'];
16
+ },
17
+ set: function (parentId) {
18
+ this['parent_id'] = parentId;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ MigrateSubNetworkInterfaceOption.prototype.withSubNetworkInterfaces = function (subNetworkInterfaces) {
24
+ this['sub_network_interfaces'] = subNetworkInterfaces;
25
+ return this;
26
+ };
27
+ Object.defineProperty(MigrateSubNetworkInterfaceOption.prototype, "subNetworkInterfaces", {
28
+ get: function () {
29
+ return this['sub_network_interfaces'];
30
+ },
31
+ set: function (subNetworkInterfaces) {
32
+ this['sub_network_interfaces'] = subNetworkInterfaces;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ return MigrateSubNetworkInterfaceOption;
38
+ }());
39
+ exports.MigrateSubNetworkInterfaceOption = MigrateSubNetworkInterfaceOption;