@huaweicloud/huaweicloud-sdk-cbr 3.1.38 → 3.1.40
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/v1/CbrClient.d.ts +433 -0
- package/v1/CbrClient.js +872 -18
- package/v1/CbrRegion.d.ts +1 -0
- package/v1/CbrRegion.js +3 -1
- package/v1/model/BackupUpdate.d.ts +5 -0
- package/v1/model/BackupUpdate.js +13 -0
- package/v1/model/BackupUpdateReq.d.ts +6 -0
- package/v1/model/BackupUpdateReq.js +13 -0
- package/v1/model/BatchUpdateVaultRequest.d.ts +6 -0
- package/v1/model/BatchUpdateVaultRequest.js +13 -0
- package/v1/model/BatchUpdateVaultRequestBody.d.ts +6 -0
- package/v1/model/BatchUpdateVaultRequestBody.js +14 -0
- package/v1/model/BatchUpdateVaultResponse.d.ts +8 -0
- package/v1/model/BatchUpdateVaultResponse.js +41 -0
- package/v1/model/CbcProductInfoUpdate.d.ts +11 -0
- package/v1/model/CbcProductInfoUpdate.js +28 -0
- package/v1/model/CbcUpdate.d.ts +14 -0
- package/v1/model/CbcUpdate.js +37 -0
- package/v1/model/CheckAgentRequest.d.ts +6 -0
- package/v1/model/CheckAgentRequest.js +13 -0
- package/v1/model/CheckAgentResponse.d.ts +9 -0
- package/v1/model/CheckAgentResponse.js +41 -0
- package/v1/model/CombinedOrder.d.ts +15 -0
- package/v1/model/CombinedOrder.js +51 -0
- package/v1/model/CreatePostPaidVaultRequest.d.ts +6 -0
- package/v1/model/CreatePostPaidVaultRequest.js +13 -0
- package/v1/model/CreatePostPaidVaultResponse.d.ts +15 -0
- package/v1/model/CreatePostPaidVaultResponse.js +53 -0
- package/v1/model/DomainMigrate.d.ts +9 -0
- package/v1/model/DomainMigrate.js +29 -0
- package/v1/model/DomainMigrateProjectStatus.d.ts +36 -0
- package/v1/model/DomainMigrateProjectStatus.js +100 -0
- package/v1/model/DomainProjectsInfo.d.ts +11 -0
- package/v1/model/DomainProjectsInfo.js +39 -0
- package/v1/model/ImportCheckpointRequest.d.ts +6 -0
- package/v1/model/ImportCheckpointRequest.js +13 -0
- package/v1/model/ImportCheckpointResponse.d.ts +7 -0
- package/v1/model/ImportCheckpointResponse.js +31 -0
- package/v1/model/ListDomainProjectsRequest.d.ts +7 -0
- package/v1/model/ListDomainProjectsRequest.js +24 -0
- package/v1/model/ListDomainProjectsResponse.d.ts +7 -0
- package/v1/model/ListDomainProjectsResponse.js +31 -0
- package/v1/model/ListExternalVaultRequest.d.ts +38 -0
- package/v1/model/ListExternalVaultRequest.js +111 -0
- package/v1/model/ListExternalVaultResponse.d.ts +13 -0
- package/v1/model/ListExternalVaultResponse.js +43 -0
- package/v1/model/ListProjectsRequest.d.ts +3 -0
- package/v1/model/ListProjectsRequest.js +9 -0
- package/v1/model/ListProjectsResponse.d.ts +10 -0
- package/v1/model/ListProjectsResponse.js +35 -0
- package/v1/model/MigrateDomainRequest.d.ts +6 -0
- package/v1/model/MigrateDomainRequest.js +13 -0
- package/v1/model/MigrateDomainResponse.d.ts +10 -0
- package/v1/model/MigrateDomainResponse.js +31 -0
- package/v1/model/ProjectsListInfo.d.ts +26 -0
- package/v1/model/ProjectsListInfo.js +71 -0
- package/v1/model/ProtectableAgentReq.d.ts +8 -0
- package/v1/model/ProtectableAgentReq.js +24 -0
- package/v1/model/ProtectableAgentStatus.d.ts +19 -0
- package/v1/model/ProtectableAgentStatus.js +53 -0
- package/v1/model/ProtectableAgentStatusResource.d.ts +15 -0
- package/v1/model/ProtectableAgentStatusResource.js +53 -0
- package/v1/model/SelfLinksInfo.d.ts +5 -0
- package/v1/model/SelfLinksInfo.js +13 -0
- package/v1/model/SetVaultResourceRequest.d.ts +10 -0
- package/v1/model/SetVaultResourceRequest.js +28 -0
- package/v1/model/SetVaultResourceResponse.d.ts +8 -0
- package/v1/model/SetVaultResourceResponse.js +41 -0
- package/v1/model/ShowDomainRequest.d.ts +7 -0
- package/v1/model/ShowDomainRequest.js +24 -0
- package/v1/model/ShowDomainResponse.d.ts +20 -0
- package/v1/model/ShowDomainResponse.js +83 -0
- package/v1/model/ShowMetadataRequest.d.ts +7 -0
- package/v1/model/ShowMetadataRequest.js +24 -0
- package/v1/model/ShowMetadataResponse.d.ts +24 -0
- package/v1/model/ShowMetadataResponse.js +79 -0
- package/v1/model/ShowMigrateStatusRequest.d.ts +7 -0
- package/v1/model/ShowMigrateStatusRequest.js +23 -0
- package/v1/model/ShowMigrateStatusResponse.d.ts +20 -0
- package/v1/model/ShowMigrateStatusResponse.js +55 -0
- package/v1/model/ShowStorageUsageRequest.d.ts +23 -0
- package/v1/model/ShowStorageUsageRequest.js +54 -0
- package/v1/model/ShowStorageUsageResponse.d.ts +13 -0
- package/v1/model/ShowStorageUsageResponse.js +55 -0
- package/v1/model/ShowSummaryRequest.d.ts +3 -0
- package/v1/model/ShowSummaryRequest.js +9 -0
- package/v1/model/ShowSummaryResponse.d.ts +10 -0
- package/v1/model/ShowSummaryResponse.js +45 -0
- package/v1/model/StorageUsage.d.ts +27 -0
- package/v1/model/StorageUsage.js +96 -0
- package/v1/model/SyncParam.d.ts +11 -0
- package/v1/model/SyncParam.js +39 -0
- package/v1/model/SyncReq.d.ts +6 -0
- package/v1/model/SyncReq.js +14 -0
- package/v1/model/SyncRespBody.d.ts +11 -0
- package/v1/model/SyncRespBody.js +39 -0
- package/v1/model/UpdateBackupRequest.d.ts +10 -0
- package/v1/model/UpdateBackupRequest.js +28 -0
- package/v1/model/UpdateBackupResponse.d.ts +7 -0
- package/v1/model/UpdateBackupResponse.js +31 -0
- package/v1/model/UpdateOrderRequest.d.ts +10 -0
- package/v1/model/UpdateOrderRequest.js +28 -0
- package/v1/model/UpdateOrderResponse.d.ts +10 -0
- package/v1/model/UpdateOrderResponse.js +39 -0
- package/v1/model/VaultBatchUpdate.d.ts +9 -0
- package/v1/model/VaultBatchUpdate.js +27 -0
- package/v1/model/VaultCreate.d.ts +14 -0
- package/v1/model/VaultCreate.js +46 -0
- package/v1/model/VaultCreateParameters.d.ts +8 -0
- package/v1/model/VaultCreateParameters.js +23 -0
- package/v1/model/VaultCreateResource.d.ts +14 -0
- package/v1/model/VaultCreateResource.js +46 -0
- package/v1/model/VaultOrder.d.ts +46 -0
- package/v1/model/VaultOrder.js +123 -0
- package/v1/model/VaultOrderCreateReqs.d.ts +6 -0
- package/v1/model/VaultOrderCreateReqs.js +14 -0
- package/v1/model/VaultSetResourceReq.d.ts +17 -0
- package/v1/model/VaultSetResourceReq.js +38 -0
- package/v1/public-api.d.ts +55 -0
- package/v1/public-api.js +55 -0
@@ -0,0 +1,71 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ProjectsListInfo = void 0;
|
4
|
+
var ProjectsListInfo = /** @class */ (function () {
|
5
|
+
function ProjectsListInfo() {
|
6
|
+
}
|
7
|
+
ProjectsListInfo.prototype.withDomainId = function (domainId) {
|
8
|
+
this['domain_id'] = domainId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(ProjectsListInfo.prototype, "domainId", {
|
12
|
+
get: function () {
|
13
|
+
return this['domain_id'];
|
14
|
+
},
|
15
|
+
set: function (domainId) {
|
16
|
+
this['domain_id'] = domainId;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
ProjectsListInfo.prototype.withIsDomain = function (isDomain) {
|
22
|
+
this['is_domain'] = isDomain;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(ProjectsListInfo.prototype, "isDomain", {
|
26
|
+
get: function () {
|
27
|
+
return this['is_domain'];
|
28
|
+
},
|
29
|
+
set: function (isDomain) {
|
30
|
+
this['is_domain'] = isDomain;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
ProjectsListInfo.prototype.withParentId = function (parentId) {
|
36
|
+
this['parent_id'] = parentId;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
Object.defineProperty(ProjectsListInfo.prototype, "parentId", {
|
40
|
+
get: function () {
|
41
|
+
return this['parent_id'];
|
42
|
+
},
|
43
|
+
set: function (parentId) {
|
44
|
+
this['parent_id'] = parentId;
|
45
|
+
},
|
46
|
+
enumerable: false,
|
47
|
+
configurable: true
|
48
|
+
});
|
49
|
+
ProjectsListInfo.prototype.withName = function (name) {
|
50
|
+
this['name'] = name;
|
51
|
+
return this;
|
52
|
+
};
|
53
|
+
ProjectsListInfo.prototype.withDescription = function (description) {
|
54
|
+
this['description'] = description;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
ProjectsListInfo.prototype.withId = function (id) {
|
58
|
+
this['id'] = id;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
ProjectsListInfo.prototype.withEnabled = function (enabled) {
|
62
|
+
this['enabled'] = enabled;
|
63
|
+
return this;
|
64
|
+
};
|
65
|
+
ProjectsListInfo.prototype.withLinks = function (links) {
|
66
|
+
this['links'] = links;
|
67
|
+
return this;
|
68
|
+
};
|
69
|
+
return ProjectsListInfo;
|
70
|
+
}());
|
71
|
+
exports.ProjectsListInfo = ProjectsListInfo;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ProtectableAgentStatusResource } from './ProtectableAgentStatusResource';
|
2
|
+
export declare class ProtectableAgentReq {
|
3
|
+
private 'agent_status';
|
4
|
+
constructor(agentStatus?: any);
|
5
|
+
withAgentStatus(agentStatus: Array<ProtectableAgentStatusResource>): ProtectableAgentReq;
|
6
|
+
set agentStatus(agentStatus: Array<ProtectableAgentStatusResource> | undefined);
|
7
|
+
get agentStatus(): Array<ProtectableAgentStatusResource> | undefined;
|
8
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ProtectableAgentReq = void 0;
|
4
|
+
var ProtectableAgentReq = /** @class */ (function () {
|
5
|
+
function ProtectableAgentReq(agentStatus) {
|
6
|
+
this['agent_status'] = agentStatus;
|
7
|
+
}
|
8
|
+
ProtectableAgentReq.prototype.withAgentStatus = function (agentStatus) {
|
9
|
+
this['agent_status'] = agentStatus;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(ProtectableAgentReq.prototype, "agentStatus", {
|
13
|
+
get: function () {
|
14
|
+
return this['agent_status'];
|
15
|
+
},
|
16
|
+
set: function (agentStatus) {
|
17
|
+
this['agent_status'] = agentStatus;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
return ProtectableAgentReq;
|
23
|
+
}());
|
24
|
+
exports.ProtectableAgentReq = ProtectableAgentReq;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare class ProtectableAgentStatus {
|
2
|
+
code?: number;
|
3
|
+
installed?: boolean;
|
4
|
+
private 'is_old'?;
|
5
|
+
message?: string;
|
6
|
+
private 'resource_id'?;
|
7
|
+
version?: string;
|
8
|
+
constructor();
|
9
|
+
withCode(code: number): ProtectableAgentStatus;
|
10
|
+
withInstalled(installed: boolean): ProtectableAgentStatus;
|
11
|
+
withIsOld(isOld: boolean): ProtectableAgentStatus;
|
12
|
+
set isOld(isOld: boolean | undefined);
|
13
|
+
get isOld(): boolean | undefined;
|
14
|
+
withMessage(message: string): ProtectableAgentStatus;
|
15
|
+
withResourceId(resourceId: string): ProtectableAgentStatus;
|
16
|
+
set resourceId(resourceId: string | undefined);
|
17
|
+
get resourceId(): string | undefined;
|
18
|
+
withVersion(version: string): ProtectableAgentStatus;
|
19
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ProtectableAgentStatus = void 0;
|
4
|
+
var ProtectableAgentStatus = /** @class */ (function () {
|
5
|
+
function ProtectableAgentStatus() {
|
6
|
+
}
|
7
|
+
ProtectableAgentStatus.prototype.withCode = function (code) {
|
8
|
+
this['code'] = code;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
ProtectableAgentStatus.prototype.withInstalled = function (installed) {
|
12
|
+
this['installed'] = installed;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
ProtectableAgentStatus.prototype.withIsOld = function (isOld) {
|
16
|
+
this['is_old'] = isOld;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
Object.defineProperty(ProtectableAgentStatus.prototype, "isOld", {
|
20
|
+
get: function () {
|
21
|
+
return this['is_old'];
|
22
|
+
},
|
23
|
+
set: function (isOld) {
|
24
|
+
this['is_old'] = isOld;
|
25
|
+
},
|
26
|
+
enumerable: false,
|
27
|
+
configurable: true
|
28
|
+
});
|
29
|
+
ProtectableAgentStatus.prototype.withMessage = function (message) {
|
30
|
+
this['message'] = message;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
ProtectableAgentStatus.prototype.withResourceId = function (resourceId) {
|
34
|
+
this['resource_id'] = resourceId;
|
35
|
+
return this;
|
36
|
+
};
|
37
|
+
Object.defineProperty(ProtectableAgentStatus.prototype, "resourceId", {
|
38
|
+
get: function () {
|
39
|
+
return this['resource_id'];
|
40
|
+
},
|
41
|
+
set: function (resourceId) {
|
42
|
+
this['resource_id'] = resourceId;
|
43
|
+
},
|
44
|
+
enumerable: false,
|
45
|
+
configurable: true
|
46
|
+
});
|
47
|
+
ProtectableAgentStatus.prototype.withVersion = function (version) {
|
48
|
+
this['version'] = version;
|
49
|
+
return this;
|
50
|
+
};
|
51
|
+
return ProtectableAgentStatus;
|
52
|
+
}());
|
53
|
+
exports.ProtectableAgentStatus = ProtectableAgentStatus;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare class ProtectableAgentStatusResource {
|
2
|
+
private 'resource_id';
|
3
|
+
private 'resource_name'?;
|
4
|
+
private 'resource_type';
|
5
|
+
constructor(resourceId?: any, resourceType?: any);
|
6
|
+
withResourceId(resourceId: string): ProtectableAgentStatusResource;
|
7
|
+
set resourceId(resourceId: string | undefined);
|
8
|
+
get resourceId(): string | undefined;
|
9
|
+
withResourceName(resourceName: string): ProtectableAgentStatusResource;
|
10
|
+
set resourceName(resourceName: string | undefined);
|
11
|
+
get resourceName(): string | undefined;
|
12
|
+
withResourceType(resourceType: string): ProtectableAgentStatusResource;
|
13
|
+
set resourceType(resourceType: string | undefined);
|
14
|
+
get resourceType(): string | undefined;
|
15
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ProtectableAgentStatusResource = void 0;
|
4
|
+
var ProtectableAgentStatusResource = /** @class */ (function () {
|
5
|
+
function ProtectableAgentStatusResource(resourceId, resourceType) {
|
6
|
+
this['resource_id'] = resourceId;
|
7
|
+
this['resource_type'] = resourceType;
|
8
|
+
}
|
9
|
+
ProtectableAgentStatusResource.prototype.withResourceId = function (resourceId) {
|
10
|
+
this['resource_id'] = resourceId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(ProtectableAgentStatusResource.prototype, "resourceId", {
|
14
|
+
get: function () {
|
15
|
+
return this['resource_id'];
|
16
|
+
},
|
17
|
+
set: function (resourceId) {
|
18
|
+
this['resource_id'] = resourceId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
ProtectableAgentStatusResource.prototype.withResourceName = function (resourceName) {
|
24
|
+
this['resource_name'] = resourceName;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(ProtectableAgentStatusResource.prototype, "resourceName", {
|
28
|
+
get: function () {
|
29
|
+
return this['resource_name'];
|
30
|
+
},
|
31
|
+
set: function (resourceName) {
|
32
|
+
this['resource_name'] = resourceName;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
ProtectableAgentStatusResource.prototype.withResourceType = function (resourceType) {
|
38
|
+
this['resource_type'] = resourceType;
|
39
|
+
return this;
|
40
|
+
};
|
41
|
+
Object.defineProperty(ProtectableAgentStatusResource.prototype, "resourceType", {
|
42
|
+
get: function () {
|
43
|
+
return this['resource_type'];
|
44
|
+
},
|
45
|
+
set: function (resourceType) {
|
46
|
+
this['resource_type'] = resourceType;
|
47
|
+
},
|
48
|
+
enumerable: false,
|
49
|
+
configurable: true
|
50
|
+
});
|
51
|
+
return ProtectableAgentStatusResource;
|
52
|
+
}());
|
53
|
+
exports.ProtectableAgentStatusResource = ProtectableAgentStatusResource;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SelfLinksInfo = void 0;
|
4
|
+
var SelfLinksInfo = /** @class */ (function () {
|
5
|
+
function SelfLinksInfo() {
|
6
|
+
}
|
7
|
+
SelfLinksInfo.prototype.withSelf = function (self) {
|
8
|
+
this['self'] = self;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return SelfLinksInfo;
|
12
|
+
}());
|
13
|
+
exports.SelfLinksInfo = SelfLinksInfo;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { VaultSetResourceReq } from './VaultSetResourceReq';
|
2
|
+
export declare class SetVaultResourceRequest {
|
3
|
+
private 'vault_id';
|
4
|
+
body?: VaultSetResourceReq;
|
5
|
+
constructor(vaultId?: any);
|
6
|
+
withVaultId(vaultId: string): SetVaultResourceRequest;
|
7
|
+
set vaultId(vaultId: string | undefined);
|
8
|
+
get vaultId(): string | undefined;
|
9
|
+
withBody(body: VaultSetResourceReq): SetVaultResourceRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SetVaultResourceRequest = void 0;
|
4
|
+
var SetVaultResourceRequest = /** @class */ (function () {
|
5
|
+
function SetVaultResourceRequest(vaultId) {
|
6
|
+
this['vault_id'] = vaultId;
|
7
|
+
}
|
8
|
+
SetVaultResourceRequest.prototype.withVaultId = function (vaultId) {
|
9
|
+
this['vault_id'] = vaultId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(SetVaultResourceRequest.prototype, "vaultId", {
|
13
|
+
get: function () {
|
14
|
+
return this['vault_id'];
|
15
|
+
},
|
16
|
+
set: function (vaultId) {
|
17
|
+
this['vault_id'] = vaultId;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
SetVaultResourceRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return SetVaultResourceRequest;
|
27
|
+
}());
|
28
|
+
exports.SetVaultResourceRequest = SetVaultResourceRequest;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
|
+
export declare class SetVaultResourceResponse extends SdkResponse {
|
3
|
+
private 'set_resource_ids'?;
|
4
|
+
constructor();
|
5
|
+
withSetResourceIds(setResourceIds: Array<string>): SetVaultResourceResponse;
|
6
|
+
set setResourceIds(setResourceIds: Array<string> | undefined);
|
7
|
+
get setResourceIds(): Array<string> | undefined;
|
8
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.SetVaultResourceResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var SetVaultResourceResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(SetVaultResourceResponse, _super);
|
22
|
+
function SetVaultResourceResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
SetVaultResourceResponse.prototype.withSetResourceIds = function (setResourceIds) {
|
26
|
+
this['set_resource_ids'] = setResourceIds;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(SetVaultResourceResponse.prototype, "setResourceIds", {
|
30
|
+
get: function () {
|
31
|
+
return this['set_resource_ids'];
|
32
|
+
},
|
33
|
+
set: function (setResourceIds) {
|
34
|
+
this['set_resource_ids'] = setResourceIds;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
return SetVaultResourceResponse;
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
41
|
+
exports.SetVaultResourceResponse = SetVaultResourceResponse;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export declare class ShowDomainRequest {
|
2
|
+
private 'source_project_id';
|
3
|
+
constructor(sourceProjectId?: any);
|
4
|
+
withSourceProjectId(sourceProjectId: string): ShowDomainRequest;
|
5
|
+
set sourceProjectId(sourceProjectId: string | undefined);
|
6
|
+
get sourceProjectId(): string | undefined;
|
7
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ShowDomainRequest = void 0;
|
4
|
+
var ShowDomainRequest = /** @class */ (function () {
|
5
|
+
function ShowDomainRequest(sourceProjectId) {
|
6
|
+
this['source_project_id'] = sourceProjectId;
|
7
|
+
}
|
8
|
+
ShowDomainRequest.prototype.withSourceProjectId = function (sourceProjectId) {
|
9
|
+
this['source_project_id'] = sourceProjectId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(ShowDomainRequest.prototype, "sourceProjectId", {
|
13
|
+
get: function () {
|
14
|
+
return this['source_project_id'];
|
15
|
+
},
|
16
|
+
set: function (sourceProjectId) {
|
17
|
+
this['source_project_id'] = sourceProjectId;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
return ShowDomainRequest;
|
23
|
+
}());
|
24
|
+
exports.ShowDomainRequest = ShowDomainRequest;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
|
+
export declare class ShowDomainResponse extends SdkResponse {
|
3
|
+
private 'project_name'?;
|
4
|
+
private 'project_id'?;
|
5
|
+
private 'domain_id'?;
|
6
|
+
private 'domain_name'?;
|
7
|
+
constructor();
|
8
|
+
withProjectName(projectName: string): ShowDomainResponse;
|
9
|
+
set projectName(projectName: string | undefined);
|
10
|
+
get projectName(): string | undefined;
|
11
|
+
withProjectId(projectId: string): ShowDomainResponse;
|
12
|
+
set projectId(projectId: string | undefined);
|
13
|
+
get projectId(): string | undefined;
|
14
|
+
withDomainId(domainId: string): ShowDomainResponse;
|
15
|
+
set domainId(domainId: string | undefined);
|
16
|
+
get domainId(): string | undefined;
|
17
|
+
withDomainName(domainName: string): ShowDomainResponse;
|
18
|
+
set domainName(domainName: string | undefined);
|
19
|
+
get domainName(): string | undefined;
|
20
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.ShowDomainResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ShowDomainResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ShowDomainResponse, _super);
|
22
|
+
function ShowDomainResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ShowDomainResponse.prototype.withProjectName = function (projectName) {
|
26
|
+
this['project_name'] = projectName;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(ShowDomainResponse.prototype, "projectName", {
|
30
|
+
get: function () {
|
31
|
+
return this['project_name'];
|
32
|
+
},
|
33
|
+
set: function (projectName) {
|
34
|
+
this['project_name'] = projectName;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
ShowDomainResponse.prototype.withProjectId = function (projectId) {
|
40
|
+
this['project_id'] = projectId;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
Object.defineProperty(ShowDomainResponse.prototype, "projectId", {
|
44
|
+
get: function () {
|
45
|
+
return this['project_id'];
|
46
|
+
},
|
47
|
+
set: function (projectId) {
|
48
|
+
this['project_id'] = projectId;
|
49
|
+
},
|
50
|
+
enumerable: false,
|
51
|
+
configurable: true
|
52
|
+
});
|
53
|
+
ShowDomainResponse.prototype.withDomainId = function (domainId) {
|
54
|
+
this['domain_id'] = domainId;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
Object.defineProperty(ShowDomainResponse.prototype, "domainId", {
|
58
|
+
get: function () {
|
59
|
+
return this['domain_id'];
|
60
|
+
},
|
61
|
+
set: function (domainId) {
|
62
|
+
this['domain_id'] = domainId;
|
63
|
+
},
|
64
|
+
enumerable: false,
|
65
|
+
configurable: true
|
66
|
+
});
|
67
|
+
ShowDomainResponse.prototype.withDomainName = function (domainName) {
|
68
|
+
this['domain_name'] = domainName;
|
69
|
+
return this;
|
70
|
+
};
|
71
|
+
Object.defineProperty(ShowDomainResponse.prototype, "domainName", {
|
72
|
+
get: function () {
|
73
|
+
return this['domain_name'];
|
74
|
+
},
|
75
|
+
set: function (domainName) {
|
76
|
+
this['domain_name'] = domainName;
|
77
|
+
},
|
78
|
+
enumerable: false,
|
79
|
+
configurable: true
|
80
|
+
});
|
81
|
+
return ShowDomainResponse;
|
82
|
+
}(SdkResponse_1.SdkResponse));
|
83
|
+
exports.ShowDomainResponse = ShowDomainResponse;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ShowMetadataRequest = void 0;
|
4
|
+
var ShowMetadataRequest = /** @class */ (function () {
|
5
|
+
function ShowMetadataRequest(backupId) {
|
6
|
+
this['backup_id'] = backupId;
|
7
|
+
}
|
8
|
+
ShowMetadataRequest.prototype.withBackupId = function (backupId) {
|
9
|
+
this['backup_id'] = backupId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(ShowMetadataRequest.prototype, "backupId", {
|
13
|
+
get: function () {
|
14
|
+
return this['backup_id'];
|
15
|
+
},
|
16
|
+
set: function (backupId) {
|
17
|
+
this['backup_id'] = backupId;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
return ShowMetadataRequest;
|
23
|
+
}());
|
24
|
+
exports.ShowMetadataRequest = ShowMetadataRequest;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
|
+
export declare class ShowMetadataResponse extends SdkResponse {
|
3
|
+
private 'backup_id'?;
|
4
|
+
backups?: string;
|
5
|
+
flavor?: string;
|
6
|
+
floatingips?: Array<string>;
|
7
|
+
private 'interface'?;
|
8
|
+
ports?: Array<string>;
|
9
|
+
server?: string;
|
10
|
+
volumes?: Array<string>;
|
11
|
+
constructor();
|
12
|
+
withBackupId(backupId: string): ShowMetadataResponse;
|
13
|
+
set backupId(backupId: string | undefined);
|
14
|
+
get backupId(): string | undefined;
|
15
|
+
withBackups(backups: string): ShowMetadataResponse;
|
16
|
+
withFlavor(flavor: string): ShowMetadataResponse;
|
17
|
+
withFloatingips(floatingips: Array<string>): ShowMetadataResponse;
|
18
|
+
withInterface(_interface: string): ShowMetadataResponse;
|
19
|
+
set _interface(_interface: string | undefined);
|
20
|
+
get _interface(): string | undefined;
|
21
|
+
withPorts(ports: Array<string>): ShowMetadataResponse;
|
22
|
+
withServer(server: string): ShowMetadataResponse;
|
23
|
+
withVolumes(volumes: Array<string>): ShowMetadataResponse;
|
24
|
+
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.ShowMetadataResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ShowMetadataResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ShowMetadataResponse, _super);
|
22
|
+
function ShowMetadataResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ShowMetadataResponse.prototype.withBackupId = function (backupId) {
|
26
|
+
this['backup_id'] = backupId;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(ShowMetadataResponse.prototype, "backupId", {
|
30
|
+
get: function () {
|
31
|
+
return this['backup_id'];
|
32
|
+
},
|
33
|
+
set: function (backupId) {
|
34
|
+
this['backup_id'] = backupId;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
ShowMetadataResponse.prototype.withBackups = function (backups) {
|
40
|
+
this['backups'] = backups;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
ShowMetadataResponse.prototype.withFlavor = function (flavor) {
|
44
|
+
this['flavor'] = flavor;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
ShowMetadataResponse.prototype.withFloatingips = function (floatingips) {
|
48
|
+
this['floatingips'] = floatingips;
|
49
|
+
return this;
|
50
|
+
};
|
51
|
+
ShowMetadataResponse.prototype.withInterface = function (_interface) {
|
52
|
+
this['interface'] = _interface;
|
53
|
+
return this;
|
54
|
+
};
|
55
|
+
Object.defineProperty(ShowMetadataResponse.prototype, "_interface", {
|
56
|
+
get: function () {
|
57
|
+
return this['interface'];
|
58
|
+
},
|
59
|
+
set: function (_interface) {
|
60
|
+
this['interface'] = _interface;
|
61
|
+
},
|
62
|
+
enumerable: false,
|
63
|
+
configurable: true
|
64
|
+
});
|
65
|
+
ShowMetadataResponse.prototype.withPorts = function (ports) {
|
66
|
+
this['ports'] = ports;
|
67
|
+
return this;
|
68
|
+
};
|
69
|
+
ShowMetadataResponse.prototype.withServer = function (server) {
|
70
|
+
this['server'] = server;
|
71
|
+
return this;
|
72
|
+
};
|
73
|
+
ShowMetadataResponse.prototype.withVolumes = function (volumes) {
|
74
|
+
this['volumes'] = volumes;
|
75
|
+
return this;
|
76
|
+
};
|
77
|
+
return ShowMetadataResponse;
|
78
|
+
}(SdkResponse_1.SdkResponse));
|
79
|
+
exports.ShowMetadataResponse = ShowMetadataResponse;
|