@huaweicloud/huaweicloud-sdk-eip 3.1.38 → 3.1.39
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/EipRegion.d.ts +1 -0
- package/v2/EipRegion.js +3 -1
- package/v2/model/BandwidthRespInsert.d.ts +13 -0
- package/v2/model/BandwidthRespInsert.js +42 -0
- package/v2/model/ListResourceResp.d.ts +4 -4
- package/v2/model/ListResourceResp.js +6 -6
- package/v3/EipRegion.d.ts +1 -0
- package/v3/EipRegion.js +3 -1
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.39",
|
|
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.39"
|
|
18
18
|
}
|
|
19
19
|
}
|
package/v2/EipRegion.d.ts
CHANGED
package/v2/EipRegion.js
CHANGED
|
@@ -32,6 +32,7 @@ var EipRegion = exports.EipRegion = /** @class */ (function () {
|
|
|
32
32
|
EipRegion.LA_SOUTH_2 = new region_1.Region("la-south-2", ["https://vpc.la-south-2.myhuaweicloud.com"]);
|
|
33
33
|
EipRegion.NA_MEXICO_1 = new region_1.Region("na-mexico-1", ["https://vpc.na-mexico-1.myhuaweicloud.com"]);
|
|
34
34
|
EipRegion.AP_SOUTHEAST_4 = new region_1.Region("ap-southeast-4", ["https://vpc.ap-southeast-4.myhuaweicloud.com"]);
|
|
35
|
+
EipRegion.TR_WEST_1 = new region_1.Region("tr-west-1", ["https://vpc.tr-west-1.myhuaweicloud.com"]);
|
|
35
36
|
EipRegion.REGION_MAP = {
|
|
36
37
|
"af-south-1": EipRegion.AF_SOUTH_1,
|
|
37
38
|
"cn-north-4": EipRegion.CN_NORTH_4,
|
|
@@ -49,7 +50,8 @@ var EipRegion = exports.EipRegion = /** @class */ (function () {
|
|
|
49
50
|
"cn-north-2": EipRegion.CN_NORTH_2,
|
|
50
51
|
"la-south-2": EipRegion.LA_SOUTH_2,
|
|
51
52
|
"na-mexico-1": EipRegion.NA_MEXICO_1,
|
|
52
|
-
"ap-southeast-4": EipRegion.AP_SOUTHEAST_4
|
|
53
|
+
"ap-southeast-4": EipRegion.AP_SOUTHEAST_4,
|
|
54
|
+
"tr-west-1": EipRegion.TR_WEST_1
|
|
53
55
|
};
|
|
54
56
|
return EipRegion;
|
|
55
57
|
}());
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BandWidthRules } from './BandWidthRules';
|
|
1
2
|
import { PublicipInfoResp } from './PublicipInfoResp';
|
|
2
3
|
export declare class BandwidthRespInsert {
|
|
3
4
|
private 'bandwidth_type'?;
|
|
@@ -11,6 +12,9 @@ export declare class BandwidthRespInsert {
|
|
|
11
12
|
private 'tenant_id'?;
|
|
12
13
|
private 'enterprise_project_id'?;
|
|
13
14
|
status?: BandwidthRespInsertStatusEnum;
|
|
15
|
+
private 'enable_bandwidth_rules'?;
|
|
16
|
+
private 'rule_quota'?;
|
|
17
|
+
private 'bandwidth_rules'?;
|
|
14
18
|
constructor();
|
|
15
19
|
withBandwidthType(bandwidthType: string): BandwidthRespInsert;
|
|
16
20
|
set bandwidthType(bandwidthType: string | undefined);
|
|
@@ -37,6 +41,15 @@ export declare class BandwidthRespInsert {
|
|
|
37
41
|
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
38
42
|
get enterpriseProjectId(): string | undefined;
|
|
39
43
|
withStatus(status: BandwidthRespInsertStatusEnum): BandwidthRespInsert;
|
|
44
|
+
withEnableBandwidthRules(enableBandwidthRules: boolean): BandwidthRespInsert;
|
|
45
|
+
set enableBandwidthRules(enableBandwidthRules: boolean | undefined);
|
|
46
|
+
get enableBandwidthRules(): boolean | undefined;
|
|
47
|
+
withRuleQuota(ruleQuota: number): BandwidthRespInsert;
|
|
48
|
+
set ruleQuota(ruleQuota: number | undefined);
|
|
49
|
+
get ruleQuota(): number | undefined;
|
|
50
|
+
withBandwidthRules(bandwidthRules: Array<BandWidthRules>): BandwidthRespInsert;
|
|
51
|
+
set bandwidthRules(bandwidthRules: Array<BandWidthRules> | undefined);
|
|
52
|
+
get bandwidthRules(): Array<BandWidthRules> | undefined;
|
|
40
53
|
}
|
|
41
54
|
/**
|
|
42
55
|
* @export
|
|
@@ -118,6 +118,48 @@ var BandwidthRespInsert = /** @class */ (function () {
|
|
|
118
118
|
this['status'] = status;
|
|
119
119
|
return this;
|
|
120
120
|
};
|
|
121
|
+
BandwidthRespInsert.prototype.withEnableBandwidthRules = function (enableBandwidthRules) {
|
|
122
|
+
this['enable_bandwidth_rules'] = enableBandwidthRules;
|
|
123
|
+
return this;
|
|
124
|
+
};
|
|
125
|
+
Object.defineProperty(BandwidthRespInsert.prototype, "enableBandwidthRules", {
|
|
126
|
+
get: function () {
|
|
127
|
+
return this['enable_bandwidth_rules'];
|
|
128
|
+
},
|
|
129
|
+
set: function (enableBandwidthRules) {
|
|
130
|
+
this['enable_bandwidth_rules'] = enableBandwidthRules;
|
|
131
|
+
},
|
|
132
|
+
enumerable: false,
|
|
133
|
+
configurable: true
|
|
134
|
+
});
|
|
135
|
+
BandwidthRespInsert.prototype.withRuleQuota = function (ruleQuota) {
|
|
136
|
+
this['rule_quota'] = ruleQuota;
|
|
137
|
+
return this;
|
|
138
|
+
};
|
|
139
|
+
Object.defineProperty(BandwidthRespInsert.prototype, "ruleQuota", {
|
|
140
|
+
get: function () {
|
|
141
|
+
return this['rule_quota'];
|
|
142
|
+
},
|
|
143
|
+
set: function (ruleQuota) {
|
|
144
|
+
this['rule_quota'] = ruleQuota;
|
|
145
|
+
},
|
|
146
|
+
enumerable: false,
|
|
147
|
+
configurable: true
|
|
148
|
+
});
|
|
149
|
+
BandwidthRespInsert.prototype.withBandwidthRules = function (bandwidthRules) {
|
|
150
|
+
this['bandwidth_rules'] = bandwidthRules;
|
|
151
|
+
return this;
|
|
152
|
+
};
|
|
153
|
+
Object.defineProperty(BandwidthRespInsert.prototype, "bandwidthRules", {
|
|
154
|
+
get: function () {
|
|
155
|
+
return this['bandwidth_rules'];
|
|
156
|
+
},
|
|
157
|
+
set: function (bandwidthRules) {
|
|
158
|
+
this['bandwidth_rules'] = bandwidthRules;
|
|
159
|
+
},
|
|
160
|
+
enumerable: false,
|
|
161
|
+
configurable: true
|
|
162
|
+
});
|
|
121
163
|
return BandwidthRespInsert;
|
|
122
164
|
}());
|
|
123
165
|
exports.BandwidthRespInsert = BandwidthRespInsert;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ResourceTagResp } from './ResourceTagResp';
|
|
2
2
|
export declare class ListResourceResp {
|
|
3
|
-
private '
|
|
3
|
+
private 'resource_detail'?;
|
|
4
4
|
private 'resource_id'?;
|
|
5
5
|
private 'resource_name'?;
|
|
6
6
|
tags?: Array<ResourceTagResp>;
|
|
7
7
|
constructor();
|
|
8
|
-
|
|
9
|
-
set
|
|
10
|
-
get
|
|
8
|
+
withResourceDetail(resourceDetail: object): ListResourceResp;
|
|
9
|
+
set resourceDetail(resourceDetail: object | undefined);
|
|
10
|
+
get resourceDetail(): object | undefined;
|
|
11
11
|
withResourceId(resourceId: string): ListResourceResp;
|
|
12
12
|
set resourceId(resourceId: string | undefined);
|
|
13
13
|
get resourceId(): string | undefined;
|
|
@@ -4,16 +4,16 @@ exports.ListResourceResp = void 0;
|
|
|
4
4
|
var ListResourceResp = /** @class */ (function () {
|
|
5
5
|
function ListResourceResp() {
|
|
6
6
|
}
|
|
7
|
-
ListResourceResp.prototype.
|
|
8
|
-
this['
|
|
7
|
+
ListResourceResp.prototype.withResourceDetail = function (resourceDetail) {
|
|
8
|
+
this['resource_detail'] = resourceDetail;
|
|
9
9
|
return this;
|
|
10
10
|
};
|
|
11
|
-
Object.defineProperty(ListResourceResp.prototype, "
|
|
11
|
+
Object.defineProperty(ListResourceResp.prototype, "resourceDetail", {
|
|
12
12
|
get: function () {
|
|
13
|
-
return this['
|
|
13
|
+
return this['resource_detail'];
|
|
14
14
|
},
|
|
15
|
-
set: function (
|
|
16
|
-
this['
|
|
15
|
+
set: function (resourceDetail) {
|
|
16
|
+
this['resource_detail'] = resourceDetail;
|
|
17
17
|
},
|
|
18
18
|
enumerable: false,
|
|
19
19
|
configurable: true
|
package/v3/EipRegion.d.ts
CHANGED
package/v3/EipRegion.js
CHANGED
|
@@ -32,6 +32,7 @@ var EipRegion = exports.EipRegion = /** @class */ (function () {
|
|
|
32
32
|
EipRegion.LA_SOUTH_2 = new region_1.Region("la-south-2", ["https://vpc.la-south-2.myhuaweicloud.com"]);
|
|
33
33
|
EipRegion.NA_MEXICO_1 = new region_1.Region("na-mexico-1", ["https://vpc.na-mexico-1.myhuaweicloud.com"]);
|
|
34
34
|
EipRegion.AP_SOUTHEAST_4 = new region_1.Region("ap-southeast-4", ["https://vpc.ap-southeast-4.myhuaweicloud.com"]);
|
|
35
|
+
EipRegion.TR_WEST_1 = new region_1.Region("tr-west-1", ["https://vpc.tr-west-1.myhuaweicloud.com"]);
|
|
35
36
|
EipRegion.REGION_MAP = {
|
|
36
37
|
"af-south-1": EipRegion.AF_SOUTH_1,
|
|
37
38
|
"cn-north-4": EipRegion.CN_NORTH_4,
|
|
@@ -49,7 +50,8 @@ var EipRegion = exports.EipRegion = /** @class */ (function () {
|
|
|
49
50
|
"cn-north-2": EipRegion.CN_NORTH_2,
|
|
50
51
|
"la-south-2": EipRegion.LA_SOUTH_2,
|
|
51
52
|
"na-mexico-1": EipRegion.NA_MEXICO_1,
|
|
52
|
-
"ap-southeast-4": EipRegion.AP_SOUTHEAST_4
|
|
53
|
+
"ap-southeast-4": EipRegion.AP_SOUTHEAST_4,
|
|
54
|
+
"tr-west-1": EipRegion.TR_WEST_1
|
|
53
55
|
};
|
|
54
56
|
return EipRegion;
|
|
55
57
|
}());
|