@huaweicloud/huaweicloud-sdk-cbr 3.1.38 → 3.1.39
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 +409 -0
- package/v1/CbrClient.js +828 -7
- 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/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 +4 -0
- package/v1/model/UpdateOrderResponse.js +27 -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 +53 -0
- package/v1/public-api.js +53 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare class VaultBatchUpdate {
|
2
|
+
private 'smn_notify'?;
|
3
|
+
threshold?: number;
|
4
|
+
constructor();
|
5
|
+
withSmnNotify(smnNotify: boolean): VaultBatchUpdate;
|
6
|
+
set smnNotify(smnNotify: boolean | undefined);
|
7
|
+
get smnNotify(): boolean | undefined;
|
8
|
+
withThreshold(threshold: number): VaultBatchUpdate;
|
9
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultBatchUpdate = void 0;
|
4
|
+
var VaultBatchUpdate = /** @class */ (function () {
|
5
|
+
function VaultBatchUpdate() {
|
6
|
+
}
|
7
|
+
VaultBatchUpdate.prototype.withSmnNotify = function (smnNotify) {
|
8
|
+
this['smn_notify'] = smnNotify;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(VaultBatchUpdate.prototype, "smnNotify", {
|
12
|
+
get: function () {
|
13
|
+
return this['smn_notify'];
|
14
|
+
},
|
15
|
+
set: function (smnNotify) {
|
16
|
+
this['smn_notify'] = smnNotify;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
VaultBatchUpdate.prototype.withThreshold = function (threshold) {
|
22
|
+
this['threshold'] = threshold;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
return VaultBatchUpdate;
|
26
|
+
}());
|
27
|
+
exports.VaultBatchUpdate = VaultBatchUpdate;
|
@@ -13,6 +13,10 @@ export declare class VaultCreate {
|
|
13
13
|
private 'auto_bind'?;
|
14
14
|
private 'bind_rules'?;
|
15
15
|
private 'auto_expand'?;
|
16
|
+
threshold?: number;
|
17
|
+
private 'smn_notify'?;
|
18
|
+
private 'backup_name_prefix'?;
|
19
|
+
private 'demand_billing'?;
|
16
20
|
constructor(billing?: any, name?: any, resources?: any);
|
17
21
|
withBackupPolicyId(backupPolicyId: string): VaultCreate;
|
18
22
|
set backupPolicyId(backupPolicyId: string | undefined);
|
@@ -34,4 +38,14 @@ export declare class VaultCreate {
|
|
34
38
|
withAutoExpand(autoExpand: boolean): VaultCreate;
|
35
39
|
set autoExpand(autoExpand: boolean | undefined);
|
36
40
|
get autoExpand(): boolean | undefined;
|
41
|
+
withThreshold(threshold: number): VaultCreate;
|
42
|
+
withSmnNotify(smnNotify: boolean): VaultCreate;
|
43
|
+
set smnNotify(smnNotify: boolean | undefined);
|
44
|
+
get smnNotify(): boolean | undefined;
|
45
|
+
withBackupNamePrefix(backupNamePrefix: string): VaultCreate;
|
46
|
+
set backupNamePrefix(backupNamePrefix: string | undefined);
|
47
|
+
get backupNamePrefix(): string | undefined;
|
48
|
+
withDemandBilling(demandBilling: boolean): VaultCreate;
|
49
|
+
set demandBilling(demandBilling: boolean | undefined);
|
50
|
+
get demandBilling(): boolean | undefined;
|
37
51
|
}
|
package/v1/model/VaultCreate.js
CHANGED
@@ -97,6 +97,52 @@ var VaultCreate = /** @class */ (function () {
|
|
97
97
|
enumerable: false,
|
98
98
|
configurable: true
|
99
99
|
});
|
100
|
+
VaultCreate.prototype.withThreshold = function (threshold) {
|
101
|
+
this['threshold'] = threshold;
|
102
|
+
return this;
|
103
|
+
};
|
104
|
+
VaultCreate.prototype.withSmnNotify = function (smnNotify) {
|
105
|
+
this['smn_notify'] = smnNotify;
|
106
|
+
return this;
|
107
|
+
};
|
108
|
+
Object.defineProperty(VaultCreate.prototype, "smnNotify", {
|
109
|
+
get: function () {
|
110
|
+
return this['smn_notify'];
|
111
|
+
},
|
112
|
+
set: function (smnNotify) {
|
113
|
+
this['smn_notify'] = smnNotify;
|
114
|
+
},
|
115
|
+
enumerable: false,
|
116
|
+
configurable: true
|
117
|
+
});
|
118
|
+
VaultCreate.prototype.withBackupNamePrefix = function (backupNamePrefix) {
|
119
|
+
this['backup_name_prefix'] = backupNamePrefix;
|
120
|
+
return this;
|
121
|
+
};
|
122
|
+
Object.defineProperty(VaultCreate.prototype, "backupNamePrefix", {
|
123
|
+
get: function () {
|
124
|
+
return this['backup_name_prefix'];
|
125
|
+
},
|
126
|
+
set: function (backupNamePrefix) {
|
127
|
+
this['backup_name_prefix'] = backupNamePrefix;
|
128
|
+
},
|
129
|
+
enumerable: false,
|
130
|
+
configurable: true
|
131
|
+
});
|
132
|
+
VaultCreate.prototype.withDemandBilling = function (demandBilling) {
|
133
|
+
this['demand_billing'] = demandBilling;
|
134
|
+
return this;
|
135
|
+
};
|
136
|
+
Object.defineProperty(VaultCreate.prototype, "demandBilling", {
|
137
|
+
get: function () {
|
138
|
+
return this['demand_billing'];
|
139
|
+
},
|
140
|
+
set: function (demandBilling) {
|
141
|
+
this['demand_billing'] = demandBilling;
|
142
|
+
},
|
143
|
+
enumerable: false,
|
144
|
+
configurable: true
|
145
|
+
});
|
100
146
|
return VaultCreate;
|
101
147
|
}());
|
102
148
|
exports.VaultCreate = VaultCreate;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { CombinedOrder } from './CombinedOrder';
|
2
|
+
export declare class VaultCreateParameters {
|
3
|
+
private 'combined_order'?;
|
4
|
+
constructor();
|
5
|
+
withCombinedOrder(combinedOrder: CombinedOrder): VaultCreateParameters;
|
6
|
+
set combinedOrder(combinedOrder: CombinedOrder | undefined);
|
7
|
+
get combinedOrder(): CombinedOrder | undefined;
|
8
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultCreateParameters = void 0;
|
4
|
+
var VaultCreateParameters = /** @class */ (function () {
|
5
|
+
function VaultCreateParameters() {
|
6
|
+
}
|
7
|
+
VaultCreateParameters.prototype.withCombinedOrder = function (combinedOrder) {
|
8
|
+
this['combined_order'] = combinedOrder;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(VaultCreateParameters.prototype, "combinedOrder", {
|
12
|
+
get: function () {
|
13
|
+
return this['combined_order'];
|
14
|
+
},
|
15
|
+
set: function (combinedOrder) {
|
16
|
+
this['combined_order'] = combinedOrder;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
return VaultCreateParameters;
|
22
|
+
}());
|
23
|
+
exports.VaultCreateParameters = VaultCreateParameters;
|
@@ -23,6 +23,10 @@ export declare class VaultCreateResource {
|
|
23
23
|
errText?: string;
|
24
24
|
retCode?: string;
|
25
25
|
orders?: Array<CbcOrderResult>;
|
26
|
+
private 'backup_name_prefix'?;
|
27
|
+
private 'demand_billing'?;
|
28
|
+
private 'cbc_delete_count'?;
|
29
|
+
frozen?: boolean;
|
26
30
|
constructor(billing?: any, id?: any, name?: any, projectId?: any, providerId?: any, resources?: any);
|
27
31
|
withBilling(billing: Billing): VaultCreateResource;
|
28
32
|
withDescription(description: string): VaultCreateResource;
|
@@ -61,4 +65,14 @@ export declare class VaultCreateResource {
|
|
61
65
|
withErrText(errText: string): VaultCreateResource;
|
62
66
|
withRetCode(retCode: string): VaultCreateResource;
|
63
67
|
withOrders(orders: Array<CbcOrderResult>): VaultCreateResource;
|
68
|
+
withBackupNamePrefix(backupNamePrefix: string): VaultCreateResource;
|
69
|
+
set backupNamePrefix(backupNamePrefix: string | undefined);
|
70
|
+
get backupNamePrefix(): string | undefined;
|
71
|
+
withDemandBilling(demandBilling: boolean): VaultCreateResource;
|
72
|
+
set demandBilling(demandBilling: boolean | undefined);
|
73
|
+
get demandBilling(): boolean | undefined;
|
74
|
+
withCbcDeleteCount(cbcDeleteCount: number): VaultCreateResource;
|
75
|
+
set cbcDeleteCount(cbcDeleteCount: number | undefined);
|
76
|
+
get cbcDeleteCount(): number | undefined;
|
77
|
+
withFrozen(frozen: boolean): VaultCreateResource;
|
64
78
|
}
|
@@ -176,6 +176,52 @@ var VaultCreateResource = /** @class */ (function () {
|
|
176
176
|
this['orders'] = orders;
|
177
177
|
return this;
|
178
178
|
};
|
179
|
+
VaultCreateResource.prototype.withBackupNamePrefix = function (backupNamePrefix) {
|
180
|
+
this['backup_name_prefix'] = backupNamePrefix;
|
181
|
+
return this;
|
182
|
+
};
|
183
|
+
Object.defineProperty(VaultCreateResource.prototype, "backupNamePrefix", {
|
184
|
+
get: function () {
|
185
|
+
return this['backup_name_prefix'];
|
186
|
+
},
|
187
|
+
set: function (backupNamePrefix) {
|
188
|
+
this['backup_name_prefix'] = backupNamePrefix;
|
189
|
+
},
|
190
|
+
enumerable: false,
|
191
|
+
configurable: true
|
192
|
+
});
|
193
|
+
VaultCreateResource.prototype.withDemandBilling = function (demandBilling) {
|
194
|
+
this['demand_billing'] = demandBilling;
|
195
|
+
return this;
|
196
|
+
};
|
197
|
+
Object.defineProperty(VaultCreateResource.prototype, "demandBilling", {
|
198
|
+
get: function () {
|
199
|
+
return this['demand_billing'];
|
200
|
+
},
|
201
|
+
set: function (demandBilling) {
|
202
|
+
this['demand_billing'] = demandBilling;
|
203
|
+
},
|
204
|
+
enumerable: false,
|
205
|
+
configurable: true
|
206
|
+
});
|
207
|
+
VaultCreateResource.prototype.withCbcDeleteCount = function (cbcDeleteCount) {
|
208
|
+
this['cbc_delete_count'] = cbcDeleteCount;
|
209
|
+
return this;
|
210
|
+
};
|
211
|
+
Object.defineProperty(VaultCreateResource.prototype, "cbcDeleteCount", {
|
212
|
+
get: function () {
|
213
|
+
return this['cbc_delete_count'];
|
214
|
+
},
|
215
|
+
set: function (cbcDeleteCount) {
|
216
|
+
this['cbc_delete_count'] = cbcDeleteCount;
|
217
|
+
},
|
218
|
+
enumerable: false,
|
219
|
+
configurable: true
|
220
|
+
});
|
221
|
+
VaultCreateResource.prototype.withFrozen = function (frozen) {
|
222
|
+
this['frozen'] = frozen;
|
223
|
+
return this;
|
224
|
+
};
|
179
225
|
return VaultCreateResource;
|
180
226
|
}());
|
181
227
|
exports.VaultCreateResource = VaultCreateResource;
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { BillingCreate } from './BillingCreate';
|
2
|
+
import { ResourceCreate } from './ResourceCreate';
|
3
|
+
import { Tag } from './Tag';
|
4
|
+
import { VaultBindRules } from './VaultBindRules';
|
5
|
+
import { VaultCreateParameters } from './VaultCreateParameters';
|
6
|
+
export declare class VaultOrder {
|
7
|
+
name?: string;
|
8
|
+
billing: BillingCreate;
|
9
|
+
resources: Array<ResourceCreate>;
|
10
|
+
description?: string;
|
11
|
+
private 'backup_policy_id'?;
|
12
|
+
tags?: Array<Tag>;
|
13
|
+
private 'enterprise_project_id'?;
|
14
|
+
private 'auto_bind'?;
|
15
|
+
private 'bind_rules'?;
|
16
|
+
threshold?: number;
|
17
|
+
private 'smn_notify'?;
|
18
|
+
parameters?: VaultCreateParameters;
|
19
|
+
private 'auto_expand'?;
|
20
|
+
constructor(billing?: any, resources?: any);
|
21
|
+
withName(name: string): VaultOrder;
|
22
|
+
withBilling(billing: BillingCreate): VaultOrder;
|
23
|
+
withResources(resources: Array<ResourceCreate>): VaultOrder;
|
24
|
+
withDescription(description: string): VaultOrder;
|
25
|
+
withBackupPolicyId(backupPolicyId: string): VaultOrder;
|
26
|
+
set backupPolicyId(backupPolicyId: string | undefined);
|
27
|
+
get backupPolicyId(): string | undefined;
|
28
|
+
withTags(tags: Array<Tag>): VaultOrder;
|
29
|
+
withEnterpriseProjectId(enterpriseProjectId: string): VaultOrder;
|
30
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
31
|
+
get enterpriseProjectId(): string | undefined;
|
32
|
+
withAutoBind(autoBind: boolean): VaultOrder;
|
33
|
+
set autoBind(autoBind: boolean | undefined);
|
34
|
+
get autoBind(): boolean | undefined;
|
35
|
+
withBindRules(bindRules: VaultBindRules): VaultOrder;
|
36
|
+
set bindRules(bindRules: VaultBindRules | undefined);
|
37
|
+
get bindRules(): VaultBindRules | undefined;
|
38
|
+
withThreshold(threshold: number): VaultOrder;
|
39
|
+
withSmnNotify(smnNotify: boolean): VaultOrder;
|
40
|
+
set smnNotify(smnNotify: boolean | undefined);
|
41
|
+
get smnNotify(): boolean | undefined;
|
42
|
+
withParameters(parameters: VaultCreateParameters): VaultOrder;
|
43
|
+
withAutoExpand(autoExpand: boolean): VaultOrder;
|
44
|
+
set autoExpand(autoExpand: boolean | undefined);
|
45
|
+
get autoExpand(): boolean | undefined;
|
46
|
+
}
|
@@ -0,0 +1,123 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultOrder = void 0;
|
4
|
+
var VaultOrder = /** @class */ (function () {
|
5
|
+
function VaultOrder(billing, resources) {
|
6
|
+
this['billing'] = billing;
|
7
|
+
this['resources'] = resources;
|
8
|
+
}
|
9
|
+
VaultOrder.prototype.withName = function (name) {
|
10
|
+
this['name'] = name;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
VaultOrder.prototype.withBilling = function (billing) {
|
14
|
+
this['billing'] = billing;
|
15
|
+
return this;
|
16
|
+
};
|
17
|
+
VaultOrder.prototype.withResources = function (resources) {
|
18
|
+
this['resources'] = resources;
|
19
|
+
return this;
|
20
|
+
};
|
21
|
+
VaultOrder.prototype.withDescription = function (description) {
|
22
|
+
this['description'] = description;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
VaultOrder.prototype.withBackupPolicyId = function (backupPolicyId) {
|
26
|
+
this['backup_policy_id'] = backupPolicyId;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(VaultOrder.prototype, "backupPolicyId", {
|
30
|
+
get: function () {
|
31
|
+
return this['backup_policy_id'];
|
32
|
+
},
|
33
|
+
set: function (backupPolicyId) {
|
34
|
+
this['backup_policy_id'] = backupPolicyId;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
VaultOrder.prototype.withTags = function (tags) {
|
40
|
+
this['tags'] = tags;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
VaultOrder.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
44
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
Object.defineProperty(VaultOrder.prototype, "enterpriseProjectId", {
|
48
|
+
get: function () {
|
49
|
+
return this['enterprise_project_id'];
|
50
|
+
},
|
51
|
+
set: function (enterpriseProjectId) {
|
52
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
53
|
+
},
|
54
|
+
enumerable: false,
|
55
|
+
configurable: true
|
56
|
+
});
|
57
|
+
VaultOrder.prototype.withAutoBind = function (autoBind) {
|
58
|
+
this['auto_bind'] = autoBind;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
Object.defineProperty(VaultOrder.prototype, "autoBind", {
|
62
|
+
get: function () {
|
63
|
+
return this['auto_bind'];
|
64
|
+
},
|
65
|
+
set: function (autoBind) {
|
66
|
+
this['auto_bind'] = autoBind;
|
67
|
+
},
|
68
|
+
enumerable: false,
|
69
|
+
configurable: true
|
70
|
+
});
|
71
|
+
VaultOrder.prototype.withBindRules = function (bindRules) {
|
72
|
+
this['bind_rules'] = bindRules;
|
73
|
+
return this;
|
74
|
+
};
|
75
|
+
Object.defineProperty(VaultOrder.prototype, "bindRules", {
|
76
|
+
get: function () {
|
77
|
+
return this['bind_rules'];
|
78
|
+
},
|
79
|
+
set: function (bindRules) {
|
80
|
+
this['bind_rules'] = bindRules;
|
81
|
+
},
|
82
|
+
enumerable: false,
|
83
|
+
configurable: true
|
84
|
+
});
|
85
|
+
VaultOrder.prototype.withThreshold = function (threshold) {
|
86
|
+
this['threshold'] = threshold;
|
87
|
+
return this;
|
88
|
+
};
|
89
|
+
VaultOrder.prototype.withSmnNotify = function (smnNotify) {
|
90
|
+
this['smn_notify'] = smnNotify;
|
91
|
+
return this;
|
92
|
+
};
|
93
|
+
Object.defineProperty(VaultOrder.prototype, "smnNotify", {
|
94
|
+
get: function () {
|
95
|
+
return this['smn_notify'];
|
96
|
+
},
|
97
|
+
set: function (smnNotify) {
|
98
|
+
this['smn_notify'] = smnNotify;
|
99
|
+
},
|
100
|
+
enumerable: false,
|
101
|
+
configurable: true
|
102
|
+
});
|
103
|
+
VaultOrder.prototype.withParameters = function (parameters) {
|
104
|
+
this['parameters'] = parameters;
|
105
|
+
return this;
|
106
|
+
};
|
107
|
+
VaultOrder.prototype.withAutoExpand = function (autoExpand) {
|
108
|
+
this['auto_expand'] = autoExpand;
|
109
|
+
return this;
|
110
|
+
};
|
111
|
+
Object.defineProperty(VaultOrder.prototype, "autoExpand", {
|
112
|
+
get: function () {
|
113
|
+
return this['auto_expand'];
|
114
|
+
},
|
115
|
+
set: function (autoExpand) {
|
116
|
+
this['auto_expand'] = autoExpand;
|
117
|
+
},
|
118
|
+
enumerable: false,
|
119
|
+
configurable: true
|
120
|
+
});
|
121
|
+
return VaultOrder;
|
122
|
+
}());
|
123
|
+
exports.VaultOrder = VaultOrder;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultOrderCreateReqs = void 0;
|
4
|
+
var VaultOrderCreateReqs = /** @class */ (function () {
|
5
|
+
function VaultOrderCreateReqs(vault) {
|
6
|
+
this['vault'] = vault;
|
7
|
+
}
|
8
|
+
VaultOrderCreateReqs.prototype.withVault = function (vault) {
|
9
|
+
this['vault'] = vault;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
return VaultOrderCreateReqs;
|
13
|
+
}());
|
14
|
+
exports.VaultOrderCreateReqs = VaultOrderCreateReqs;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare class VaultSetResourceReq {
|
2
|
+
private 'resource_ids';
|
3
|
+
action: VaultSetResourceReqActionEnum;
|
4
|
+
constructor(resourceIds?: any, action?: any);
|
5
|
+
withResourceIds(resourceIds: Array<string>): VaultSetResourceReq;
|
6
|
+
set resourceIds(resourceIds: Array<string> | undefined);
|
7
|
+
get resourceIds(): Array<string> | undefined;
|
8
|
+
withAction(action: VaultSetResourceReqActionEnum): VaultSetResourceReq;
|
9
|
+
}
|
10
|
+
/**
|
11
|
+
* @export
|
12
|
+
* @enum {string}
|
13
|
+
*/
|
14
|
+
export declare enum VaultSetResourceReqActionEnum {
|
15
|
+
SUSPEND = "suspend",
|
16
|
+
UNSUSPEND = "unsuspend"
|
17
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultSetResourceReqActionEnum = exports.VaultSetResourceReq = void 0;
|
4
|
+
var VaultSetResourceReq = /** @class */ (function () {
|
5
|
+
function VaultSetResourceReq(resourceIds, action) {
|
6
|
+
this['resource_ids'] = resourceIds;
|
7
|
+
this['action'] = action;
|
8
|
+
}
|
9
|
+
VaultSetResourceReq.prototype.withResourceIds = function (resourceIds) {
|
10
|
+
this['resource_ids'] = resourceIds;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(VaultSetResourceReq.prototype, "resourceIds", {
|
14
|
+
get: function () {
|
15
|
+
return this['resource_ids'];
|
16
|
+
},
|
17
|
+
set: function (resourceIds) {
|
18
|
+
this['resource_ids'] = resourceIds;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
VaultSetResourceReq.prototype.withAction = function (action) {
|
24
|
+
this['action'] = action;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
return VaultSetResourceReq;
|
28
|
+
}());
|
29
|
+
exports.VaultSetResourceReq = VaultSetResourceReq;
|
30
|
+
/**
|
31
|
+
* @export
|
32
|
+
* @enum {string}
|
33
|
+
*/
|
34
|
+
var VaultSetResourceReqActionEnum;
|
35
|
+
(function (VaultSetResourceReqActionEnum) {
|
36
|
+
VaultSetResourceReqActionEnum["SUSPEND"] = "suspend";
|
37
|
+
VaultSetResourceReqActionEnum["UNSUSPEND"] = "unsuspend";
|
38
|
+
})(VaultSetResourceReqActionEnum = exports.VaultSetResourceReqActionEnum || (exports.VaultSetResourceReqActionEnum = {}));
|
package/v1/public-api.d.ts
CHANGED
@@ -26,14 +26,23 @@ export * from './model/BackupRestoreServerMapping';
|
|
26
26
|
export * from './model/BackupSync';
|
27
27
|
export * from './model/BackupSyncReq';
|
28
28
|
export * from './model/BackupSyncRespBody';
|
29
|
+
export * from './model/BackupUpdate';
|
30
|
+
export * from './model/BackupUpdateReq';
|
29
31
|
export * from './model/BatchCreateAndDeleteVaultTagsRequest';
|
30
32
|
export * from './model/BatchCreateAndDeleteVaultTagsResponse';
|
33
|
+
export * from './model/BatchUpdateVaultRequest';
|
34
|
+
export * from './model/BatchUpdateVaultRequestBody';
|
35
|
+
export * from './model/BatchUpdateVaultResponse';
|
31
36
|
export * from './model/Billing';
|
32
37
|
export * from './model/BillingCreate';
|
33
38
|
export * from './model/BillingUpdate';
|
34
39
|
export * from './model/BindRulesTags';
|
35
40
|
export * from './model/BulkCreateAndDeleteVaultTagsReq';
|
36
41
|
export * from './model/CbcOrderResult';
|
42
|
+
export * from './model/CbcProductInfoUpdate';
|
43
|
+
export * from './model/CbcUpdate';
|
44
|
+
export * from './model/CheckAgentRequest';
|
45
|
+
export * from './model/CheckAgentResponse';
|
37
46
|
export * from './model/CheckpointCreate';
|
38
47
|
export * from './model/CheckpointCreateSkippedResource';
|
39
48
|
export * from './model/CheckpointExtraInfoResp';
|
@@ -44,6 +53,7 @@ export * from './model/CheckpointReplicateReq';
|
|
44
53
|
export * from './model/CheckpointReplicateRespBody';
|
45
54
|
export * from './model/CheckpointReplicateRespbackups';
|
46
55
|
export * from './model/CheckpointResourceResp';
|
56
|
+
export * from './model/CombinedOrder';
|
47
57
|
export * from './model/CopyBackupRequest';
|
48
58
|
export * from './model/CopyBackupResponse';
|
49
59
|
export * from './model/CopyCheckpointRequest';
|
@@ -52,6 +62,8 @@ export * from './model/CreateCheckpointRequest';
|
|
52
62
|
export * from './model/CreateCheckpointResponse';
|
53
63
|
export * from './model/CreatePolicyRequest';
|
54
64
|
export * from './model/CreatePolicyResponse';
|
65
|
+
export * from './model/CreatePostPaidVaultRequest';
|
66
|
+
export * from './model/CreatePostPaidVaultResponse';
|
55
67
|
export * from './model/CreateVaultRequest';
|
56
68
|
export * from './model/CreateVaultResponse';
|
57
69
|
export * from './model/CreateVaultTagsRequest';
|
@@ -68,24 +80,37 @@ export * from './model/DeleteVaultTagRequest';
|
|
68
80
|
export * from './model/DeleteVaultTagResponse';
|
69
81
|
export * from './model/DisassociateVaultPolicyRequest';
|
70
82
|
export * from './model/DisassociateVaultPolicyResponse';
|
83
|
+
export * from './model/DomainMigrate';
|
84
|
+
export * from './model/DomainMigrateProjectStatus';
|
85
|
+
export * from './model/DomainProjectsInfo';
|
71
86
|
export * from './model/ImageData';
|
72
87
|
export * from './model/ImportBackupRequest';
|
73
88
|
export * from './model/ImportBackupResponse';
|
89
|
+
export * from './model/ImportCheckpointRequest';
|
90
|
+
export * from './model/ImportCheckpointResponse';
|
74
91
|
export * from './model/InstancesResourceDetail';
|
75
92
|
export * from './model/ListAgentRequest';
|
76
93
|
export * from './model/ListAgentResponse';
|
77
94
|
export * from './model/ListBackupsRequest';
|
78
95
|
export * from './model/ListBackupsResponse';
|
96
|
+
export * from './model/ListDomainProjectsRequest';
|
97
|
+
export * from './model/ListDomainProjectsResponse';
|
98
|
+
export * from './model/ListExternalVaultRequest';
|
99
|
+
export * from './model/ListExternalVaultResponse';
|
79
100
|
export * from './model/ListOpLogsRequest';
|
80
101
|
export * from './model/ListOpLogsResponse';
|
81
102
|
export * from './model/ListPoliciesRequest';
|
82
103
|
export * from './model/ListPoliciesResponse';
|
104
|
+
export * from './model/ListProjectsRequest';
|
105
|
+
export * from './model/ListProjectsResponse';
|
83
106
|
export * from './model/ListProtectableRequest';
|
84
107
|
export * from './model/ListProtectableResponse';
|
85
108
|
export * from './model/ListVaultRequest';
|
86
109
|
export * from './model/ListVaultResponse';
|
87
110
|
export * from './model/Match';
|
88
111
|
export * from './model/Member';
|
112
|
+
export * from './model/MigrateDomainRequest';
|
113
|
+
export * from './model/MigrateDomainResponse';
|
89
114
|
export * from './model/MigrateVaultResourceRequest';
|
90
115
|
export * from './model/MigrateVaultResourceResponse';
|
91
116
|
export * from './model/OpErrorInfo';
|
@@ -111,6 +136,10 @@ export * from './model/PolicyTriggerResp';
|
|
111
136
|
export * from './model/PolicyUpdate';
|
112
137
|
export * from './model/PolicyUpdateReq';
|
113
138
|
export * from './model/PolicyoODCreate';
|
139
|
+
export * from './model/ProjectsListInfo';
|
140
|
+
export * from './model/ProtectableAgentReq';
|
141
|
+
export * from './model/ProtectableAgentStatus';
|
142
|
+
export * from './model/ProtectableAgentStatusResource';
|
114
143
|
export * from './model/ProtectableReplicationCapabilitiesRespRegion';
|
115
144
|
export * from './model/ProtectableResult';
|
116
145
|
export * from './model/ProtectablesResp';
|
@@ -129,16 +158,25 @@ export * from './model/ResourceExtraInfoIncludeVolumes';
|
|
129
158
|
export * from './model/ResourceResp';
|
130
159
|
export * from './model/RestoreBackupRequest';
|
131
160
|
export * from './model/RestoreBackupResponse';
|
161
|
+
export * from './model/SelfLinksInfo';
|
162
|
+
export * from './model/SetVaultResourceRequest';
|
163
|
+
export * from './model/SetVaultResourceResponse';
|
132
164
|
export * from './model/ShowAgentRequest';
|
133
165
|
export * from './model/ShowAgentResponse';
|
134
166
|
export * from './model/ShowBackupRequest';
|
135
167
|
export * from './model/ShowBackupResponse';
|
136
168
|
export * from './model/ShowCheckpointRequest';
|
137
169
|
export * from './model/ShowCheckpointResponse';
|
170
|
+
export * from './model/ShowDomainRequest';
|
171
|
+
export * from './model/ShowDomainResponse';
|
138
172
|
export * from './model/ShowMemberDetailRequest';
|
139
173
|
export * from './model/ShowMemberDetailResponse';
|
140
174
|
export * from './model/ShowMembersDetailRequest';
|
141
175
|
export * from './model/ShowMembersDetailResponse';
|
176
|
+
export * from './model/ShowMetadataRequest';
|
177
|
+
export * from './model/ShowMetadataResponse';
|
178
|
+
export * from './model/ShowMigrateStatusRequest';
|
179
|
+
export * from './model/ShowMigrateStatusResponse';
|
142
180
|
export * from './model/ShowOpLogRequest';
|
143
181
|
export * from './model/ShowOpLogResponse';
|
144
182
|
export * from './model/ShowPolicyRequest';
|
@@ -147,6 +185,8 @@ export * from './model/ShowProtectableRequest';
|
|
147
185
|
export * from './model/ShowProtectableResponse';
|
148
186
|
export * from './model/ShowReplicationCapabilitiesRequest';
|
149
187
|
export * from './model/ShowReplicationCapabilitiesResponse';
|
188
|
+
export * from './model/ShowStorageUsageRequest';
|
189
|
+
export * from './model/ShowStorageUsageResponse';
|
150
190
|
export * from './model/ShowVaultProjectTagRequest';
|
151
191
|
export * from './model/ShowVaultProjectTagResponse';
|
152
192
|
export * from './model/ShowVaultRequest';
|
@@ -155,6 +195,10 @@ export * from './model/ShowVaultResourceInstancesResponse';
|
|
155
195
|
export * from './model/ShowVaultResponse';
|
156
196
|
export * from './model/ShowVaultTagRequest';
|
157
197
|
export * from './model/ShowVaultTagResponse';
|
198
|
+
export * from './model/StorageUsage';
|
199
|
+
export * from './model/SyncParam';
|
200
|
+
export * from './model/SyncReq';
|
201
|
+
export * from './model/SyncRespBody';
|
158
202
|
export * from './model/SysTag';
|
159
203
|
export * from './model/SysTags';
|
160
204
|
export * from './model/Tag';
|
@@ -165,9 +209,13 @@ export * from './model/UnregisterAgentRequest';
|
|
165
209
|
export * from './model/UnregisterAgentResponse';
|
166
210
|
export * from './model/UpdateAgentRequest';
|
167
211
|
export * from './model/UpdateAgentResponse';
|
212
|
+
export * from './model/UpdateBackupRequest';
|
213
|
+
export * from './model/UpdateBackupResponse';
|
168
214
|
export * from './model/UpdateMember';
|
169
215
|
export * from './model/UpdateMemberStatusRequest';
|
170
216
|
export * from './model/UpdateMemberStatusResponse';
|
217
|
+
export * from './model/UpdateOrderRequest';
|
218
|
+
export * from './model/UpdateOrderResponse';
|
171
219
|
export * from './model/UpdatePolicyRequest';
|
172
220
|
export * from './model/UpdatePolicyResponse';
|
173
221
|
export * from './model/UpdateVaultRequest';
|
@@ -177,16 +225,21 @@ export * from './model/VaultAddResourceReq';
|
|
177
225
|
export * from './model/VaultAssociate';
|
178
226
|
export * from './model/VaultBackup';
|
179
227
|
export * from './model/VaultBackupReq';
|
228
|
+
export * from './model/VaultBatchUpdate';
|
180
229
|
export * from './model/VaultBindRules';
|
181
230
|
export * from './model/VaultCreate';
|
231
|
+
export * from './model/VaultCreateParameters';
|
182
232
|
export * from './model/VaultCreateReq';
|
183
233
|
export * from './model/VaultCreateResource';
|
184
234
|
export * from './model/VaultDissociate';
|
185
235
|
export * from './model/VaultGet';
|
186
236
|
export * from './model/VaultMigrateResourceReq';
|
237
|
+
export * from './model/VaultOrder';
|
238
|
+
export * from './model/VaultOrderCreateReqs';
|
187
239
|
export * from './model/VaultPolicyResp';
|
188
240
|
export * from './model/VaultRemoveResourceReq';
|
189
241
|
export * from './model/VaultResourceInstancesReq';
|
242
|
+
export * from './model/VaultSetResourceReq';
|
190
243
|
export * from './model/VaultTagsCreateReq';
|
191
244
|
export * from './model/VaultUpdate';
|
192
245
|
export * from './model/VaultUpdateReq';
|