@huaweicloud/huaweicloud-sdk-eip 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 +2 -2
- package/v2/model/BandwidthPkgResp.d.ts +2 -4
- package/v2/model/BandwidthPkgResp.js +3 -12
- package/v2/model/BwChangeToPeriodReq.d.ts +3 -2
- package/v2/model/ChangeToPeriodReq.d.ts +3 -2
- package/v2/model/ShowResourcesJobDetailResponse.d.ts +3 -3
- package/v2/model/SubJobsInfo.d.ts +7 -0
- package/v2/model/SubJobsInfo.js +23 -0
- package/v2/public-api.d.ts +1 -1
- package/v2/public-api.js +1 -1
- package/v3/model/AssociatePublicipsOption.d.ts +3 -3
- package/v3/model/AssociatePublicipsOption.js +3 -1
- package/v2/model/SubJobs.d.ts +0 -31
- package/v2/model/SubJobs.js +0 -101
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.19",
|
|
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.19"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -4,20 +4,18 @@ export declare class BandwidthPkgResp {
|
|
|
4
4
|
processedTime: string;
|
|
5
5
|
bandwidthId: string;
|
|
6
6
|
pkgSize: number;
|
|
7
|
-
|
|
7
|
+
tenantId: string;
|
|
8
8
|
billingInfo: string;
|
|
9
9
|
startTime: string;
|
|
10
10
|
endTime: string;
|
|
11
11
|
status: string;
|
|
12
|
-
constructor(resourceId?: any, resourceName?: any, processedTime?: any, bandwidthId?: any, pkgSize?: any, billingInfo?: any, startTime?: any, endTime?: any, status?: any);
|
|
12
|
+
constructor(resourceId?: any, resourceName?: any, processedTime?: any, bandwidthId?: any, pkgSize?: any, tenantId?: any, billingInfo?: any, startTime?: any, endTime?: any, status?: any);
|
|
13
13
|
withResourceId(resourceId: string): BandwidthPkgResp;
|
|
14
14
|
withResourceName(resourceName: string): BandwidthPkgResp;
|
|
15
15
|
withProcessedTime(processedTime: string): BandwidthPkgResp;
|
|
16
16
|
withBandwidthId(bandwidthId: string): BandwidthPkgResp;
|
|
17
17
|
withPkgSize(pkgSize: number): BandwidthPkgResp;
|
|
18
18
|
withTenantId(tenantId: string): BandwidthPkgResp;
|
|
19
|
-
set tenantId(tenantId: string | undefined);
|
|
20
|
-
get tenantId(): string | undefined;
|
|
21
19
|
withBillingInfo(billingInfo: string): BandwidthPkgResp;
|
|
22
20
|
withStartTime(startTime: string): BandwidthPkgResp;
|
|
23
21
|
withEndTime(endTime: string): BandwidthPkgResp;
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BandwidthPkgResp = void 0;
|
|
4
4
|
var BandwidthPkgResp = /** @class */ (function () {
|
|
5
|
-
function BandwidthPkgResp(resourceId, resourceName, processedTime, bandwidthId, pkgSize, billingInfo, startTime, endTime, status) {
|
|
5
|
+
function BandwidthPkgResp(resourceId, resourceName, processedTime, bandwidthId, pkgSize, tenantId, billingInfo, startTime, endTime, status) {
|
|
6
6
|
this['resourceId'] = resourceId;
|
|
7
7
|
this['resourceName'] = resourceName;
|
|
8
8
|
this['processedTime'] = processedTime;
|
|
9
9
|
this['bandwidthId'] = bandwidthId;
|
|
10
10
|
this['pkgSize'] = pkgSize;
|
|
11
|
+
this['tenantId'] = tenantId;
|
|
11
12
|
this['billingInfo'] = billingInfo;
|
|
12
13
|
this['startTime'] = startTime;
|
|
13
14
|
this['endTime'] = endTime;
|
|
@@ -34,19 +35,9 @@ var BandwidthPkgResp = /** @class */ (function () {
|
|
|
34
35
|
return this;
|
|
35
36
|
};
|
|
36
37
|
BandwidthPkgResp.prototype.withTenantId = function (tenantId) {
|
|
37
|
-
this['
|
|
38
|
+
this['tenantId'] = tenantId;
|
|
38
39
|
return this;
|
|
39
40
|
};
|
|
40
|
-
Object.defineProperty(BandwidthPkgResp.prototype, "tenantId", {
|
|
41
|
-
get: function () {
|
|
42
|
-
return this['tenant_id'];
|
|
43
|
-
},
|
|
44
|
-
set: function (tenantId) {
|
|
45
|
-
this['tenant_id'] = tenantId;
|
|
46
|
-
},
|
|
47
|
-
enumerable: false,
|
|
48
|
-
configurable: true
|
|
49
|
-
});
|
|
50
41
|
BandwidthPkgResp.prototype.withBillingInfo = function (billingInfo) {
|
|
51
42
|
this['billingInfo'] = billingInfo;
|
|
52
43
|
return this;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { CreatePrePaidPublicipExtendParamOption } from './CreatePrePaidPublicipExtendParamOption';
|
|
1
2
|
export declare class BwChangeToPeriodReq {
|
|
2
3
|
private 'bandwidth_ids';
|
|
3
|
-
extendParam:
|
|
4
|
+
extendParam: CreatePrePaidPublicipExtendParamOption;
|
|
4
5
|
constructor(bandwidthIds?: any, extendParam?: any);
|
|
5
6
|
withBandwidthIds(bandwidthIds: Array<string>): BwChangeToPeriodReq;
|
|
6
7
|
set bandwidthIds(bandwidthIds: Array<string> | undefined);
|
|
7
8
|
get bandwidthIds(): Array<string> | undefined;
|
|
8
|
-
withExtendParam(extendParam:
|
|
9
|
+
withExtendParam(extendParam: CreatePrePaidPublicipExtendParamOption): BwChangeToPeriodReq;
|
|
9
10
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { CreatePrePaidPublicipExtendParamOption } from './CreatePrePaidPublicipExtendParamOption';
|
|
1
2
|
export declare class ChangeToPeriodReq {
|
|
2
3
|
private 'publicip_ids';
|
|
3
|
-
extendParam:
|
|
4
|
+
extendParam: CreatePrePaidPublicipExtendParamOption;
|
|
4
5
|
constructor(publicipIds?: any, extendParam?: any);
|
|
5
6
|
withPublicipIds(publicipIds: Array<string>): ChangeToPeriodReq;
|
|
6
7
|
set publicipIds(publicipIds: Array<string> | undefined);
|
|
7
8
|
get publicipIds(): Array<string> | undefined;
|
|
8
|
-
withExtendParam(extendParam:
|
|
9
|
+
withExtendParam(extendParam: CreatePrePaidPublicipExtendParamOption): ChangeToPeriodReq;
|
|
9
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SubJobsInfo } from './SubJobsInfo';
|
|
2
2
|
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
3
|
export declare class ShowResourcesJobDetailResponse extends SdkResponse {
|
|
4
4
|
private 'job_id'?;
|
|
@@ -8,7 +8,7 @@ export declare class ShowResourcesJobDetailResponse extends SdkResponse {
|
|
|
8
8
|
status?: string;
|
|
9
9
|
private 'error_code'?;
|
|
10
10
|
private 'fail_reason'?;
|
|
11
|
-
entities?:
|
|
11
|
+
entities?: SubJobsInfo;
|
|
12
12
|
constructor();
|
|
13
13
|
withJobId(jobId: string): ShowResourcesJobDetailResponse;
|
|
14
14
|
set jobId(jobId: string | undefined);
|
|
@@ -29,5 +29,5 @@ export declare class ShowResourcesJobDetailResponse extends SdkResponse {
|
|
|
29
29
|
withFailReason(failReason: string): ShowResourcesJobDetailResponse;
|
|
30
30
|
set failReason(failReason: string | undefined);
|
|
31
31
|
get failReason(): string | undefined;
|
|
32
|
-
withEntities(entities:
|
|
32
|
+
withEntities(entities: SubJobsInfo): ShowResourcesJobDetailResponse;
|
|
33
33
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SubJobsInfo = void 0;
|
|
4
|
+
var SubJobsInfo = /** @class */ (function () {
|
|
5
|
+
function SubJobsInfo() {
|
|
6
|
+
}
|
|
7
|
+
SubJobsInfo.prototype.withSubJobs = function (subJobs) {
|
|
8
|
+
this['sub_jobs'] = subJobs;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(SubJobsInfo.prototype, "subJobs", {
|
|
12
|
+
get: function () {
|
|
13
|
+
return this['sub_jobs'];
|
|
14
|
+
},
|
|
15
|
+
set: function (subJobs) {
|
|
16
|
+
this['sub_jobs'] = subJobs;
|
|
17
|
+
},
|
|
18
|
+
enumerable: false,
|
|
19
|
+
configurable: true
|
|
20
|
+
});
|
|
21
|
+
return SubJobsInfo;
|
|
22
|
+
}());
|
|
23
|
+
exports.SubJobsInfo = SubJobsInfo;
|
package/v2/public-api.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ export * from './model/ShowPublicipTagsRequest';
|
|
|
119
119
|
export * from './model/ShowPublicipTagsResponse';
|
|
120
120
|
export * from './model/ShowResourcesJobDetailRequest';
|
|
121
121
|
export * from './model/ShowResourcesJobDetailResponse';
|
|
122
|
-
export * from './model/
|
|
122
|
+
export * from './model/SubJobsInfo';
|
|
123
123
|
export * from './model/TagReq';
|
|
124
124
|
export * from './model/TagResp';
|
|
125
125
|
export * from './model/UpdateBandwidthOption';
|
package/v2/public-api.js
CHANGED
|
@@ -135,7 +135,7 @@ __exportStar(require("./model/ShowPublicipTagsRequest"), exports);
|
|
|
135
135
|
__exportStar(require("./model/ShowPublicipTagsResponse"), exports);
|
|
136
136
|
__exportStar(require("./model/ShowResourcesJobDetailRequest"), exports);
|
|
137
137
|
__exportStar(require("./model/ShowResourcesJobDetailResponse"), exports);
|
|
138
|
-
__exportStar(require("./model/
|
|
138
|
+
__exportStar(require("./model/SubJobsInfo"), exports);
|
|
139
139
|
__exportStar(require("./model/TagReq"), exports);
|
|
140
140
|
__exportStar(require("./model/TagResp"), exports);
|
|
141
141
|
__exportStar(require("./model/UpdateBandwidthOption"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare class AssociatePublicipsOption {
|
|
2
|
-
private 'associate_instance_type'
|
|
3
|
-
private 'associate_instance_id'
|
|
4
|
-
constructor();
|
|
2
|
+
private 'associate_instance_type';
|
|
3
|
+
private 'associate_instance_id';
|
|
4
|
+
constructor(associateInstanceType?: any, associateInstanceId?: any);
|
|
5
5
|
withAssociateInstanceType(associateInstanceType: AssociatePublicipsOptionAssociateInstanceTypeEnum): AssociatePublicipsOption;
|
|
6
6
|
set associateInstanceType(associateInstanceType: AssociatePublicipsOptionAssociateInstanceTypeEnum | undefined);
|
|
7
7
|
get associateInstanceType(): AssociatePublicipsOptionAssociateInstanceTypeEnum | undefined;
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AssociatePublicipsOptionAssociateInstanceTypeEnum = exports.AssociatePublicipsOption = void 0;
|
|
4
4
|
var AssociatePublicipsOption = /** @class */ (function () {
|
|
5
|
-
function AssociatePublicipsOption() {
|
|
5
|
+
function AssociatePublicipsOption(associateInstanceType, associateInstanceId) {
|
|
6
|
+
this['associate_instance_type'] = associateInstanceType;
|
|
7
|
+
this['associate_instance_id'] = associateInstanceId;
|
|
6
8
|
}
|
|
7
9
|
AssociatePublicipsOption.prototype.withAssociateInstanceType = function (associateInstanceType) {
|
|
8
10
|
this['associate_instance_type'] = associateInstanceType;
|
package/v2/model/SubJobs.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare class SubJobs {
|
|
2
|
-
private 'job_id'?;
|
|
3
|
-
private 'job_type'?;
|
|
4
|
-
private 'begin_time'?;
|
|
5
|
-
private 'end_time'?;
|
|
6
|
-
status?: string;
|
|
7
|
-
private 'error_code'?;
|
|
8
|
-
private 'fail_reason'?;
|
|
9
|
-
entities?: SubJobs;
|
|
10
|
-
constructor();
|
|
11
|
-
withJobId(jobId: string): SubJobs;
|
|
12
|
-
set jobId(jobId: string | undefined);
|
|
13
|
-
get jobId(): string | undefined;
|
|
14
|
-
withJobType(jobType: string): SubJobs;
|
|
15
|
-
set jobType(jobType: string | undefined);
|
|
16
|
-
get jobType(): string | undefined;
|
|
17
|
-
withBeginTime(beginTime: string): SubJobs;
|
|
18
|
-
set beginTime(beginTime: string | undefined);
|
|
19
|
-
get beginTime(): string | undefined;
|
|
20
|
-
withEndTime(endTime: string): SubJobs;
|
|
21
|
-
set endTime(endTime: string | undefined);
|
|
22
|
-
get endTime(): string | undefined;
|
|
23
|
-
withStatus(status: string): SubJobs;
|
|
24
|
-
withErrorCode(errorCode: string): SubJobs;
|
|
25
|
-
set errorCode(errorCode: string | undefined);
|
|
26
|
-
get errorCode(): string | undefined;
|
|
27
|
-
withFailReason(failReason: string): SubJobs;
|
|
28
|
-
set failReason(failReason: string | undefined);
|
|
29
|
-
get failReason(): string | undefined;
|
|
30
|
-
withEntities(entities: SubJobs): SubJobs;
|
|
31
|
-
}
|
package/v2/model/SubJobs.js
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SubJobs = void 0;
|
|
4
|
-
var SubJobs = /** @class */ (function () {
|
|
5
|
-
function SubJobs() {
|
|
6
|
-
}
|
|
7
|
-
SubJobs.prototype.withJobId = function (jobId) {
|
|
8
|
-
this['job_id'] = jobId;
|
|
9
|
-
return this;
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(SubJobs.prototype, "jobId", {
|
|
12
|
-
get: function () {
|
|
13
|
-
return this['job_id'];
|
|
14
|
-
},
|
|
15
|
-
set: function (jobId) {
|
|
16
|
-
this['job_id'] = jobId;
|
|
17
|
-
},
|
|
18
|
-
enumerable: false,
|
|
19
|
-
configurable: true
|
|
20
|
-
});
|
|
21
|
-
SubJobs.prototype.withJobType = function (jobType) {
|
|
22
|
-
this['job_type'] = jobType;
|
|
23
|
-
return this;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(SubJobs.prototype, "jobType", {
|
|
26
|
-
get: function () {
|
|
27
|
-
return this['job_type'];
|
|
28
|
-
},
|
|
29
|
-
set: function (jobType) {
|
|
30
|
-
this['job_type'] = jobType;
|
|
31
|
-
},
|
|
32
|
-
enumerable: false,
|
|
33
|
-
configurable: true
|
|
34
|
-
});
|
|
35
|
-
SubJobs.prototype.withBeginTime = function (beginTime) {
|
|
36
|
-
this['begin_time'] = beginTime;
|
|
37
|
-
return this;
|
|
38
|
-
};
|
|
39
|
-
Object.defineProperty(SubJobs.prototype, "beginTime", {
|
|
40
|
-
get: function () {
|
|
41
|
-
return this['begin_time'];
|
|
42
|
-
},
|
|
43
|
-
set: function (beginTime) {
|
|
44
|
-
this['begin_time'] = beginTime;
|
|
45
|
-
},
|
|
46
|
-
enumerable: false,
|
|
47
|
-
configurable: true
|
|
48
|
-
});
|
|
49
|
-
SubJobs.prototype.withEndTime = function (endTime) {
|
|
50
|
-
this['end_time'] = endTime;
|
|
51
|
-
return this;
|
|
52
|
-
};
|
|
53
|
-
Object.defineProperty(SubJobs.prototype, "endTime", {
|
|
54
|
-
get: function () {
|
|
55
|
-
return this['end_time'];
|
|
56
|
-
},
|
|
57
|
-
set: function (endTime) {
|
|
58
|
-
this['end_time'] = endTime;
|
|
59
|
-
},
|
|
60
|
-
enumerable: false,
|
|
61
|
-
configurable: true
|
|
62
|
-
});
|
|
63
|
-
SubJobs.prototype.withStatus = function (status) {
|
|
64
|
-
this['status'] = status;
|
|
65
|
-
return this;
|
|
66
|
-
};
|
|
67
|
-
SubJobs.prototype.withErrorCode = function (errorCode) {
|
|
68
|
-
this['error_code'] = errorCode;
|
|
69
|
-
return this;
|
|
70
|
-
};
|
|
71
|
-
Object.defineProperty(SubJobs.prototype, "errorCode", {
|
|
72
|
-
get: function () {
|
|
73
|
-
return this['error_code'];
|
|
74
|
-
},
|
|
75
|
-
set: function (errorCode) {
|
|
76
|
-
this['error_code'] = errorCode;
|
|
77
|
-
},
|
|
78
|
-
enumerable: false,
|
|
79
|
-
configurable: true
|
|
80
|
-
});
|
|
81
|
-
SubJobs.prototype.withFailReason = function (failReason) {
|
|
82
|
-
this['fail_reason'] = failReason;
|
|
83
|
-
return this;
|
|
84
|
-
};
|
|
85
|
-
Object.defineProperty(SubJobs.prototype, "failReason", {
|
|
86
|
-
get: function () {
|
|
87
|
-
return this['fail_reason'];
|
|
88
|
-
},
|
|
89
|
-
set: function (failReason) {
|
|
90
|
-
this['fail_reason'] = failReason;
|
|
91
|
-
},
|
|
92
|
-
enumerable: false,
|
|
93
|
-
configurable: true
|
|
94
|
-
});
|
|
95
|
-
SubJobs.prototype.withEntities = function (entities) {
|
|
96
|
-
this['entities'] = entities;
|
|
97
|
-
return this;
|
|
98
|
-
};
|
|
99
|
-
return SubJobs;
|
|
100
|
-
}());
|
|
101
|
-
exports.SubJobs = SubJobs;
|