@distilled.cloud/stackit 1.0.0-rc.18 → 1.0.0-rc.19

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/lib/_bundle/sdk.js +1 -1
  2. package/lib/_bundle/sdk.js.map +1 -1
  3. package/lib/pagination.d.ts.map +1 -1
  4. package/lib/protocol.d.ts +2 -1
  5. package/lib/protocol.d.ts.map +1 -1
  6. package/lib/services/alb.d.ts +134 -132
  7. package/lib/services/alb.d.ts.map +1 -1
  8. package/lib/services/alb.js +24 -24
  9. package/lib/services/alb.js.map +1 -1
  10. package/lib/services/alb_waf.d.ts +51 -51
  11. package/lib/services/alb_waf.d.ts.map +1 -1
  12. package/lib/services/alb_waf.js +29 -29
  13. package/lib/services/alb_waf.js.map +1 -1
  14. package/lib/services/authorization.d.ts +15 -15
  15. package/lib/services/authorization.d.ts.map +1 -1
  16. package/lib/services/authorization.js +1 -1
  17. package/lib/services/authorization.js.map +1 -1
  18. package/lib/services/automation.d.ts +47 -46
  19. package/lib/services/automation.d.ts.map +1 -1
  20. package/lib/services/automation.js +22 -22
  21. package/lib/services/automation.js.map +1 -1
  22. package/lib/services/cdn.d.ts +129 -129
  23. package/lib/services/cdn.d.ts.map +1 -1
  24. package/lib/services/cdn.js +22 -22
  25. package/lib/services/cdn.js.map +1 -1
  26. package/lib/services/certificates.d.ts +40 -40
  27. package/lib/services/certificates.d.ts.map +1 -1
  28. package/lib/services/certificates.js +1 -1
  29. package/lib/services/certificates.js.map +1 -1
  30. package/lib/services/cost.d.ts +15 -15
  31. package/lib/services/cost.d.ts.map +1 -1
  32. package/lib/services/cost.js +1 -1
  33. package/lib/services/cost.js.map +1 -1
  34. package/lib/services/dns.d.ts +218 -161
  35. package/lib/services/dns.d.ts.map +1 -1
  36. package/lib/services/dns.js +40 -39
  37. package/lib/services/dns.js.map +1 -1
  38. package/lib/services/dremio.d.ts +49 -34
  39. package/lib/services/dremio.d.ts.map +1 -1
  40. package/lib/services/dremio.js +1 -1
  41. package/lib/services/dremio.js.map +1 -1
  42. package/lib/services/edge.d.ts +21 -21
  43. package/lib/services/edge.d.ts.map +1 -1
  44. package/lib/services/edge.js +23 -23
  45. package/lib/services/edge.js.map +1 -1
  46. package/lib/services/functions.d.ts +104 -101
  47. package/lib/services/functions.d.ts.map +1 -1
  48. package/lib/services/functions.js +24 -24
  49. package/lib/services/functions.js.map +1 -1
  50. package/lib/services/git.d.ts +120 -29
  51. package/lib/services/git.d.ts.map +1 -1
  52. package/lib/services/git.js +37 -33
  53. package/lib/services/git.js.map +1 -1
  54. package/lib/services/iaas.d.ts +430 -415
  55. package/lib/services/iaas.d.ts.map +1 -1
  56. package/lib/services/iaas.js +179 -179
  57. package/lib/services/iaas.js.map +1 -1
  58. package/lib/services/identity.d.ts +204 -0
  59. package/lib/services/identity.d.ts.map +1 -0
  60. package/lib/services/identity.js +2 -0
  61. package/lib/services/identity.js.map +1 -0
  62. package/lib/services/index.d.ts +2 -0
  63. package/lib/services/index.d.ts.map +1 -1
  64. package/lib/services/index.js +2 -0
  65. package/lib/services/intake.d.ts +58 -58
  66. package/lib/services/intake.d.ts.map +1 -1
  67. package/lib/services/intake.js +25 -25
  68. package/lib/services/intake.js.map +1 -1
  69. package/lib/services/kms.d.ts +13 -13
  70. package/lib/services/kms.d.ts.map +1 -1
  71. package/lib/services/kms.js +37 -37
  72. package/lib/services/kms.js.map +1 -1
  73. package/lib/services/lb_ip_lists.d.ts +14 -14
  74. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  75. package/lib/services/lb_ip_lists.js +1 -1
  76. package/lib/services/lb_ip_lists.js.map +1 -1
  77. package/lib/services/load_balancer.d.ts +128 -126
  78. package/lib/services/load_balancer.d.ts.map +1 -1
  79. package/lib/services/load_balancer.js +25 -25
  80. package/lib/services/load_balancer.js.map +1 -1
  81. package/lib/services/logme.d.ts +96 -45
  82. package/lib/services/logme.d.ts.map +1 -1
  83. package/lib/services/logme.js +34 -31
  84. package/lib/services/logme.js.map +1 -1
  85. package/lib/services/logs.d.ts +78 -24
  86. package/lib/services/logs.d.ts.map +1 -1
  87. package/lib/services/logs.js +34 -33
  88. package/lib/services/logs.js.map +1 -1
  89. package/lib/services/mailout.d.ts +476 -0
  90. package/lib/services/mailout.d.ts.map +1 -0
  91. package/lib/services/mailout.js +33 -0
  92. package/lib/services/mailout.js.map +1 -0
  93. package/lib/services/mariadb.d.ts +81 -30
  94. package/lib/services/mariadb.d.ts.map +1 -1
  95. package/lib/services/mariadb.js +35 -32
  96. package/lib/services/mariadb.js.map +1 -1
  97. package/lib/services/model_experiments.d.ts +33 -33
  98. package/lib/services/model_experiments.d.ts.map +1 -1
  99. package/lib/services/model_experiments.js +1 -1
  100. package/lib/services/model_experiments.js.map +1 -1
  101. package/lib/services/model_serving.d.ts +25 -25
  102. package/lib/services/model_serving.d.ts.map +1 -1
  103. package/lib/services/model_serving.js +1 -1
  104. package/lib/services/model_serving.js.map +1 -1
  105. package/lib/services/mongodb_flex.d.ts +142 -137
  106. package/lib/services/mongodb_flex.d.ts.map +1 -1
  107. package/lib/services/mongodb_flex.js +38 -38
  108. package/lib/services/mongodb_flex.js.map +1 -1
  109. package/lib/services/object_storage.d.ts +6 -6
  110. package/lib/services/object_storage.d.ts.map +1 -1
  111. package/lib/services/object_storage.js +34 -34
  112. package/lib/services/object_storage.js.map +1 -1
  113. package/lib/services/observability.d.ts +362 -362
  114. package/lib/services/observability.d.ts.map +1 -1
  115. package/lib/services/observability.js +147 -147
  116. package/lib/services/observability.js.map +1 -1
  117. package/lib/services/opensearch.d.ts +87 -36
  118. package/lib/services/opensearch.d.ts.map +1 -1
  119. package/lib/services/opensearch.js +35 -32
  120. package/lib/services/opensearch.js.map +1 -1
  121. package/lib/services/pim.d.ts +334 -278
  122. package/lib/services/pim.d.ts.map +1 -1
  123. package/lib/services/pim.js +24 -24
  124. package/lib/services/pim.js.map +1 -1
  125. package/lib/services/postgres_flex.d.ts +59 -55
  126. package/lib/services/postgres_flex.d.ts.map +1 -1
  127. package/lib/services/postgres_flex.js +47 -46
  128. package/lib/services/postgres_flex.js.map +1 -1
  129. package/lib/services/pubsub.d.ts +36 -36
  130. package/lib/services/pubsub.d.ts.map +1 -1
  131. package/lib/services/pubsub.js +33 -33
  132. package/lib/services/pubsub.js.map +1 -1
  133. package/lib/services/rabbitmq.d.ts +92 -41
  134. package/lib/services/rabbitmq.d.ts.map +1 -1
  135. package/lib/services/rabbitmq.js +36 -33
  136. package/lib/services/rabbitmq.js.map +1 -1
  137. package/lib/services/registry.d.ts +26 -22
  138. package/lib/services/registry.d.ts.map +1 -1
  139. package/lib/services/registry.js +1 -1
  140. package/lib/services/registry.js.map +1 -1
  141. package/lib/services/resource_manager.d.ts +56 -56
  142. package/lib/services/resource_manager.d.ts.map +1 -1
  143. package/lib/services/resource_manager.js +32 -32
  144. package/lib/services/resource_manager.js.map +1 -1
  145. package/lib/services/run_command.d.ts +42 -42
  146. package/lib/services/run_command.d.ts.map +1 -1
  147. package/lib/services/run_command.js +1 -1
  148. package/lib/services/run_command.js.map +1 -1
  149. package/lib/services/sca.d.ts +349 -213
  150. package/lib/services/sca.d.ts.map +1 -1
  151. package/lib/services/sca.js +31 -23
  152. package/lib/services/sca.js.map +1 -1
  153. package/lib/services/scf.d.ts +24 -24
  154. package/lib/services/scf.d.ts.map +1 -1
  155. package/lib/services/scf.js +33 -33
  156. package/lib/services/scf.js.map +1 -1
  157. package/lib/services/secrets_manager.d.ts +21 -21
  158. package/lib/services/secrets_manager.d.ts.map +1 -1
  159. package/lib/services/secrets_manager.js +39 -39
  160. package/lib/services/secrets_manager.js.map +1 -1
  161. package/lib/services/server_backup.d.ts +31 -31
  162. package/lib/services/server_backup.d.ts.map +1 -1
  163. package/lib/services/server_backup.js +25 -25
  164. package/lib/services/server_backup.js.map +1 -1
  165. package/lib/services/server_update.d.ts +17 -17
  166. package/lib/services/server_update.d.ts.map +1 -1
  167. package/lib/services/server_update.js +1 -1
  168. package/lib/services/server_update.js.map +1 -1
  169. package/lib/services/service_account.d.ts +30 -30
  170. package/lib/services/service_account.d.ts.map +1 -1
  171. package/lib/services/service_account.js +26 -26
  172. package/lib/services/service_account.js.map +1 -1
  173. package/lib/services/service_enablement.d.ts +22 -21
  174. package/lib/services/service_enablement.d.ts.map +1 -1
  175. package/lib/services/service_enablement.js +1 -1
  176. package/lib/services/service_enablement.js.map +1 -1
  177. package/lib/services/sfs.d.ts +151 -141
  178. package/lib/services/sfs.d.ts.map +1 -1
  179. package/lib/services/sfs.js +46 -45
  180. package/lib/services/sfs.js.map +1 -1
  181. package/lib/services/ske.d.ts +121 -110
  182. package/lib/services/ske.d.ts.map +1 -1
  183. package/lib/services/ske.js +21 -21
  184. package/lib/services/ske.js.map +1 -1
  185. package/lib/services/sqlserverflex.d.ts +47 -47
  186. package/lib/services/sqlserverflex.d.ts.map +1 -1
  187. package/lib/services/sqlserverflex.js +36 -36
  188. package/lib/services/sqlserverflex.js.map +1 -1
  189. package/lib/services/stackit_marketplace.d.ts +39 -39
  190. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  191. package/lib/services/stackit_marketplace.js +22 -22
  192. package/lib/services/stackit_marketplace.js.map +1 -1
  193. package/lib/services/telemetry_link.d.ts +80 -38
  194. package/lib/services/telemetry_link.d.ts.map +1 -1
  195. package/lib/services/telemetry_link.js +34 -33
  196. package/lib/services/telemetry_link.js.map +1 -1
  197. package/lib/services/telemetry_router.d.ts +116 -41
  198. package/lib/services/telemetry_router.d.ts.map +1 -1
  199. package/lib/services/telemetry_router.js +31 -28
  200. package/lib/services/telemetry_router.js.map +1 -1
  201. package/lib/services/ufw.d.ts +55 -54
  202. package/lib/services/ufw.d.ts.map +1 -1
  203. package/lib/services/ufw.js +1 -1
  204. package/lib/services/ufw.js.map +1 -1
  205. package/lib/services/valkey.d.ts +94 -43
  206. package/lib/services/valkey.d.ts.map +1 -1
  207. package/lib/services/valkey.js +35 -32
  208. package/lib/services/valkey.js.map +1 -1
  209. package/lib/services/vpn.d.ts +150 -142
  210. package/lib/services/vpn.d.ts.map +1 -1
  211. package/lib/services/vpn.js +40 -40
  212. package/lib/services/vpn.js.map +1 -1
  213. package/lib/services/workflows.d.ts +65 -65
  214. package/lib/services/workflows.d.ts.map +1 -1
  215. package/lib/services/workflows.js +23 -23
  216. package/lib/services/workflows.js.map +1 -1
  217. package/lib/services.lazy/alb.js +1 -1
  218. package/lib/services.lazy/automation.js +1 -1
  219. package/lib/services.lazy/dns.js +2 -2
  220. package/lib/services.lazy/functions.js +2 -2
  221. package/lib/services.lazy/git.js +2 -2
  222. package/lib/services.lazy/iaas.js +1 -1
  223. package/lib/services.lazy/identity.js +1 -0
  224. package/lib/services.lazy/index.js +2 -2
  225. package/lib/services.lazy/load_balancer.js +1 -1
  226. package/lib/services.lazy/logme.js +2 -2
  227. package/lib/services.lazy/logs.js +1 -1
  228. package/lib/services.lazy/mailout.js +4 -0
  229. package/lib/services.lazy/mariadb.js +2 -2
  230. package/lib/services.lazy/opensearch.js +2 -2
  231. package/lib/services.lazy/pim.js +1 -1
  232. package/lib/services.lazy/postgres_flex.js +1 -1
  233. package/lib/services.lazy/rabbitmq.js +2 -2
  234. package/lib/services.lazy/resource_manager.js +1 -1
  235. package/lib/services.lazy/sca.js +2 -2
  236. package/lib/services.lazy/secrets_manager.js +1 -1
  237. package/lib/services.lazy/sfs.js +2 -2
  238. package/lib/services.lazy/ske.js +1 -1
  239. package/lib/services.lazy/telemetry_link.js +1 -1
  240. package/lib/services.lazy/telemetry_router.js +2 -2
  241. package/lib/services.lazy/valkey.js +2 -2
  242. package/lib/services.lazy/vpn.js +1 -1
  243. package/package.json +5 -5
  244. package/src/pagination.ts +7 -3
  245. package/src/protocol.ts +10 -10
  246. package/src/services/alb.ts +135 -132
  247. package/src/services/alb_waf.ts +51 -51
  248. package/src/services/authorization.ts +15 -15
  249. package/src/services/automation.ts +53 -49
  250. package/src/services/cdn.ts +129 -129
  251. package/src/services/certificates.ts +40 -40
  252. package/src/services/cost.ts +15 -15
  253. package/src/services/dns.ts +497 -269
  254. package/src/services/dremio.ts +156 -118
  255. package/src/services/edge.ts +21 -21
  256. package/src/services/functions.ts +176 -172
  257. package/src/services/git.ts +354 -108
  258. package/src/services/iaas.ts +438 -415
  259. package/src/services/identity.ts +625 -0
  260. package/src/services/index.ts +2 -0
  261. package/src/services/intake.ts +58 -58
  262. package/src/services/kms.ts +13 -13
  263. package/src/services/lb_ip_lists.ts +14 -14
  264. package/src/services/load_balancer.ts +129 -126
  265. package/src/services/logme.ts +294 -122
  266. package/src/services/logs.ts +123 -72
  267. package/src/services/mailout.ts +1277 -0
  268. package/src/services/mariadb.ts +277 -105
  269. package/src/services/model_experiments.ts +33 -33
  270. package/src/services/model_serving.ts +25 -25
  271. package/src/services/mongodb_flex.ts +142 -137
  272. package/src/services/object_storage.ts +6 -6
  273. package/src/services/observability.ts +369 -362
  274. package/src/services/opensearch.ts +286 -114
  275. package/src/services/pim.ts +362 -278
  276. package/src/services/postgres_flex.ts +191 -179
  277. package/src/services/pubsub.ts +36 -36
  278. package/src/services/rabbitmq.ts +297 -125
  279. package/src/services/registry.ts +30 -26
  280. package/src/services/resource_manager.ts +57 -57
  281. package/src/services/run_command.ts +42 -42
  282. package/src/services/sca.ts +732 -371
  283. package/src/services/scf.ts +24 -24
  284. package/src/services/secrets_manager.ts +22 -22
  285. package/src/services/server_backup.ts +31 -31
  286. package/src/services/server_update.ts +17 -17
  287. package/src/services/service_account.ts +32 -30
  288. package/src/services/service_enablement.ts +28 -24
  289. package/src/services/sfs.ts +404 -395
  290. package/src/services/ske.ts +258 -228
  291. package/src/services/sqlserverflex.ts +47 -47
  292. package/src/services/stackit_marketplace.ts +39 -39
  293. package/src/services/telemetry_link.ts +136 -81
  294. package/src/services/telemetry_router.ts +283 -94
  295. package/src/services/ufw.ts +56 -54
  296. package/src/services/valkey.ts +290 -118
  297. package/src/services/vpn.ts +152 -142
  298. package/src/services/workflows.ts +65 -65
