@huaweicloud/huaweicloud-sdk-vpc 3.1.19 → 3.1.21
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.
|
|
3
|
+
"version": "3.1.21",
|
|
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.21"
|
|
18
18
|
}
|
|
19
19
|
}
|
package/v2/VpcClient.d.ts
CHANGED
|
@@ -391,8 +391,9 @@ export declare class VpcClient {
|
|
|
391
391
|
* @param {string} [deviceId] 按照device_id过滤查询
|
|
392
392
|
* @param {'network:dhcp' | 'neutron:VIP_PORT' | 'network:router_interface_distributed' | 'network:router_centralized_snat'} [deviceOwner] 按照device_owner过滤查询
|
|
393
393
|
* @param {'ACTIVE' | 'BUILD' | 'DOWN'} [status] 功能说明:按照status过滤查询 取值范围:ACTIVE、BUILD、DOWN
|
|
394
|
+
* @param {Array<string>} [securityGroups] 按照安全组ID列表过滤查询
|
|
394
395
|
* @param {string} [marker] 分页查询起始的资源ID,为空时查询第一页
|
|
395
|
-
* @param {string} [fixedIps] 按照fixed_ips=ip_address或者fixed_ips=subnet_id过滤查询
|
|
396
|
+
* @param {Array<string>} [fixedIps] 按照fixed_ips=ip_address或者fixed_ips=subnet_id过滤查询
|
|
396
397
|
* @param {string} [enterpriseProjectId] 功能说明:企业项目ID,用于基于企业项目的权限管理。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 若需要查询当前用户所有企业项目绑定的端口,请传参all_granted_eps。
|
|
397
398
|
* @param {*} [options] Override http request option.
|
|
398
399
|
* @throws {RequiredError}
|
package/v2/VpcClient.js
CHANGED
|
@@ -443,8 +443,9 @@ var VpcClient = /** @class */ (function () {
|
|
|
443
443
|
* @param {string} [deviceId] 按照device_id过滤查询
|
|
444
444
|
* @param {'network:dhcp' | 'neutron:VIP_PORT' | 'network:router_interface_distributed' | 'network:router_centralized_snat'} [deviceOwner] 按照device_owner过滤查询
|
|
445
445
|
* @param {'ACTIVE' | 'BUILD' | 'DOWN'} [status] 功能说明:按照status过滤查询 取值范围:ACTIVE、BUILD、DOWN
|
|
446
|
+
* @param {Array<string>} [securityGroups] 按照安全组ID列表过滤查询
|
|
446
447
|
* @param {string} [marker] 分页查询起始的资源ID,为空时查询第一页
|
|
447
|
-
* @param {string} [fixedIps] 按照fixed_ips=ip_address或者fixed_ips=subnet_id过滤查询
|
|
448
|
+
* @param {Array<string>} [fixedIps] 按照fixed_ips=ip_address或者fixed_ips=subnet_id过滤查询
|
|
448
449
|
* @param {string} [enterpriseProjectId] 功能说明:企业项目ID,用于基于企业项目的权限管理。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 若需要查询当前用户所有企业项目绑定的端口,请传参all_granted_eps。
|
|
449
450
|
* @param {*} [options] Override http request option.
|
|
450
451
|
* @throws {RequiredError}
|
|
@@ -2316,6 +2317,7 @@ var ParamCreater = function () {
|
|
|
2316
2317
|
var deviceId;
|
|
2317
2318
|
var deviceOwner;
|
|
2318
2319
|
var status;
|
|
2320
|
+
var securityGroups;
|
|
2319
2321
|
var marker;
|
|
2320
2322
|
var fixedIps;
|
|
2321
2323
|
var enterpriseProjectId;
|
|
@@ -2330,6 +2332,7 @@ var ParamCreater = function () {
|
|
|
2330
2332
|
deviceId = listPortsRequest.deviceId;
|
|
2331
2333
|
deviceOwner = listPortsRequest.deviceOwner;
|
|
2332
2334
|
status = listPortsRequest.status;
|
|
2335
|
+
securityGroups = listPortsRequest.securityGroups;
|
|
2333
2336
|
marker = listPortsRequest.marker;
|
|
2334
2337
|
fixedIps = listPortsRequest.fixedIps;
|
|
2335
2338
|
enterpriseProjectId = listPortsRequest.enterpriseProjectId;
|
|
@@ -2344,6 +2347,7 @@ var ParamCreater = function () {
|
|
|
2344
2347
|
deviceId = listPortsRequest['device_id'];
|
|
2345
2348
|
deviceOwner = listPortsRequest['device_owner'];
|
|
2346
2349
|
status = listPortsRequest['status'];
|
|
2350
|
+
securityGroups = listPortsRequest['security_groups'];
|
|
2347
2351
|
marker = listPortsRequest['marker'];
|
|
2348
2352
|
fixedIps = listPortsRequest['fixed_ips'];
|
|
2349
2353
|
enterpriseProjectId = listPortsRequest['enterprise_project_id'];
|
|
@@ -2376,6 +2380,9 @@ var ParamCreater = function () {
|
|
|
2376
2380
|
if (status !== null && status !== undefined) {
|
|
2377
2381
|
localVarQueryParameter['status'] = status;
|
|
2378
2382
|
}
|
|
2383
|
+
if (securityGroups !== null && securityGroups !== undefined) {
|
|
2384
|
+
localVarQueryParameter['security_groups'] = securityGroups;
|
|
2385
|
+
}
|
|
2379
2386
|
if (marker !== null && marker !== undefined) {
|
|
2380
2387
|
localVarQueryParameter['marker'] = marker;
|
|
2381
2388
|
}
|
|
@@ -8,6 +8,7 @@ export declare class ListPortsRequest {
|
|
|
8
8
|
private 'device_id'?;
|
|
9
9
|
private 'device_owner'?;
|
|
10
10
|
status?: ListPortsRequestStatusEnum;
|
|
11
|
+
private 'security_groups'?;
|
|
11
12
|
marker?: string;
|
|
12
13
|
private 'fixed_ips'?;
|
|
13
14
|
private 'enterprise_project_id'?;
|
|
@@ -31,10 +32,13 @@ export declare class ListPortsRequest {
|
|
|
31
32
|
set deviceOwner(deviceOwner: ListPortsRequestDeviceOwnerEnum | undefined);
|
|
32
33
|
get deviceOwner(): ListPortsRequestDeviceOwnerEnum | undefined;
|
|
33
34
|
withStatus(status: ListPortsRequestStatusEnum): ListPortsRequest;
|
|
35
|
+
withSecurityGroups(securityGroups: Array<string>): ListPortsRequest;
|
|
36
|
+
set securityGroups(securityGroups: Array<string> | undefined);
|
|
37
|
+
get securityGroups(): Array<string> | undefined;
|
|
34
38
|
withMarker(marker: string): ListPortsRequest;
|
|
35
|
-
withFixedIps(fixedIps: string): ListPortsRequest;
|
|
36
|
-
set fixedIps(fixedIps: string | undefined);
|
|
37
|
-
get fixedIps(): string | undefined;
|
|
39
|
+
withFixedIps(fixedIps: Array<string>): ListPortsRequest;
|
|
40
|
+
set fixedIps(fixedIps: Array<string> | undefined);
|
|
41
|
+
get fixedIps(): Array<string> | undefined;
|
|
38
42
|
withEnterpriseProjectId(enterpriseProjectId: string): ListPortsRequest;
|
|
39
43
|
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
40
44
|
get enterpriseProjectId(): string | undefined;
|
|
@@ -90,6 +90,20 @@ var ListPortsRequest = /** @class */ (function () {
|
|
|
90
90
|
this['status'] = status;
|
|
91
91
|
return this;
|
|
92
92
|
};
|
|
93
|
+
ListPortsRequest.prototype.withSecurityGroups = function (securityGroups) {
|
|
94
|
+
this['security_groups'] = securityGroups;
|
|
95
|
+
return this;
|
|
96
|
+
};
|
|
97
|
+
Object.defineProperty(ListPortsRequest.prototype, "securityGroups", {
|
|
98
|
+
get: function () {
|
|
99
|
+
return this['security_groups'];
|
|
100
|
+
},
|
|
101
|
+
set: function (securityGroups) {
|
|
102
|
+
this['security_groups'] = securityGroups;
|
|
103
|
+
},
|
|
104
|
+
enumerable: false,
|
|
105
|
+
configurable: true
|
|
106
|
+
});
|
|
93
107
|
ListPortsRequest.prototype.withMarker = function (marker) {
|
|
94
108
|
this['marker'] = marker;
|
|
95
109
|
return this;
|