@huaweicloud/huaweicloud-sdk-eip 3.1.1 → 3.1.3
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-eip",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
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.
|
|
17
|
+
"@huaweicloud/huaweicloud-sdk-core": "^3.1.3"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -2,12 +2,16 @@ export declare class CreatePrePaidPublicipOption {
|
|
|
2
2
|
type: string;
|
|
3
3
|
private 'ip_version'?;
|
|
4
4
|
alias?: string;
|
|
5
|
+
private 'port_id'?;
|
|
5
6
|
constructor(type?: any);
|
|
6
7
|
withType(type: string): CreatePrePaidPublicipOption;
|
|
7
8
|
withIpVersion(ipVersion: CreatePrePaidPublicipOptionIpVersionEnum): CreatePrePaidPublicipOption;
|
|
8
9
|
set ipVersion(ipVersion: CreatePrePaidPublicipOptionIpVersionEnum | undefined);
|
|
9
10
|
get ipVersion(): CreatePrePaidPublicipOptionIpVersionEnum | undefined;
|
|
10
11
|
withAlias(alias: string): CreatePrePaidPublicipOption;
|
|
12
|
+
withPortId(portId: string): CreatePrePaidPublicipOption;
|
|
13
|
+
set portId(portId: string | undefined);
|
|
14
|
+
get portId(): string | undefined;
|
|
11
15
|
}
|
|
12
16
|
/**
|
|
13
17
|
* @export
|
|
@@ -27,6 +27,20 @@ var CreatePrePaidPublicipOption = /** @class */ (function () {
|
|
|
27
27
|
this['alias'] = alias;
|
|
28
28
|
return this;
|
|
29
29
|
};
|
|
30
|
+
CreatePrePaidPublicipOption.prototype.withPortId = function (portId) {
|
|
31
|
+
this['port_id'] = portId;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(CreatePrePaidPublicipOption.prototype, "portId", {
|
|
35
|
+
get: function () {
|
|
36
|
+
return this['port_id'];
|
|
37
|
+
},
|
|
38
|
+
set: function (portId) {
|
|
39
|
+
this['port_id'] = portId;
|
|
40
|
+
},
|
|
41
|
+
enumerable: false,
|
|
42
|
+
configurable: true
|
|
43
|
+
});
|
|
30
44
|
return CreatePrePaidPublicipOption;
|
|
31
45
|
}());
|
|
32
46
|
exports.CreatePrePaidPublicipOption = CreatePrePaidPublicipOption;
|
|
@@ -3,6 +3,7 @@ export declare class CreatePublicipOption {
|
|
|
3
3
|
type: string;
|
|
4
4
|
private 'ip_version'?;
|
|
5
5
|
alias?: string;
|
|
6
|
+
private 'port_id'?;
|
|
6
7
|
constructor(type?: any);
|
|
7
8
|
withIpAddress(ipAddress: string): CreatePublicipOption;
|
|
8
9
|
set ipAddress(ipAddress: string | undefined);
|
|
@@ -12,6 +13,9 @@ export declare class CreatePublicipOption {
|
|
|
12
13
|
set ipVersion(ipVersion: CreatePublicipOptionIpVersionEnum | undefined);
|
|
13
14
|
get ipVersion(): CreatePublicipOptionIpVersionEnum | undefined;
|
|
14
15
|
withAlias(alias: string): CreatePublicipOption;
|
|
16
|
+
withPortId(portId: string): CreatePublicipOption;
|
|
17
|
+
set portId(portId: string | undefined);
|
|
18
|
+
get portId(): string | undefined;
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
17
21
|
* @export
|
|
@@ -41,6 +41,20 @@ var CreatePublicipOption = /** @class */ (function () {
|
|
|
41
41
|
this['alias'] = alias;
|
|
42
42
|
return this;
|
|
43
43
|
};
|
|
44
|
+
CreatePublicipOption.prototype.withPortId = function (portId) {
|
|
45
|
+
this['port_id'] = portId;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
Object.defineProperty(CreatePublicipOption.prototype, "portId", {
|
|
49
|
+
get: function () {
|
|
50
|
+
return this['port_id'];
|
|
51
|
+
},
|
|
52
|
+
set: function (portId) {
|
|
53
|
+
this['port_id'] = portId;
|
|
54
|
+
},
|
|
55
|
+
enumerable: false,
|
|
56
|
+
configurable: true
|
|
57
|
+
});
|
|
44
58
|
return CreatePublicipOption;
|
|
45
59
|
}());
|
|
46
60
|
exports.CreatePublicipOption = CreatePublicipOption;
|