@distilled.cloud/stackit 0.0.0-stage → 1.0.0-rc.14

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.
Files changed (298) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +33 -2
  3. package/lib/credentials.d.ts +29 -0
  4. package/lib/credentials.d.ts.map +1 -0
  5. package/lib/credentials.js +49 -0
  6. package/lib/credentials.js.map +1 -0
  7. package/lib/errors.d.ts +36 -0
  8. package/lib/errors.d.ts.map +1 -0
  9. package/lib/errors.js +26 -0
  10. package/lib/errors.js.map +1 -0
  11. package/lib/index.d.ts +30 -0
  12. package/lib/index.d.ts.map +1 -0
  13. package/lib/index.js +30 -0
  14. package/lib/index.js.map +1 -0
  15. package/lib/pagination.d.ts +9 -0
  16. package/lib/pagination.d.ts.map +1 -0
  17. package/lib/pagination.js +45 -0
  18. package/lib/pagination.js.map +1 -0
  19. package/lib/protocol.d.ts +32 -0
  20. package/lib/protocol.d.ts.map +1 -0
  21. package/lib/protocol.js +147 -0
  22. package/lib/protocol.js.map +1 -0
  23. package/lib/protocol.test.d.ts +2 -0
  24. package/lib/protocol.test.d.ts.map +1 -0
  25. package/lib/protocol.test.js +181 -0
  26. package/lib/protocol.test.js.map +1 -0
  27. package/lib/retry.d.ts +31 -0
  28. package/lib/retry.d.ts.map +1 -0
  29. package/lib/retry.js +31 -0
  30. package/lib/retry.js.map +1 -0
  31. package/lib/services/alb.d.ts +603 -0
  32. package/lib/services/alb.d.ts.map +1 -0
  33. package/lib/services/alb.js +513 -0
  34. package/lib/services/alb.js.map +1 -0
  35. package/lib/services/alb_waf.d.ts +526 -0
  36. package/lib/services/alb_waf.d.ts.map +1 -0
  37. package/lib/services/alb_waf.js +521 -0
  38. package/lib/services/alb_waf.js.map +1 -0
  39. package/lib/services/authorization.d.ts +251 -0
  40. package/lib/services/authorization.d.ts.map +1 -0
  41. package/lib/services/authorization.js +323 -0
  42. package/lib/services/authorization.js.map +1 -0
  43. package/lib/services/automation.d.ts +321 -0
  44. package/lib/services/automation.d.ts.map +1 -0
  45. package/lib/services/automation.js +363 -0
  46. package/lib/services/automation.js.map +1 -0
  47. package/lib/services/cdn.d.ts +1239 -0
  48. package/lib/services/cdn.d.ts.map +1 -0
  49. package/lib/services/cdn.js +906 -0
  50. package/lib/services/cdn.js.map +1 -0
  51. package/lib/services/certificates.d.ts +201 -0
  52. package/lib/services/certificates.d.ts.map +1 -0
  53. package/lib/services/certificates.js +179 -0
  54. package/lib/services/certificates.js.map +1 -0
  55. package/lib/services/cost.d.ts +222 -0
  56. package/lib/services/cost.d.ts.map +1 -0
  57. package/lib/services/cost.js +177 -0
  58. package/lib/services/cost.js.map +1 -0
  59. package/lib/services/dns.d.ts +842 -0
  60. package/lib/services/dns.d.ts.map +1 -0
  61. package/lib/services/dns.js +726 -0
  62. package/lib/services/dns.js.map +1 -0
  63. package/lib/services/dremio.d.ts +358 -0
  64. package/lib/services/dremio.d.ts.map +1 -0
  65. package/lib/services/dremio.js +317 -0
  66. package/lib/services/dremio.js.map +1 -0
  67. package/lib/services/edge.d.ts +312 -0
  68. package/lib/services/edge.d.ts.map +1 -0
  69. package/lib/services/edge.js +357 -0
  70. package/lib/services/edge.js.map +1 -0
  71. package/lib/services/functions.d.ts +409 -0
  72. package/lib/services/functions.d.ts.map +1 -0
  73. package/lib/services/functions.js +399 -0
  74. package/lib/services/functions.js.map +1 -0
  75. package/lib/services/git.d.ts +497 -0
  76. package/lib/services/git.d.ts.map +1 -0
  77. package/lib/services/git.js +520 -0
  78. package/lib/services/git.js.map +1 -0
  79. package/lib/services/iaas.d.ts +2986 -0
  80. package/lib/services/iaas.d.ts.map +1 -0
  81. package/lib/services/iaas.js +3543 -0
  82. package/lib/services/iaas.js.map +1 -0
  83. package/lib/services/index.d.ts +51 -0
  84. package/lib/services/index.d.ts.map +1 -0
  85. package/lib/services/index.js +52 -0
  86. package/lib/services/index.js.map +1 -0
  87. package/lib/services/intake.d.ts +555 -0
  88. package/lib/services/intake.d.ts.map +1 -0
  89. package/lib/services/intake.js +475 -0
  90. package/lib/services/intake.js.map +1 -0
  91. package/lib/services/kms.d.ts +654 -0
  92. package/lib/services/kms.d.ts.map +1 -0
  93. package/lib/services/kms.js +663 -0
  94. package/lib/services/kms.js.map +1 -0
  95. package/lib/services/lb_ip_lists.d.ts +160 -0
  96. package/lib/services/lb_ip_lists.d.ts.map +1 -0
  97. package/lib/services/lb_ip_lists.js +154 -0
  98. package/lib/services/lb_ip_lists.js.map +1 -0
  99. package/lib/services/load_balancer.d.ts +563 -0
  100. package/lib/services/load_balancer.d.ts.map +1 -0
  101. package/lib/services/load_balancer.js +497 -0
  102. package/lib/services/load_balancer.js.map +1 -0
  103. package/lib/services/logme.d.ts +516 -0
  104. package/lib/services/logme.d.ts.map +1 -0
  105. package/lib/services/logme.js +574 -0
  106. package/lib/services/logme.js.map +1 -0
  107. package/lib/services/logs.d.ts +436 -0
  108. package/lib/services/logs.d.ts.map +1 -0
  109. package/lib/services/logs.js +475 -0
  110. package/lib/services/logs.js.map +1 -0
  111. package/lib/services/mariadb.d.ts +479 -0
  112. package/lib/services/mariadb.d.ts.map +1 -0
  113. package/lib/services/mariadb.js +551 -0
  114. package/lib/services/mariadb.js.map +1 -0
  115. package/lib/services/model_experiments.d.ts +306 -0
  116. package/lib/services/model_experiments.d.ts.map +1 -0
  117. package/lib/services/model_experiments.js +336 -0
  118. package/lib/services/model_experiments.js.map +1 -0
  119. package/lib/services/model_serving.d.ts +289 -0
  120. package/lib/services/model_serving.d.ts.map +1 -0
  121. package/lib/services/model_serving.js +287 -0
  122. package/lib/services/model_serving.js.map +1 -0
  123. package/lib/services/mongodb_flex.d.ts +826 -0
  124. package/lib/services/mongodb_flex.d.ts.map +1 -0
  125. package/lib/services/mongodb_flex.js +803 -0
  126. package/lib/services/mongodb_flex.js.map +1 -0
  127. package/lib/services/object_storage.d.ts +470 -0
  128. package/lib/services/object_storage.d.ts.map +1 -0
  129. package/lib/services/object_storage.js +540 -0
  130. package/lib/services/object_storage.js.map +1 -0
  131. package/lib/services/observability.d.ts +2750 -0
  132. package/lib/services/observability.d.ts.map +1 -0
  133. package/lib/services/observability.js +3158 -0
  134. package/lib/services/observability.js.map +1 -0
  135. package/lib/services/opensearch.d.ts +505 -0
  136. package/lib/services/opensearch.d.ts.map +1 -0
  137. package/lib/services/opensearch.js +563 -0
  138. package/lib/services/opensearch.js.map +1 -0
  139. package/lib/services/pim.d.ts +997 -0
  140. package/lib/services/pim.d.ts.map +1 -0
  141. package/lib/services/pim.js +736 -0
  142. package/lib/services/pim.js.map +1 -0
  143. package/lib/services/postgres_flex.d.ts +854 -0
  144. package/lib/services/postgres_flex.d.ts.map +1 -0
  145. package/lib/services/postgres_flex.js +853 -0
  146. package/lib/services/postgres_flex.js.map +1 -0
  147. package/lib/services/pubsub.d.ts +489 -0
  148. package/lib/services/pubsub.d.ts.map +1 -0
  149. package/lib/services/pubsub.js +519 -0
  150. package/lib/services/pubsub.js.map +1 -0
  151. package/lib/services/rabbitmq.d.ts +523 -0
  152. package/lib/services/rabbitmq.d.ts.map +1 -0
  153. package/lib/services/rabbitmq.js +574 -0
  154. package/lib/services/rabbitmq.js.map +1 -0
  155. package/lib/services/registry.d.ts +212 -0
  156. package/lib/services/registry.d.ts.map +1 -0
  157. package/lib/services/registry.js +198 -0
  158. package/lib/services/registry.js.map +1 -0
  159. package/lib/services/resource_manager.d.ts +458 -0
  160. package/lib/services/resource_manager.d.ts.map +1 -0
  161. package/lib/services/resource_manager.js +473 -0
  162. package/lib/services/resource_manager.js.map +1 -0
  163. package/lib/services/run_command.d.ts +175 -0
  164. package/lib/services/run_command.d.ts.map +1 -0
  165. package/lib/services/run_command.js +185 -0
  166. package/lib/services/run_command.js.map +1 -0
  167. package/lib/services/sca.d.ts +553 -0
  168. package/lib/services/sca.d.ts.map +1 -0
  169. package/lib/services/sca.js +445 -0
  170. package/lib/services/sca.js.map +1 -0
  171. package/lib/services/scf.d.ts +498 -0
  172. package/lib/services/scf.d.ts.map +1 -0
  173. package/lib/services/scf.js +670 -0
  174. package/lib/services/scf.js.map +1 -0
  175. package/lib/services/secrets_manager.d.ts +505 -0
  176. package/lib/services/secrets_manager.d.ts.map +1 -0
  177. package/lib/services/secrets_manager.js +613 -0
  178. package/lib/services/secrets_manager.js.map +1 -0
  179. package/lib/services/server_backup.d.ts +380 -0
  180. package/lib/services/server_backup.d.ts.map +1 -0
  181. package/lib/services/server_backup.js +454 -0
  182. package/lib/services/server_backup.js.map +1 -0
  183. package/lib/services/server_update.d.ts +292 -0
  184. package/lib/services/server_update.d.ts.map +1 -0
  185. package/lib/services/server_update.js +352 -0
  186. package/lib/services/server_update.js.map +1 -0
  187. package/lib/services/service_account.d.ts +465 -0
  188. package/lib/services/service_account.d.ts.map +1 -0
  189. package/lib/services/service_account.js +506 -0
  190. package/lib/services/service_account.js.map +1 -0
  191. package/lib/services/service_enablement.d.ts +149 -0
  192. package/lib/services/service_enablement.d.ts.map +1 -0
  193. package/lib/services/service_enablement.js +157 -0
  194. package/lib/services/service_enablement.js.map +1 -0
  195. package/lib/services/sfs.d.ts +721 -0
  196. package/lib/services/sfs.d.ts.map +1 -0
  197. package/lib/services/sfs.js +790 -0
  198. package/lib/services/sfs.js.map +1 -0
  199. package/lib/services/ske.d.ts +562 -0
  200. package/lib/services/ske.d.ts.map +1 -0
  201. package/lib/services/ske.js +558 -0
  202. package/lib/services/ske.js.map +1 -0
  203. package/lib/services/sqlserverflex.d.ts +956 -0
  204. package/lib/services/sqlserverflex.d.ts.map +1 -0
  205. package/lib/services/sqlserverflex.js +936 -0
  206. package/lib/services/sqlserverflex.js.map +1 -0
  207. package/lib/services/stackit_marketplace.d.ts +288 -0
  208. package/lib/services/stackit_marketplace.d.ts.map +1 -0
  209. package/lib/services/stackit_marketplace.js +379 -0
  210. package/lib/services/stackit_marketplace.js.map +1 -0
  211. package/lib/services/telemetry_link.d.ts +443 -0
  212. package/lib/services/telemetry_link.d.ts.map +1 -0
  213. package/lib/services/telemetry_link.js +532 -0
  214. package/lib/services/telemetry_link.js.map +1 -0
  215. package/lib/services/telemetry_router.d.ts +493 -0
  216. package/lib/services/telemetry_router.d.ts.map +1 -0
  217. package/lib/services/telemetry_router.js +484 -0
  218. package/lib/services/telemetry_router.js.map +1 -0
  219. package/lib/services/ufw.d.ts +295 -0
  220. package/lib/services/ufw.d.ts.map +1 -0
  221. package/lib/services/ufw.js +279 -0
  222. package/lib/services/ufw.js.map +1 -0
  223. package/lib/services/valkey.d.ts +505 -0
  224. package/lib/services/valkey.d.ts.map +1 -0
  225. package/lib/services/valkey.js +567 -0
  226. package/lib/services/valkey.js.map +1 -0
  227. package/lib/services/vpn.d.ts +1024 -0
  228. package/lib/services/vpn.d.ts.map +1 -0
  229. package/lib/services/vpn.js +931 -0
  230. package/lib/services/vpn.js.map +1 -0
  231. package/lib/services/workflows.d.ts +600 -0
  232. package/lib/services/workflows.d.ts.map +1 -0
  233. package/lib/services/workflows.js +508 -0
  234. package/lib/services/workflows.js.map +1 -0
  235. package/lib/traits.d.ts +24 -0
  236. package/lib/traits.d.ts.map +1 -0
  237. package/lib/traits.js +15 -0
  238. package/lib/traits.js.map +1 -0
  239. package/package.json +85 -3
  240. package/src/credentials.ts +84 -0
  241. package/src/errors.ts +50 -0
  242. package/src/index.ts +34 -0
  243. package/src/pagination.ts +57 -0
  244. package/src/protocol.test.ts +304 -0
  245. package/src/protocol.ts +225 -0
  246. package/src/retry.ts +47 -0
  247. package/src/services/alb.ts +1326 -0
  248. package/src/services/alb_waf.ts +1288 -0
  249. package/src/services/authorization.ts +704 -0
  250. package/src/services/automation.ts +796 -0
  251. package/src/services/cdn.ts +2576 -0
  252. package/src/services/certificates.ts +418 -0
  253. package/src/services/cost.ts +449 -0
  254. package/src/services/dns.ts +1936 -0
  255. package/src/services/dremio.ts +753 -0
  256. package/src/services/edge.ts +780 -0
  257. package/src/services/functions.ts +957 -0
  258. package/src/services/git.ts +1194 -0
  259. package/src/services/iaas.ts +7878 -0
  260. package/src/services/index.ts +51 -0
  261. package/src/services/intake.ts +1166 -0
  262. package/src/services/kms.ts +1537 -0
  263. package/src/services/lb_ip_lists.ts +342 -0
  264. package/src/services/load_balancer.ts +1266 -0
  265. package/src/services/logme.ts +1284 -0
  266. package/src/services/logs.ts +1049 -0
  267. package/src/services/mariadb.ts +1212 -0
  268. package/src/services/model_experiments.ts +741 -0
  269. package/src/services/model_serving.ts +654 -0
  270. package/src/services/mongodb_flex.ts +1932 -0
  271. package/src/services/object_storage.ts +1195 -0
  272. package/src/services/observability.ts +7364 -0
  273. package/src/services/opensearch.ts +1265 -0
  274. package/src/services/pim.ts +1985 -0
  275. package/src/services/postgres_flex.ts +2080 -0
  276. package/src/services/pubsub.ts +1193 -0
  277. package/src/services/rabbitmq.ts +1310 -0
  278. package/src/services/registry.ts +446 -0
  279. package/src/services/resource_manager.ts +1072 -0
  280. package/src/services/run_command.ts +413 -0
  281. package/src/services/sca.ts +1187 -0
  282. package/src/services/scf.ts +1396 -0
  283. package/src/services/secrets_manager.ts +1317 -0
  284. package/src/services/server_backup.ts +983 -0
  285. package/src/services/server_update.ts +738 -0
  286. package/src/services/service_account.ts +1121 -0
  287. package/src/services/service_enablement.ts +330 -0
  288. package/src/services/sfs.ts +1831 -0
  289. package/src/services/ske.ts +1386 -0
  290. package/src/services/sqlserverflex.ts +2307 -0
  291. package/src/services/stackit_marketplace.ts +787 -0
  292. package/src/services/telemetry_link.ts +1166 -0
  293. package/src/services/telemetry_router.ts +1110 -0
  294. package/src/services/ufw.ts +654 -0
  295. package/src/services/valkey.ts +1266 -0
  296. package/src/services/vpn.ts +2365 -0
  297. package/src/services/workflows.ts +1249 -0
  298. package/src/traits.ts +60 -0
