@huaweicloud/huaweicloud-sdk-eps 3.1.26 → 3.1.28
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/v1/EpsClient.d.ts +6 -3
- package/v1/EpsRegion.d.ts +2 -3
- package/v1/EpsRegion.js +5 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huaweicloud/huaweicloud-sdk-eps",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.28",
|
|
4
4
|
"description": "Huaweicloud SDK for eps",
|
|
5
5
|
"main": "huaweicloud-sdk-eps.js",
|
|
6
6
|
"typings": "huaweicloud-sdk-eps.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.28"
|
|
18
18
|
}
|
|
19
19
|
}
|
package/v1/EpsClient.d.ts
CHANGED
|
@@ -3,13 +3,16 @@ import { ClientBuilder } from "@huaweicloud/huaweicloud-sdk-core/ClientBuilder";
|
|
|
3
3
|
import { CreateEnterpriseProjectRequest } from './model/CreateEnterpriseProjectRequest';
|
|
4
4
|
import { CreateEnterpriseProjectResponse } from './model/CreateEnterpriseProjectResponse';
|
|
5
5
|
import { DisableEnterpriseProjectRequest } from './model/DisableEnterpriseProjectRequest';
|
|
6
|
+
import { DisableEnterpriseProjectResponse } from './model/DisableEnterpriseProjectResponse';
|
|
6
7
|
import { EnableEnterpriseProjectRequest } from './model/EnableEnterpriseProjectRequest';
|
|
8
|
+
import { EnableEnterpriseProjectResponse } from './model/EnableEnterpriseProjectResponse';
|
|
7
9
|
import { ListApiVersionsResponse } from './model/ListApiVersionsResponse';
|
|
8
10
|
import { ListEnterpriseProjectRequest } from './model/ListEnterpriseProjectRequest';
|
|
9
11
|
import { ListEnterpriseProjectResponse } from './model/ListEnterpriseProjectResponse';
|
|
10
12
|
import { ListProvidersRequest } from './model/ListProvidersRequest';
|
|
11
13
|
import { ListProvidersResponse } from './model/ListProvidersResponse';
|
|
12
14
|
import { MigrateResourceRequest } from './model/MigrateResourceRequest';
|
|
15
|
+
import { MigrateResourceResponse } from './model/MigrateResourceResponse';
|
|
13
16
|
import { ShowApiVersionRequest } from './model/ShowApiVersionRequest';
|
|
14
17
|
import { ShowApiVersionResponse } from './model/ShowApiVersionResponse';
|
|
15
18
|
import { ShowEnterpriseProjectQuotaResponse } from './model/ShowEnterpriseProjectQuotaResponse';
|
|
@@ -46,7 +49,7 @@ export declare class EpsClient {
|
|
|
46
49
|
* @param {*} [options] Override http request option.
|
|
47
50
|
* @throws {RequiredError}
|
|
48
51
|
*/
|
|
49
|
-
disableEnterpriseProject(disableEnterpriseProjectRequest?: DisableEnterpriseProjectRequest): Promise<
|
|
52
|
+
disableEnterpriseProject(disableEnterpriseProjectRequest?: DisableEnterpriseProjectRequest): Promise<DisableEnterpriseProjectResponse>;
|
|
50
53
|
/**
|
|
51
54
|
* 启用企业项目。
|
|
52
55
|
*
|
|
@@ -58,7 +61,7 @@ export declare class EpsClient {
|
|
|
58
61
|
* @param {*} [options] Override http request option.
|
|
59
62
|
* @throws {RequiredError}
|
|
60
63
|
*/
|
|
61
|
-
enableEnterpriseProject(enableEnterpriseProjectRequest?: EnableEnterpriseProjectRequest): Promise<
|
|
64
|
+
enableEnterpriseProject(enableEnterpriseProjectRequest?: EnableEnterpriseProjectRequest): Promise<EnableEnterpriseProjectResponse>;
|
|
62
65
|
/**
|
|
63
66
|
* 查询企业项目的API版本列表。
|
|
64
67
|
*
|
|
@@ -111,7 +114,7 @@ export declare class EpsClient {
|
|
|
111
114
|
* @param {*} [options] Override http request option.
|
|
112
115
|
* @throws {RequiredError}
|
|
113
116
|
*/
|
|
114
|
-
migrateResource(migrateResourceRequest?: MigrateResourceRequest): Promise<
|
|
117
|
+
migrateResource(migrateResourceRequest?: MigrateResourceRequest): Promise<MigrateResourceResponse>;
|
|
115
118
|
/**
|
|
116
119
|
* 查询指定的企业项目API版本号详情
|
|
117
120
|
*
|
package/v1/EpsRegion.d.ts
CHANGED
package/v1/EpsRegion.js
CHANGED
|
@@ -5,23 +5,20 @@ var region_1 = require("@huaweicloud/huaweicloud-sdk-core/region/region");
|
|
|
5
5
|
var EpsRegion = /** @class */ (function () {
|
|
6
6
|
function EpsRegion() {
|
|
7
7
|
}
|
|
8
|
-
EpsRegion.createStaticFields = function () {
|
|
9
|
-
var map = new Map();
|
|
10
|
-
map.set("cn-north-4", EpsRegion.CN_NORTH_4);
|
|
11
|
-
return map;
|
|
12
|
-
};
|
|
13
8
|
EpsRegion.valueOf = function (regionId) {
|
|
14
9
|
if (!regionId) {
|
|
15
10
|
throw new Error("Unexpected empty parameter: regionId.");
|
|
16
11
|
}
|
|
17
|
-
var result = this.
|
|
12
|
+
var result = this.REGION_MAP[regionId];
|
|
18
13
|
if (result) {
|
|
19
14
|
return result;
|
|
20
15
|
}
|
|
21
16
|
throw new Error("Unexpected regionId: ".concat(regionId, "."));
|
|
22
17
|
};
|
|
23
|
-
EpsRegion.CN_NORTH_4 = new region_1.Region("cn-north-4", "https://eps.myhuaweicloud.com");
|
|
24
|
-
EpsRegion.
|
|
18
|
+
EpsRegion.CN_NORTH_4 = new region_1.Region("cn-north-4", ["https://eps.myhuaweicloud.com"]);
|
|
19
|
+
EpsRegion.REGION_MAP = {
|
|
20
|
+
"cn-north-4": EpsRegion.CN_NORTH_4
|
|
21
|
+
};
|
|
25
22
|
return EpsRegion;
|
|
26
23
|
}());
|
|
27
24
|
exports.EpsRegion = EpsRegion;
|