@huaweicloud/huaweicloud-sdk-eps 3.1.7 → 3.1.8
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-eps",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.8",
|
|
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.8"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
export declare class MigrateResource {
|
|
2
|
+
private 'region_id'?;
|
|
2
3
|
private 'project_id'?;
|
|
3
4
|
private 'resource_id';
|
|
4
5
|
private 'resource_type';
|
|
5
6
|
associated?: boolean;
|
|
6
7
|
constructor(resourceId?: any, resourceType?: any);
|
|
8
|
+
withRegionId(regionId: string): MigrateResource;
|
|
9
|
+
set regionId(regionId: string | undefined);
|
|
10
|
+
get regionId(): string | undefined;
|
|
7
11
|
withProjectId(projectId: string): MigrateResource;
|
|
8
12
|
set projectId(projectId: string | undefined);
|
|
9
13
|
get projectId(): string | undefined;
|
|
@@ -6,6 +6,20 @@ var MigrateResource = /** @class */ (function () {
|
|
|
6
6
|
this['resource_id'] = resourceId;
|
|
7
7
|
this['resource_type'] = resourceType;
|
|
8
8
|
}
|
|
9
|
+
MigrateResource.prototype.withRegionId = function (regionId) {
|
|
10
|
+
this['region_id'] = regionId;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(MigrateResource.prototype, "regionId", {
|
|
14
|
+
get: function () {
|
|
15
|
+
return this['region_id'];
|
|
16
|
+
},
|
|
17
|
+
set: function (regionId) {
|
|
18
|
+
this['region_id'] = regionId;
|
|
19
|
+
},
|
|
20
|
+
enumerable: false,
|
|
21
|
+
configurable: true
|
|
22
|
+
});
|
|
9
23
|
MigrateResource.prototype.withProjectId = function (projectId) {
|
|
10
24
|
this['project_id'] = projectId;
|
|
11
25
|
return this;
|