@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.
Files changed (121) hide show
  1. package/package.json +2 -2
  2. package/v1/CbrClient.d.ts +433 -0
  3. package/v1/CbrClient.js +872 -18
  4. package/v1/CbrRegion.d.ts +1 -0
  5. package/v1/CbrRegion.js +3 -1
  6. package/v1/model/BackupUpdate.d.ts +5 -0
  7. package/v1/model/BackupUpdate.js +13 -0
  8. package/v1/model/BackupUpdateReq.d.ts +6 -0
  9. package/v1/model/BackupUpdateReq.js +13 -0
  10. package/v1/model/BatchUpdateVaultRequest.d.ts +6 -0
  11. package/v1/model/BatchUpdateVaultRequest.js +13 -0
  12. package/v1/model/BatchUpdateVaultRequestBody.d.ts +6 -0
  13. package/v1/model/BatchUpdateVaultRequestBody.js +14 -0
  14. package/v1/model/BatchUpdateVaultResponse.d.ts +8 -0
  15. package/v1/model/BatchUpdateVaultResponse.js +41 -0
  16. package/v1/model/CbcProductInfoUpdate.d.ts +11 -0
  17. package/v1/model/CbcProductInfoUpdate.js +28 -0
  18. package/v1/model/CbcUpdate.d.ts +14 -0
  19. package/v1/model/CbcUpdate.js +37 -0
  20. package/v1/model/CheckAgentRequest.d.ts +6 -0
  21. package/v1/model/CheckAgentRequest.js +13 -0
  22. package/v1/model/CheckAgentResponse.d.ts +9 -0
  23. package/v1/model/CheckAgentResponse.js +41 -0
  24. package/v1/model/CombinedOrder.d.ts +15 -0
  25. package/v1/model/CombinedOrder.js +51 -0
  26. package/v1/model/CreatePostPaidVaultRequest.d.ts +6 -0
  27. package/v1/model/CreatePostPaidVaultRequest.js +13 -0
  28. package/v1/model/CreatePostPaidVaultResponse.d.ts +15 -0
  29. package/v1/model/CreatePostPaidVaultResponse.js +53 -0
  30. package/v1/model/DomainMigrate.d.ts +9 -0
  31. package/v1/model/DomainMigrate.js +29 -0
  32. package/v1/model/DomainMigrateProjectStatus.d.ts +36 -0
  33. package/v1/model/DomainMigrateProjectStatus.js +100 -0
  34. package/v1/model/DomainProjectsInfo.d.ts +11 -0
  35. package/v1/model/DomainProjectsInfo.js +39 -0
  36. package/v1/model/ImportCheckpointRequest.d.ts +6 -0
  37. package/v1/model/ImportCheckpointRequest.js +13 -0
  38. package/v1/model/ImportCheckpointResponse.d.ts +7 -0
  39. package/v1/model/ImportCheckpointResponse.js +31 -0
  40. package/v1/model/ListDomainProjectsRequest.d.ts +7 -0
  41. package/v1/model/ListDomainProjectsRequest.js +24 -0
  42. package/v1/model/ListDomainProjectsResponse.d.ts +7 -0
  43. package/v1/model/ListDomainProjectsResponse.js +31 -0
  44. package/v1/model/ListExternalVaultRequest.d.ts +38 -0
  45. package/v1/model/ListExternalVaultRequest.js +111 -0
  46. package/v1/model/ListExternalVaultResponse.d.ts +13 -0
  47. package/v1/model/ListExternalVaultResponse.js +43 -0
  48. package/v1/model/ListProjectsRequest.d.ts +3 -0
  49. package/v1/model/ListProjectsRequest.js +9 -0
  50. package/v1/model/ListProjectsResponse.d.ts +10 -0
  51. package/v1/model/ListProjectsResponse.js +35 -0
  52. package/v1/model/MigrateDomainRequest.d.ts +6 -0
  53. package/v1/model/MigrateDomainRequest.js +13 -0
  54. package/v1/model/MigrateDomainResponse.d.ts +10 -0
  55. package/v1/model/MigrateDomainResponse.js +31 -0
  56. package/v1/model/ProjectsListInfo.d.ts +26 -0
  57. package/v1/model/ProjectsListInfo.js +71 -0
  58. package/v1/model/ProtectableAgentReq.d.ts +8 -0
  59. package/v1/model/ProtectableAgentReq.js +24 -0
  60. package/v1/model/ProtectableAgentStatus.d.ts +19 -0
  61. package/v1/model/ProtectableAgentStatus.js +53 -0
  62. package/v1/model/ProtectableAgentStatusResource.d.ts +15 -0
  63. package/v1/model/ProtectableAgentStatusResource.js +53 -0
  64. package/v1/model/SelfLinksInfo.d.ts +5 -0
  65. package/v1/model/SelfLinksInfo.js +13 -0
  66. package/v1/model/SetVaultResourceRequest.d.ts +10 -0
  67. package/v1/model/SetVaultResourceRequest.js +28 -0
  68. package/v1/model/SetVaultResourceResponse.d.ts +8 -0
  69. package/v1/model/SetVaultResourceResponse.js +41 -0
  70. package/v1/model/ShowDomainRequest.d.ts +7 -0
  71. package/v1/model/ShowDomainRequest.js +24 -0
  72. package/v1/model/ShowDomainResponse.d.ts +20 -0
  73. package/v1/model/ShowDomainResponse.js +83 -0
  74. package/v1/model/ShowMetadataRequest.d.ts +7 -0
  75. package/v1/model/ShowMetadataRequest.js +24 -0
  76. package/v1/model/ShowMetadataResponse.d.ts +24 -0
  77. package/v1/model/ShowMetadataResponse.js +79 -0
  78. package/v1/model/ShowMigrateStatusRequest.d.ts +7 -0
  79. package/v1/model/ShowMigrateStatusRequest.js +23 -0
  80. package/v1/model/ShowMigrateStatusResponse.d.ts +20 -0
  81. package/v1/model/ShowMigrateStatusResponse.js +55 -0
  82. package/v1/model/ShowStorageUsageRequest.d.ts +23 -0
  83. package/v1/model/ShowStorageUsageRequest.js +54 -0
  84. package/v1/model/ShowStorageUsageResponse.d.ts +13 -0
  85. package/v1/model/ShowStorageUsageResponse.js +55 -0
  86. package/v1/model/ShowSummaryRequest.d.ts +3 -0
  87. package/v1/model/ShowSummaryRequest.js +9 -0
  88. package/v1/model/ShowSummaryResponse.d.ts +10 -0
  89. package/v1/model/ShowSummaryResponse.js +45 -0
  90. package/v1/model/StorageUsage.d.ts +27 -0
  91. package/v1/model/StorageUsage.js +96 -0
  92. package/v1/model/SyncParam.d.ts +11 -0
  93. package/v1/model/SyncParam.js +39 -0
  94. package/v1/model/SyncReq.d.ts +6 -0
  95. package/v1/model/SyncReq.js +14 -0
  96. package/v1/model/SyncRespBody.d.ts +11 -0
  97. package/v1/model/SyncRespBody.js +39 -0
  98. package/v1/model/UpdateBackupRequest.d.ts +10 -0
  99. package/v1/model/UpdateBackupRequest.js +28 -0
  100. package/v1/model/UpdateBackupResponse.d.ts +7 -0
  101. package/v1/model/UpdateBackupResponse.js +31 -0
  102. package/v1/model/UpdateOrderRequest.d.ts +10 -0
  103. package/v1/model/UpdateOrderRequest.js +28 -0
  104. package/v1/model/UpdateOrderResponse.d.ts +10 -0
  105. package/v1/model/UpdateOrderResponse.js +39 -0
  106. package/v1/model/VaultBatchUpdate.d.ts +9 -0
  107. package/v1/model/VaultBatchUpdate.js +27 -0
  108. package/v1/model/VaultCreate.d.ts +14 -0
  109. package/v1/model/VaultCreate.js +46 -0
  110. package/v1/model/VaultCreateParameters.d.ts +8 -0
  111. package/v1/model/VaultCreateParameters.js +23 -0
  112. package/v1/model/VaultCreateResource.d.ts +14 -0
  113. package/v1/model/VaultCreateResource.js +46 -0
  114. package/v1/model/VaultOrder.d.ts +46 -0
  115. package/v1/model/VaultOrder.js +123 -0
  116. package/v1/model/VaultOrderCreateReqs.d.ts +6 -0
  117. package/v1/model/VaultOrderCreateReqs.js +14 -0
  118. package/v1/model/VaultSetResourceReq.d.ts +17 -0
  119. package/v1/model/VaultSetResourceReq.js +38 -0
  120. package/v1/public-api.d.ts +55 -0
  121. package/v1/public-api.js +55 -0
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateOrderRequest = void 0;
4
+ var UpdateOrderRequest = /** @class */ (function () {
5
+ function UpdateOrderRequest(orderId) {
6
+ this['order_id'] = orderId;
7
+ }
8
+ UpdateOrderRequest.prototype.withOrderId = function (orderId) {
9
+ this['order_id'] = orderId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdateOrderRequest.prototype, "orderId", {
13
+ get: function () {
14
+ return this['order_id'];
15
+ },
16
+ set: function (orderId) {
17
+ this['order_id'] = orderId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ UpdateOrderRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return UpdateOrderRequest;
27
+ }());
28
+ exports.UpdateOrderRequest = UpdateOrderRequest;
@@ -0,0 +1,10 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class UpdateOrderResponse extends SdkResponse {
3
+ orderId?: string;
4
+ retCode?: string;
5
+ retMsg?: string;
6
+ constructor();
7
+ withOrderId(orderId: string): UpdateOrderResponse;
8
+ withRetCode(retCode: string): UpdateOrderResponse;
9
+ withRetMsg(retMsg: string): UpdateOrderResponse;
10
+ }
@@ -0,0 +1,39 @@
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.UpdateOrderResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateOrderResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateOrderResponse, _super);
22
+ function UpdateOrderResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateOrderResponse.prototype.withOrderId = function (orderId) {
26
+ this['orderId'] = orderId;
27
+ return this;
28
+ };
29
+ UpdateOrderResponse.prototype.withRetCode = function (retCode) {
30
+ this['retCode'] = retCode;
31
+ return this;
32
+ };
33
+ UpdateOrderResponse.prototype.withRetMsg = function (retMsg) {
34
+ this['retMsg'] = retMsg;
35
+ return this;
36
+ };
37
+ return UpdateOrderResponse;
38
+ }(SdkResponse_1.SdkResponse));
39
+ exports.UpdateOrderResponse = UpdateOrderResponse;
@@ -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
  }
@@ -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,6 @@
1
+ import { VaultOrder } from './VaultOrder';
2
+ export declare class VaultOrderCreateReqs {
3
+ vault: VaultOrder;
4
+ constructor(vault?: any);
5
+ withVault(vault: VaultOrder): VaultOrderCreateReqs;
6
+ }
@@ -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 = {}));