@@ -34,6 +34,15 @@ export class BadRequest
34
34
  [{ status: 400 }],
35
35
  ) {}
36
36
 
37
+ export class Conflict
38
+ extends /*@__PURE__*/ T.applyErrorMatchers(
39
+ /*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
40
+ code: S.Number,
41
+ message: S.String,
42
+ }).pipe(C.withConflictError),
43
+ [{ status: 409 }],
44
+ ) {}
45
+
37
46
  /** 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) */
38
47
  export type CreateResourcePoolRequestIpAclList = Array<string>;
39
48
  /** An optional object that represents the labels associated with the resource pool. */
@@ -46,7 +55,7 @@ export interface CreateResourcePoolRequest {
46
55
  /** 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) */
47
56
  ipAcl: CreateResourcePoolRequestIpAclList;
48
57
  /** An optional object that represents the labels associated with the resource pool. */
49
- labels?: CreateResourcePoolRequestLabelsMap;
58
+ labels?: CreateResourcePoolRequestLabelsMap | undefined;
50
59
  /** Name of the Resource Pool */
51
60
  name: string;
52
61
  /** Name of the performance class */
@@ -54,100 +63,100 @@ export interface CreateResourcePoolRequest {
54
63
  /** Size of the Resource Pool (unit: gibibytes) */
55
64
  sizeGigabytes: number;
56
65
  /** (optional) Id of the Snapshot Policy to use */
57
- snapshotPolicyId?: string;
66
+ snapshotPolicyId?: string | undefined;
58
67
  /** 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. */
59
- snapshotsAreVisible?: boolean;
68
+ snapshotsAreVisible?: boolean | undefined;
60
69
  }
61
70
  /** 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) */
62
71
  export type ResourcePoolIpAclList = Array<string>;
63
72
  export type ResourcePoolLabelsMap = { [key: string]: string | undefined };
64
73
  export interface ResourcePoolPerformanceClass {
65
74
  /** Name of the performance class */
66
- name?: string;
75
+ name?: string | undefined;
67
76
  /** Max. IOPS of the Resource Pool. This is shared between every Share in the Resource Pool. */
68
- peakIops?: number;
77
+ peakIops?: number | undefined;
69
78
  /** Throughput of the Resource Pool. */
70
- throughput?: number;
79
+ throughput?: number | undefined;
71
80
  }
72
81
  export interface ResourcePoolSnapshotPolicy {
73
82
  /** ID of the Snapshot Policy */
74
- id?: string;
83
+ id?: string | undefined;
75
84
  /** Name of the Snapshot Policy */
76
- name?: string;
85
+ name?: string | undefined;
77
86
  }
78
87
  export interface ResourcePoolSpace {
79
88
  /** Available space of the Resource Pool (only available when retrieving a single Resource Pool by ID) */
80
- availableGigabytes?: number | null;
89
+ availableGigabytes?: number | null | undefined;
81
90
  /** Size of the Resource Pool in Gibibytes. */
82
- sizeGigabytes?: number;
91
+ sizeGigabytes?: number | undefined;
83
92
  /** Used space by snapshots (only available when retrieving a single Resource Pool by ID) */
84
- usedBySnapshotsGigabytes?: number | null;
93
+ usedBySnapshotsGigabytes?: number | null | undefined;
85
94
  /** Used space of the Resource Pool (only available when retrieving a single Resource Pool by ID) */
86
- usedGigabytes?: number | null;
95
+ usedGigabytes?: number | null | undefined;
87
96
  }
88
97
  export interface ResourcePool {
89
98
  /** Name of the respective availability zone */
90
- availabilityZone?: string;
99
+ availabilityZone?: string | undefined;
91
100
  /** Number of Shares in the Resource Pool */
92
- countShares?: number;
93
- createdAt?: string;
101
+ countShares?: number | undefined;
102
+ createdAt?: string | undefined;
94
103
  /** ID of the Resource Pool */
95
- id?: string;
104
+ id?: string | undefined;
96
105
  /** 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) */
97
- ipAcl?: ResourcePoolIpAclList;
98
- labels?: ResourcePoolLabelsMap;
106
+ ipAcl?: ResourcePoolIpAclList | undefined;
107
+ labels?: ResourcePoolLabelsMap | undefined;
99
108
  /** Mount path of the Resource Pool, used to mount the Resource Pool Note that a Resource Pool can only be mounted in read-only */
100
- mountPath?: string;
109
+ mountPath?: string | undefined;
101
110
  /** Name of the Resource Pool */
102
- name?: string;
111
+ name?: string | undefined;
103
112
  /** Information about the performance class */
104
- performanceClass?: ResourcePoolPerformanceClass;
113
+ performanceClass?: ResourcePoolPerformanceClass | undefined;
105
114
  /** Time when the performance class can be downgraded again. */
106
- performanceClassDowngradableAt?: string;
115
+ performanceClassDowngradableAt?: string | undefined;
107
116
  /** Time when the size can be reduced again. */
108
- sizeReducibleAt?: string;
117
+ sizeReducibleAt?: string | undefined;
109
118
  /** (optional) Snapshot Policy */
110
- snapshotPolicy?: ResourcePoolSnapshotPolicy | null;
119
+ snapshotPolicy?: ResourcePoolSnapshotPolicy | null | undefined;
111
120
  /** 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. */
112
- snapshotsAreVisible?: boolean;
121
+ snapshotsAreVisible?: boolean | undefined;
113
122
  /** Space information */
114
- space?: ResourcePoolSpace;
123
+ space?: ResourcePoolSpace | undefined;
115
124
  /** State of the Resource Pool (possible values: ["pending", "creating", "created", "updating", "error", "deleting"]) */
116
- state?: string;
125
+ state?: string | undefined;
117
126
  }
118
127
  export interface CreateResourcePoolResponse {
119
128
  /** Created Resource Pool */
120
- resourcePool?: ResourcePool;
129
+ resourcePool?: ResourcePool | undefined;
121
130
  }
122
131
  export interface CreateResourcePoolSnapshotRequest {
123
132
  projectId: string;
124
133
  region: string;
125
134
  resourcePoolId: string;
126
135
  /** (optional) A comment to add more information about a snapshot */
127
- comment?: string | null;
136
+ comment?: string | null | undefined;
128
137
  /** Name of the Resource Pool Snapshot */
129
- name?: string;
138
+ name?: string | undefined;
130
139
  /** (optional) Time in hours after which snaplock on the snapshot expires */
131
- snaplockRetentionHours?: number | null;
140
+ snaplockRetentionHours?: number | null | undefined;
132
141
  }
133
142
  export interface ResourcePoolSnapshot {
134
143
  /** (optional) A comment to add more information about a snapshot */
135
- comment?: string | null;
136
- createdAt?: string;
144
+ comment?: string | null | undefined;
145
+ createdAt?: string | undefined;
137
146
  /** Represents the user-visible data size at the time of the snapshot in Gibibytes (e.g. what's in the snapshot) */
138
- logicalSizeGigabytes?: number;
147
+ logicalSizeGigabytes?: number | undefined;
139
148
  /** ID of the Resource Pool of the Snapshot */
140
- resourcePoolId?: string;
149
+ resourcePoolId?: string | undefined;
141
150
  /** 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). */
142
- sizeGigabytes?: number;
151
+ sizeGigabytes?: number | undefined;
143
152
  /** Represents the snaplock expiry time if snaplock is enabled for the resource pool */
144
- snaplockExpiryTime?: string | null;
153
+ snaplockExpiryTime?: string | null | undefined;
145
154
  /** Name of the Resource Pool Snapshot */
146
- snapshotName?: string;
155
+ snapshotName?: string | undefined;
147
156
  }
148
157
  export interface CreateResourcePoolSnapshotResponse {
149
158
  /** Created Resource Pool Snapshot */
150
- resourcePoolSnapshot?: ResourcePoolSnapshot;
159
+ resourcePoolSnapshot?: ResourcePoolSnapshot | undefined;
151
160
  }
152
161
  /** An optional object that represents the labels associated with the share. */
153
162
  export type CreateShareRequestLabelsMap = { [key: string]: string | undefined };
@@ -156,9 +165,9 @@ export interface CreateShareRequest {
156
165
  region: string;
157
166
  resourcePoolId: string;
158
167
  /** 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 */
159
- exportPolicyName?: string | null;
168
+ exportPolicyName?: string | null | undefined;
160
169
  /** An optional object that represents the labels associated with the share. */
161
- labels?: CreateShareRequestLabelsMap;
170
+ labels?: CreateShareRequestLabelsMap | undefined;
162
171
  /** Name of the Share */
163
172
  name: string;
164
173
  /** 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) */
@@ -169,59 +178,59 @@ export type ShareExportPolicyLabelsMap = { [key: string]: string | undefined };
169
178
  /** 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 */
170
179
  export type ShareExportPolicyRuleIpAclList = Array<string>;
171
180
  export interface ShareExportPolicyRule {
172
- createdAt?: string;
181
+ createdAt?: string | undefined;
173
182
  /** Description of the Rule (optional) */
174
- description?: string | null;
183
+ description?: string | null | undefined;
175
184
  /** ID of the Share Export Policy Rule */
176
- id?: string;
185
+ id?: string | undefined;
177
186
  /** 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 */
178
- ipAcl?: ShareExportPolicyRuleIpAclList;
187
+ ipAcl?: ShareExportPolicyRuleIpAclList | undefined;
179
188
  /** 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 */
180
- order?: number;
189
+ order?: number | undefined;
181
190
  /** Flag to indicate if client IPs matching this rule can only mount the share in read only mode Default: false */
182
- readOnly?: boolean;
191
+ readOnly?: boolean | undefined;
183
192
  /** Flag to honor set UUID Default: false */
184
- setUuid?: boolean;
193
+ setUuid?: boolean | undefined;
185
194
  /** Flag to indicate if client IPs matching this rule have root access on the Share Default: true */
186
- superUser?: boolean;
195
+ superUser?: boolean | undefined;
187
196
  }
188
197
  /** 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 */
189
198
  export type ShareExportPolicyRulesList = Array<ShareExportPolicyRule>;
190
199
  export interface ShareExportPolicy {
191
- createdAt?: string;
200
+ createdAt?: string | undefined;
192
201
  /** ID of the Share Export Policy */
193
- id?: string;
202
+ id?: string | undefined;
194
203
  /** An optional object that represents the labels associated with the share export policy. */
195
- labels?: ShareExportPolicyLabelsMap;
204
+ labels?: ShareExportPolicyLabelsMap | undefined;
196
205
  /** Name of the Share Export Policy */
197
- name?: string;
206
+ name?: string | undefined;
198
207
  /** 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 */
199
- rules?: ShareExportPolicyRulesList;
208
+ rules?: ShareExportPolicyRulesList | undefined;
200
209
  /** Number of Shares using this Share Export Policy */
201
- sharesUsingExportPolicy?: number;
210
+ sharesUsingExportPolicy?: number | undefined;
202
211
  }
203
212
  /** An optional object that represents the labels associated with the share. */
204
213
  export type ShareLabelsMap = { [key: string]: string | undefined };
205
214
  export interface Share {
206
- createdAt?: string;
215
+ createdAt?: string | undefined;
207
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 */
208
- exportPolicy?: ShareExportPolicy | null;
217
+ exportPolicy?: ShareExportPolicy | null | undefined;
209
218
  /** ID of the Share */
210
- id?: string;
219
+ id?: string | undefined;
211
220
  /** An optional object that represents the labels associated with the share. */
212
- labels?: ShareLabelsMap;
221
+ labels?: ShareLabelsMap | undefined;
213
222
  /** Mount path of the Share, used to mount the Share */
214
- mountPath?: string;
223
+ mountPath?: string | undefined;
215
224
  /** Name of the Share */
216
- name?: string;
225
+ name?: string | undefined;
217
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) */
218
- spaceHardLimitGigabytes?: number;
227
+ spaceHardLimitGigabytes?: number | undefined;
219
228
  /** State of the Resource Pool Snapshot (possible values: ["pending", "creating", "created", "error", "deleting"]) */
220
- state?: string;
229
+ state?: string | undefined;
221
230
  }
222
231
  export interface CreateShareResponse {
223
232
  /** Created Share */
224
- share?: Share;
233
+ share?: Share | undefined;
225
234
  }
226
235
  /** An optional object that represents the labels associated with the share export policy. */
227
236
  export type CreateShareExportPolicyRequestLabelsMap = { [key: string]: string | undefined };
@@ -229,17 +238,17 @@ export type CreateShareExportPolicyRequestLabelsMap = { [key: string]: string |
229
238
  export type CreateShareExportPolicyRequestRuleIpAclList = Array<string>;
230
239
  export interface CreateShareExportPolicyRequestRule {
231
240
  /** Description of the Rule (optional) */
232
- description?: string | null;
241
+ description?: string | null | undefined;
233
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 */
234
- ipAcl?: CreateShareExportPolicyRequestRuleIpAclList;
243
+ ipAcl?: CreateShareExportPolicyRequestRuleIpAclList | undefined;
235
244
  /** 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 */
236
- order?: number;
245
+ order?: number | undefined;
237
246
  /** Flag to indicate if client IPs matching this rule can only mount the share in read only mode Default: false */
238
- readOnly?: boolean;
247
+ readOnly?: boolean | undefined;
239
248
  /** Flag to honor set UUID Default: false */
240
- setUuid?: boolean;
249
+ setUuid?: boolean | undefined;
241
250
  /** Flag to indicate if client IPs matching this rule have root access on the Share Default: true */
242
- superUser?: boolean;
251
+ superUser?: boolean | undefined;
243
252
  }
244
253
  /** 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 */
245
254
  export type CreateShareExportPolicyRequestRulesList = Array<CreateShareExportPolicyRequestRule>;
@@ -247,15 +256,15 @@ export interface CreateShareExportPolicyRequest {
247
256
  projectId: string;
248
257
  region: string;
249
258
  /** An optional object that represents the labels associated with the share export policy. */
250
- labels?: CreateShareExportPolicyRequestLabelsMap;
259
+ labels?: CreateShareExportPolicyRequestLabelsMap | undefined;
251
260
  /** Name of the Share Export Policy */
252
261
  name: string;
253
262
  /** 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 */
254
- rules?: CreateShareExportPolicyRequestRulesList;
263
+ rules?: CreateShareExportPolicyRequestRulesList | undefined;
255
264
  }
256
265
  export interface CreateShareExportPolicyResponse {
257
266
  /** Created Share Export Policy */
258
- shareExportPolicy?: ShareExportPolicy;
267
+ shareExportPolicy?: ShareExportPolicy | undefined;
259
268
  }
260
269
  export interface DeleteResourcePoolRequest {
261
270
  projectId: string;
@@ -293,14 +302,14 @@ export interface EnableLockRequest {
293
302
  projectId: string;
294
303
  }
295
304
  export interface EnableLockResponse {
296
- lockId?: string;
305
+ lockId?: string | undefined;
297
306
  }
298
307
  export interface GetLockRequest {
299
308
  region: string;
300
309
  projectId: string;
301
310
  }
302
311
  export interface GetLockResponse {
303
- lockId?: string;
312
+ lockId?: string | undefined;
304
313
  }
305
314
  export interface GetResourcePoolRequest {
306
315
  projectId: string;
@@ -309,7 +318,7 @@ export interface GetResourcePoolRequest {
309
318
  }
310
319
  export interface GetResourcePoolResponse {
311
320
  /** Resource Pool */
312
- resourcePool?: ResourcePool;
321
+ resourcePool?: ResourcePool | undefined;
313
322
  }
314
323
  export interface GetResourcePoolSnapshotRequest {
315
324
  projectId: string;
@@ -319,7 +328,7 @@ export interface GetResourcePoolSnapshotRequest {
319
328
  }
320
329
  export interface GetResourcePoolSnapshotResponse {
321
330
  /** Resource Pool Snapshot */
322
- resourcePoolSnapshot?: ResourcePoolSnapshot;
331
+ resourcePoolSnapshot?: ResourcePoolSnapshot | undefined;
323
332
  }
324
333
  export interface GetShareRequest {
325
334
  projectId: string;
@@ -329,7 +338,7 @@ export interface GetShareRequest {
329
338
  }
330
339
  export interface GetShareResponse {
331
340
  /** Share */
332
- share?: Share;
341
+ share?: Share | undefined;
333
342
  }
334
343
  export interface GetShareExportPolicyRequest {
335
344
  projectId: string;
@@ -338,7 +347,7 @@ export interface GetShareExportPolicyRequest {
338
347
  }
339
348
  export interface GetShareExportPolicyResponse {
340
349
  /** Share Export Policies */
341
- shareExportPolicy?: ShareExportPolicy;
350
+ shareExportPolicy?: ShareExportPolicy | undefined;
342
351
  }
343
352
  export interface GetSnapshotPolicyRequest {
344
353
  projectId: string;
@@ -346,69 +355,69 @@ export interface GetSnapshotPolicyRequest {
346
355
  }
347
356
  export interface SnapshotPolicySchedule {
348
357
  /** Retention Count */
349
- count?: number;
358
+ count?: number | undefined;
350
359
  /** Interval of the Schedule (follows the cron schedule expression in Unix-like systems) */
351
- interval?: string;
360
+ interval?: string | undefined;
352
361
  /** Prefix used for the snapshots created by this policy */
353
- prefix?: string;
362
+ prefix?: string | undefined;
354
363
  /** Retention Period (ISO 8601 format or "infinite") */
355
- retentionPeriod?: string;
364
+ retentionPeriod?: string | undefined;
356
365
  /** ID of the Schedule */
357
- scheduleId?: string;
366
+ scheduleId?: string | undefined;
358
367
  }
359
368
  /** (deprecated) associated schedules */
360
369
  export type SnapshotPolicySchedulesList = Array<SnapshotPolicySchedule>;
361
370
  export interface SnapshotPolicySnapshotPolicySchedule {
362
- createdAt?: string;
371
+ createdAt?: string | undefined;
363
372
  /** ID of the Schedule */
364
- id?: string;
373
+ id?: string | undefined;
365
374
  /** Interval of the Schedule (follows the cron schedule expression in Unix-like systems) */
366
- interval?: string;
375
+ interval?: string | undefined;
367
376
  /** Name of the Schedule */
368
- name?: string;
377
+ name?: string | undefined;
369
378
  /** Prefix used for the snapshots created by this policy */
370
- prefix?: string;
379
+ prefix?: string | undefined;
371
380
  /** Retention Count */
372
- retentionCount?: number;
381
+ retentionCount?: number | undefined;
373
382
  /** Retention Period (ISO 8601 format or "infinite") */
374
- retentionPeriod?: string;
383
+ retentionPeriod?: string | undefined;
375
384
  }
376
385
  /** associated schedules */
377
386
  export type SnapshotPolicySnapshotSchedulesList = Array<SnapshotPolicySnapshotPolicySchedule>;
378
387
  export interface SnapshotPolicy {
379
388
  /** Comment of the Snapshot Policy */
380
- comment?: string;
389
+ comment?: string | undefined;
381
390
  /** created at timestamp */
382
- createdAt?: string;
391
+ createdAt?: string | undefined;
383
392
  /** Wether the Snapshot Policy is enabled */
384
- enabled?: boolean;
393
+ enabled?: boolean | undefined;
385
394
  /** ID of the Snapshot Policy */
386
- id?: string;
395
+ id?: string | undefined;
387
396
  /** Name of the Snapshot Policy */
388
- name?: string;
397
+ name?: string | undefined;
389
398
  /** (deprecated) associated schedules */
390
- schedules?: SnapshotPolicySchedulesList;
399
+ schedules?: SnapshotPolicySchedulesList | undefined;
391
400
  /** associated schedules */
392
- snapshotSchedules?: SnapshotPolicySnapshotSchedulesList;
401
+ snapshotSchedules?: SnapshotPolicySnapshotSchedulesList | undefined;
393
402
  }
394
403
  export interface GetSnapshotPolicyResponse {
395
404
  /** Snapshot Policy */
396
- snapshotPolicy?: SnapshotPolicy;
405
+ snapshotPolicy?: SnapshotPolicy | undefined;
397
406
  }
398
407
  export interface ListPerformanceClassesRequest {}
399
408
  export interface PerformanceClass {
400
409
  /** IOPS of the Performance Class */
401
- iops?: number;
410
+ iops?: number | undefined;
402
411
  /** Name of the Performance Class */
403
- name?: string;
412
+ name?: string | undefined;
404
413
  /** Throughput of the Performance Class */
405
- throughput?: number;
414
+ throughput?: number | undefined;
406
415
  }
407
416
  /** List of Performance Classes */
408
417
  export type ListPerformanceClassesResponsePerformanceClassesList = Array<PerformanceClass>;
409
418
  export interface ListPerformanceClassesResponse {
410
419
  /** List of Performance Classes */
411
- performanceClasses?: ListPerformanceClassesResponsePerformanceClassesList;
420
+ performanceClasses?: ListPerformanceClassesResponsePerformanceClassesList | undefined;
412
421
  }
413
422
  export interface ListResourcePoolsRequest {
414
423
  projectId: string;
@@ -418,7 +427,7 @@ export interface ListResourcePoolsRequest {
418
427
  export type ListResourcePoolsResponseResourcePoolsList = Array<ResourcePool>;
419
428
  export interface ListResourcePoolsResponse {
420
429
  /** List of Resource Pools */
421
- resourcePools?: ListResourcePoolsResponseResourcePoolsList;
430
+ resourcePools?: ListResourcePoolsResponseResourcePoolsList | undefined;
422
431
  }
423
432
  export interface ListResourcePoolSnapshotsRequest {
424
433
  projectId: string;
@@ -430,7 +439,7 @@ export type ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList =
430
439
  Array<ResourcePoolSnapshot>;
431
440
  export interface ListResourcePoolSnapshotsResponse {
432
441
  /** List of Resource Pool Snapshots */
433
- resourcePoolSnapshots?: ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList;
442
+ resourcePoolSnapshots?: ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList | undefined;
434
443
  }
435
444
  export interface ListShareExportPoliciesRequest {
436
445
  projectId: string;
@@ -440,7 +449,7 @@ export interface ListShareExportPoliciesRequest {
440
449
  export type ListShareExportPoliciesResponseShareExportPoliciesList = Array<ShareExportPolicy>;
441
450
  export interface ListShareExportPoliciesResponse {
442
451
  /** List of Share Export Policies */
443
- shareExportPolicies?: ListShareExportPoliciesResponseShareExportPoliciesList;
452
+ shareExportPolicies?: ListShareExportPoliciesResponseShareExportPoliciesList | undefined;
444
453
  }
445
454
  export interface ListSharesRequest {
446
455
  projectId: string;
@@ -451,17 +460,17 @@ export interface ListSharesRequest {
451
460
  export type ListSharesResponseSharesList = Array<Share>;
452
461
  export interface ListSharesResponse {
453
462
  /** List of Shares */
454
- shares?: ListSharesResponseSharesList;
463
+ shares?: ListSharesResponseSharesList | undefined;
455
464
  }
456
465
  export interface ListSnapshotPoliciesRequest {
457
466
  projectId: string;
458
- immutable?: boolean;
467
+ immutable?: boolean | undefined;
459
468
  }
460
469
  /** List of Snapshot Policies */
461
470
  export type ListSnapshotPoliciesResponseSnapshotPoliciesList = Array<SnapshotPolicy>;
462
471
  export interface ListSnapshotPoliciesResponse {
463
472
  /** List of Snapshot Policies */
464
- snapshotPolicies?: ListSnapshotPoliciesResponseSnapshotPoliciesList;
473
+ snapshotPolicies?: ListSnapshotPoliciesResponseSnapshotPoliciesList | undefined;
465
474
  }
466
475
  /** (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) */
467
476
  export type UpdateResourcePoolRequestIpAclList = Array<string>;
@@ -472,21 +481,21 @@ export interface UpdateResourcePoolRequest {
472
481
  region: string;
473
482
  resourcePoolId: string;
474
483
  /** (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) */
475
- ipAcl?: UpdateResourcePoolRequestIpAclList;
484
+ ipAcl?: UpdateResourcePoolRequestIpAclList | undefined;
476
485
  /** An optional object that represents the labels associated with the resource pool. */
477
- labels?: UpdateResourcePoolRequestLabelsMap;
486
+ labels?: UpdateResourcePoolRequestLabelsMap | undefined;
478
487
  /** (optional) Name of the performance class */
479
- performanceClass?: string;
488
+ performanceClass?: string | undefined;
480
489
  /** (optional) Size of the Resource Pool (unit: gigabytes) */
481
- sizeGigabytes?: number | null;
490
+ sizeGigabytes?: number | null | undefined;
482
491
  /** (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 */
483
- snapshotPolicyId?: string | null;
492
+ snapshotPolicyId?: string | null | undefined;
484
493
  /** 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. */
485
- snapshotsAreVisible?: boolean;
494
+ snapshotsAreVisible?: boolean | undefined;
486
495
  }
487
496
  export interface UpdateResourcePoolResponse {
488
497
  /** Updated Resource Pool */
489
- resourcePool?: ResourcePool;
498
+ resourcePool?: ResourcePool | undefined;
490
499
  }
491
500
  export interface UpdateResourcePoolSnapshotRequest {
492
501
  projectId: string;
@@ -494,13 +503,13 @@ export interface UpdateResourcePoolSnapshotRequest {
494
503
  resourcePoolId: string;
495
504
  snapshotName: string;
496
505
  /** (optional) A comment to add more information about a snapshot */
497
- comment?: string | null;
506
+ comment?: string | null | undefined;
498
507
  /** (optional) name of the Resource Pool Snapshot */
499
- name?: string | null;
508
+ name?: string | null | undefined;
500
509
  }
501
510
  export interface UpdateResourcePoolSnapshotResponse {
502
511
  /** Updated Resource Pool Snapshot */
503
- resourcePoolSnapshot?: ResourcePoolSnapshot;
512
+ resourcePoolSnapshot?: ResourcePoolSnapshot | undefined;
504
513
  }
505
514
  /** An optional object that represents the labels associated with the share. */
506
515
  export type UpdateShareRequestLabelsMap = { [key: string]: string | undefined };
@@ -510,15 +519,15 @@ export interface UpdateShareRequest {
510
519
  resourcePoolId: string;
511
520
  shareId: string;
512
521
  /** 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 */
513
- exportPolicyName?: string | null;
522
+ exportPolicyName?: string | null | undefined;
514
523
  /** An optional object that represents the labels associated with the share. */
515
- labels?: UpdateShareRequestLabelsMap;
524
+ labels?: UpdateShareRequestLabelsMap | undefined;
516
525
  /** 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) */
517
- spaceHardLimitGigabytes?: number | null;
526
+ spaceHardLimitGigabytes?: number | null | undefined;
518
527
  }
519
528
  export interface UpdateShareResponse {
520
529
  /** Updated Share */
521
- share?: Share;
530
+ share?: Share | undefined;
522
531
  }
523
532
  /** An optional object that represents the labels associated with the share export policy. */
524
533
  export type UpdateShareExportPolicyRequestLabelsMap = { [key: string]: string | undefined };
@@ -526,17 +535,17 @@ export type UpdateShareExportPolicyRequestLabelsMap = { [key: string]: string |
526
535
  export type UpdateShareExportPolicyBodyRuleIpAclList = Array<string>;
527
536
  export interface UpdateShareExportPolicyBodyRule {
528
537
  /** Description of the Rule (optional) */
529
- description?: string | null;
538
+ description?: string | null | undefined;
530
539
  /** 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 */
531
- ipAcl?: UpdateShareExportPolicyBodyRuleIpAclList;
540
+ ipAcl?: UpdateShareExportPolicyBodyRuleIpAclList | undefined;
532
541
  /** 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 */
533
- order?: number;
542
+ order?: number | undefined;
534
543
  /** Flag to indicate if client IPs matching this rule can only mount the share in read only mode Default: false */
535
- readOnly?: boolean;
544
+ readOnly?: boolean | undefined;
536
545
  /** Flag to honor set UUID Default: false */
537
- setUuid?: boolean;
546
+ setUuid?: boolean | undefined;
538
547
  /** Flag to indicate if client IPs matching this rule have root access on the Share Default: true */
539
- superUser?: boolean;
548
+ superUser?: boolean | undefined;
540
549
  }
541
550
  /** 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) */
542
551
  export type UpdateShareExportPolicyRequestRulesList = Array<UpdateShareExportPolicyBodyRule>;
@@ -545,14 +554,14 @@ export interface UpdateShareExportPolicyRequest {
545
554
  region: string;
546
555
  policyId: string;
547
556
  /** An optional object that represents the labels associated with the share export policy. */
548
- labels?: UpdateShareExportPolicyRequestLabelsMap;
557
+ labels?: UpdateShareExportPolicyRequestLabelsMap | undefined;
549
558
  /** 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) */
550
- rules?: UpdateShareExportPolicyRequestRulesList | null;
559
+ rules?: UpdateShareExportPolicyRequestRulesList | null | undefined;
551
560
  }
552
561
  export interface UpdateShareExportPolicyResponse {
553
- shareExportPolicy?: ShareExportPolicy;
562
+ shareExportPolicy?: ShareExportPolicy | undefined;
554
563
  }
555
- export type CreateResourcePoolError = BadRequest | StackitOpError;
564
+ export type CreateResourcePoolError = BadRequest | Conflict | StackitOpError;
556
565
  /** Create Resource Pool Create a Resource Pool in a project. */
557
566
  export const createResourcePool: API.OperationMethod<
558
567
  CreateResourcePoolRequest,
@@ -560,16 +569,16 @@ export const createResourcePool: API.OperationMethod<
560
569
  CreateResourcePoolError,
561
570
  StackitOpContext
562
571
  > = /*@__PURE__*/ API.make(() => ({
563
- input: __S(0, __c0, 0) as any as S.Schema<CreateResourcePoolRequest>,
564
- output: __S(16, __c2, 0) as any as S.Schema<CreateResourcePoolResponse>,
565
- errors: [BadRequest, UnknownStackitError],
572
+ input: __S(96, __c12, 0) as any as S.Schema<CreateResourcePoolRequest>,
573
+ output: __S(112, __c14, 0) as any as S.Schema<CreateResourcePoolResponse>,
574
+ errors: [BadRequest, Conflict, UnknownStackitError],
566
575
  protocol: StackitProtocol,
567
576
  retry: Retry.Retry,
568
577
  telemetry: TELEMETRY,
569
578
  span: "CreateResourcePool",
570
579
  }));
571
580
 
572
- export type CreateResourcePoolSnapshotError = BadRequest | StackitOpError;
581
+ export type CreateResourcePoolSnapshotError = BadRequest | Conflict | StackitOpError;
573
582
  /** Create Resource Pool Snapshot Creates a Snapshot of a Resource Pool in a project. */
574
583
  export const createResourcePoolSnapshot: API.OperationMethod<
575
584
  CreateResourcePoolSnapshotRequest,
@@ -577,16 +586,16 @@ export const createResourcePoolSnapshot: API.OperationMethod<
577
586
  CreateResourcePoolSnapshotError,
578
587
  StackitOpContext
579
588
  > = /*@__PURE__*/ API.make(() => ({
580
- input: __S(128, __c16, 0) as any as S.Schema<CreateResourcePoolSnapshotRequest>,
581
- output: __S(144, __c18, 0) as any as S.Schema<CreateResourcePoolSnapshotResponse>,
582
- errors: [BadRequest, UnknownStackitError],
589
+ input: __S(192, __c24, 0) as any as S.Schema<CreateResourcePoolSnapshotRequest>,
590
+ output: __S(208, __c26, 0) as any as S.Schema<CreateResourcePoolSnapshotResponse>,
591
+ errors: [BadRequest, Conflict, UnknownStackitError],
583
592
  protocol: StackitProtocol,
584
593
  retry: Retry.Retry,
585
594
  telemetry: TELEMETRY,
586
595
  span: "CreateResourcePoolSnapshot",
587
596
  }));
588
597
 
589
- export type CreateShareError = BadRequest | StackitOpError;
598
+ export type CreateShareError = BadRequest | Conflict | StackitOpError;
590
599
  /** Create Share Creates a Share in a Resource Pool in a project. */
591
600
  export const createShare: API.OperationMethod<
592
601
  CreateShareRequest,
@@ -594,16 +603,16 @@ export const createShare: API.OperationMethod<
594
603
  CreateShareError,
595
604
  StackitOpContext
596
605
  > = /*@__PURE__*/ API.make(() => ({
597
- input: __S(208, __c26, 0) as any as S.Schema<CreateShareRequest>,
598
- output: __S(224, __c28, 0) as any as S.Schema<CreateShareResponse>,
599
- errors: [BadRequest, UnknownStackitError],
606
+ input: __S(216, __c27, 0) as any as S.Schema<CreateShareRequest>,
607
+ output: __S(232, __c29, 0) as any as S.Schema<CreateShareResponse>,
608
+ errors: [BadRequest, Conflict, UnknownStackitError],
600
609
  protocol: StackitProtocol,
601
610
  retry: Retry.Retry,
602
611
  telemetry: TELEMETRY,
603
612
  span: "CreateShare",
604
613
  }));
605
614
 
606
- export type CreateShareExportPolicyError = BadRequest | StackitOpError;
615
+ export type CreateShareExportPolicyError = BadRequest | Conflict | StackitOpError;
607
616
  /** Create Share Export Policy Creates a ShareExportPolicy in a Resource Pool in a project. */
608
617
  export const createShareExportPolicy: API.OperationMethod<
609
618
  CreateShareExportPolicyRequest,
@@ -611,16 +620,16 @@ export const createShareExportPolicy: API.OperationMethod<
611
620
  CreateShareExportPolicyError,
612
621
  StackitOpContext
613
622
  > = /*@__PURE__*/ API.make(() => ({
614
- input: __S(240, __c30, 0) as any as S.Schema<CreateShareExportPolicyRequest>,
615
- output: __S(248, __c31, 0) as any as S.Schema<CreateShareExportPolicyResponse>,
616
- errors: [BadRequest, UnknownStackitError],
623
+ input: __S(248, __c31, 0) as any as S.Schema<CreateShareExportPolicyRequest>,
624
+ output: __S(256, __c32, 0) as any as S.Schema<CreateShareExportPolicyResponse>,
625
+ errors: [BadRequest, Conflict, UnknownStackitError],
617
626
  protocol: StackitProtocol,
618
627
  retry: Retry.Retry,
619
628
  telemetry: TELEMETRY,
620
629
  span: "CreateShareExportPolicy",
621
630
  }));
622
631
 
623
- export type DeleteResourcePoolError = BadRequest | StackitOpError;
632
+ export type DeleteResourcePoolError = BadRequest | Conflict | StackitOpError;
624
633
  /** Delete Resource Pool Deletes a Resource Pool in a project. */
625
634
  export const deleteResourcePool: API.OperationMethod<
626
635
  DeleteResourcePoolRequest,
@@ -628,16 +637,16 @@ export const deleteResourcePool: API.OperationMethod<
628
637
  DeleteResourcePoolError,
629
638
  StackitOpContext
630
639
  > = /*@__PURE__*/ API.make(() => ({
631
- input: __S(264, __c33, 0) as any as S.Schema<DeleteResourcePoolRequest>,
632
- output: __S(272, __c34, 0) as any as S.Schema<DeleteResourcePoolResponse2>,
633
- errors: [BadRequest, UnknownStackitError],
640
+ input: __S(272, __c34, 0) as any as S.Schema<DeleteResourcePoolRequest>,
641
+ output: __S(280, __c35, 0) as any as S.Schema<DeleteResourcePoolResponse2>,
642
+ errors: [BadRequest, Conflict, UnknownStackitError],
634
643
  protocol: StackitProtocol,
635
644
  retry: Retry.Retry,
636
645
  telemetry: TELEMETRY,
637
646
  span: "DeleteResourcePool",
638
647
  }));
639
648
 
640
- export type DeleteResourcePoolSnapshotError = BadRequest | StackitOpError;
649
+ export type DeleteResourcePoolSnapshotError = BadRequest | Conflict | StackitOpError;
641
650
  /** Delete Resource Pool Snapshot Deletes a Snapshot from a Resource Pool in a project. */
642
651
  export const deleteResourcePoolSnapshot: API.OperationMethod<
643
652
  DeleteResourcePoolSnapshotRequest,
@@ -645,9 +654,9 @@ export const deleteResourcePoolSnapshot: API.OperationMethod<
645
654
  DeleteResourcePoolSnapshotError,
646
655
  StackitOpContext
647
656
  > = /*@__PURE__*/ API.make(() => ({
648
- input: __S(280, __c35, 0) as any as S.Schema<DeleteResourcePoolSnapshotRequest>,
649
- output: __S(272, __c34, 0) as any as S.Schema<DeleteResourcePoolSnapshotResponse2>,
650
- errors: [BadRequest, UnknownStackitError],
657
+ input: __S(288, __c36, 0) as any as S.Schema<DeleteResourcePoolSnapshotRequest>,
658
+ output: __S(280, __c35, 0) as any as S.Schema<DeleteResourcePoolSnapshotResponse2>,
659
+ errors: [BadRequest, Conflict, UnknownStackitError],
651
660
  protocol: StackitProtocol,
652
661
  retry: Retry.Retry,
653
662
  telemetry: TELEMETRY,
@@ -662,8 +671,8 @@ export const deleteShare: API.OperationMethod<
662
671
  DeleteShareError,
663
672
  StackitOpContext
664
673
  > = /*@__PURE__*/ API.make(() => ({
665
- input: __S(288, __c36, 0) as any as S.Schema<DeleteShareRequest>,
666
- output: __S(272, __c34, 0) as any as S.Schema<DeleteShareResponse2>,
674
+ input: __S(296, __c37, 0) as any as S.Schema<DeleteShareRequest>,
675
+ output: __S(280, __c35, 0) as any as S.Schema<DeleteShareResponse2>,
667
676
  errors: [BadRequest, UnknownStackitError],
668
677
  protocol: StackitProtocol,
669
678
  retry: Retry.Retry,
@@ -679,8 +688,8 @@ export const deleteShareExportPolicy: API.OperationMethod<
679
688
  DeleteShareExportPolicyError,
680
689
  StackitOpContext
681
690
  > = /*@__PURE__*/ API.make(() => ({
682
- input: __S(296, __c37, 0) as any as S.Schema<DeleteShareExportPolicyRequest>,
683
- output: __S(272, __c34, 0) as any as S.Schema<DeleteShareExportPolicyResponse2>,
691
+ input: __S(304, __c38, 0) as any as S.Schema<DeleteShareExportPolicyRequest>,
692
+ output: __S(280, __c35, 0) as any as S.Schema<DeleteShareExportPolicyResponse2>,
684
693
  errors: [BadRequest, UnknownStackitError],
685
694
  protocol: StackitProtocol,
686
695
  retry: Retry.Retry,
@@ -688,7 +697,7 @@ export const deleteShareExportPolicy: API.OperationMethod<
688
697
  span: "DeleteShareExportPolicy",
689
698
  }));
690
699
 
691
- export type DisableLockError = StackitOpError;
700
+ export type DisableLockError = Conflict | StackitOpError;
692
701
  /** Clean up locks for a project so that it can be deleted successfully. */
693
702
  export const disableLock: API.OperationMethod<
694
703
  DisableLockRequest,
@@ -696,16 +705,16 @@ export const disableLock: API.OperationMethod<
696
705
  DisableLockError,
697
706
  StackitOpContext
698
707
  > = /*@__PURE__*/ API.make(() => ({
699
- input: __S(304, __c38, 0) as any as S.Schema<DisableLockRequest>,
700
- output: __S(272, __c34, 0) as any as S.Schema<DisableLockResponse2>,
701
- errors: [UnknownStackitError],
708
+ input: __S(0, __c0, 0) as any as S.Schema<DisableLockRequest>,
709
+ output: __S(280, __c35, 0) as any as S.Schema<DisableLockResponse2>,
710
+ errors: [Conflict, UnknownStackitError],
702
711
  protocol: StackitProtocol,
703
712
  retry: Retry.Retry,
704
713
  telemetry: TELEMETRY,
705
714
  span: "DisableLock",
706
715
  }));
707
716
 
708
- export type EnableLockError = StackitOpError;
717
+ export type EnableLockError = Conflict | StackitOpError;
709
718
  /** Enable Lock for a project. Necessary for immutable snapshots and to prevent accidental deletion of resources. */
710
719
  export const enableLock: API.OperationMethod<
711
720
  EnableLockRequest,
@@ -713,9 +722,9 @@ export const enableLock: API.OperationMethod<
713
722
  EnableLockError,
714
723
  StackitOpContext
715
724
  > = /*@__PURE__*/ API.make(() => ({
716
- input: __S(32, __c4, 0) as any as S.Schema<EnableLockRequest>,
717
- output: __S(40, __c5, 0) as any as S.Schema<EnableLockResponse>,
718
- errors: [UnknownStackitError],
725
+ input: __S(8, __c1, 0) as any as S.Schema<EnableLockRequest>,
726
+ output: __S(16, __c2, 0) as any as S.Schema<EnableLockResponse>,
727
+ errors: [Conflict, UnknownStackitError],
719
728
  protocol: StackitProtocol,
720
729
  retry: Retry.Retry,
721
730
  telemetry: TELEMETRY,
@@ -730,8 +739,8 @@ export const getLock: API.OperationMethod<
730
739
  GetLockError,
731
740
  StackitOpContext
732
741
  > = /*@__PURE__*/ API.make(() => ({
733
- input: __S(48, __c6, 0) as any as S.Schema<GetLockRequest>,
734
- output: __S(40, __c5, 0) as any as S.Schema<GetLockResponse>,
742
+ input: __S(24, __c3, 0) as any as S.Schema<GetLockRequest>,
743
+ output: __S(16, __c2, 0) as any as S.Schema<GetLockResponse>,
735
744
  errors: [UnknownStackitError],
736
745
  protocol: StackitProtocol,
737
746
  retry: Retry.Retry,
@@ -747,8 +756,8 @@ export const getResourcePool: API.OperationMethod<
747
756
  GetResourcePoolError,
748
757
  StackitOpContext
749
758
  > = /*@__PURE__*/ API.make(() => ({
750
- input: __S(56, __c7, 0) as any as S.Schema<GetResourcePoolRequest>,
751
- output: __S(16, __c2, 0) as any as S.Schema<GetResourcePoolResponse>,
759
+ input: __S(32, __c4, 0) as any as S.Schema<GetResourcePoolRequest>,
760
+ output: __S(112, __c14, 0) as any as S.Schema<GetResourcePoolResponse>,
752
761
  errors: [BadRequest, UnknownStackitError],
753
762
  protocol: StackitProtocol,
754
763
  retry: Retry.Retry,
@@ -764,8 +773,8 @@ export const getResourcePoolSnapshot: API.OperationMethod<
764
773
  GetResourcePoolSnapshotError,
765
774
  StackitOpContext
766
775
  > = /*@__PURE__*/ API.make(() => ({
767
- input: __S(64, __c8, 0) as any as S.Schema<GetResourcePoolSnapshotRequest>,
768
- output: __S(144, __c18, 0) as any as S.Schema<GetResourcePoolSnapshotResponse>,
776
+ input: __S(40, __c5, 0) as any as S.Schema<GetResourcePoolSnapshotRequest>,
777
+ output: __S(208, __c26, 0) as any as S.Schema<GetResourcePoolSnapshotResponse>,
769
778
  errors: [BadRequest, UnknownStackitError],
770
779
  protocol: StackitProtocol,
771
780
  retry: Retry.Retry,
@@ -781,8 +790,8 @@ export const getShare: API.OperationMethod<
781
790
  GetShareError,
782
791
  StackitOpContext
783
792
  > = /*@__PURE__*/ API.make(() => ({
784
- input: __S(72, __c9, 0) as any as S.Schema<GetShareRequest>,
785
- output: __S(224, __c28, 0) as any as S.Schema<GetShareResponse>,
793
+ input: __S(48, __c6, 0) as any as S.Schema<GetShareRequest>,
794
+ output: __S(232, __c29, 0) as any as S.Schema<GetShareResponse>,
786
795
  errors: [BadRequest, UnknownStackitError],
787
796
  protocol: StackitProtocol,
788
797
  retry: Retry.Retry,
@@ -798,8 +807,8 @@ export const getShareExportPolicy: API.OperationMethod<
798
807
  GetShareExportPolicyError,
799
808
  StackitOpContext
800
809
  > = /*@__PURE__*/ API.make(() => ({
801
- input: __S(80, __c10, 0) as any as S.Schema<GetShareExportPolicyRequest>,
802
- output: __S(248, __c31, 0) as any as S.Schema<GetShareExportPolicyResponse>,
810
+ input: __S(56, __c7, 0) as any as S.Schema<GetShareExportPolicyRequest>,
811
+ output: __S(256, __c32, 0) as any as S.Schema<GetShareExportPolicyResponse>,
803
812
  errors: [BadRequest, UnknownStackitError],
804
813
  protocol: StackitProtocol,
805
814
  retry: Retry.Retry,
@@ -815,8 +824,8 @@ export const getSnapshotPolicy: API.OperationMethod<
815
824
  GetSnapshotPolicyError,
816
825
  StackitOpContext
817
826
  > = /*@__PURE__*/ API.make(() => ({
818
- input: __S(88, __c11, 0) as any as S.Schema<GetSnapshotPolicyRequest>,
819
- output: __S(89, __c11, 1) as any as S.Schema<GetSnapshotPolicyResponse>,
827
+ input: __S(64, __c8, 0) as any as S.Schema<GetSnapshotPolicyRequest>,
828
+ output: __S(65, __c8, 1) as any as S.Schema<GetSnapshotPolicyResponse>,
820
829
  errors: [UnknownStackitError],
821
830
  protocol: StackitProtocol,
822
831
  retry: Retry.Retry,
@@ -832,8 +841,8 @@ export const listPerformanceClasses: API.OperationMethod<
832
841
  ListPerformanceClassesError,
833
842
  StackitOpContext
834
843
  > = /*@__PURE__*/ API.make(() => ({
835
- input: __S(104, __c13, 0) as any as S.Schema<ListPerformanceClassesRequest>,
836
- output: __S(107, __c13, 3) as any as S.Schema<ListPerformanceClassesResponse>,
844
+ input: __S(80, __c10, 0) as any as S.Schema<ListPerformanceClassesRequest>,
845
+ output: __S(83, __c10, 3) as any as S.Schema<ListPerformanceClassesResponse>,
837
846
  errors: [BadRequest, UnknownStackitError],
838
847
  protocol: StackitProtocol,
839
848
  retry: Retry.Retry,
@@ -849,8 +858,8 @@ export const listResourcePools: API.OperationMethod<
849
858
  ListResourcePoolsError,
850
859
  StackitOpContext
851
860
  > = /*@__PURE__*/ API.make(() => ({
852
- input: __S(112, __c14, 0) as any as S.Schema<ListResourcePoolsRequest>,
853
- output: __S(114, __c14, 2) as any as S.Schema<ListResourcePoolsResponse>,
861
+ input: __S(88, __c11, 0) as any as S.Schema<ListResourcePoolsRequest>,
862
+ output: __S(90, __c11, 2) as any as S.Schema<ListResourcePoolsResponse>,
854
863
  errors: [BadRequest, UnknownStackitError],
855
864
  protocol: StackitProtocol,
856
865
  retry: Retry.Retry,
@@ -866,8 +875,8 @@ export const listResourcePoolSnapshots: API.OperationMethod<
866
875
  ListResourcePoolSnapshotsError,
867
876
  StackitOpContext
868
877
  > = /*@__PURE__*/ API.make(() => ({
869
- input: __S(120, __c15, 0) as any as S.Schema<ListResourcePoolSnapshotsRequest>,
870
- output: __S(122, __c15, 2) as any as S.Schema<ListResourcePoolSnapshotsResponse>,
878
+ input: __S(128, __c16, 0) as any as S.Schema<ListResourcePoolSnapshotsRequest>,
879
+ output: __S(130, __c16, 2) as any as S.Schema<ListResourcePoolSnapshotsResponse>,
871
880
  errors: [BadRequest, UnknownStackitError],
872
881
  protocol: StackitProtocol,
873
882
  retry: Retry.Retry,
@@ -883,8 +892,8 @@ export const listShareExportPolicies: API.OperationMethod<
883
892
  ListShareExportPoliciesError,
884
893
  StackitOpContext
885
894
  > = /*@__PURE__*/ API.make(() => ({
886
- input: __S(152, __c19, 0) as any as S.Schema<ListShareExportPoliciesRequest>,
887
- output: __S(154, __c19, 2) as any as S.Schema<ListShareExportPoliciesResponse>,
895
+ input: __S(136, __c17, 0) as any as S.Schema<ListShareExportPoliciesRequest>,
896
+ output: __S(138, __c17, 2) as any as S.Schema<ListShareExportPoliciesResponse>,
888
897
  errors: [BadRequest, UnknownStackitError],
889
898
  protocol: StackitProtocol,
890
899
  retry: Retry.Retry,
@@ -900,8 +909,8 @@ export const listShares: API.OperationMethod<
900
909
  ListSharesError,
901
910
  StackitOpContext
902
911
  > = /*@__PURE__*/ API.make(() => ({
903
- input: __S(160, __c20, 0) as any as S.Schema<ListSharesRequest>,
904
- output: __S(162, __c20, 2) as any as S.Schema<ListSharesResponse>,
912
+ input: __S(144, __c18, 0) as any as S.Schema<ListSharesRequest>,
913
+ output: __S(146, __c18, 2) as any as S.Schema<ListSharesResponse>,
905
914
  errors: [BadRequest, UnknownStackitError],
906
915
  protocol: StackitProtocol,
907
916
  retry: Retry.Retry,
@@ -917,8 +926,8 @@ export const listSnapshotPolicies: API.OperationMethod<
917
926
  ListSnapshotPoliciesError,
918
927
  StackitOpContext
919
928
  > = /*@__PURE__*/ API.make(() => ({
920
- input: __S(168, __c21, 0) as any as S.Schema<ListSnapshotPoliciesRequest>,
921
- output: __S(170, __c21, 2) as any as S.Schema<ListSnapshotPoliciesResponse>,
929
+ input: __S(152, __c19, 0) as any as S.Schema<ListSnapshotPoliciesRequest>,
930
+ output: __S(154, __c19, 2) as any as S.Schema<ListSnapshotPoliciesResponse>,
922
931
  errors: [UnknownStackitError],
923
932
  protocol: StackitProtocol,
924
933
  retry: Retry.Retry,
@@ -926,7 +935,7 @@ export const listSnapshotPolicies: API.OperationMethod<
926
935
  span: "ListSnapshotPolicies",
927
936
  }));
928
937
 
929
- export type UpdateResourcePoolError = BadRequest | StackitOpError;
938
+ export type UpdateResourcePoolError = BadRequest | Conflict | StackitOpError;
930
939
  /** Update Resource Pool Updates a Resource Pool in a project. */
931
940
  export const updateResourcePool: API.OperationMethod<
932
941
  UpdateResourcePoolRequest,
@@ -934,9 +943,9 @@ export const updateResourcePool: API.OperationMethod<
934
943
  UpdateResourcePoolError,
935
944
  StackitOpContext
936
945
  > = /*@__PURE__*/ API.make(() => ({
937
- input: __S(176, __c22, 0) as any as S.Schema<UpdateResourcePoolRequest>,
938
- output: __S(16, __c2, 0) as any as S.Schema<UpdateResourcePoolResponse>,
939
- errors: [BadRequest, UnknownStackitError],
946
+ input: __S(160, __c20, 0) as any as S.Schema<UpdateResourcePoolRequest>,
947
+ output: __S(112, __c14, 0) as any as S.Schema<UpdateResourcePoolResponse>,
948
+ errors: [BadRequest, Conflict, UnknownStackitError],
940
949
  protocol: StackitProtocol,
941
950
  retry: Retry.Retry,
942
951
  telemetry: TELEMETRY,
@@ -951,8 +960,8 @@ export const updateResourcePoolSnapshot: API.OperationMethod<
951
960
  UpdateResourcePoolSnapshotError,
952
961
  StackitOpContext
953
962
  > = /*@__PURE__*/ API.make(() => ({
954
- input: __S(184, __c23, 0) as any as S.Schema<UpdateResourcePoolSnapshotRequest>,
955
- output: __S(144, __c18, 0) as any as S.Schema<UpdateResourcePoolSnapshotResponse>,
963
+ input: __S(168, __c21, 0) as any as S.Schema<UpdateResourcePoolSnapshotRequest>,
964
+ output: __S(208, __c26, 0) as any as S.Schema<UpdateResourcePoolSnapshotResponse>,
956
965
  errors: [BadRequest, UnknownStackitError],
957
966
  protocol: StackitProtocol,
958
967
  retry: Retry.Retry,
@@ -968,8 +977,8 @@ export const updateShare: API.OperationMethod<
968
977
  UpdateShareError,
969
978
  StackitOpContext
970
979
  > = /*@__PURE__*/ API.make(() => ({
971
- input: __S(192, __c24, 0) as any as S.Schema<UpdateShareRequest>,
972
- output: __S(224, __c28, 0) as any as S.Schema<UpdateShareResponse>,
980
+ input: __S(176, __c22, 0) as any as S.Schema<UpdateShareRequest>,
981
+ output: __S(232, __c29, 0) as any as S.Schema<UpdateShareResponse>,
973
982
  errors: [BadRequest, UnknownStackitError],
974
983
  protocol: StackitProtocol,
975
984
  retry: Retry.Retry,
@@ -985,8 +994,8 @@ export const updateShareExportPolicy: API.OperationMethod<
985
994
  UpdateShareExportPolicyError,
986
995
  StackitOpContext
987
996
  > = /*@__PURE__*/ API.make(() => ({
988
- input: __S(200, __c25, 0) as any as S.Schema<UpdateShareExportPolicyRequest>,
989
- output: __S(248, __c31, 0) as any as S.Schema<UpdateShareExportPolicyResponse>,
997
+ input: __S(184, __c23, 0) as any as S.Schema<UpdateShareExportPolicyRequest>,
998
+ output: __S(256, __c32, 0) as any as S.Schema<UpdateShareExportPolicyResponse>,
990
999
  errors: [BadRequest, UnknownStackitError],
991
1000
  protocol: StackitProtocol,
992
1001
  retry: Retry.Retry,
@@ -1000,94 +1009,20 @@ function __c0(j: number): any {
1000
1009
  case 0:
1001
1010
  return S.suspend(() =>
1002
1011
  S.Struct({
1003
- projectId: S.String.pipe(T.Label()),
1004
1012
  region: S.String.pipe(T.Label()),
1005
- availabilityZone: S.String,
1006
- ipAcl: __S(24, __c3, 0),
1007
- labels: S.optional(__S(25, __c3, 1)),
1008
- name: S.String,
1009
- performanceClass: S.String,
1010
- sizeGigabytes: S.Number,
1011
- snapshotPolicyId: S.optional(S.String),
1012
- snapshotsAreVisible: S.optional(S.Boolean),
1013
+ projectId: S.String.pipe(T.Label()),
1013
1014
  }).pipe(
1014
1015
  T.Http({
1015
- method: "POST",
1016
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools",
1016
+ method: "DELETE",
1017
+ uri: "/v1/regions/{region}/project/{projectId}/locks",
1017
1018
  code: 200,
1018
1019
  baseUrl: "https://sfs.api.stackit.cloud",
1019
1020
  }),
1020
1021
  ),
1021
- ).annotate({ identifier: "CreateResourcePoolRequest" });
1022
+ ).annotate({ identifier: "DisableLockRequest" });
1022
1023
  }
1023
1024
  }
1024
1025
  function __c1(j: number): any {
1025
- switch (j) {
1026
- case 0:
1027
- return S.suspend(() =>
1028
- S.Struct({
1029
- name: S.optional(S.String),
1030
- peakIops: S.optional(S.Number),
1031
- throughput: S.optional(S.Number),
1032
- }),
1033
- ).annotate({ identifier: "ResourcePoolPerformanceClass" });
1034
- case 1:
1035
- return S.suspend(() =>
1036
- S.Struct({
1037
- id: S.optional(S.String),
1038
- name: S.optional(S.String),
1039
- }),
1040
- ).annotate({ identifier: "ResourcePoolSnapshotPolicy" });
1041
- case 2:
1042
- return S.suspend(() =>
1043
- S.Struct({
1044
- availableGigabytes: S.optional(S.NullOr(S.Number)),
1045
- sizeGigabytes: S.optional(S.Number),
1046
- usedBySnapshotsGigabytes: S.optional(S.NullOr(S.Number)),
1047
- usedGigabytes: S.optional(S.NullOr(S.Number)),
1048
- }),
1049
- ).annotate({ identifier: "ResourcePoolSpace" });
1050
- case 3:
1051
- return S.suspend(() =>
1052
- S.Struct({
1053
- availabilityZone: S.optional(S.String),
1054
- countShares: S.optional(S.Number),
1055
- createdAt: S.optional(S.String),
1056
- id: S.optional(S.String),
1057
- ipAcl: S.optional(__S(24, __c3, 0)),
1058
- labels: S.optional(__S(25, __c3, 1)),
1059
- mountPath: S.optional(S.String),
1060
- name: S.optional(S.String),
1061
- performanceClass: S.optional(__S(8, __c1, 0)),
1062
- performanceClassDowngradableAt: S.optional(S.String),
1063
- sizeReducibleAt: S.optional(S.String),
1064
- snapshotPolicy: S.optional(S.NullOr(__S(9, __c1, 1))),
1065
- snapshotsAreVisible: S.optional(S.Boolean),
1066
- space: S.optional(__S(10, __c1, 2)),
1067
- state: S.optional(S.String),
1068
- }),
1069
- ).annotate({ identifier: "ResourcePool" });
1070
- }
1071
- }
1072
- function __c2(j: number): any {
1073
- switch (j) {
1074
- case 0:
1075
- return S.suspend(() =>
1076
- S.Struct({
1077
- resourcePool: S.optional(__S(11, __c1, 3)),
1078
- }),
1079
- ).annotate({ identifier: "CreateResourcePoolResponse" });
1080
- }
1081
- }
1082
- function __c3(j: number): any {
1083
- switch (j) {
1084
- case 0:
1085
- return S.Array(S.String);
1086
- case 1:
1087
- return S.Record(S.String, S.String);
1088
- }
1089
- }
1090
- function __c4(j: number): any {
1091
1026
  switch (j) {
1092
1027
  case 0:
1093
1028
  return S.suspend(() =>
@@ -1105,7 +1040,7 @@ function __c4(j: number): any {
1105
1040
  ).annotate({ identifier: "EnableLockRequest" });
1106
1041
  }
1107
1042
  }
1108
- function __c5(j: number): any {
1043
+ function __c2(j: number): any {
1109
1044
  switch (j) {
1110
1045
  case 0:
1111
1046
  return S.suspend(() =>
@@ -1115,7 +1050,7 @@ function __c5(j: number): any {
1115
1050
  ).annotate({ identifier: "EnableLockResponse" });
1116
1051
  }
1117
1052
  }
1118
- function __c6(j: number): any {
1053
+ function __c3(j: number): any {
1119
1054
  switch (j) {
1120
1055
  case 0:
1121
1056
  return S.suspend(() =>
@@ -1133,7 +1068,7 @@ function __c6(j: number): any {
1133
1068
  ).annotate({ identifier: "GetLockRequest" });
1134
1069
  }
1135
1070
  }
1136
- function __c7(j: number): any {
1071
+ function __c4(j: number): any {
1137
1072
  switch (j) {
1138
1073
  case 0:
1139
1074
  return S.suspend(() =>
@@ -1152,7 +1087,7 @@ function __c7(j: number): any {
1152
1087
  ).annotate({ identifier: "GetResourcePoolRequest" });
1153
1088
  }
1154
1089
  }
1155
- function __c8(j: number): any {
1090
+ function __c5(j: number): any {
1156
1091
  switch (j) {
1157
1092
  case 0:
1158
1093
  return S.suspend(() =>
@@ -1172,7 +1107,7 @@ function __c8(j: number): any {
1172
1107
  ).annotate({ identifier: "GetResourcePoolSnapshotRequest" });
1173
1108
  }
1174
1109
  }
1175
- function __c9(j: number): any {
1110
+ function __c6(j: number): any {
1176
1111
  switch (j) {
1177
1112
  case 0:
1178
1113
  return S.suspend(() =>
@@ -1192,7 +1127,7 @@ function __c9(j: number): any {
1192
1127
  ).annotate({ identifier: "GetShareRequest" });
1193
1128
  }
1194
1129
  }
1195
- function __c10(j: number): any {
1130
+ function __c7(j: number): any {
1196
1131
  switch (j) {
1197
1132
  case 0:
1198
1133
  return S.suspend(() =>
@@ -1211,7 +1146,7 @@ function __c10(j: number): any {
1211
1146
  ).annotate({ identifier: "GetShareExportPolicyRequest" });
1212
1147
  }
1213
1148
  }
1214
- function __c11(j: number): any {
1149
+ function __c8(j: number): any {
1215
1150
  switch (j) {
1216
1151
  case 0:
1217
1152
  return S.suspend(() =>
@@ -1230,12 +1165,12 @@ function __c11(j: number): any {
1230
1165
  case 1:
1231
1166
  return S.suspend(() =>
1232
1167
  S.Struct({
1233
- snapshotPolicy: S.optional(__S(100, __c12, 4)),
1168
+ snapshotPolicy: S.optional(__S(76, __c9, 4)),
1234
1169
  }),
1235
1170
  ).annotate({ identifier: "GetSnapshotPolicyResponse" });
1236
1171
  }
1237
1172
  }
1238
- function __c12(j: number): any {
1173
+ function __c9(j: number): any {
1239
1174
  switch (j) {
1240
1175
  case 0:
1241
1176
  return S.suspend(() =>
@@ -1248,7 +1183,7 @@ function __c12(j: number): any {
1248
1183
  }),
1249
1184
  ).annotate({ identifier: "SnapshotPolicySchedule" });
1250
1185
  case 1:
1251
- return S.Array(__S(96, __c12, 0));
1186
+ return S.Array(__S(72, __c9, 0));
1252
1187
  case 2:
1253
1188
  return S.suspend(() =>
1254
1189
  S.Struct({
@@ -1262,7 +1197,7 @@ function __c12(j: number): any {
1262
1197
  }),
1263
1198
  ).annotate({ identifier: "SnapshotPolicySnapshotPolicySchedule" });
1264
1199
  case 3:
1265
- return S.Array(__S(98, __c12, 2));
1200
+ return S.Array(__S(74, __c9, 2));
1266
1201
  case 4:
1267
1202
  return S.suspend(() =>
1268
1203
  S.Struct({
@@ -1271,13 +1206,13 @@ function __c12(j: number): any {
1271
1206
  enabled: S.optional(S.Boolean),
1272
1207
  id: S.optional(S.String),
1273
1208
  name: S.optional(S.String),
1274
- schedules: S.optional(__S(97, __c12, 1)),
1275
- snapshotSchedules: S.optional(__S(99, __c12, 3)),
1209
+ schedules: S.optional(__S(73, __c9, 1)),
1210
+ snapshotSchedules: S.optional(__S(75, __c9, 3)),
1276
1211
  }),
1277
1212
  ).annotate({ identifier: "SnapshotPolicy" });
1278
1213
  }
1279
1214
  }
1280
- function __c13(j: number): any {
1215
+ function __c10(j: number): any {
1281
1216
  switch (j) {
1282
1217
  case 0:
1283
1218
  return S.suspend(() =>
@@ -1299,16 +1234,16 @@ function __c13(j: number): any {
1299
1234
  }),
1300
1235
  ).annotate({ identifier: "PerformanceClass" });
1301
1236
  case 2:
1302
- return S.Array(__S(105, __c13, 1));
1237
+ return S.Array(__S(81, __c10, 1));
1303
1238
  case 3:
1304
1239
  return S.suspend(() =>
1305
1240
  S.Struct({
1306
- performanceClasses: S.optional(__S(106, __c13, 2)),
1241
+ performanceClasses: S.optional(__S(82, __c10, 2)),
1307
1242
  }),
1308
1243
  ).annotate({ identifier: "ListPerformanceClassesResponse" });
1309
1244
  }
1310
1245
  }
1311
- function __c14(j: number): any {
1246
+ function __c11(j: number): any {
1312
1247
  switch (j) {
1313
1248
  case 0:
1314
1249
  return S.suspend(() =>
@@ -1325,40 +1260,105 @@ function __c14(j: number): any {
1325
1260
  ),
1326
1261
  ).annotate({ identifier: "ListResourcePoolsRequest" });
1327
1262
  case 1:
1328
- return S.Array(__S(11, __c1, 3));
1263
+ return S.Array(__S(107, __c13, 3));
1329
1264
  case 2:
1330
1265
  return S.suspend(() =>
1331
1266
  S.Struct({
1332
- resourcePools: S.optional(__S(113, __c14, 1)),
1267
+ resourcePools: S.optional(__S(89, __c11, 1)),
1333
1268
  }),
1334
1269
  ).annotate({ identifier: "ListResourcePoolsResponse" });
1335
1270
  }
1336
1271
  }
1337
- function __c15(j: number): any {
1272
+ function __c12(j: number): any {
1338
1273
  switch (j) {
1339
1274
  case 0:
1340
1275
  return S.suspend(() =>
1341
1276
  S.Struct({
1342
1277
  projectId: S.String.pipe(T.Label()),
1343
1278
  region: S.String.pipe(T.Label()),
1344
- resourcePoolId: S.String.pipe(T.Label()),
1279
+ availabilityZone: S.String,
1280
+ ipAcl: __S(120, __c15, 0),
1281
+ labels: S.optional(__S(121, __c15, 1)),
1282
+ name: S.String,
1283
+ performanceClass: S.String,
1284
+ sizeGigabytes: S.Number,
1285
+ snapshotPolicyId: S.optional(S.String),
1286
+ snapshotsAreVisible: S.optional(S.Boolean),
1345
1287
  }).pipe(
1346
1288
  T.Http({
1347
- method: "GET",
1348
- uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/snapshots",
1289
+ method: "POST",
1290
+ uri: "/v1/projects/{projectId}/regions/{region}/resourcePools",
1349
1291
  code: 200,
1350
1292
  baseUrl: "https://sfs.api.stackit.cloud",
1351
1293
  }),
1352
1294
  ),
1353
- ).annotate({ identifier: "ListResourcePoolSnapshotsRequest" });
1295
+ ).annotate({ identifier: "CreateResourcePoolRequest" });
1296
+ }
1297
+ }
1298
+ function __c13(j: number): any {
1299
+ switch (j) {
1300
+ case 0:
1301
+ return S.suspend(() =>
1302
+ S.Struct({
1303
+ name: S.optional(S.String),
1304
+ peakIops: S.optional(S.Number),
1305
+ throughput: S.optional(S.Number),
1306
+ }),
1307
+ ).annotate({ identifier: "ResourcePoolPerformanceClass" });
1354
1308
  case 1:
1355
- return S.Array(__S(136, __c17, 0));
1309
+ return S.suspend(() =>
1310
+ S.Struct({
1311
+ id: S.optional(S.String),
1312
+ name: S.optional(S.String),
1313
+ }),
1314
+ ).annotate({ identifier: "ResourcePoolSnapshotPolicy" });
1356
1315
  case 2:
1357
1316
  return S.suspend(() =>
1358
1317
  S.Struct({
1359
- resourcePoolSnapshots: S.optional(__S(121, __c15, 1)),
1318
+ availableGigabytes: S.optional(S.NullOr(S.Number)),
1319
+ sizeGigabytes: S.optional(S.Number),
1320
+ usedBySnapshotsGigabytes: S.optional(S.NullOr(S.Number)),
1321
+ usedGigabytes: S.optional(S.NullOr(S.Number)),
1360
1322
  }),
1361
- ).annotate({ identifier: "ListResourcePoolSnapshotsResponse" });
1323
+ ).annotate({ identifier: "ResourcePoolSpace" });
1324
+ case 3:
1325
+ return S.suspend(() =>
1326
+ S.Struct({
1327
+ availabilityZone: S.optional(S.String),
1328
+ countShares: S.optional(S.Number),
1329
+ createdAt: S.optional(S.String),
1330
+ id: S.optional(S.String),
1331
+ ipAcl: S.optional(__S(120, __c15, 0)),
1332
+ labels: S.optional(__S(121, __c15, 1)),
1333
+ mountPath: S.optional(S.String),
1334
+ name: S.optional(S.String),
1335
+ performanceClass: S.optional(__S(104, __c13, 0)),
1336
+ performanceClassDowngradableAt: S.optional(S.String),
1337
+ sizeReducibleAt: S.optional(S.String),
1338
+ snapshotPolicy: S.optional(S.NullOr(__S(105, __c13, 1))),
1339
+ snapshotsAreVisible: S.optional(S.Boolean),
1340
+ space: S.optional(__S(106, __c13, 2)),
1341
+ state: S.optional(S.String),
1342
+ }),
1343
+ ).annotate({ identifier: "ResourcePool" });
1344
+ }
1345
+ }
1346
+ function __c14(j: number): any {
1347
+ switch (j) {
1348
+ case 0:
1349
+ return S.suspend(() =>
1350
+ S.Struct({
1351
+ resourcePool: S.optional(__S(107, __c13, 3)),
1352
+ }),
1353
+ ).annotate({ identifier: "CreateResourcePoolResponse" });
1354
+ }
1355
+ }
1356
+ function __c15(j: number): any {
1357
+ switch (j) {
1358
+ case 0:
1359
+ return S.Array(S.String);
1360
+ case 1:
1361
+ return S.Record(S.String, S.String);
1362
1362
  }
1363
1363
  }
1364
1364
  function __c16(j: number): any {
@@ -1369,47 +1369,26 @@ function __c16(j: number): any {
1369
1369
  projectId: S.String.pipe(T.Label()),
1370
1370
  region: S.String.pipe(T.Label()),
1371
1371
  resourcePoolId: S.String.pipe(T.Label()),
1372
- comment: S.optional(S.NullOr(S.String)),
1373
- name: S.optional(S.String),
1374
- snaplockRetentionHours: S.optional(S.NullOr(S.Number)),
1375
1372
  }).pipe(
1376
1373
  T.Http({
1377
- method: "POST",
1374
+ method: "GET",
1378
1375
  uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/snapshots",
1379
1376
  code: 200,
1380
1377
  baseUrl: "https://sfs.api.stackit.cloud",
1381
1378
  }),
1382
1379
  ),
1383
- ).annotate({ identifier: "CreateResourcePoolSnapshotRequest" });
1384
- }
1385
- }
1386
- function __c17(j: number): any {
1387
- switch (j) {
1388
- case 0:
1389
- return S.suspend(() =>
1390
- S.Struct({
1391
- comment: S.optional(S.NullOr(S.String)),
1392
- createdAt: S.optional(S.String),
1393
- logicalSizeGigabytes: S.optional(S.Number),
1394
- resourcePoolId: S.optional(S.String),
1395
- sizeGigabytes: S.optional(S.Number),
1396
- snaplockExpiryTime: S.optional(S.NullOr(S.String)),
1397
- snapshotName: S.optional(S.String),
1398
- }),
1399
- ).annotate({ identifier: "ResourcePoolSnapshot" });
1400
- }
1401
- }
1402
- function __c18(j: number): any {
1403
- switch (j) {
1404
- case 0:
1380
+ ).annotate({ identifier: "ListResourcePoolSnapshotsRequest" });
1381
+ case 1:
1382
+ return S.Array(__S(200, __c25, 0));
1383
+ case 2:
1405
1384
  return S.suspend(() =>
1406
1385
  S.Struct({
1407
- resourcePoolSnapshot: S.optional(__S(136, __c17, 0)),
1386
+ resourcePoolSnapshots: S.optional(__S(129, __c16, 1)),
1408
1387
  }),
1409
- ).annotate({ identifier: "CreateResourcePoolSnapshotResponse" });
1388
+ ).annotate({ identifier: "ListResourcePoolSnapshotsResponse" });
1410
1389
  }
1411
1390
  }
1412
- function __c19(j: number): any {
1391
+ function __c17(j: number): any {
1413
1392
  switch (j) {
1414
1393
  case 0:
1415
1394
  return S.suspend(() =>
@@ -1426,16 +1405,16 @@ function __c19(j: number): any {
1426
1405
  ),
1427
1406
  ).annotate({ identifier: "ListShareExportPoliciesRequest" });
1428
1407
  case 1:
1429
- return S.Array(__S(234, __c29, 2));
1408
+ return S.Array(__S(242, __c30, 2));
1430
1409
  case 2:
1431
1410
  return S.suspend(() =>
1432
1411
  S.Struct({
1433
- shareExportPolicies: S.optional(__S(153, __c19, 1)),
1412
+ shareExportPolicies: S.optional(__S(137, __c17, 1)),
1434
1413
  }),
1435
1414
  ).annotate({ identifier: "ListShareExportPoliciesResponse" });
1436
1415
  }
1437
1416
  }
1438
- function __c20(j: number): any {
1417
+ function __c18(j: number): any {
1439
1418
  switch (j) {
1440
1419
  case 0:
1441
1420
  return S.suspend(() =>
@@ -1453,16 +1432,16 @@ function __c20(j: number): any {
1453
1432
  ),
1454
1433
  ).annotate({ identifier: "ListSharesRequest" });
1455
1434
  case 1:
1456
- return S.Array(__S(216, __c27, 0));
1435
+ return S.Array(__S(224, __c28, 0));
1457
1436
  case 2:
1458
1437
  return S.suspend(() =>
1459
1438
  S.Struct({
1460
- shares: S.optional(__S(161, __c20, 1)),
1439
+ shares: S.optional(__S(145, __c18, 1)),
1461
1440
  }),
1462
1441
  ).annotate({ identifier: "ListSharesResponse" });
1463
1442
  }
1464
1443
  }
1465
- function __c21(j: number): any {
1444
+ function __c19(j: number): any {
1466
1445
  switch (j) {
1467
1446
  case 0:
1468
1447
  return S.suspend(() =>
@@ -1479,16 +1458,16 @@ function __c21(j: number): any {
1479
1458
  ),
1480
1459
  ).annotate({ identifier: "ListSnapshotPoliciesRequest" });
1481
1460
  case 1:
1482
- return S.Array(__S(100, __c12, 4));
1461
+ return S.Array(__S(76, __c9, 4));
1483
1462
  case 2:
1484
1463
  return S.suspend(() =>
1485
1464
  S.Struct({
1486
- snapshotPolicies: S.optional(__S(169, __c21, 1)),
1465
+ snapshotPolicies: S.optional(__S(153, __c19, 1)),
1487
1466
  }),
1488
1467
  ).annotate({ identifier: "ListSnapshotPoliciesResponse" });
1489
1468
  }
1490
1469
  }
1491
- function __c22(j: number): any {
1470
+ function __c20(j: number): any {
1492
1471
  switch (j) {
1493
1472
  case 0:
1494
1473
  return S.suspend(() =>
@@ -1496,8 +1475,8 @@ function __c22(j: number): any {
1496
1475
  projectId: S.String.pipe(T.Label()),
1497
1476
  region: S.String.pipe(T.Label()),
1498
1477
  resourcePoolId: S.String.pipe(T.Label()),
1499
- ipAcl: S.optional(__S(24, __c3, 0)),
1500
- labels: S.optional(__S(25, __c3, 1)),
1478
+ ipAcl: S.optional(__S(120, __c15, 0)),
1479
+ labels: S.optional(__S(121, __c15, 1)),
1501
1480
  performanceClass: S.optional(S.String),
1502
1481
  sizeGigabytes: S.optional(S.NullOr(S.Number)),
1503
1482
  snapshotPolicyId: S.optional(S.NullOr(S.String)),
@@ -1513,7 +1492,7 @@ function __c22(j: number): any {
1513
1492
  ).annotate({ identifier: "UpdateResourcePoolRequest" });
1514
1493
  }
1515
1494
  }
1516
- function __c23(j: number): any {
1495
+ function __c21(j: number): any {
1517
1496
  switch (j) {
1518
1497
  case 0:
1519
1498
  return S.suspend(() =>
@@ -1535,7 +1514,7 @@ function __c23(j: number): any {
1535
1514
  ).annotate({ identifier: "UpdateResourcePoolSnapshotRequest" });
1536
1515
  }
1537
1516
  }
1538
- function __c24(j: number): any {
1517
+ function __c22(j: number): any {
1539
1518
  switch (j) {
1540
1519
  case 0:
1541
1520
  return S.suspend(() =>
@@ -1545,7 +1524,7 @@ function __c24(j: number): any {
1545
1524
  resourcePoolId: S.String.pipe(T.Label()),
1546
1525
  shareId: S.String.pipe(T.Label()),
1547
1526
  exportPolicyName: S.optional(S.NullOr(S.String)),
1548
- labels: S.optional(__S(25, __c3, 1)),
1527
+ labels: S.optional(__S(121, __c15, 1)),
1549
1528
  spaceHardLimitGigabytes: S.optional(S.NullOr(S.Number)),
1550
1529
  }).pipe(
1551
1530
  T.Http({
@@ -1558,7 +1537,7 @@ function __c24(j: number): any {
1558
1537
  ).annotate({ identifier: "UpdateShareRequest" });
1559
1538
  }
1560
1539
  }
1561
- function __c25(j: number): any {
1540
+ function __c23(j: number): any {
1562
1541
  switch (j) {
1563
1542
  case 0:
1564
1543
  return S.suspend(() =>
@@ -1566,8 +1545,8 @@ function __c25(j: number): any {
1566
1545
  projectId: S.String.pipe(T.Label()),
1567
1546
  region: S.String.pipe(T.Label()),
1568
1547
  policyId: S.String.pipe(T.Label()),
1569
- labels: S.optional(__S(25, __c3, 1)),
1570
- rules: S.optional(S.NullOr(__S(257, __c32, 1))),
1548
+ labels: S.optional(__S(121, __c15, 1)),
1549
+ rules: S.optional(S.NullOr(__S(265, __c33, 1))),
1571
1550
  }).pipe(
1572
1551
  T.Http({
1573
1552
  method: "PATCH",
@@ -1579,7 +1558,55 @@ function __c25(j: number): any {
1579
1558
  ).annotate({ identifier: "UpdateShareExportPolicyRequest" });
1580
1559
  }
1581
1560
  }
1561
+ function __c24(j: number): any {
1562
+ switch (j) {
1563
+ case 0:
1564
+ return S.suspend(() =>
1565
+ S.Struct({
1566
+ projectId: S.String.pipe(T.Label()),
1567
+ region: S.String.pipe(T.Label()),
1568
+ resourcePoolId: S.String.pipe(T.Label()),
1569
+ comment: S.optional(S.NullOr(S.String)),
1570
+ name: S.optional(S.String),
1571
+ snaplockRetentionHours: S.optional(S.NullOr(S.Number)),
1572
+ }).pipe(
1573
+ T.Http({
1574
+ method: "POST",
1575
+ uri: "/v1/projects/{projectId}/regions/{region}/resourcePools/{resourcePoolId}/snapshots",
1576
+ code: 200,
1577
+ baseUrl: "https://sfs.api.stackit.cloud",
1578
+ }),
1579
+ ),
1580
+ ).annotate({ identifier: "CreateResourcePoolSnapshotRequest" });
1581
+ }
1582
+ }
1583
+ function __c25(j: number): any {
1584
+ switch (j) {
1585
+ case 0:
1586
+ return S.suspend(() =>
1587
+ S.Struct({
1588
+ comment: S.optional(S.NullOr(S.String)),
1589
+ createdAt: S.optional(S.String),
1590
+ logicalSizeGigabytes: S.optional(S.Number),
1591
+ resourcePoolId: S.optional(S.String),
1592
+ sizeGigabytes: S.optional(S.Number),
1593
+ snaplockExpiryTime: S.optional(S.NullOr(S.String)),
1594
+ snapshotName: S.optional(S.String),
1595
+ }),
1596
+ ).annotate({ identifier: "ResourcePoolSnapshot" });
1597
+ }
1598
+ }
1582
1599
  function __c26(j: number): any {
1600
+ switch (j) {
1601
+ case 0:
1602
+ return S.suspend(() =>
1603
+ S.Struct({
1604
+ resourcePoolSnapshot: S.optional(__S(200, __c25, 0)),
1605
+ }),
1606
+ ).annotate({ identifier: "CreateResourcePoolSnapshotResponse" });
1607
+ }
1608
+ }
1609
+ function __c27(j: number): any {
1583
1610
  switch (j) {
1584
1611
  case 0:
1585
1612
  return S.suspend(() =>
@@ -1588,7 +1615,7 @@ function __c26(j: number): any {
1588
1615
  region: S.String.pipe(T.Label()),
1589
1616
  resourcePoolId: S.String.pipe(T.Label()),
1590
1617
  exportPolicyName: S.optional(S.NullOr(S.String)),
1591
- labels: S.optional(__S(25, __c3, 1)),
1618
+ labels: S.optional(__S(121, __c15, 1)),
1592
1619
  name: S.String,
1593
1620
  spaceHardLimitGigabytes: S.Number,
1594
1621
  }).pipe(
@@ -1602,15 +1629,15 @@ function __c26(j: number): any {
1602
1629
  ).annotate({ identifier: "CreateShareRequest" });
1603
1630
  }
1604
1631
  }
1605
- function __c27(j: number): any {
1632
+ function __c28(j: number): any {
1606
1633
  switch (j) {
1607
1634
  case 0:
1608
1635
  return S.suspend(() =>
1609
1636
  S.Struct({
1610
1637
  createdAt: S.optional(S.String),
1611
- exportPolicy: S.optional(S.NullOr(__S(234, __c29, 2))),
1638
+ exportPolicy: S.optional(S.NullOr(__S(242, __c30, 2))),
1612
1639
  id: S.optional(S.String),
1613
- labels: S.optional(__S(25, __c3, 1)),
1640
+ labels: S.optional(__S(121, __c15, 1)),
1614
1641
  mountPath: S.optional(S.String),
1615
1642
  name: S.optional(S.String),
1616
1643
  spaceHardLimitGigabytes: S.optional(S.Number),
@@ -1619,17 +1646,17 @@ function __c27(j: number): any {
1619
1646
  ).annotate({ identifier: "Share" });
1620
1647
  }
1621
1648
  }
1622
- function __c28(j: number): any {
1649
+ function __c29(j: number): any {
1623
1650
  switch (j) {
1624
1651
  case 0:
1625
1652
  return S.suspend(() =>
1626
1653
  S.Struct({
1627
- share: S.optional(__S(216, __c27, 0)),
1654
+ share: S.optional(__S(224, __c28, 0)),
1628
1655
  }),
1629
1656
  ).annotate({ identifier: "CreateShareResponse" });
1630
1657
  }
1631
1658
  }
1632
- function __c29(j: number): any {
1659
+ function __c30(j: number): any {
1633
1660
  switch (j) {
1634
1661
  case 0:
1635
1662
  return S.suspend(() =>
@@ -1637,7 +1664,7 @@ function __c29(j: number): any {
1637
1664
  createdAt: S.optional(S.String),
1638
1665
  description: S.optional(S.NullOr(S.String)),
1639
1666
  id: S.optional(S.String),
1640
- ipAcl: S.optional(__S(24, __c3, 0)),
1667
+ ipAcl: S.optional(__S(120, __c15, 0)),
1641
1668
  order: S.optional(S.Number),
1642
1669
  readOnly: S.optional(S.Boolean),
1643
1670
  setUuid: S.optional(S.Boolean),
@@ -1645,30 +1672,30 @@ function __c29(j: number): any {
1645
1672
  }),
1646
1673
  ).annotate({ identifier: "ShareExportPolicyRule" });
1647
1674
  case 1:
1648
- return S.Array(__S(232, __c29, 0));
1675
+ return S.Array(__S(240, __c30, 0));
1649
1676
  case 2:
1650
1677
  return S.suspend(() =>
1651
1678
  S.Struct({
1652
1679
  createdAt: S.optional(S.String),
1653
1680
  id: S.optional(S.String),
1654
- labels: S.optional(__S(25, __c3, 1)),
1681
+ labels: S.optional(__S(121, __c15, 1)),
1655
1682
  name: S.optional(S.String),
1656
- rules: S.optional(__S(233, __c29, 1)),
1683
+ rules: S.optional(__S(241, __c30, 1)),
1657
1684
  sharesUsingExportPolicy: S.optional(S.Number),
1658
1685
  }),
1659
1686
  ).annotate({ identifier: "ShareExportPolicy" });
1660
1687
  }
1661
1688
  }
1662
- function __c30(j: number): any {
1689
+ function __c31(j: number): any {
1663
1690
  switch (j) {
1664
1691
  case 0:
1665
1692
  return S.suspend(() =>
1666
1693
  S.Struct({
1667
1694
  projectId: S.String.pipe(T.Label()),
1668
1695
  region: S.String.pipe(T.Label()),
1669
- labels: S.optional(__S(25, __c3, 1)),
1696
+ labels: S.optional(__S(121, __c15, 1)),
1670
1697
  name: S.String,
1671
- rules: S.optional(__S(257, __c32, 1)),
1698
+ rules: S.optional(__S(265, __c33, 1)),
1672
1699
  }).pipe(
1673
1700
  T.Http({
1674
1701
  method: "POST",
@@ -1680,23 +1707,23 @@ function __c30(j: number): any {
1680
1707
  ).annotate({ identifier: "CreateShareExportPolicyRequest" });
1681
1708
  }
1682
1709
  }
1683
- function __c31(j: number): any {
1710
+ function __c32(j: number): any {
1684
1711
  switch (j) {
1685
1712
  case 0:
1686
1713
  return S.suspend(() =>
1687
1714
  S.Struct({
1688
- shareExportPolicy: S.optional(__S(234, __c29, 2)),
1715
+ shareExportPolicy: S.optional(__S(242, __c30, 2)),
1689
1716
  }),
1690
1717
  ).annotate({ identifier: "CreateShareExportPolicyResponse" });
1691
1718
  }
1692
1719
  }
1693
- function __c32(j: number): any {
1720
+ function __c33(j: number): any {
1694
1721
  switch (j) {
1695
1722
  case 0:
1696
1723
  return S.suspend(() =>
1697
1724
  S.Struct({
1698
1725
  description: S.optional(S.NullOr(S.String)),
1699
- ipAcl: S.optional(__S(24, __c3, 0)),
1726
+ ipAcl: S.optional(__S(120, __c15, 0)),
1700
1727
  order: S.optional(S.Number),
1701
1728
  readOnly: S.optional(S.Boolean),
1702
1729
  setUuid: S.optional(S.Boolean),
@@ -1704,10 +1731,10 @@ function __c32(j: number): any {
1704
1731
  }),
1705
1732
  ).annotate({ identifier: "CreateShareExportPolicyRequestRule" });
1706
1733
  case 1:
1707
- return S.Array(__S(256, __c32, 0));
1734
+ return S.Array(__S(264, __c33, 0));
1708
1735
  }
1709
1736
  }
1710
- function __c33(j: number): any {
1737
+ function __c34(j: number): any {
1711
1738
  switch (j) {
1712
1739
  case 0:
1713
1740
  return S.suspend(() =>
@@ -1726,7 +1753,7 @@ function __c33(j: number): any {
1726
1753
  ).annotate({ identifier: "DeleteResourcePoolRequest" });
1727
1754
  }
1728
1755
  }
1729
- function __c34(j: number): any {
1756
+ function __c35(j: number): any {
1730
1757
  switch (j) {
1731
1758
  case 0:
1732
1759
  return S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
@@ -1734,7 +1761,7 @@ function __c34(j: number): any {
1734
1761
  });
1735
1762
  }
1736
1763
  }
1737
- function __c35(j: number): any {
1764
+ function __c36(j: number): any {
1738
1765
  switch (j) {
1739
1766
  case 0:
1740
1767
  return S.suspend(() =>
@@ -1754,7 +1781,7 @@ function __c35(j: number): any {
1754
1781
  ).annotate({ identifier: "DeleteResourcePoolSnapshotRequest" });
1755
1782
  }
1756
1783
  }
1757
- function __c36(j: number): any {
1784
+ function __c37(j: number): any {
1758
1785
  switch (j) {
1759
1786
  case 0:
1760
1787
  return S.suspend(() =>
@@ -1774,7 +1801,7 @@ function __c36(j: number): any {
1774
1801
  ).annotate({ identifier: "DeleteShareRequest" });
1775
1802
  }
1776
1803
  }
1777
- function __c37(j: number): any {
1804
+ function __c38(j: number): any {
1778
1805
  switch (j) {
1779
1806
  case 0:
1780
1807
  return S.suspend(() =>
@@ -1793,24 +1820,6 @@ function __c37(j: number): any {
1793
1820
  ).annotate({ identifier: "DeleteShareExportPolicyRequest" });
1794
1821
  }
1795
1822
  }
1796
- function __c38(j: number): any {
1797
- switch (j) {
1798
- case 0:
1799
- return S.suspend(() =>
1800
- S.Struct({
1801
- region: S.String.pipe(T.Label()),
1802
- projectId: S.String.pipe(T.Label()),
1803
- }).pipe(
1804
- T.Http({
1805
- method: "DELETE",
1806
- uri: "/v1/regions/{region}/project/{projectId}/locks",
1807
- code: 200,
1808
- baseUrl: "https://sfs.api.stackit.cloud",
1809
- }),
1810
- ),
1811
- ).annotate({ identifier: "DisableLockRequest" });
1812
- }
1813
- }
1814
1823
  // Schema table: entry i is schema j of builder f, made on first reach.
1815
1824
  function __S(i: number, f: (j: number) => unknown, j: number): any {
1816
1825
  return (__s[i] ??= __L.at(f, j));