@huaweicloud/huaweicloud-sdk-vpc 3.1.40 → 3.1.41
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 +2 -2
- package/v2/model/AcceptVpcPeeringResponse.js +1 -1
- package/v2/model/BatchCreateSubnetTagsRequestBody.js +1 -1
- package/v2/model/BatchCreateVpcTagsRequestBody.js +1 -1
- package/v2/model/BatchDeleteSubnetTagsRequestBody.js +1 -1
- package/v2/model/BatchDeleteVpcTagsRequestBody.js +1 -1
- package/v2/model/CreateFlowLogReq.js +2 -2
- package/v2/model/CreateVpcRouteOption.js +1 -1
- package/v2/model/ExtraDhcpOption.js +1 -1
- package/v2/model/FlowLogResp.js +4 -4
- package/v2/model/ListFlowLogsRequest.js +4 -4
- package/v2/model/ListPortsRequest.js +2 -2
- package/v2/model/ListSubnetsByTagsRequestBody.js +1 -1
- package/v2/model/ListVpcPeeringsRequest.js +1 -1
- package/v2/model/ListVpcRoutesRequest.js +1 -1
- package/v2/model/ListVpcsByTagsRequestBody.js +1 -1
- package/v2/model/NeutronCreateFirewallRuleOption.js +1 -1
- package/v2/model/NeutronCreateSecurityGroupRuleOption.js +2 -2
- package/v2/model/NeutronFirewallRule.js +1 -1
- package/v2/model/NeutronSecurityGroupRule.js +1 -1
- package/v2/model/NeutronUpdateFirewallRuleOption.js +1 -1
- package/v2/model/Port.js +2 -2
- package/v2/model/Privateip.js +2 -2
- package/v2/model/RejectVpcPeeringResponse.js +1 -1
- package/v2/model/ResourceResult.js +1 -1
- package/v2/model/ShowQuotaRequest.js +1 -1
- package/v2/model/Subnet.js +1 -1
- package/v2/model/SubnetResult.js +1 -1
- package/v2/model/Vpc.js +1 -1
- package/v2/model/VpcPeering.js +1 -1
- package/v2/model/VpcRoute.js +1 -1
- package/v3/VpcClient.d.ts +1 -0
- package/v3/VpcClient.js +7 -0
- package/v3/model/AddressGroup.d.ts +5 -1
- package/v3/model/AddressGroup.js +16 -1
- package/v3/model/CreateAddressGroupOption.d.ts +4 -0
- package/v3/model/CreateAddressGroupOption.js +14 -0
- package/v3/model/ListAddressGroupRequest.d.ts +4 -0
- package/v3/model/ListAddressGroupRequest.js +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huaweicloud/huaweicloud-sdk-vpc",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.41",
|
|
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.
|
|
17
|
+
"@huaweicloud/huaweicloud-sdk-core": "^3.1.41"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -108,4 +108,4 @@ var AcceptVpcPeeringResponseStatusEnum;
|
|
|
108
108
|
AcceptVpcPeeringResponseStatusEnum["EXPIRED"] = "EXPIRED";
|
|
109
109
|
AcceptVpcPeeringResponseStatusEnum["DELETED"] = "DELETED";
|
|
110
110
|
AcceptVpcPeeringResponseStatusEnum["ACTIVE"] = "ACTIVE";
|
|
111
|
-
})(AcceptVpcPeeringResponseStatusEnum
|
|
111
|
+
})(AcceptVpcPeeringResponseStatusEnum || (exports.AcceptVpcPeeringResponseStatusEnum = AcceptVpcPeeringResponseStatusEnum = {}));
|
|
@@ -24,4 +24,4 @@ exports.BatchCreateSubnetTagsRequestBody = BatchCreateSubnetTagsRequestBody;
|
|
|
24
24
|
var BatchCreateSubnetTagsRequestBodyActionEnum;
|
|
25
25
|
(function (BatchCreateSubnetTagsRequestBodyActionEnum) {
|
|
26
26
|
BatchCreateSubnetTagsRequestBodyActionEnum["CREATE"] = "create";
|
|
27
|
-
})(BatchCreateSubnetTagsRequestBodyActionEnum
|
|
27
|
+
})(BatchCreateSubnetTagsRequestBodyActionEnum || (exports.BatchCreateSubnetTagsRequestBodyActionEnum = BatchCreateSubnetTagsRequestBodyActionEnum = {}));
|
|
@@ -24,4 +24,4 @@ exports.BatchCreateVpcTagsRequestBody = BatchCreateVpcTagsRequestBody;
|
|
|
24
24
|
var BatchCreateVpcTagsRequestBodyActionEnum;
|
|
25
25
|
(function (BatchCreateVpcTagsRequestBodyActionEnum) {
|
|
26
26
|
BatchCreateVpcTagsRequestBodyActionEnum["CREATE"] = "create";
|
|
27
|
-
})(BatchCreateVpcTagsRequestBodyActionEnum
|
|
27
|
+
})(BatchCreateVpcTagsRequestBodyActionEnum || (exports.BatchCreateVpcTagsRequestBodyActionEnum = BatchCreateVpcTagsRequestBodyActionEnum = {}));
|
|
@@ -24,4 +24,4 @@ exports.BatchDeleteSubnetTagsRequestBody = BatchDeleteSubnetTagsRequestBody;
|
|
|
24
24
|
var BatchDeleteSubnetTagsRequestBodyActionEnum;
|
|
25
25
|
(function (BatchDeleteSubnetTagsRequestBodyActionEnum) {
|
|
26
26
|
BatchDeleteSubnetTagsRequestBodyActionEnum["DELETE"] = "delete";
|
|
27
|
-
})(BatchDeleteSubnetTagsRequestBodyActionEnum
|
|
27
|
+
})(BatchDeleteSubnetTagsRequestBodyActionEnum || (exports.BatchDeleteSubnetTagsRequestBodyActionEnum = BatchDeleteSubnetTagsRequestBodyActionEnum = {}));
|
|
@@ -24,4 +24,4 @@ exports.BatchDeleteVpcTagsRequestBody = BatchDeleteVpcTagsRequestBody;
|
|
|
24
24
|
var BatchDeleteVpcTagsRequestBodyActionEnum;
|
|
25
25
|
(function (BatchDeleteVpcTagsRequestBodyActionEnum) {
|
|
26
26
|
BatchDeleteVpcTagsRequestBodyActionEnum["DELETE"] = "delete";
|
|
27
|
-
})(BatchDeleteVpcTagsRequestBodyActionEnum
|
|
27
|
+
})(BatchDeleteVpcTagsRequestBodyActionEnum || (exports.BatchDeleteVpcTagsRequestBodyActionEnum = BatchDeleteVpcTagsRequestBodyActionEnum = {}));
|
|
@@ -113,7 +113,7 @@ var CreateFlowLogReqResourceTypeEnum;
|
|
|
113
113
|
CreateFlowLogReqResourceTypeEnum["PORT"] = "port";
|
|
114
114
|
CreateFlowLogReqResourceTypeEnum["NETWORK"] = "network";
|
|
115
115
|
CreateFlowLogReqResourceTypeEnum["VPC"] = "vpc";
|
|
116
|
-
})(CreateFlowLogReqResourceTypeEnum
|
|
116
|
+
})(CreateFlowLogReqResourceTypeEnum || (exports.CreateFlowLogReqResourceTypeEnum = CreateFlowLogReqResourceTypeEnum = {}));
|
|
117
117
|
/**
|
|
118
118
|
* @export
|
|
119
119
|
* @enum {string}
|
|
@@ -123,4 +123,4 @@ var CreateFlowLogReqTrafficTypeEnum;
|
|
|
123
123
|
CreateFlowLogReqTrafficTypeEnum["ALL"] = "all";
|
|
124
124
|
CreateFlowLogReqTrafficTypeEnum["ACCEPT"] = "accept";
|
|
125
125
|
CreateFlowLogReqTrafficTypeEnum["REJECT"] = "reject";
|
|
126
|
-
})(CreateFlowLogReqTrafficTypeEnum
|
|
126
|
+
})(CreateFlowLogReqTrafficTypeEnum || (exports.CreateFlowLogReqTrafficTypeEnum = CreateFlowLogReqTrafficTypeEnum = {}));
|
|
@@ -44,4 +44,4 @@ exports.CreateVpcRouteOption = CreateVpcRouteOption;
|
|
|
44
44
|
var CreateVpcRouteOptionTypeEnum;
|
|
45
45
|
(function (CreateVpcRouteOptionTypeEnum) {
|
|
46
46
|
CreateVpcRouteOptionTypeEnum["PEERING"] = "peering";
|
|
47
|
-
})(CreateVpcRouteOptionTypeEnum
|
|
47
|
+
})(CreateVpcRouteOptionTypeEnum || (exports.CreateVpcRouteOptionTypeEnum = CreateVpcRouteOptionTypeEnum = {}));
|
|
@@ -44,4 +44,4 @@ var ExtraDhcpOptionOptNameEnum;
|
|
|
44
44
|
(function (ExtraDhcpOptionOptNameEnum) {
|
|
45
45
|
ExtraDhcpOptionOptNameEnum["NTP"] = "ntp";
|
|
46
46
|
ExtraDhcpOptionOptNameEnum["ADDRESSTIME"] = "addresstime";
|
|
47
|
-
})(ExtraDhcpOptionOptNameEnum
|
|
47
|
+
})(ExtraDhcpOptionOptNameEnum || (exports.ExtraDhcpOptionOptNameEnum = ExtraDhcpOptionOptNameEnum = {}));
|
package/v2/model/FlowLogResp.js
CHANGED
|
@@ -186,7 +186,7 @@ var FlowLogRespResourceTypeEnum;
|
|
|
186
186
|
FlowLogRespResourceTypeEnum["PORT"] = "port";
|
|
187
187
|
FlowLogRespResourceTypeEnum["NETWORK"] = "network";
|
|
188
188
|
FlowLogRespResourceTypeEnum["VPC"] = "vpc";
|
|
189
|
-
})(FlowLogRespResourceTypeEnum
|
|
189
|
+
})(FlowLogRespResourceTypeEnum || (exports.FlowLogRespResourceTypeEnum = FlowLogRespResourceTypeEnum = {}));
|
|
190
190
|
/**
|
|
191
191
|
* @export
|
|
192
192
|
* @enum {string}
|
|
@@ -196,7 +196,7 @@ var FlowLogRespTrafficTypeEnum;
|
|
|
196
196
|
FlowLogRespTrafficTypeEnum["ALL"] = "all";
|
|
197
197
|
FlowLogRespTrafficTypeEnum["ACCEPT"] = "accept";
|
|
198
198
|
FlowLogRespTrafficTypeEnum["REJECT"] = "reject";
|
|
199
|
-
})(FlowLogRespTrafficTypeEnum
|
|
199
|
+
})(FlowLogRespTrafficTypeEnum || (exports.FlowLogRespTrafficTypeEnum = FlowLogRespTrafficTypeEnum = {}));
|
|
200
200
|
/**
|
|
201
201
|
* @export
|
|
202
202
|
* @enum {string}
|
|
@@ -204,7 +204,7 @@ var FlowLogRespTrafficTypeEnum;
|
|
|
204
204
|
var FlowLogRespLogStoreTypeEnum;
|
|
205
205
|
(function (FlowLogRespLogStoreTypeEnum) {
|
|
206
206
|
FlowLogRespLogStoreTypeEnum["LTS"] = "lts";
|
|
207
|
-
})(FlowLogRespLogStoreTypeEnum
|
|
207
|
+
})(FlowLogRespLogStoreTypeEnum || (exports.FlowLogRespLogStoreTypeEnum = FlowLogRespLogStoreTypeEnum = {}));
|
|
208
208
|
/**
|
|
209
209
|
* @export
|
|
210
210
|
* @enum {string}
|
|
@@ -214,4 +214,4 @@ var FlowLogRespStatusEnum;
|
|
|
214
214
|
FlowLogRespStatusEnum["ACTIVE"] = "ACTIVE";
|
|
215
215
|
FlowLogRespStatusEnum["DOWN"] = "DOWN";
|
|
216
216
|
FlowLogRespStatusEnum["ERROR"] = "ERROR";
|
|
217
|
-
})(FlowLogRespStatusEnum
|
|
217
|
+
})(FlowLogRespStatusEnum || (exports.FlowLogRespStatusEnum = FlowLogRespStatusEnum = {}));
|
|
@@ -138,7 +138,7 @@ var ListFlowLogsRequestResourceTypeEnum;
|
|
|
138
138
|
ListFlowLogsRequestResourceTypeEnum["PORT"] = "port";
|
|
139
139
|
ListFlowLogsRequestResourceTypeEnum["NETWORK"] = "network";
|
|
140
140
|
ListFlowLogsRequestResourceTypeEnum["VPC"] = "vpc";
|
|
141
|
-
})(ListFlowLogsRequestResourceTypeEnum
|
|
141
|
+
})(ListFlowLogsRequestResourceTypeEnum || (exports.ListFlowLogsRequestResourceTypeEnum = ListFlowLogsRequestResourceTypeEnum = {}));
|
|
142
142
|
/**
|
|
143
143
|
* @export
|
|
144
144
|
* @enum {string}
|
|
@@ -148,7 +148,7 @@ var ListFlowLogsRequestTrafficTypeEnum;
|
|
|
148
148
|
ListFlowLogsRequestTrafficTypeEnum["ALL"] = "all";
|
|
149
149
|
ListFlowLogsRequestTrafficTypeEnum["REJECT"] = "reject";
|
|
150
150
|
ListFlowLogsRequestTrafficTypeEnum["ACCEPT"] = "accept";
|
|
151
|
-
})(ListFlowLogsRequestTrafficTypeEnum
|
|
151
|
+
})(ListFlowLogsRequestTrafficTypeEnum || (exports.ListFlowLogsRequestTrafficTypeEnum = ListFlowLogsRequestTrafficTypeEnum = {}));
|
|
152
152
|
/**
|
|
153
153
|
* @export
|
|
154
154
|
* @enum {string}
|
|
@@ -156,7 +156,7 @@ var ListFlowLogsRequestTrafficTypeEnum;
|
|
|
156
156
|
var ListFlowLogsRequestLogStoreTypeEnum;
|
|
157
157
|
(function (ListFlowLogsRequestLogStoreTypeEnum) {
|
|
158
158
|
ListFlowLogsRequestLogStoreTypeEnum["LTS"] = "lts";
|
|
159
|
-
})(ListFlowLogsRequestLogStoreTypeEnum
|
|
159
|
+
})(ListFlowLogsRequestLogStoreTypeEnum || (exports.ListFlowLogsRequestLogStoreTypeEnum = ListFlowLogsRequestLogStoreTypeEnum = {}));
|
|
160
160
|
/**
|
|
161
161
|
* @export
|
|
162
162
|
* @enum {string}
|
|
@@ -166,4 +166,4 @@ var ListFlowLogsRequestStatusEnum;
|
|
|
166
166
|
ListFlowLogsRequestStatusEnum["ACTIVE"] = "ACTIVE";
|
|
167
167
|
ListFlowLogsRequestStatusEnum["DOWN"] = "DOWN";
|
|
168
168
|
ListFlowLogsRequestStatusEnum["ERROR"] = "ERROR";
|
|
169
|
-
})(ListFlowLogsRequestStatusEnum
|
|
169
|
+
})(ListFlowLogsRequestStatusEnum || (exports.ListFlowLogsRequestStatusEnum = ListFlowLogsRequestStatusEnum = {}));
|
|
@@ -149,7 +149,7 @@ var ListPortsRequestDeviceOwnerEnum;
|
|
|
149
149
|
ListPortsRequestDeviceOwnerEnum["NEUTRONVIP_PORT"] = "neutron:VIP_PORT";
|
|
150
150
|
ListPortsRequestDeviceOwnerEnum["NETWORKROUTER_INTERFACE_DISTRIBUTED"] = "network:router_interface_distributed";
|
|
151
151
|
ListPortsRequestDeviceOwnerEnum["NETWORKROUTER_CENTRALIZED_SNAT"] = "network:router_centralized_snat";
|
|
152
|
-
})(ListPortsRequestDeviceOwnerEnum
|
|
152
|
+
})(ListPortsRequestDeviceOwnerEnum || (exports.ListPortsRequestDeviceOwnerEnum = ListPortsRequestDeviceOwnerEnum = {}));
|
|
153
153
|
/**
|
|
154
154
|
* @export
|
|
155
155
|
* @enum {string}
|
|
@@ -159,4 +159,4 @@ var ListPortsRequestStatusEnum;
|
|
|
159
159
|
ListPortsRequestStatusEnum["ACTIVE"] = "ACTIVE";
|
|
160
160
|
ListPortsRequestStatusEnum["BUILD"] = "BUILD";
|
|
161
161
|
ListPortsRequestStatusEnum["DOWN"] = "DOWN";
|
|
162
|
-
})(ListPortsRequestStatusEnum
|
|
162
|
+
})(ListPortsRequestStatusEnum || (exports.ListPortsRequestStatusEnum = ListPortsRequestStatusEnum = {}));
|
|
@@ -36,4 +36,4 @@ var ListSubnetsByTagsRequestBodyActionEnum;
|
|
|
36
36
|
(function (ListSubnetsByTagsRequestBodyActionEnum) {
|
|
37
37
|
ListSubnetsByTagsRequestBodyActionEnum["FILTER"] = "filter";
|
|
38
38
|
ListSubnetsByTagsRequestBodyActionEnum["COUNT"] = "count";
|
|
39
|
-
})(ListSubnetsByTagsRequestBodyActionEnum
|
|
39
|
+
})(ListSubnetsByTagsRequestBodyActionEnum || (exports.ListSubnetsByTagsRequestBodyActionEnum = ListSubnetsByTagsRequestBodyActionEnum = {}));
|
|
@@ -66,4 +66,4 @@ var ListVpcPeeringsRequestStatusEnum;
|
|
|
66
66
|
ListVpcPeeringsRequestStatusEnum["EXPIRED"] = "EXPIRED";
|
|
67
67
|
ListVpcPeeringsRequestStatusEnum["DELETED"] = "DELETED";
|
|
68
68
|
ListVpcPeeringsRequestStatusEnum["ACTIVE"] = "ACTIVE";
|
|
69
|
-
})(ListVpcPeeringsRequestStatusEnum
|
|
69
|
+
})(ListVpcPeeringsRequestStatusEnum || (exports.ListVpcPeeringsRequestStatusEnum = ListVpcPeeringsRequestStatusEnum = {}));
|
|
@@ -62,4 +62,4 @@ exports.ListVpcRoutesRequest = ListVpcRoutesRequest;
|
|
|
62
62
|
var ListVpcRoutesRequestTypeEnum;
|
|
63
63
|
(function (ListVpcRoutesRequestTypeEnum) {
|
|
64
64
|
ListVpcRoutesRequestTypeEnum["PEERING"] = "peering";
|
|
65
|
-
})(ListVpcRoutesRequestTypeEnum
|
|
65
|
+
})(ListVpcRoutesRequestTypeEnum || (exports.ListVpcRoutesRequestTypeEnum = ListVpcRoutesRequestTypeEnum = {}));
|
|
@@ -36,4 +36,4 @@ var ListVpcsByTagsRequestBodyActionEnum;
|
|
|
36
36
|
(function (ListVpcsByTagsRequestBodyActionEnum) {
|
|
37
37
|
ListVpcsByTagsRequestBodyActionEnum["FILTER"] = "filter";
|
|
38
38
|
ListVpcsByTagsRequestBodyActionEnum["COUNT"] = "count";
|
|
39
|
-
})(ListVpcsByTagsRequestBodyActionEnum
|
|
39
|
+
})(ListVpcsByTagsRequestBodyActionEnum || (exports.ListVpcsByTagsRequestBodyActionEnum = ListVpcsByTagsRequestBodyActionEnum = {}));
|
|
@@ -105,4 +105,4 @@ var NeutronCreateFirewallRuleOptionActionEnum;
|
|
|
105
105
|
(function (NeutronCreateFirewallRuleOptionActionEnum) {
|
|
106
106
|
NeutronCreateFirewallRuleOptionActionEnum["DENY"] = "DENY";
|
|
107
107
|
NeutronCreateFirewallRuleOptionActionEnum["ALLOW"] = "ALLOW";
|
|
108
|
-
})(NeutronCreateFirewallRuleOptionActionEnum
|
|
108
|
+
})(NeutronCreateFirewallRuleOptionActionEnum || (exports.NeutronCreateFirewallRuleOptionActionEnum = NeutronCreateFirewallRuleOptionActionEnum = {}));
|
|
@@ -103,7 +103,7 @@ var NeutronCreateSecurityGroupRuleOptionDirectionEnum;
|
|
|
103
103
|
(function (NeutronCreateSecurityGroupRuleOptionDirectionEnum) {
|
|
104
104
|
NeutronCreateSecurityGroupRuleOptionDirectionEnum["INGRESS"] = "ingress";
|
|
105
105
|
NeutronCreateSecurityGroupRuleOptionDirectionEnum["EGRESS"] = "egress";
|
|
106
|
-
})(NeutronCreateSecurityGroupRuleOptionDirectionEnum
|
|
106
|
+
})(NeutronCreateSecurityGroupRuleOptionDirectionEnum || (exports.NeutronCreateSecurityGroupRuleOptionDirectionEnum = NeutronCreateSecurityGroupRuleOptionDirectionEnum = {}));
|
|
107
107
|
/**
|
|
108
108
|
* @export
|
|
109
109
|
* @enum {string}
|
|
@@ -112,4 +112,4 @@ var NeutronCreateSecurityGroupRuleOptionEthertypeEnum;
|
|
|
112
112
|
(function (NeutronCreateSecurityGroupRuleOptionEthertypeEnum) {
|
|
113
113
|
NeutronCreateSecurityGroupRuleOptionEthertypeEnum["IPV4"] = "IPv4";
|
|
114
114
|
NeutronCreateSecurityGroupRuleOptionEthertypeEnum["IPV6"] = "IPv6";
|
|
115
|
-
})(NeutronCreateSecurityGroupRuleOptionEthertypeEnum
|
|
115
|
+
})(NeutronCreateSecurityGroupRuleOptionEthertypeEnum || (exports.NeutronCreateSecurityGroupRuleOptionEthertypeEnum = NeutronCreateSecurityGroupRuleOptionEthertypeEnum = {}));
|
|
@@ -165,4 +165,4 @@ var NeutronFirewallRuleActionEnum;
|
|
|
165
165
|
(function (NeutronFirewallRuleActionEnum) {
|
|
166
166
|
NeutronFirewallRuleActionEnum["DENY"] = "DENY";
|
|
167
167
|
NeutronFirewallRuleActionEnum["ALLOW"] = "ALLOW";
|
|
168
|
-
})(NeutronFirewallRuleActionEnum
|
|
168
|
+
})(NeutronFirewallRuleActionEnum || (exports.NeutronFirewallRuleActionEnum = NeutronFirewallRuleActionEnum = {}));
|
|
@@ -189,4 +189,4 @@ var NeutronSecurityGroupRuleDirectionEnum;
|
|
|
189
189
|
(function (NeutronSecurityGroupRuleDirectionEnum) {
|
|
190
190
|
NeutronSecurityGroupRuleDirectionEnum["INGRESS"] = "ingress";
|
|
191
191
|
NeutronSecurityGroupRuleDirectionEnum["EGRESS"] = "egress";
|
|
192
|
-
})(NeutronSecurityGroupRuleDirectionEnum
|
|
192
|
+
})(NeutronSecurityGroupRuleDirectionEnum || (exports.NeutronSecurityGroupRuleDirectionEnum = NeutronSecurityGroupRuleDirectionEnum = {}));
|
|
@@ -105,4 +105,4 @@ var NeutronUpdateFirewallRuleOptionActionEnum;
|
|
|
105
105
|
(function (NeutronUpdateFirewallRuleOptionActionEnum) {
|
|
106
106
|
NeutronUpdateFirewallRuleOptionActionEnum["DENY"] = "DENY";
|
|
107
107
|
NeutronUpdateFirewallRuleOptionActionEnum["ALLOW"] = "ALLOW";
|
|
108
|
-
})(NeutronUpdateFirewallRuleOptionActionEnum
|
|
108
|
+
})(NeutronUpdateFirewallRuleOptionActionEnum || (exports.NeutronUpdateFirewallRuleOptionActionEnum = NeutronUpdateFirewallRuleOptionActionEnum = {}));
|
package/v2/model/Port.js
CHANGED
|
@@ -317,7 +317,7 @@ var PortDeviceOwnerEnum;
|
|
|
317
317
|
PortDeviceOwnerEnum["NEUTRONVIP_PORT"] = "neutron:VIP_PORT";
|
|
318
318
|
PortDeviceOwnerEnum["NETWORKROUTER_INTERFACE_DISTRIBUTED"] = "network:router_interface_distributed";
|
|
319
319
|
PortDeviceOwnerEnum["NETWORKROUTER_CENTRALIZED_SNAT"] = "network:router_centralized_snat";
|
|
320
|
-
})(PortDeviceOwnerEnum
|
|
320
|
+
})(PortDeviceOwnerEnum || (exports.PortDeviceOwnerEnum = PortDeviceOwnerEnum = {}));
|
|
321
321
|
/**
|
|
322
322
|
* @export
|
|
323
323
|
* @enum {string}
|
|
@@ -327,4 +327,4 @@ var PortStatusEnum;
|
|
|
327
327
|
PortStatusEnum["ACTIVE"] = "ACTIVE";
|
|
328
328
|
PortStatusEnum["BUILD"] = "BUILD";
|
|
329
329
|
PortStatusEnum["DOWN"] = "DOWN";
|
|
330
|
-
})(PortStatusEnum
|
|
330
|
+
})(PortStatusEnum || (exports.PortStatusEnum = PortStatusEnum = {}));
|
package/v2/model/Privateip.js
CHANGED
|
@@ -85,7 +85,7 @@ var PrivateipStatusEnum;
|
|
|
85
85
|
(function (PrivateipStatusEnum) {
|
|
86
86
|
PrivateipStatusEnum["ACTIVE"] = "ACTIVE";
|
|
87
87
|
PrivateipStatusEnum["DOWN"] = "DOWN";
|
|
88
|
-
})(PrivateipStatusEnum
|
|
88
|
+
})(PrivateipStatusEnum || (exports.PrivateipStatusEnum = PrivateipStatusEnum = {}));
|
|
89
89
|
/**
|
|
90
90
|
* @export
|
|
91
91
|
* @enum {string}
|
|
@@ -95,4 +95,4 @@ var PrivateipDeviceOwnerEnum;
|
|
|
95
95
|
PrivateipDeviceOwnerEnum["NETWORKDHCP"] = "network:dhcp";
|
|
96
96
|
PrivateipDeviceOwnerEnum["NETWORKROUTER_INTERFACE_DISTRIBUTED"] = "network:router_interface_distributed";
|
|
97
97
|
PrivateipDeviceOwnerEnum["COMPUTEXXX"] = "compute:xxx";
|
|
98
|
-
})(PrivateipDeviceOwnerEnum
|
|
98
|
+
})(PrivateipDeviceOwnerEnum || (exports.PrivateipDeviceOwnerEnum = PrivateipDeviceOwnerEnum = {}));
|
|
@@ -108,4 +108,4 @@ var RejectVpcPeeringResponseStatusEnum;
|
|
|
108
108
|
RejectVpcPeeringResponseStatusEnum["EXPIRED"] = "EXPIRED";
|
|
109
109
|
RejectVpcPeeringResponseStatusEnum["DELETED"] = "DELETED";
|
|
110
110
|
RejectVpcPeeringResponseStatusEnum["ACTIVE"] = "ACTIVE";
|
|
111
|
-
})(RejectVpcPeeringResponseStatusEnum
|
|
111
|
+
})(RejectVpcPeeringResponseStatusEnum || (exports.RejectVpcPeeringResponseStatusEnum = RejectVpcPeeringResponseStatusEnum = {}));
|
|
@@ -50,4 +50,4 @@ var ResourceResultTypeEnum;
|
|
|
50
50
|
ResourceResultTypeEnum["VIRTUALINTERFACE"] = "virtualInterface";
|
|
51
51
|
ResourceResultTypeEnum["VPCCONTAINROUTETABLE"] = "vpcContainRoutetable";
|
|
52
52
|
ResourceResultTypeEnum["ROUTETABLECONTAINROUTES"] = "routetableContainRoutes";
|
|
53
|
-
})(ResourceResultTypeEnum
|
|
53
|
+
})(ResourceResultTypeEnum || (exports.ResourceResultTypeEnum = ResourceResultTypeEnum = {}));
|
|
@@ -34,4 +34,4 @@ var ShowQuotaRequestTypeEnum;
|
|
|
34
34
|
ShowQuotaRequestTypeEnum["VIRTUALINTERFACE"] = "virtualInterface";
|
|
35
35
|
ShowQuotaRequestTypeEnum["VPCCONTAINROUTETABLE"] = "vpcContainRoutetable";
|
|
36
36
|
ShowQuotaRequestTypeEnum["ROUTETABLECONTAINROUTES"] = "routetableContainRoutes";
|
|
37
|
-
})(ShowQuotaRequestTypeEnum
|
|
37
|
+
})(ShowQuotaRequestTypeEnum || (exports.ShowQuotaRequestTypeEnum = ShowQuotaRequestTypeEnum = {}));
|
package/v2/model/Subnet.js
CHANGED
|
@@ -290,4 +290,4 @@ var SubnetStatusEnum;
|
|
|
290
290
|
SubnetStatusEnum["ACTIVE"] = "ACTIVE";
|
|
291
291
|
SubnetStatusEnum["UNKNOWN"] = "UNKNOWN";
|
|
292
292
|
SubnetStatusEnum["ERROR"] = "ERROR";
|
|
293
|
-
})(SubnetStatusEnum
|
|
293
|
+
})(SubnetStatusEnum || (exports.SubnetStatusEnum = SubnetStatusEnum = {}));
|
package/v2/model/SubnetResult.js
CHANGED
|
@@ -26,4 +26,4 @@ var SubnetResultStatusEnum;
|
|
|
26
26
|
SubnetResultStatusEnum["ACTIVE"] = "ACTIVE";
|
|
27
27
|
SubnetResultStatusEnum["UNKNOWN"] = "UNKNOWN";
|
|
28
28
|
SubnetResultStatusEnum["ERROR"] = "ERROR";
|
|
29
|
-
})(SubnetResultStatusEnum
|
|
29
|
+
})(SubnetResultStatusEnum || (exports.SubnetResultStatusEnum = SubnetResultStatusEnum = {}));
|
package/v2/model/Vpc.js
CHANGED
|
@@ -106,4 +106,4 @@ var VpcStatusEnum;
|
|
|
106
106
|
VpcStatusEnum["CREATING"] = "CREATING";
|
|
107
107
|
VpcStatusEnum["OK"] = "OK";
|
|
108
108
|
VpcStatusEnum["ERROR"] = "ERROR";
|
|
109
|
-
})(VpcStatusEnum
|
|
109
|
+
})(VpcStatusEnum || (exports.VpcStatusEnum = VpcStatusEnum = {}));
|
package/v2/model/VpcPeering.js
CHANGED
|
@@ -98,4 +98,4 @@ var VpcPeeringStatusEnum;
|
|
|
98
98
|
VpcPeeringStatusEnum["EXPIRED"] = "EXPIRED";
|
|
99
99
|
VpcPeeringStatusEnum["DELETED"] = "DELETED";
|
|
100
100
|
VpcPeeringStatusEnum["ACTIVE"] = "ACTIVE";
|
|
101
|
-
})(VpcPeeringStatusEnum
|
|
101
|
+
})(VpcPeeringStatusEnum || (exports.VpcPeeringStatusEnum = VpcPeeringStatusEnum = {}));
|
package/v2/model/VpcRoute.js
CHANGED
|
@@ -64,4 +64,4 @@ exports.VpcRoute = VpcRoute;
|
|
|
64
64
|
var VpcRouteTypeEnum;
|
|
65
65
|
(function (VpcRouteTypeEnum) {
|
|
66
66
|
VpcRouteTypeEnum["PEERING"] = "peering";
|
|
67
|
-
})(VpcRouteTypeEnum
|
|
67
|
+
})(VpcRouteTypeEnum || (exports.VpcRouteTypeEnum = VpcRouteTypeEnum = {}));
|
package/v3/VpcClient.d.ts
CHANGED
|
@@ -318,6 +318,7 @@ export declare class VpcClient {
|
|
|
318
318
|
* @param {Array<string>} [name] 地址组名称,填写后按照名称进行过滤,支持多名称同时过滤
|
|
319
319
|
* @param {number} [ipVersion] IP地址组ip版本,当前只支持ipv4,填写后按照ip版本进行过滤
|
|
320
320
|
* @param {Array<string>} [description] 地址组描述信息,填写后按照地址组描述信息过滤,支持多描述同时过滤
|
|
321
|
+
* @param {string} [enterpriseProjectId] 功能说明:企业项目ID。可以使用该字段过滤某个企业项目下的IP地址组。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。若需要查询当前用户所有企业项目绑定的IP地址组,请传参all_granted_eps。
|
|
321
322
|
* @param {*} [options] Override http request option.
|
|
322
323
|
* @throws {RequiredError}
|
|
323
324
|
*/
|
package/v3/VpcClient.js
CHANGED
|
@@ -410,6 +410,7 @@ var VpcClient = /** @class */ (function () {
|
|
|
410
410
|
* @param {Array<string>} [name] 地址组名称,填写后按照名称进行过滤,支持多名称同时过滤
|
|
411
411
|
* @param {number} [ipVersion] IP地址组ip版本,当前只支持ipv4,填写后按照ip版本进行过滤
|
|
412
412
|
* @param {Array<string>} [description] 地址组描述信息,填写后按照地址组描述信息过滤,支持多描述同时过滤
|
|
413
|
+
* @param {string} [enterpriseProjectId] 功能说明:企业项目ID。可以使用该字段过滤某个企业项目下的IP地址组。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。若需要查询当前用户所有企业项目绑定的IP地址组,请传参all_granted_eps。
|
|
413
414
|
* @param {*} [options] Override http request option.
|
|
414
415
|
* @throws {RequiredError}
|
|
415
416
|
*/
|
|
@@ -1365,6 +1366,7 @@ var ParamCreater = function () {
|
|
|
1365
1366
|
var name;
|
|
1366
1367
|
var ipVersion;
|
|
1367
1368
|
var description;
|
|
1369
|
+
var enterpriseProjectId;
|
|
1368
1370
|
if (listAddressGroupRequest !== null && listAddressGroupRequest !== undefined) {
|
|
1369
1371
|
if (listAddressGroupRequest instanceof ListAddressGroupRequest_1.ListAddressGroupRequest) {
|
|
1370
1372
|
limit = listAddressGroupRequest.limit;
|
|
@@ -1373,6 +1375,7 @@ var ParamCreater = function () {
|
|
|
1373
1375
|
name = listAddressGroupRequest.name;
|
|
1374
1376
|
ipVersion = listAddressGroupRequest.ipVersion;
|
|
1375
1377
|
description = listAddressGroupRequest.description;
|
|
1378
|
+
enterpriseProjectId = listAddressGroupRequest.enterpriseProjectId;
|
|
1376
1379
|
}
|
|
1377
1380
|
else {
|
|
1378
1381
|
limit = listAddressGroupRequest['limit'];
|
|
@@ -1381,6 +1384,7 @@ var ParamCreater = function () {
|
|
|
1381
1384
|
name = listAddressGroupRequest['name'];
|
|
1382
1385
|
ipVersion = listAddressGroupRequest['ip_version'];
|
|
1383
1386
|
description = listAddressGroupRequest['description'];
|
|
1387
|
+
enterpriseProjectId = listAddressGroupRequest['enterprise_project_id'];
|
|
1384
1388
|
}
|
|
1385
1389
|
}
|
|
1386
1390
|
if (limit !== null && limit !== undefined) {
|
|
@@ -1401,6 +1405,9 @@ var ParamCreater = function () {
|
|
|
1401
1405
|
if (description !== null && description !== undefined) {
|
|
1402
1406
|
localVarQueryParameter['description'] = description;
|
|
1403
1407
|
}
|
|
1408
|
+
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
|
1409
|
+
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
|
1410
|
+
}
|
|
1404
1411
|
options.queryParams = localVarQueryParameter;
|
|
1405
1412
|
options.headers = localVarHeaderParameter;
|
|
1406
1413
|
return options;
|
|
@@ -8,9 +8,10 @@ export declare class AddressGroup {
|
|
|
8
8
|
private 'created_at';
|
|
9
9
|
private 'updated_at';
|
|
10
10
|
private 'tenant_id';
|
|
11
|
+
private 'enterprise_project_id';
|
|
11
12
|
status: string;
|
|
12
13
|
private 'status_message';
|
|
13
|
-
constructor(id?: any, name?: any, description?: any, maxCapacity?: any, ipSet?: any, ipVersion?: any, createdAt?: any, updatedAt?: any, tenantId?: any, status?: any, statusMessage?: any);
|
|
14
|
+
constructor(id?: any, name?: any, description?: any, maxCapacity?: any, ipSet?: any, ipVersion?: any, createdAt?: any, updatedAt?: any, tenantId?: any, enterpriseProjectId?: any, status?: any, statusMessage?: any);
|
|
14
15
|
withId(id: string): AddressGroup;
|
|
15
16
|
withName(name: string): AddressGroup;
|
|
16
17
|
withDescription(description: string): AddressGroup;
|
|
@@ -32,6 +33,9 @@ export declare class AddressGroup {
|
|
|
32
33
|
withTenantId(tenantId: string): AddressGroup;
|
|
33
34
|
set tenantId(tenantId: string | undefined);
|
|
34
35
|
get tenantId(): string | undefined;
|
|
36
|
+
withEnterpriseProjectId(enterpriseProjectId: string): AddressGroup;
|
|
37
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
38
|
+
get enterpriseProjectId(): string | undefined;
|
|
35
39
|
withStatus(status: string): AddressGroup;
|
|
36
40
|
withStatusMessage(statusMessage: string): AddressGroup;
|
|
37
41
|
set statusMessage(statusMessage: string | undefined);
|
package/v3/model/AddressGroup.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AddressGroup = void 0;
|
|
4
4
|
var AddressGroup = /** @class */ (function () {
|
|
5
|
-
function AddressGroup(id, name, description, maxCapacity, ipSet, ipVersion, createdAt, updatedAt, tenantId, status, statusMessage) {
|
|
5
|
+
function AddressGroup(id, name, description, maxCapacity, ipSet, ipVersion, createdAt, updatedAt, tenantId, enterpriseProjectId, status, statusMessage) {
|
|
6
6
|
this['id'] = id;
|
|
7
7
|
this['name'] = name;
|
|
8
8
|
this['description'] = description;
|
|
@@ -12,6 +12,7 @@ var AddressGroup = /** @class */ (function () {
|
|
|
12
12
|
this['created_at'] = createdAt;
|
|
13
13
|
this['updated_at'] = updatedAt;
|
|
14
14
|
this['tenant_id'] = tenantId;
|
|
15
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
15
16
|
this['status'] = status;
|
|
16
17
|
this['status_message'] = statusMessage;
|
|
17
18
|
}
|
|
@@ -111,6 +112,20 @@ var AddressGroup = /** @class */ (function () {
|
|
|
111
112
|
enumerable: false,
|
|
112
113
|
configurable: true
|
|
113
114
|
});
|
|
115
|
+
AddressGroup.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
|
116
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
117
|
+
return this;
|
|
118
|
+
};
|
|
119
|
+
Object.defineProperty(AddressGroup.prototype, "enterpriseProjectId", {
|
|
120
|
+
get: function () {
|
|
121
|
+
return this['enterprise_project_id'];
|
|
122
|
+
},
|
|
123
|
+
set: function (enterpriseProjectId) {
|
|
124
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
125
|
+
},
|
|
126
|
+
enumerable: false,
|
|
127
|
+
configurable: true
|
|
128
|
+
});
|
|
114
129
|
AddressGroup.prototype.withStatus = function (status) {
|
|
115
130
|
this['status'] = status;
|
|
116
131
|
return this;
|
|
@@ -4,6 +4,7 @@ export declare class CreateAddressGroupOption {
|
|
|
4
4
|
private 'ip_version';
|
|
5
5
|
private 'ip_set'?;
|
|
6
6
|
private 'max_capacity'?;
|
|
7
|
+
private 'enterprise_project_id'?;
|
|
7
8
|
constructor(name?: any, ipVersion?: any);
|
|
8
9
|
withName(name: string): CreateAddressGroupOption;
|
|
9
10
|
withDescription(description: string): CreateAddressGroupOption;
|
|
@@ -16,4 +17,7 @@ export declare class CreateAddressGroupOption {
|
|
|
16
17
|
withMaxCapacity(maxCapacity: number): CreateAddressGroupOption;
|
|
17
18
|
set maxCapacity(maxCapacity: number | undefined);
|
|
18
19
|
get maxCapacity(): number | undefined;
|
|
20
|
+
withEnterpriseProjectId(enterpriseProjectId: string): CreateAddressGroupOption;
|
|
21
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
22
|
+
get enterpriseProjectId(): string | undefined;
|
|
19
23
|
}
|
|
@@ -56,6 +56,20 @@ var CreateAddressGroupOption = /** @class */ (function () {
|
|
|
56
56
|
enumerable: false,
|
|
57
57
|
configurable: true
|
|
58
58
|
});
|
|
59
|
+
CreateAddressGroupOption.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
|
60
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
61
|
+
return this;
|
|
62
|
+
};
|
|
63
|
+
Object.defineProperty(CreateAddressGroupOption.prototype, "enterpriseProjectId", {
|
|
64
|
+
get: function () {
|
|
65
|
+
return this['enterprise_project_id'];
|
|
66
|
+
},
|
|
67
|
+
set: function (enterpriseProjectId) {
|
|
68
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
69
|
+
},
|
|
70
|
+
enumerable: false,
|
|
71
|
+
configurable: true
|
|
72
|
+
});
|
|
59
73
|
return CreateAddressGroupOption;
|
|
60
74
|
}());
|
|
61
75
|
exports.CreateAddressGroupOption = CreateAddressGroupOption;
|
|
@@ -5,6 +5,7 @@ export declare class ListAddressGroupRequest {
|
|
|
5
5
|
name?: Array<string>;
|
|
6
6
|
private 'ip_version'?;
|
|
7
7
|
description?: Array<string>;
|
|
8
|
+
private 'enterprise_project_id'?;
|
|
8
9
|
constructor();
|
|
9
10
|
withLimit(limit: number): ListAddressGroupRequest;
|
|
10
11
|
withMarker(marker: string): ListAddressGroupRequest;
|
|
@@ -14,4 +15,7 @@ export declare class ListAddressGroupRequest {
|
|
|
14
15
|
set ipVersion(ipVersion: number | undefined);
|
|
15
16
|
get ipVersion(): number | undefined;
|
|
16
17
|
withDescription(description: Array<string>): ListAddressGroupRequest;
|
|
18
|
+
withEnterpriseProjectId(enterpriseProjectId: string): ListAddressGroupRequest;
|
|
19
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
20
|
+
get enterpriseProjectId(): string | undefined;
|
|
17
21
|
}
|
|
@@ -38,6 +38,20 @@ var ListAddressGroupRequest = /** @class */ (function () {
|
|
|
38
38
|
this['description'] = description;
|
|
39
39
|
return this;
|
|
40
40
|
};
|
|
41
|
+
ListAddressGroupRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
|
42
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(ListAddressGroupRequest.prototype, "enterpriseProjectId", {
|
|
46
|
+
get: function () {
|
|
47
|
+
return this['enterprise_project_id'];
|
|
48
|
+
},
|
|
49
|
+
set: function (enterpriseProjectId) {
|
|
50
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
51
|
+
},
|
|
52
|
+
enumerable: false,
|
|
53
|
+
configurable: true
|
|
54
|
+
});
|
|
41
55
|
return ListAddressGroupRequest;
|
|
42
56
|
}());
|
|
43
57
|
exports.ListAddressGroupRequest = ListAddressGroupRequest;
|