@huaweicloud/huaweicloud-sdk-vpc 3.1.18 → 3.1.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-vpc",
3
- "version": "3.1.18",
3
+ "version": "3.1.19",
4
4
  "description": "Huaweicloud SDK for vpc",
5
5
  "main": "huaweicloud-sdk-vpc.js",
6
6
  "typings": "huaweicloud-sdk-vpc.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.18"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.19"
18
18
  }
19
19
  }
@@ -7,7 +7,9 @@ export declare class RouteTableListResp {
7
7
  private 'tenant_id';
8
8
  private 'vpc_id';
9
9
  description: string;
10
- constructor(id?: any, name?: any, _default?: any, subnets?: any, tenantId?: any, vpcId?: any, description?: any);
10
+ private 'created_at';
11
+ private 'updated_at';
12
+ constructor(id?: any, name?: any, _default?: any, subnets?: any, tenantId?: any, vpcId?: any, description?: any, createdAt?: any, updatedAt?: any);
11
13
  withId(id: string): RouteTableListResp;
12
14
  withName(name: string): RouteTableListResp;
13
15
  withDefault(_default: boolean): RouteTableListResp;
@@ -21,4 +23,10 @@ export declare class RouteTableListResp {
21
23
  set vpcId(vpcId: string | undefined);
22
24
  get vpcId(): string | undefined;
23
25
  withDescription(description: string): RouteTableListResp;
26
+ withCreatedAt(createdAt: Date): RouteTableListResp;
27
+ set createdAt(createdAt: Date | undefined);
28
+ get createdAt(): Date | undefined;
29
+ withUpdatedAt(updatedAt: Date): RouteTableListResp;
30
+ set updatedAt(updatedAt: Date | undefined);
31
+ get updatedAt(): Date | undefined;
24
32
  }
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RouteTableListResp = void 0;
4
4
  var RouteTableListResp = /** @class */ (function () {
5
- function RouteTableListResp(id, name, _default, subnets, tenantId, vpcId, description) {
5
+ function RouteTableListResp(id, name, _default, subnets, tenantId, vpcId, description, createdAt, updatedAt) {
6
6
  this['id'] = id;
7
7
  this['name'] = name;
8
8
  this['default'] = _default;
@@ -10,6 +10,8 @@ var RouteTableListResp = /** @class */ (function () {
10
10
  this['tenant_id'] = tenantId;
11
11
  this['vpc_id'] = vpcId;
12
12
  this['description'] = description;
13
+ this['created_at'] = createdAt;
14
+ this['updated_at'] = updatedAt;
13
15
  }
14
16
  RouteTableListResp.prototype.withId = function (id) {
15
17
  this['id'] = id;
@@ -69,6 +71,34 @@ var RouteTableListResp = /** @class */ (function () {
69
71
  this['description'] = description;
70
72
  return this;
71
73
  };
74
+ RouteTableListResp.prototype.withCreatedAt = function (createdAt) {
75
+ this['created_at'] = createdAt;
76
+ return this;
77
+ };
78
+ Object.defineProperty(RouteTableListResp.prototype, "createdAt", {
79
+ get: function () {
80
+ return this['created_at'];
81
+ },
82
+ set: function (createdAt) {
83
+ this['created_at'] = createdAt;
84
+ },
85
+ enumerable: false,
86
+ configurable: true
87
+ });
88
+ RouteTableListResp.prototype.withUpdatedAt = function (updatedAt) {
89
+ this['updated_at'] = updatedAt;
90
+ return this;
91
+ };
92
+ Object.defineProperty(RouteTableListResp.prototype, "updatedAt", {
93
+ get: function () {
94
+ return this['updated_at'];
95
+ },
96
+ set: function (updatedAt) {
97
+ this['updated_at'] = updatedAt;
98
+ },
99
+ enumerable: false,
100
+ configurable: true
101
+ });
72
102
  return RouteTableListResp;
73
103
  }());
74
104
  exports.RouteTableListResp = RouteTableListResp;
@@ -9,7 +9,9 @@ export declare class RouteTableResp {
9
9
  private 'tenant_id';
10
10
  private 'vpc_id';
11
11
  description: string;
12
- constructor(id?: any, name?: any, _default?: any, routes?: any, subnets?: any, tenantId?: any, vpcId?: any, description?: any);
12
+ private 'created_at';
13
+ private 'updated_at';
14
+ constructor(id?: any, name?: any, _default?: any, routes?: any, subnets?: any, tenantId?: any, vpcId?: any, description?: any, createdAt?: any, updatedAt?: any);
13
15
  withId(id: string): RouteTableResp;
14
16
  withName(name: string): RouteTableResp;
15
17
  withDefault(_default: boolean): RouteTableResp;
@@ -24,4 +26,10 @@ export declare class RouteTableResp {
24
26
  set vpcId(vpcId: string | undefined);
25
27
  get vpcId(): string | undefined;
26
28
  withDescription(description: string): RouteTableResp;
29
+ withCreatedAt(createdAt: Date): RouteTableResp;
30
+ set createdAt(createdAt: Date | undefined);
31
+ get createdAt(): Date | undefined;
32
+ withUpdatedAt(updatedAt: Date): RouteTableResp;
33
+ set updatedAt(updatedAt: Date | undefined);
34
+ get updatedAt(): Date | undefined;
27
35
  }
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RouteTableResp = void 0;
4
4
  var RouteTableResp = /** @class */ (function () {
5
- function RouteTableResp(id, name, _default, routes, subnets, tenantId, vpcId, description) {
5
+ function RouteTableResp(id, name, _default, routes, subnets, tenantId, vpcId, description, createdAt, updatedAt) {
6
6
  this['id'] = id;
7
7
  this['name'] = name;
8
8
  this['default'] = _default;
@@ -11,6 +11,8 @@ var RouteTableResp = /** @class */ (function () {
11
11
  this['tenant_id'] = tenantId;
12
12
  this['vpc_id'] = vpcId;
13
13
  this['description'] = description;
14
+ this['created_at'] = createdAt;
15
+ this['updated_at'] = updatedAt;
14
16
  }
15
17
  RouteTableResp.prototype.withId = function (id) {
16
18
  this['id'] = id;
@@ -74,6 +76,34 @@ var RouteTableResp = /** @class */ (function () {
74
76
  this['description'] = description;
75
77
  return this;
76
78
  };
79
+ RouteTableResp.prototype.withCreatedAt = function (createdAt) {
80
+ this['created_at'] = createdAt;
81
+ return this;
82
+ };
83
+ Object.defineProperty(RouteTableResp.prototype, "createdAt", {
84
+ get: function () {
85
+ return this['created_at'];
86
+ },
87
+ set: function (createdAt) {
88
+ this['created_at'] = createdAt;
89
+ },
90
+ enumerable: false,
91
+ configurable: true
92
+ });
93
+ RouteTableResp.prototype.withUpdatedAt = function (updatedAt) {
94
+ this['updated_at'] = updatedAt;
95
+ return this;
96
+ };
97
+ Object.defineProperty(RouteTableResp.prototype, "updatedAt", {
98
+ get: function () {
99
+ return this['updated_at'];
100
+ },
101
+ set: function (updatedAt) {
102
+ this['updated_at'] = updatedAt;
103
+ },
104
+ enumerable: false,
105
+ configurable: true
106
+ });
77
107
  return RouteTableResp;
78
108
  }());
79
109
  exports.RouteTableResp = RouteTableResp;
@@ -20,7 +20,10 @@ export declare class Subnet {
20
20
  private 'neutron_subnet_id_v6';
21
21
  private 'extra_dhcp_opts';
22
22
  scope?: string;
23
- constructor(id?: any, name?: any, description?: any, cidr?: any, gatewayIp?: any, ipv6Enable?: any, cidrV6?: any, gatewayIpV6?: any, dhcpEnable?: any, primaryDns?: any, secondaryDns?: any, dnsList?: any, availabilityZone?: any, vpcId?: any, status?: any, neutronNetworkId?: any, neutronSubnetId?: any, neutronSubnetIdV6?: any, extraDhcpOpts?: any);
23
+ private 'tenant_id';
24
+ private 'created_at';
25
+ private 'updated_at';
26
+ constructor(id?: any, name?: any, description?: any, cidr?: any, gatewayIp?: any, ipv6Enable?: any, cidrV6?: any, gatewayIpV6?: any, dhcpEnable?: any, primaryDns?: any, secondaryDns?: any, dnsList?: any, availabilityZone?: any, vpcId?: any, status?: any, neutronNetworkId?: any, neutronSubnetId?: any, neutronSubnetIdV6?: any, extraDhcpOpts?: any, tenantId?: any, createdAt?: any, updatedAt?: any);
24
27
  withId(id: string): Subnet;
25
28
  withName(name: string): Subnet;
26
29
  withDescription(description: string): Subnet;
@@ -67,6 +70,15 @@ export declare class Subnet {
67
70
  set extraDhcpOpts(extraDhcpOpts: Array<ExtraDhcpOption> | undefined);
68
71
  get extraDhcpOpts(): Array<ExtraDhcpOption> | undefined;
69
72
  withScope(scope: string): Subnet;
73
+ withTenantId(tenantId: string): Subnet;
74
+ set tenantId(tenantId: string | undefined);
75
+ get tenantId(): string | undefined;
76
+ withCreatedAt(createdAt: Date): Subnet;
77
+ set createdAt(createdAt: Date | undefined);
78
+ get createdAt(): Date | undefined;
79
+ withUpdatedAt(updatedAt: Date): Subnet;
80
+ set updatedAt(updatedAt: Date | undefined);
81
+ get updatedAt(): Date | undefined;
70
82
  }
71
83
  /**
72
84
  * @export
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubnetStatusEnum = exports.Subnet = void 0;
4
4
  var Subnet = /** @class */ (function () {
5
- function Subnet(id, name, description, cidr, gatewayIp, ipv6Enable, cidrV6, gatewayIpV6, dhcpEnable, primaryDns, secondaryDns, dnsList, availabilityZone, vpcId, status, neutronNetworkId, neutronSubnetId, neutronSubnetIdV6, extraDhcpOpts) {
5
+ function Subnet(id, name, description, cidr, gatewayIp, ipv6Enable, cidrV6, gatewayIpV6, dhcpEnable, primaryDns, secondaryDns, dnsList, availabilityZone, vpcId, status, neutronNetworkId, neutronSubnetId, neutronSubnetIdV6, extraDhcpOpts, tenantId, createdAt, updatedAt) {
6
6
  this['id'] = id;
7
7
  this['name'] = name;
8
8
  this['description'] = description;
@@ -22,6 +22,9 @@ var Subnet = /** @class */ (function () {
22
22
  this['neutron_subnet_id'] = neutronSubnetId;
23
23
  this['neutron_subnet_id_v6'] = neutronSubnetIdV6;
24
24
  this['extra_dhcp_opts'] = extraDhcpOpts;
25
+ this['tenant_id'] = tenantId;
26
+ this['created_at'] = createdAt;
27
+ this['updated_at'] = updatedAt;
25
28
  }
26
29
  Subnet.prototype.withId = function (id) {
27
30
  this['id'] = id;
@@ -233,6 +236,48 @@ var Subnet = /** @class */ (function () {
233
236
  this['scope'] = scope;
234
237
  return this;
235
238
  };
239
+ Subnet.prototype.withTenantId = function (tenantId) {
240
+ this['tenant_id'] = tenantId;
241
+ return this;
242
+ };
243
+ Object.defineProperty(Subnet.prototype, "tenantId", {
244
+ get: function () {
245
+ return this['tenant_id'];
246
+ },
247
+ set: function (tenantId) {
248
+ this['tenant_id'] = tenantId;
249
+ },
250
+ enumerable: false,
251
+ configurable: true
252
+ });
253
+ Subnet.prototype.withCreatedAt = function (createdAt) {
254
+ this['created_at'] = createdAt;
255
+ return this;
256
+ };
257
+ Object.defineProperty(Subnet.prototype, "createdAt", {
258
+ get: function () {
259
+ return this['created_at'];
260
+ },
261
+ set: function (createdAt) {
262
+ this['created_at'] = createdAt;
263
+ },
264
+ enumerable: false,
265
+ configurable: true
266
+ });
267
+ Subnet.prototype.withUpdatedAt = function (updatedAt) {
268
+ this['updated_at'] = updatedAt;
269
+ return this;
270
+ };
271
+ Object.defineProperty(Subnet.prototype, "updatedAt", {
272
+ get: function () {
273
+ return this['updated_at'];
274
+ },
275
+ set: function (updatedAt) {
276
+ this['updated_at'] = updatedAt;
277
+ },
278
+ enumerable: false,
279
+ configurable: true
280
+ });
236
281
  return Subnet;
237
282
  }());
238
283
  exports.Subnet = Subnet;
package/v2/model/Vpc.d.ts CHANGED
@@ -7,7 +7,10 @@ export declare class Vpc {
7
7
  routes: Array<Route>;
8
8
  status: VpcStatusEnum;
9
9
  private 'enterprise_project_id';
10
- constructor(id?: any, name?: any, cidr?: any, description?: any, routes?: any, status?: any, enterpriseProjectId?: any);
10
+ private 'tenant_id';
11
+ private 'created_at';
12
+ private 'updated_at';
13
+ constructor(id?: any, name?: any, cidr?: any, description?: any, routes?: any, status?: any, enterpriseProjectId?: any, tenantId?: any, createdAt?: any, updatedAt?: any);
11
14
  withId(id: string): Vpc;
12
15
  withName(name: string): Vpc;
13
16
  withCidr(cidr: string): Vpc;
@@ -17,6 +20,15 @@ export declare class Vpc {
17
20
  withEnterpriseProjectId(enterpriseProjectId: string): Vpc;
18
21
  set enterpriseProjectId(enterpriseProjectId: string | undefined);
19
22
  get enterpriseProjectId(): string | undefined;
23
+ withTenantId(tenantId: string): Vpc;
24
+ set tenantId(tenantId: string | undefined);
25
+ get tenantId(): string | undefined;
26
+ withCreatedAt(createdAt: Date): Vpc;
27
+ set createdAt(createdAt: Date | undefined);
28
+ get createdAt(): Date | undefined;
29
+ withUpdatedAt(updatedAt: Date): Vpc;
30
+ set updatedAt(updatedAt: Date | undefined);
31
+ get updatedAt(): Date | undefined;
20
32
  }
21
33
  /**
22
34
  * @export
package/v2/model/Vpc.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VpcStatusEnum = exports.Vpc = void 0;
4
4
  var Vpc = /** @class */ (function () {
5
- function Vpc(id, name, cidr, description, routes, status, enterpriseProjectId) {
5
+ function Vpc(id, name, cidr, description, routes, status, enterpriseProjectId, tenantId, createdAt, updatedAt) {
6
6
  this['id'] = id;
7
7
  this['name'] = name;
8
8
  this['cidr'] = cidr;
@@ -10,6 +10,9 @@ var Vpc = /** @class */ (function () {
10
10
  this['routes'] = routes;
11
11
  this['status'] = status;
12
12
  this['enterprise_project_id'] = enterpriseProjectId;
13
+ this['tenant_id'] = tenantId;
14
+ this['created_at'] = createdAt;
15
+ this['updated_at'] = updatedAt;
13
16
  }
14
17
  Vpc.prototype.withId = function (id) {
15
18
  this['id'] = id;
@@ -49,6 +52,48 @@ var Vpc = /** @class */ (function () {
49
52
  enumerable: false,
50
53
  configurable: true
51
54
  });
55
+ Vpc.prototype.withTenantId = function (tenantId) {
56
+ this['tenant_id'] = tenantId;
57
+ return this;
58
+ };
59
+ Object.defineProperty(Vpc.prototype, "tenantId", {
60
+ get: function () {
61
+ return this['tenant_id'];
62
+ },
63
+ set: function (tenantId) {
64
+ this['tenant_id'] = tenantId;
65
+ },
66
+ enumerable: false,
67
+ configurable: true
68
+ });
69
+ Vpc.prototype.withCreatedAt = function (createdAt) {
70
+ this['created_at'] = createdAt;
71
+ return this;
72
+ };
73
+ Object.defineProperty(Vpc.prototype, "createdAt", {
74
+ get: function () {
75
+ return this['created_at'];
76
+ },
77
+ set: function (createdAt) {
78
+ this['created_at'] = createdAt;
79
+ },
80
+ enumerable: false,
81
+ configurable: true
82
+ });
83
+ Vpc.prototype.withUpdatedAt = function (updatedAt) {
84
+ this['updated_at'] = updatedAt;
85
+ return this;
86
+ };
87
+ Object.defineProperty(Vpc.prototype, "updatedAt", {
88
+ get: function () {
89
+ return this['updated_at'];
90
+ },
91
+ set: function (updatedAt) {
92
+ this['updated_at'] = updatedAt;
93
+ },
94
+ enumerable: false,
95
+ configurable: true
96
+ });
52
97
  return Vpc;
53
98
  }());
54
99
  exports.Vpc = Vpc;