@@ -0,0 +1,721 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import * as S from "@distilled.cloud/core/schema";
3
+ import { type StackitOpError, type StackitOpContext } from "../protocol.ts";
4
+ export type { StackitOpError, StackitOpContext };
5
+ declare const BadRequest_base: S.Class<BadRequest, S.TaggedStruct<"BadRequest", {
6
+ readonly code: any;
7
+ readonly message: any;
8
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
9
+ "@distilled.cloud/error/categories": {
10
+ BadRequestError: true;
11
+ };
12
+ });
13
+ export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
14
+ }
15
+ /** List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
16
+ export type CreateResourcePoolRequestIpAclList = Array<string>;
17
+ export declare const CreateResourcePoolRequestIpAclList: S.Schema<CreateResourcePoolRequestIpAclList>;
18
+ /** An optional object that represents the labels associated with the resource pool. */
19
+ export type CreateResourcePoolRequestLabelsMap = {
20
+ [key: string]: string | undefined;
21
+ };
22
+ export declare const CreateResourcePoolRequestLabelsMap: S.Schema<CreateResourcePoolRequestLabelsMap>;
23
+ export interface CreateResourcePoolRequest {
24
+ projectId: string;
25
+ region: string;
26
+ /** Availability zone */
27
+ availabilityZone: string;
28
+ /** List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
29
+ ipAcl: CreateResourcePoolRequestIpAclList;
30
+ /** An optional object that represents the labels associated with the resource pool. */
31
+ labels?: CreateResourcePoolRequestLabelsMap;
32
+ /** Name of the Resource Pool */
33
+ name: string;
34
+ /** Name of the performance class */
35
+ performanceClass: string;
36
+ /** Size of the Resource Pool (unit: gibibytes) */
37
+ sizeGigabytes: number;
38
+ /** (optional) Id of the Snapshot Policy to use */
39
+ snapshotPolicyId?: string;
40
+ /** Whether the .snapshot directory is visible when mounting the resource pool. Setting this value to false might prevent you from accessing the snapshots (e.g. for security reasons). Additionally, the access to the snapshots is always controlled by the export policy of the resource pool. That means, if snapshots are visible and the export policy allows for reading the resource pool, then it also allows reading the snapshot of all shares. */
41
+ snapshotsAreVisible?: boolean;
42
+ }
43
+ export declare const CreateResourcePoolRequest: S.Schema<CreateResourcePoolRequest>;
44
+ /** List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
45
+ export type ResourcePoolIpAclList = Array<string>;
46
+ export declare const ResourcePoolIpAclList: S.Schema<ResourcePoolIpAclList>;
47
+ export type ResourcePoolLabelsMap = {
48
+ [key: string]: string | undefined;
49
+ };
50
+ export declare const ResourcePoolLabelsMap: S.Schema<ResourcePoolLabelsMap>;
51
+ export interface ResourcePoolPerformanceClass {
52
+ /** Name of the performance class */
53
+ name?: string;
54
+ /** Max. IOPS of the Resource Pool. This is shared between every Share in the Resource Pool. */
55
+ peakIops?: number;
56
+ /** Throughput of the Resource Pool. */
57
+ throughput?: number;
58
+ }
59
+ export declare const ResourcePoolPerformanceClass: S.Schema<ResourcePoolPerformanceClass>;
60
+ export interface ResourcePoolSnapshotPolicy {
61
+ /** ID of the Snapshot Policy */
62
+ id?: string;
63
+ /** Name of the Snapshot Policy */
64
+ name?: string;
65
+ }
66
+ export declare const ResourcePoolSnapshotPolicy: S.Schema<ResourcePoolSnapshotPolicy>;
67
+ export interface ResourcePoolSpace {
68
+ /** Available space of the Resource Pool (only available when retrieving a single Resource Pool by ID) */
69
+ availableGigabytes?: number | null;
70
+ /** Size of the Resource Pool in Gibibytes. */
71
+ sizeGigabytes?: number;
72
+ /** Used space by snapshots (only available when retrieving a single Resource Pool by ID) */
73
+ usedBySnapshotsGigabytes?: number | null;
74
+ /** Used space of the Resource Pool (only available when retrieving a single Resource Pool by ID) */
75
+ usedGigabytes?: number | null;
76
+ }
77
+ export declare const ResourcePoolSpace: S.Schema<ResourcePoolSpace>;
78
+ export interface ResourcePool {
79
+ /** Name of the respective availability zone */
80
+ availabilityZone?: string;
81
+ /** Number of Shares in the Resource Pool */
82
+ countShares?: number;
83
+ createdAt?: string;
84
+ /** ID of the Resource Pool */
85
+ id?: string;
86
+ /** List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
87
+ ipAcl?: ResourcePoolIpAclList;
88
+ labels?: ResourcePoolLabelsMap;
89
+ /** Mount path of the Resource Pool, used to mount the Resource Pool Note that a Resource Pool can only be mounted in read-only */
90
+ mountPath?: string;
91
+ /** Name of the Resource Pool */
92
+ name?: string;
93
+ /** Information about the performance class */
94
+ performanceClass?: ResourcePoolPerformanceClass;
95
+ /** Time when the performance class can be downgraded again. */
96
+ performanceClassDowngradableAt?: string;
97
+ /** Time when the size can be reduced again. */
98
+ sizeReducibleAt?: string;
99
+ /** (optional) Snapshot Policy */
100
+ snapshotPolicy?: ResourcePoolSnapshotPolicy | null;
101
+ /** Whether the .snapshot directory is visible when mounting the resource pool. Setting this value to false might prevent you from accessing the snapshots (e.g. for security reasons). Additionally, the access to the snapshots is always controlled by the export policy of the resource pool. That means, if snapshots are visible and the export policy allows for reading the resource pool, then it also allows reading the snapshot of all shares. */
102
+ snapshotsAreVisible?: boolean;
103
+ /** Space information */
104
+ space?: ResourcePoolSpace;
105
+ /** State of the Resource Pool (possible values: ["pending", "creating", "created", "updating", "error", "deleting"]) */
106
+ state?: string;
107
+ }
108
+ export declare const ResourcePool: S.Schema<ResourcePool>;
109
+ export interface CreateResourcePoolResponse {
110
+ /** Created Resource Pool */
111
+ resourcePool?: ResourcePool;
112
+ }
113
+ export declare const CreateResourcePoolResponse: S.Schema<CreateResourcePoolResponse>;
114
+ export interface CreateResourcePoolSnapshotRequest {
115
+ projectId: string;
116
+ region: string;
117
+ resourcePoolId: string;
118
+ /** (optional) A comment to add more information about a snapshot */
119
+ comment?: string | null;
120
+ /** Name of the Resource Pool Snapshot */
121
+ name?: string;
122
+ /** (optional) Time in hours after which snaplock on the snapshot expires */
123
+ snaplockRetentionHours?: number | null;
124
+ }
125
+ export declare const CreateResourcePoolSnapshotRequest: S.Schema<CreateResourcePoolSnapshotRequest>;
126
+ export interface ResourcePoolSnapshot {
127
+ /** (optional) A comment to add more information about a snapshot */
128
+ comment?: string | null;
129
+ createdAt?: string;
130
+ /** Represents the user-visible data size at the time of the snapshot in Gibibytes (e.g. what’s in the snapshot) */
131
+ logicalSizeGigabytes?: number;
132
+ /** ID of the Resource Pool of the Snapshot */
133
+ resourcePoolId?: string;
134
+ /** Reflects the actual storage footprint in the backend at snapshot time in Gibibytes (e.g. how much storage from the Resource Pool does it use). */
135
+ sizeGigabytes?: number;
136
+ /** Represents the snaplock expiry time if snaplock is enabled for the resource pool */
137
+ snaplockExpiryTime?: string | null;
138
+ /** Name of the Resource Pool Snapshot */
139
+ snapshotName?: string;
140
+ }
141
+ export declare const ResourcePoolSnapshot: S.Schema<ResourcePoolSnapshot>;
142
+ export interface CreateResourcePoolSnapshotResponse {
143
+ /** Created Resource Pool Snapshot */
144
+ resourcePoolSnapshot?: ResourcePoolSnapshot;
145
+ }
146
+ export declare const CreateResourcePoolSnapshotResponse: S.Schema<CreateResourcePoolSnapshotResponse>;
147
+ /** An optional object that represents the labels associated with the share. */
148
+ export type CreateShareRequestLabelsMap = {
149
+ [key: string]: string | undefined;
150
+ };
151
+ export declare const CreateShareRequestLabelsMap: S.Schema<CreateShareRequestLabelsMap>;
152
+ export interface CreateShareRequest {
153
+ projectId: string;
154
+ region: string;
155
+ resourcePoolId: string;
156
+ /** Name of the Share Export Policy to use in the Share. Note that if this is not set, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share */
157
+ exportPolicyName?: string | null;
158
+ /** An optional object that represents the labels associated with the share. */
159
+ labels?: CreateShareRequestLabelsMap;
160
+ /** Name of the Share */
161
+ name: string;
162
+ /** Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gibibytes) */
163
+ spaceHardLimitGigabytes: number;
164
+ }
165
+ export declare const CreateShareRequest: S.Schema<CreateShareRequest>;
166
+ /** An optional object that represents the labels associated with the share export policy. */
167
+ export type ShareExportPolicyLabelsMap = {
168
+ [key: string]: string | undefined;
169
+ };
170
+ export declare const ShareExportPolicyLabelsMap: S.Schema<ShareExportPolicyLabelsMap>;
171
+ /** IP access control list, where IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.251/32" for a specific IP) This array cannot be empty */
172
+ export type ShareExportPolicyRuleIpAclList = Array<string>;
173
+ export declare const ShareExportPolicyRuleIpAclList: S.Schema<ShareExportPolicyRuleIpAclList>;
174
+ export interface ShareExportPolicyRule {
175
+ createdAt?: string;
176
+ /** Description of the Rule (optional) */
177
+ description?: string | null;
178
+ /** ID of the Share Export Policy Rule */
179
+ id?: string;
180
+ /** IP access control list, where IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.251/32" for a specific IP) This array cannot be empty */
181
+ ipAcl?: ShareExportPolicyRuleIpAclList;
182
+ /** Order of the rule within a Share Export Policy. The order is used so that when a client IP matches multiple rules, the first rule is applied This field must be set */
183
+ order?: number;
184
+ /** Flag to indicate if client IPs matching this rule can only mount the share in read only mode Default: false */
185
+ readOnly?: boolean;
186
+ /** Flag to honor set UUID Default: false */
187
+ setUuid?: boolean;
188
+ /** Flag to indicate if client IPs matching this rule have root access on the Share Default: true */
189
+ superUser?: boolean;
190
+ }
191
+ export declare const ShareExportPolicyRule: S.Schema<ShareExportPolicyRule>;
192
+ /** List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule */
193
+ export type ShareExportPolicyRulesList = Array<ShareExportPolicyRule>;
194
+ export declare const ShareExportPolicyRulesList: S.Schema<ShareExportPolicyRulesList>;
195
+ export interface ShareExportPolicy {
196
+ createdAt?: string;
197
+ /** ID of the Share Export Policy */
198
+ id?: string;
199
+ /** An optional object that represents the labels associated with the share export policy. */
200
+ labels?: ShareExportPolicyLabelsMap;
201
+ /** Name of the Share Export Policy */
202
+ name?: string;
203
+ /** List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule */
204
+ rules?: ShareExportPolicyRulesList;
205
+ /** Number of Shares using this Share Export Policy */
206
+ sharesUsingExportPolicy?: number;
207
+ }
208
+ export declare const ShareExportPolicy: S.Schema<ShareExportPolicy>;
209
+ /** An optional object that represents the labels associated with the share. */
210
+ export type ShareLabelsMap = {
211
+ [key: string]: string | undefined;
212
+ };
213
+ export declare const ShareLabelsMap: S.Schema<ShareLabelsMap>;
214
+ export interface Share {
215
+ createdAt?: string;
216
+ /** Details of the Share Export Policy to use in the Share. Note that if this is not set, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share */
217
+ exportPolicy?: ShareExportPolicy | null;
218
+ /** ID of the Share */
219
+ id?: string;
220
+ /** An optional object that represents the labels associated with the share. */
221
+ labels?: ShareLabelsMap;
222
+ /** Mount path of the Share, used to mount the Share */
223
+ mountPath?: string;
224
+ /** Name of the Share */
225
+ name?: string;
226
+ /** Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gibibytes) */
227
+ spaceHardLimitGigabytes?: number;
228
+ /** State of the Resource Pool Snapshot (possible values: ["pending", "creating", "created", "error", "deleting"]) */
229
+ state?: string;
230
+ }
231
+ export declare const Share: S.Schema<Share>;
232
+ export interface CreateShareResponse {
233
+ /** Created Share */
234
+ share?: Share;
235
+ }
236
+ export declare const CreateShareResponse: S.Schema<CreateShareResponse>;
237
+ /** An optional object that represents the labels associated with the share export policy. */
238
+ export type CreateShareExportPolicyRequestLabelsMap = {
239
+ [key: string]: string | undefined;
240
+ };
241
+ export declare const CreateShareExportPolicyRequestLabelsMap: S.Schema<CreateShareExportPolicyRequestLabelsMap>;
242
+ /** IP access control list, where IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) This array cannot be empty */
243
+ export type CreateShareExportPolicyRequestRuleIpAclList = Array<string>;
244
+ export declare const CreateShareExportPolicyRequestRuleIpAclList: S.Schema<CreateShareExportPolicyRequestRuleIpAclList>;
245
+ export interface CreateShareExportPolicyRequestRule {
246
+ /** Description of the Rule (optional) */
247
+ description?: string | null;
248
+ /** IP access control list, where IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) This array cannot be empty */
249
+ ipAcl?: CreateShareExportPolicyRequestRuleIpAclList;
250
+ /** Order of the rule within a Share Export Policy. The order is used so that when a client IP matches multiple rules, the first rule is applied This field must be set */
251
+ order?: number;
252
+ /** Flag to indicate if client IPs matching this rule can only mount the share in read only mode Default: false */
253
+ readOnly?: boolean;
254
+ /** Flag to honor set UUID Default: false */
255
+ setUuid?: boolean;
256
+ /** Flag to indicate if client IPs matching this rule have root access on the Share Default: true */
257
+ superUser?: boolean;
258
+ }
259
+ export declare const CreateShareExportPolicyRequestRule: S.Schema<CreateShareExportPolicyRequestRule>;
260
+ /** List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule */
261
+ export type CreateShareExportPolicyRequestRulesList = Array<CreateShareExportPolicyRequestRule>;
262
+ export declare const CreateShareExportPolicyRequestRulesList: S.Schema<CreateShareExportPolicyRequestRulesList>;
263
+ export interface CreateShareExportPolicyRequest {
264
+ projectId: string;
265
+ region: string;
266
+ /** An optional object that represents the labels associated with the share export policy. */
267
+ labels?: CreateShareExportPolicyRequestLabelsMap;
268
+ /** Name of the Share Export Policy */
269
+ name: string;
270
+ /** List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule */
271
+ rules?: CreateShareExportPolicyRequestRulesList;
272
+ }
273
+ export declare const CreateShareExportPolicyRequest: S.Schema<CreateShareExportPolicyRequest>;
274
+ export interface CreateShareExportPolicyResponse {
275
+ /** Created Share Export Policy */
276
+ shareExportPolicy?: ShareExportPolicy;
277
+ }
278
+ export declare const CreateShareExportPolicyResponse: S.Schema<CreateShareExportPolicyResponse>;
279
+ export interface DeleteResourcePoolRequest {
280
+ projectId: string;
281
+ region: string;
282
+ resourcePoolId: string;
283
+ }
284
+ export declare const DeleteResourcePoolRequest: S.Schema<DeleteResourcePoolRequest>;
285
+ export type DeleteResourcePoolResponse2 = unknown;
286
+ export declare const DeleteResourcePoolResponse2: S.Schema<DeleteResourcePoolResponse2>;
287
+ export interface DeleteResourcePoolSnapshotRequest {
288
+ projectId: string;
289
+ region: string;
290
+ resourcePoolId: string;
291
+ snapshotName: string;
292
+ }
293
+ export declare const DeleteResourcePoolSnapshotRequest: S.Schema<DeleteResourcePoolSnapshotRequest>;
294
+ export type DeleteResourcePoolSnapshotResponse2 = unknown;
295
+ export declare const DeleteResourcePoolSnapshotResponse2: S.Schema<DeleteResourcePoolSnapshotResponse2>;
296
+ export interface DeleteShareRequest {
297
+ projectId: string;
298
+ region: string;
299
+ resourcePoolId: string;
300
+ shareId: string;
301
+ }
302
+ export declare const DeleteShareRequest: S.Schema<DeleteShareRequest>;
303
+ export type DeleteShareResponse2 = unknown;
304
+ export declare const DeleteShareResponse2: S.Schema<DeleteShareResponse2>;
305
+ export interface DeleteShareExportPolicyRequest {
306
+ projectId: string;
307
+ region: string;
308
+ policyId: string;
309
+ }
310
+ export declare const DeleteShareExportPolicyRequest: S.Schema<DeleteShareExportPolicyRequest>;
311
+ export type DeleteShareExportPolicyResponse2 = unknown;
312
+ export declare const DeleteShareExportPolicyResponse2: S.Schema<DeleteShareExportPolicyResponse2>;
313
+ export interface DisableLockRequest {
314
+ region: string;
315
+ projectId: string;
316
+ }
317
+ export declare const DisableLockRequest: S.Schema<DisableLockRequest>;
318
+ export type DisableLockResponse2 = unknown;
319
+ export declare const DisableLockResponse2: S.Schema<DisableLockResponse2>;
320
+ export interface EnableLockRequest {
321
+ region: string;
322
+ projectId: string;
323
+ }
324
+ export declare const EnableLockRequest: S.Schema<EnableLockRequest>;
325
+ export interface EnableLockResponse {
326
+ lockId?: string;
327
+ }
328
+ export declare const EnableLockResponse: S.Schema<EnableLockResponse>;
329
+ export interface GetLockRequest {
330
+ region: string;
331
+ projectId: string;
332
+ }
333
+ export declare const GetLockRequest: S.Schema<GetLockRequest>;
334
+ export interface GetLockResponse {
335
+ lockId?: string;
336
+ }
337
+ export declare const GetLockResponse: S.Schema<GetLockResponse>;
338
+ export interface GetResourcePoolRequest {
339
+ projectId: string;
340
+ region: string;
341
+ resourcePoolId: string;
342
+ }
343
+ export declare const GetResourcePoolRequest: S.Schema<GetResourcePoolRequest>;
344
+ export interface GetResourcePoolResponse {
345
+ /** Resource Pool */
346
+ resourcePool?: ResourcePool;
347
+ }
348
+ export declare const GetResourcePoolResponse: S.Schema<GetResourcePoolResponse>;
349
+ export interface GetResourcePoolSnapshotRequest {
350
+ projectId: string;
351
+ region: string;
352
+ resourcePoolId: string;
353
+ snapshotName: string;
354
+ }
355
+ export declare const GetResourcePoolSnapshotRequest: S.Schema<GetResourcePoolSnapshotRequest>;
356
+ export interface GetResourcePoolSnapshotResponse {
357
+ /** Resource Pool Snapshot */
358
+ resourcePoolSnapshot?: ResourcePoolSnapshot;
359
+ }
360
+ export declare const GetResourcePoolSnapshotResponse: S.Schema<GetResourcePoolSnapshotResponse>;
361
+ export interface GetShareRequest {
362
+ projectId: string;
363
+ region: string;
364
+ resourcePoolId: string;
365
+ shareId: string;
366
+ }
367
+ export declare const GetShareRequest: S.Schema<GetShareRequest>;
368
+ export interface GetShareResponse {
369
+ /** Share */
370
+ share?: Share;
371
+ }
372
+ export declare const GetShareResponse: S.Schema<GetShareResponse>;
373
+ export interface GetShareExportPolicyRequest {
374
+ projectId: string;
375
+ region: string;
376
+ policyId: string;
377
+ }
378
+ export declare const GetShareExportPolicyRequest: S.Schema<GetShareExportPolicyRequest>;
379
+ export interface GetShareExportPolicyResponse {
380
+ /** Share Export Policies */
381
+ shareExportPolicy?: ShareExportPolicy;
382
+ }
383
+ export declare const GetShareExportPolicyResponse: S.Schema<GetShareExportPolicyResponse>;
384
+ export interface GetSnapshotPolicyRequest {
385
+ projectId: string;
386
+ id: string;
387
+ }
388
+ export declare const GetSnapshotPolicyRequest: S.Schema<GetSnapshotPolicyRequest>;
389
+ export interface SnapshotPolicySchedule {
390
+ /** Retention Count */
391
+ count?: number;
392
+ /** Interval of the Schedule (follows the cron schedule expression in Unix-like systems) */
393
+ interval?: string;
394
+ /** Prefix used for the snapshots created by this policy */
395
+ prefix?: string;
396
+ /** Retention Period (ISO 8601 format or "infinite") */
397
+ retentionPeriod?: string;
398
+ /** ID of the Schedule */
399
+ scheduleId?: string;
400
+ }
401
+ export declare const SnapshotPolicySchedule: S.Schema<SnapshotPolicySchedule>;
402
+ /** (deprecated) associated schedules */
403
+ export type SnapshotPolicySchedulesList = Array<SnapshotPolicySchedule>;
404
+ export declare const SnapshotPolicySchedulesList: S.Schema<SnapshotPolicySchedulesList>;
405
+ export interface SnapshotPolicySnapshotPolicySchedule {
406
+ createdAt?: string;
407
+ /** ID of the Schedule */
408
+ id?: string;
409
+ /** Interval of the Schedule (follows the cron schedule expression in Unix-like systems) */
410
+ interval?: string;
411
+ /** Name of the Schedule */
412
+ name?: string;
413
+ /** Prefix used for the snapshots created by this policy */
414
+ prefix?: string;
415
+ /** Retention Count */
416
+ retentionCount?: number;
417
+ /** Retention Period (ISO 8601 format or "infinite") */
418
+ retentionPeriod?: string;
419
+ }
420
+ export declare const SnapshotPolicySnapshotPolicySchedule: S.Schema<SnapshotPolicySnapshotPolicySchedule>;
421
+ /** associated schedules */
422
+ export type SnapshotPolicySnapshotSchedulesList = Array<SnapshotPolicySnapshotPolicySchedule>;
423
+ export declare const SnapshotPolicySnapshotSchedulesList: S.Schema<SnapshotPolicySnapshotSchedulesList>;
424
+ export interface SnapshotPolicy {
425
+ /** Comment of the Snapshot Policy */
426
+ comment?: string;
427
+ /** created at timestamp */
428
+ createdAt?: string;
429
+ /** Wether the Snapshot Policy is enabled */
430
+ enabled?: boolean;
431
+ /** ID of the Snapshot Policy */
432
+ id?: string;
433
+ /** Name of the Snapshot Policy */
434
+ name?: string;
435
+ /** (deprecated) associated schedules */
436
+ schedules?: SnapshotPolicySchedulesList;
437
+ /** associated schedules */
438
+ snapshotSchedules?: SnapshotPolicySnapshotSchedulesList;
439
+ }
440
+ export declare const SnapshotPolicy: S.Schema<SnapshotPolicy>;
441
+ export interface GetSnapshotPolicyResponse {
442
+ /** Snapshot Policy */
443
+ snapshotPolicy?: SnapshotPolicy;
444
+ }
445
+ export declare const GetSnapshotPolicyResponse: S.Schema<GetSnapshotPolicyResponse>;
446
+ export interface ListPerformanceClassesRequest {
447
+ }
448
+ export declare const ListPerformanceClassesRequest: S.Schema<ListPerformanceClassesRequest>;
449
+ export interface PerformanceClass {
450
+ /** IOPS of the Performance Class */
451
+ iops?: number;
452
+ /** Name of the Performance Class */
453
+ name?: string;
454
+ /** Throughput of the Performance Class */
455
+ throughput?: number;
456
+ }
457
+ export declare const PerformanceClass: S.Schema<PerformanceClass>;
458
+ /** List of Performance Classes */
459
+ export type ListPerformanceClassesResponsePerformanceClassesList = Array<PerformanceClass>;
460
+ export declare const ListPerformanceClassesResponsePerformanceClassesList: S.Schema<ListPerformanceClassesResponsePerformanceClassesList>;
461
+ export interface ListPerformanceClassesResponse {
462
+ /** List of Performance Classes */
463
+ performanceClasses?: ListPerformanceClassesResponsePerformanceClassesList;
464
+ }
465
+ export declare const ListPerformanceClassesResponse: S.Schema<ListPerformanceClassesResponse>;
466
+ export interface ListResourcePoolsRequest {
467
+ projectId: string;
468
+ region: string;
469
+ }
470
+ export declare const ListResourcePoolsRequest: S.Schema<ListResourcePoolsRequest>;
471
+ /** List of Resource Pools */
472
+ export type ListResourcePoolsResponseResourcePoolsList = Array<ResourcePool>;
473
+ export declare const ListResourcePoolsResponseResourcePoolsList: S.Schema<ListResourcePoolsResponseResourcePoolsList>;
474
+ export interface ListResourcePoolsResponse {
475
+ /** List of Resource Pools */
476
+ resourcePools?: ListResourcePoolsResponseResourcePoolsList;
477
+ }
478
+ export declare const ListResourcePoolsResponse: S.Schema<ListResourcePoolsResponse>;
479
+ export interface ListResourcePoolSnapshotsRequest {
480
+ projectId: string;
481
+ region: string;
482
+ resourcePoolId: string;
483
+ }
484
+ export declare const ListResourcePoolSnapshotsRequest: S.Schema<ListResourcePoolSnapshotsRequest>;
485
+ /** List of Resource Pool Snapshots */
486
+ export type ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList = Array<ResourcePoolSnapshot>;
487
+ export declare const ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList: S.Schema<ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList>;
488
+ export interface ListResourcePoolSnapshotsResponse {
489
+ /** List of Resource Pool Snapshots */
490
+ resourcePoolSnapshots?: ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList;
491
+ }
492
+ export declare const ListResourcePoolSnapshotsResponse: S.Schema<ListResourcePoolSnapshotsResponse>;
493
+ export interface ListShareExportPoliciesRequest {
494
+ projectId: string;
495
+ region: string;
496
+ }
497
+ export declare const ListShareExportPoliciesRequest: S.Schema<ListShareExportPoliciesRequest>;
498
+ /** List of Share Export Policies */
499
+ export type ListShareExportPoliciesResponseShareExportPoliciesList = Array<ShareExportPolicy>;
500
+ export declare const ListShareExportPoliciesResponseShareExportPoliciesList: S.Schema<ListShareExportPoliciesResponseShareExportPoliciesList>;
501
+ export interface ListShareExportPoliciesResponse {
502
+ /** List of Share Export Policies */
503
+ shareExportPolicies?: ListShareExportPoliciesResponseShareExportPoliciesList;
504
+ }
505
+ export declare const ListShareExportPoliciesResponse: S.Schema<ListShareExportPoliciesResponse>;
506
+ export interface ListSharesRequest {
507
+ projectId: string;
508
+ region: string;
509
+ resourcePoolId: string;
510
+ }
511
+ export declare const ListSharesRequest: S.Schema<ListSharesRequest>;
512
+ /** List of Shares */
513
+ export type ListSharesResponseSharesList = Array<Share>;
514
+ export declare const ListSharesResponseSharesList: S.Schema<ListSharesResponseSharesList>;
515
+ export interface ListSharesResponse {
516
+ /** List of Shares */
517
+ shares?: ListSharesResponseSharesList;
518
+ }
519
+ export declare const ListSharesResponse: S.Schema<ListSharesResponse>;
520
+ export interface ListSnapshotPoliciesRequest {
521
+ projectId: string;
522
+ immutable?: boolean;
523
+ }
524
+ export declare const ListSnapshotPoliciesRequest: S.Schema<ListSnapshotPoliciesRequest>;
525
+ /** List of Snapshot Policies */
526
+ export type ListSnapshotPoliciesResponseSnapshotPoliciesList = Array<SnapshotPolicy>;
527
+ export declare const ListSnapshotPoliciesResponseSnapshotPoliciesList: S.Schema<ListSnapshotPoliciesResponseSnapshotPoliciesList>;
528
+ export interface ListSnapshotPoliciesResponse {
529
+ /** List of Snapshot Policies */
530
+ snapshotPolicies?: ListSnapshotPoliciesResponseSnapshotPoliciesList;
531
+ }
532
+ export declare const ListSnapshotPoliciesResponse: S.Schema<ListSnapshotPoliciesResponse>;
533
+ /** (optional) List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
534
+ export type UpdateResourcePoolRequestIpAclList = Array<string>;
535
+ export declare const UpdateResourcePoolRequestIpAclList: S.Schema<UpdateResourcePoolRequestIpAclList>;
536
+ /** An optional object that represents the labels associated with the resource pool. */
537
+ export type UpdateResourcePoolRequestLabelsMap = {
538
+ [key: string]: string | undefined;
539
+ };
540
+ export declare const UpdateResourcePoolRequestLabelsMap: S.Schema<UpdateResourcePoolRequestLabelsMap>;
541
+ export interface UpdateResourcePoolRequest {
542
+ projectId: string;
543
+ region: string;
544
+ resourcePoolId: string;
545
+ /** (optional) List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
546
+ ipAcl?: UpdateResourcePoolRequestIpAclList;
547
+ /** An optional object that represents the labels associated with the resource pool. */
548
+ labels?: UpdateResourcePoolRequestLabelsMap;
549
+ /** (optional) Name of the performance class */
550
+ performanceClass?: string;
551
+ /** (optional) Size of the Resource Pool (unit: gigabytes) */
552
+ sizeGigabytes?: number | null;
553
+ /** (optional) Id of the Snapshot Policy to use If not set, the Snapshot Policy is not updated If set to an empty string, the Snapshot Policy is removed */
554
+ snapshotPolicyId?: string | null;
555
+ /** Whether the .snapshot directory is visible when mounting the resource pool. Setting this value to false might prevent you from accessing the snapshots (e.g. for security reasons). Additionally, the access to the snapshots is always controlled by the export policy of the resource pool. That means, if snapshots are visible and the export policy allows for reading the resource pool, then it also allows reading the snapshot of all shares. */
556
+ snapshotsAreVisible?: boolean;
557
+ }
558
+ export declare const UpdateResourcePoolRequest: S.Schema<UpdateResourcePoolRequest>;
559
+ export interface UpdateResourcePoolResponse {
560
+ /** Updated Resource Pool */
561
+ resourcePool?: ResourcePool;
562
+ }
563
+ export declare const UpdateResourcePoolResponse: S.Schema<UpdateResourcePoolResponse>;
564
+ export interface UpdateResourcePoolSnapshotRequest {
565
+ projectId: string;
566
+ region: string;
567
+ resourcePoolId: string;
568
+ snapshotName: string;
569
+ /** (optional) A comment to add more information about a snapshot */
570
+ comment?: string | null;
571
+ /** (optional) name of the Resource Pool Snapshot */
572
+ name?: string | null;
573
+ }
574
+ export declare const UpdateResourcePoolSnapshotRequest: S.Schema<UpdateResourcePoolSnapshotRequest>;
575
+ export interface UpdateResourcePoolSnapshotResponse {
576
+ /** Updated Resource Pool Snapshot */
577
+ resourcePoolSnapshot?: ResourcePoolSnapshot;
578
+ }
579
+ export declare const UpdateResourcePoolSnapshotResponse: S.Schema<UpdateResourcePoolSnapshotResponse>;
580
+ /** An optional object that represents the labels associated with the share. */
581
+ export type UpdateShareRequestLabelsMap = {
582
+ [key: string]: string | undefined;
583
+ };
584
+ export declare const UpdateShareRequestLabelsMap: S.Schema<UpdateShareRequestLabelsMap>;
585
+ export interface UpdateShareRequest {
586
+ projectId: string;
587
+ region: string;
588
+ resourcePoolId: string;
589
+ shareId: string;
590
+ /** Name of the Share Export Policy to use in the Share. The behavior depends on the value: - If not set (null): Keep the existing export policy (if any) - If set to empty string (""): Remove the existing export policy - If set to a policy name: Update to use the specified policy, creating a new association if none exists */
591
+ exportPolicyName?: string | null;
592
+ /** An optional object that represents the labels associated with the share. */
593
+ labels?: UpdateShareRequestLabelsMap;
594
+ /** Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gibibytes) */
595
+ spaceHardLimitGigabytes?: number | null;
596
+ }
597
+ export declare const UpdateShareRequest: S.Schema<UpdateShareRequest>;
598
+ export interface UpdateShareResponse {
599
+ /** Updated Share */
600
+ share?: Share;
601
+ }
602
+ export declare const UpdateShareResponse: S.Schema<UpdateShareResponse>;
603
+ /** An optional object that represents the labels associated with the share export policy. */
604
+ export type UpdateShareExportPolicyRequestLabelsMap = {
605
+ [key: string]: string | undefined;
606
+ };
607
+ export declare const UpdateShareExportPolicyRequestLabelsMap: S.Schema<UpdateShareExportPolicyRequestLabelsMap>;
608
+ /** IP access control list, where IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) This array cannot be empty */
609
+ export type UpdateShareExportPolicyBodyRuleIpAclList = Array<string>;
610
+ export declare const UpdateShareExportPolicyBodyRuleIpAclList: S.Schema<UpdateShareExportPolicyBodyRuleIpAclList>;
611
+ export interface UpdateShareExportPolicyBodyRule {
612
+ /** Description of the Rule (optional) */
613
+ description?: string | null;
614
+ /** IP access control list, where IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) This array cannot be empty */
615
+ ipAcl?: UpdateShareExportPolicyBodyRuleIpAclList;
616
+ /** Order of the rule within a Share Export Policy. The order is used so that when a client IP matches multiple rules, the first rule is applied This field must be set */
617
+ order?: number;
618
+ /** Flag to indicate if client IPs matching this rule can only mount the share in read only mode Default: false */
619
+ readOnly?: boolean;
620
+ /** Flag to honor set UUID Default: false */
621
+ setUuid?: boolean;
622
+ /** Flag to indicate if client IPs matching this rule have root access on the Share Default: true */
623
+ superUser?: boolean;
624
+ }
625
+ export declare const UpdateShareExportPolicyBodyRule: S.Schema<UpdateShareExportPolicyBodyRule>;
626
+ /** List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule. The whole set of rules needs to be sent in the same request, e.g. if 1 rule is sent, the share export policy will have just that 1 rule, as opposed to extending the existing set of rules with the 1 rule that was sent Important note: the array of rules passed always overwrites the rule array (i.e. sending an empty array removes all rules) */
627
+ export type UpdateShareExportPolicyRequestRulesList = Array<UpdateShareExportPolicyBodyRule>;
628
+ export declare const UpdateShareExportPolicyRequestRulesList: S.Schema<UpdateShareExportPolicyRequestRulesList>;
629
+ export interface UpdateShareExportPolicyRequest {
630
+ projectId: string;
631
+ region: string;
632
+ policyId: string;
633
+ /** An optional object that represents the labels associated with the share export policy. */
634
+ labels?: UpdateShareExportPolicyRequestLabelsMap;
635
+ /** List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule. The whole set of rules needs to be sent in the same request, e.g. if 1 rule is sent, the share export policy will have just that 1 rule, as opposed to extending the existing set of rules with the 1 rule that was sent Important note: the array of rules passed always overwrites the rule array (i.e. sending an empty array removes all rules) */
636
+ rules?: UpdateShareExportPolicyRequestRulesList | null;
637
+ }
638
+ export declare const UpdateShareExportPolicyRequest: S.Schema<UpdateShareExportPolicyRequest>;
639
+ export interface UpdateShareExportPolicyResponse {
640
+ shareExportPolicy?: ShareExportPolicy;
641
+ }
642
+ export declare const UpdateShareExportPolicyResponse: S.Schema<UpdateShareExportPolicyResponse>;
643
+ export type CreateResourcePoolError = BadRequest | StackitOpError;
644
+ /** Create Resource Pool Create a Resource Pool in a project. */
645
+ export declare const createResourcePool: API.OperationMethod<CreateResourcePoolRequest, CreateResourcePoolResponse, CreateResourcePoolError, StackitOpContext>;
646
+ export type CreateResourcePoolSnapshotError = BadRequest | StackitOpError;
647
+ /** Create Resource Pool Snapshot Creates a Snapshot of a Resource Pool in a project. */
648
+ export declare const createResourcePoolSnapshot: API.OperationMethod<CreateResourcePoolSnapshotRequest, CreateResourcePoolSnapshotResponse, CreateResourcePoolSnapshotError, StackitOpContext>;
649
+ export type CreateShareError = BadRequest | StackitOpError;
650
+ /** Create Share Creates a Share in a Resource Pool in a project. */
651
+ export declare const createShare: API.OperationMethod<CreateShareRequest, CreateShareResponse, CreateShareError, StackitOpContext>;
652
+ export type CreateShareExportPolicyError = BadRequest | StackitOpError;
653
+ /** Create Share Export Policy Creates a ShareExportPolicy in a Resource Pool in a project. */
654
+ export declare const createShareExportPolicy: API.OperationMethod<CreateShareExportPolicyRequest, CreateShareExportPolicyResponse, CreateShareExportPolicyError, StackitOpContext>;
655
+ export type DeleteResourcePoolError = BadRequest | StackitOpError;
656
+ /** Delete Resource Pool Deletes a Resource Pool in a project. */
657
+ export declare const deleteResourcePool: API.OperationMethod<DeleteResourcePoolRequest, DeleteResourcePoolResponse2, DeleteResourcePoolError, StackitOpContext>;
658
+ export type DeleteResourcePoolSnapshotError = BadRequest | StackitOpError;
659
+ /** Delete Resource Pool Snapshot Deletes a Snapshot from a Resource Pool in a project. */
660
+ export declare const deleteResourcePoolSnapshot: API.OperationMethod<DeleteResourcePoolSnapshotRequest, DeleteResourcePoolSnapshotResponse2, DeleteResourcePoolSnapshotError, StackitOpContext>;
661
+ export type DeleteShareError = BadRequest | StackitOpError;
662
+ /** Delete Share Deletes a Shares in a Resource Pool in a project. */
663
+ export declare const deleteShare: API.OperationMethod<DeleteShareRequest, DeleteShareResponse2, DeleteShareError, StackitOpContext>;
664
+ export type DeleteShareExportPolicyError = BadRequest | StackitOpError;
665
+ /** Delete Share Export Policy Deletes a ShareExportPolicies in a Resource Pool in a project. */
666
+ export declare const deleteShareExportPolicy: API.OperationMethod<DeleteShareExportPolicyRequest, DeleteShareExportPolicyResponse2, DeleteShareExportPolicyError, StackitOpContext>;
667
+ export type DisableLockError = StackitOpError;
668
+ /** Clean up locks for a project so that it can be deleted successfully. */
669
+ export declare const disableLock: API.OperationMethod<DisableLockRequest, DisableLockResponse2, DisableLockError, StackitOpContext>;
670
+ export type EnableLockError = StackitOpError;
671
+ /** Enable Lock for a project. Necessary for immutable snapshots and to prevent accidental deletion of resources. */
672
+ export declare const enableLock: API.OperationMethod<EnableLockRequest, EnableLockResponse, EnableLockError, StackitOpContext>;
673
+ export type GetLockError = StackitOpError;
674
+ /** Get lock status for a project. */
675
+ export declare const getLock: API.OperationMethod<GetLockRequest, GetLockResponse, GetLockError, StackitOpContext>;
676
+ export type GetResourcePoolError = BadRequest | StackitOpError;
677
+ /** Get Resource Pool Retrieves a Resource Pool in a project. */
678
+ export declare const getResourcePool: API.OperationMethod<GetResourcePoolRequest, GetResourcePoolResponse, GetResourcePoolError, StackitOpContext>;
679
+ export type GetResourcePoolSnapshotError = BadRequest | StackitOpError;
680
+ /** Get Resource Pool Snapshot Retrieves a Snapshot from a Resource Pool in a project. */
681
+ export declare const getResourcePoolSnapshot: API.OperationMethod<GetResourcePoolSnapshotRequest, GetResourcePoolSnapshotResponse, GetResourcePoolSnapshotError, StackitOpContext>;
682
+ export type GetShareError = BadRequest | StackitOpError;
683
+ /** Get Share Retrieves a Shares in a Resource Pool in a project. */
684
+ export declare const getShare: API.OperationMethod<GetShareRequest, GetShareResponse, GetShareError, StackitOpContext>;
685
+ export type GetShareExportPolicyError = BadRequest | StackitOpError;
686
+ /** Get Share Export Policy Retrieves a ShareExportPolicies in a Resource Pool in a project. */
687
+ export declare const getShareExportPolicy: API.OperationMethod<GetShareExportPolicyRequest, GetShareExportPolicyResponse, GetShareExportPolicyError, StackitOpContext>;
688
+ export type GetSnapshotPolicyError = StackitOpError;
689
+ /** Get Snapshot Policy */
690
+ export declare const getSnapshotPolicy: API.OperationMethod<GetSnapshotPolicyRequest, GetSnapshotPolicyResponse, GetSnapshotPolicyError, StackitOpContext>;
691
+ export type ListPerformanceClassesError = BadRequest | StackitOpError;
692
+ /** List Resource Performance Classes Lists all performances classes available */
693
+ export declare const listPerformanceClasses: API.OperationMethod<ListPerformanceClassesRequest, ListPerformanceClassesResponse, ListPerformanceClassesError, StackitOpContext>;
694
+ export type ListResourcePoolsError = BadRequest | StackitOpError;
695
+ /** List Resource Pools Lists Resource Pools in a project. */
696
+ export declare const listResourcePools: API.OperationMethod<ListResourcePoolsRequest, ListResourcePoolsResponse, ListResourcePoolsError, StackitOpContext>;
697
+ export type ListResourcePoolSnapshotsError = BadRequest | StackitOpError;
698
+ /** List Resource Pool Snapshots Lists the Snapshots of a Resource Pool in a project. */
699
+ export declare const listResourcePoolSnapshots: API.OperationMethod<ListResourcePoolSnapshotsRequest, ListResourcePoolSnapshotsResponse, ListResourcePoolSnapshotsError, StackitOpContext>;
700
+ export type ListShareExportPoliciesError = BadRequest | StackitOpError;
701
+ /** List Share Export Policies Lists ShareExportPolicies in a Resource Pool in a project. */
702
+ export declare const listShareExportPolicies: API.OperationMethod<ListShareExportPoliciesRequest, ListShareExportPoliciesResponse, ListShareExportPoliciesError, StackitOpContext>;
703
+ export type ListSharesError = BadRequest | StackitOpError;
704
+ /** List Shares Lists Shares in a Resource Pool in a project. */
705
+ export declare const listShares: API.OperationMethod<ListSharesRequest, ListSharesResponse, ListSharesError, StackitOpContext>;
706
+ export type ListSnapshotPoliciesError = StackitOpError;
707
+ /** List Snapshot Policies */
708
+ export declare const listSnapshotPolicies: API.OperationMethod<ListSnapshotPoliciesRequest, ListSnapshotPoliciesResponse, ListSnapshotPoliciesError, StackitOpContext>;
709
+ export type UpdateResourcePoolError = BadRequest | StackitOpError;
710
+ /** Update Resource Pool Updates a Resource Pool in a project. */
711
+ export declare const updateResourcePool: API.OperationMethod<UpdateResourcePoolRequest, UpdateResourcePoolResponse, UpdateResourcePoolError, StackitOpContext>;
712
+ export type UpdateResourcePoolSnapshotError = BadRequest | StackitOpError;
713
+ /** Update Resource Pool Snapshot Updates a Snapshot from a Resource Pool in a project. */
714
+ export declare const updateResourcePoolSnapshot: API.OperationMethod<UpdateResourcePoolSnapshotRequest, UpdateResourcePoolSnapshotResponse, UpdateResourcePoolSnapshotError, StackitOpContext>;
715
+ export type UpdateShareError = BadRequest | StackitOpError;
716
+ /** Update Share Updates a Shares in a Resource Pool in a project. */
717
+ export declare const updateShare: API.OperationMethod<UpdateShareRequest, UpdateShareResponse, UpdateShareError, StackitOpContext>;
718
+ export type UpdateShareExportPolicyError = BadRequest | StackitOpError;
719
+ /** Update Share Export Policy Updates a ShareExportPolicies in a Resource Pool in a project. */
720
+ export declare const updateShareExportPolicy: API.OperationMethod<UpdateShareExportPolicyRequest, UpdateShareExportPolicyResponse, UpdateShareExportPolicyError, StackitOpContext>;
721
+ //# sourceMappingURL=sfs.d.ts.map