@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
@@ -12,6 +12,16 @@ declare const BadRequest_base: S.TaggedErrorClass<"BadRequest", {
12
12
  });
13
13
  export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
14
14
  }
15
+ declare const Conflict_base: S.TaggedErrorClass<"Conflict", {
16
+ readonly code: any;
17
+ readonly message: any;
18
+ }> & (new (...args: any[]) => {
19
+ "@distilled.cloud/error/categories": {
20
+ ConflictError: true;
21
+ };
22
+ });
23
+ export declare class Conflict extends /*@__PURE__*/ Conflict_base {
24
+ }
15
25
  /** List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
16
26
  export type CreateResourcePoolRequestIpAclList = Array<string>;
17
27
  /** An optional object that represents the labels associated with the resource pool. */
@@ -26,7 +36,7 @@ export interface CreateResourcePoolRequest {
26
36
  /** 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) */
27
37
  ipAcl: CreateResourcePoolRequestIpAclList;
28
38
  /** An optional object that represents the labels associated with the resource pool. */
29
- labels?: CreateResourcePoolRequestLabelsMap;
39
+ labels?: CreateResourcePoolRequestLabelsMap | undefined;
30
40
  /** Name of the Resource Pool */
31
41
  name: string;
32
42
  /** Name of the performance class */
@@ -34,9 +44,9 @@ export interface CreateResourcePoolRequest {
34
44
  /** Size of the Resource Pool (unit: gibibytes) */
35
45
  sizeGigabytes: number;
36
46
  /** (optional) Id of the Snapshot Policy to use */
37
- snapshotPolicyId?: string;
47
+ snapshotPolicyId?: string | undefined;
38
48
  /** 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. */
39
- snapshotsAreVisible?: boolean;
49
+ snapshotsAreVisible?: boolean | undefined;
40
50
  }
41
51
  /** 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) */
42
52
  export type ResourcePoolIpAclList = Array<string>;
@@ -45,91 +55,91 @@ export type ResourcePoolLabelsMap = {
45
55
  };
46
56
  export interface ResourcePoolPerformanceClass {
47
57
  /** Name of the performance class */
48
- name?: string;
58
+ name?: string | undefined;
49
59
  /** Max. IOPS of the Resource Pool. This is shared between every Share in the Resource Pool. */
50
- peakIops?: number;
60
+ peakIops?: number | undefined;
51
61
  /** Throughput of the Resource Pool. */
52
- throughput?: number;
62
+ throughput?: number | undefined;
53
63
  }
54
64
  export interface ResourcePoolSnapshotPolicy {
55
65
  /** ID of the Snapshot Policy */
56
- id?: string;
66
+ id?: string | undefined;
57
67
  /** Name of the Snapshot Policy */
58
- name?: string;
68
+ name?: string | undefined;
59
69
  }
60
70
  export interface ResourcePoolSpace {
61
71
  /** Available space of the Resource Pool (only available when retrieving a single Resource Pool by ID) */
62
- availableGigabytes?: number | null;
72
+ availableGigabytes?: number | null | undefined;
63
73
  /** Size of the Resource Pool in Gibibytes. */
64
- sizeGigabytes?: number;
74
+ sizeGigabytes?: number | undefined;
65
75
  /** Used space by snapshots (only available when retrieving a single Resource Pool by ID) */
66
- usedBySnapshotsGigabytes?: number | null;
76
+ usedBySnapshotsGigabytes?: number | null | undefined;
67
77
  /** Used space of the Resource Pool (only available when retrieving a single Resource Pool by ID) */
68
- usedGigabytes?: number | null;
78
+ usedGigabytes?: number | null | undefined;
69
79
  }
70
80
  export interface ResourcePool {
71
81
  /** Name of the respective availability zone */
72
- availabilityZone?: string;
82
+ availabilityZone?: string | undefined;
73
83
  /** Number of Shares in the Resource Pool */
74
- countShares?: number;
75
- createdAt?: string;
84
+ countShares?: number | undefined;
85
+ createdAt?: string | undefined;
76
86
  /** ID of the Resource Pool */
77
- id?: string;
87
+ id?: string | undefined;
78
88
  /** 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) */
79
- ipAcl?: ResourcePoolIpAclList;
80
- labels?: ResourcePoolLabelsMap;
89
+ ipAcl?: ResourcePoolIpAclList | undefined;
90
+ labels?: ResourcePoolLabelsMap | undefined;
81
91
  /** Mount path of the Resource Pool, used to mount the Resource Pool Note that a Resource Pool can only be mounted in read-only */
82
- mountPath?: string;
92
+ mountPath?: string | undefined;
83
93
  /** Name of the Resource Pool */
84
- name?: string;
94
+ name?: string | undefined;
85
95
  /** Information about the performance class */
86
- performanceClass?: ResourcePoolPerformanceClass;
96
+ performanceClass?: ResourcePoolPerformanceClass | undefined;
87
97
  /** Time when the performance class can be downgraded again. */
88
- performanceClassDowngradableAt?: string;
98
+ performanceClassDowngradableAt?: string | undefined;
89
99
  /** Time when the size can be reduced again. */
90
- sizeReducibleAt?: string;
100
+ sizeReducibleAt?: string | undefined;
91
101
  /** (optional) Snapshot Policy */
92
- snapshotPolicy?: ResourcePoolSnapshotPolicy | null;
102
+ snapshotPolicy?: ResourcePoolSnapshotPolicy | null | undefined;
93
103
  /** 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. */
94
- snapshotsAreVisible?: boolean;
104
+ snapshotsAreVisible?: boolean | undefined;
95
105
  /** Space information */
96
- space?: ResourcePoolSpace;
106
+ space?: ResourcePoolSpace | undefined;
97
107
  /** State of the Resource Pool (possible values: ["pending", "creating", "created", "updating", "error", "deleting"]) */
98
- state?: string;
108
+ state?: string | undefined;
99
109
  }
100
110
  export interface CreateResourcePoolResponse {
101
111
  /** Created Resource Pool */
102
- resourcePool?: ResourcePool;
112
+ resourcePool?: ResourcePool | undefined;
103
113
  }
104
114
  export interface CreateResourcePoolSnapshotRequest {
105
115
  projectId: string;
106
116
  region: string;
107
117
  resourcePoolId: string;
108
118
  /** (optional) A comment to add more information about a snapshot */
109
- comment?: string | null;
119
+ comment?: string | null | undefined;
110
120
  /** Name of the Resource Pool Snapshot */
111
- name?: string;
121
+ name?: string | undefined;
112
122
  /** (optional) Time in hours after which snaplock on the snapshot expires */
113
- snaplockRetentionHours?: number | null;
123
+ snaplockRetentionHours?: number | null | undefined;
114
124
  }
115
125
  export interface ResourcePoolSnapshot {
116
126
  /** (optional) A comment to add more information about a snapshot */
117
- comment?: string | null;
118
- createdAt?: string;
127
+ comment?: string | null | undefined;
128
+ createdAt?: string | undefined;
119
129
  /** Represents the user-visible data size at the time of the snapshot in Gibibytes (e.g. what's in the snapshot) */
120
- logicalSizeGigabytes?: number;
130
+ logicalSizeGigabytes?: number | undefined;
121
131
  /** ID of the Resource Pool of the Snapshot */
122
- resourcePoolId?: string;
132
+ resourcePoolId?: string | undefined;
123
133
  /** 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). */
124
- sizeGigabytes?: number;
134
+ sizeGigabytes?: number | undefined;
125
135
  /** Represents the snaplock expiry time if snaplock is enabled for the resource pool */
126
- snaplockExpiryTime?: string | null;
136
+ snaplockExpiryTime?: string | null | undefined;
127
137
  /** Name of the Resource Pool Snapshot */
128
- snapshotName?: string;
138
+ snapshotName?: string | undefined;
129
139
  }
130
140
  export interface CreateResourcePoolSnapshotResponse {
131
141
  /** Created Resource Pool Snapshot */
132
- resourcePoolSnapshot?: ResourcePoolSnapshot;
142
+ resourcePoolSnapshot?: ResourcePoolSnapshot | undefined;
133
143
  }
134
144
  /** An optional object that represents the labels associated with the share. */
135
145
  export type CreateShareRequestLabelsMap = {
@@ -140,9 +150,9 @@ export interface CreateShareRequest {
140
150
  region: string;
141
151
  resourcePoolId: string;
142
152
  /** 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 */
143
- exportPolicyName?: string | null;
153
+ exportPolicyName?: string | null | undefined;
144
154
  /** An optional object that represents the labels associated with the share. */
145
- labels?: CreateShareRequestLabelsMap;
155
+ labels?: CreateShareRequestLabelsMap | undefined;
146
156
  /** Name of the Share */
147
157
  name: string;
148
158
  /** 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) */
@@ -155,61 +165,61 @@ export type ShareExportPolicyLabelsMap = {
155
165
  /** 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 */
156
166
  export type ShareExportPolicyRuleIpAclList = Array<string>;
157
167
  export interface ShareExportPolicyRule {
158
- createdAt?: string;
168
+ createdAt?: string | undefined;
159
169
  /** Description of the Rule (optional) */
160
- description?: string | null;
170
+ description?: string | null | undefined;
161
171
  /** ID of the Share Export Policy Rule */
162
- id?: string;
172
+ id?: string | undefined;
163
173
  /** 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 */
164
- ipAcl?: ShareExportPolicyRuleIpAclList;
174
+ ipAcl?: ShareExportPolicyRuleIpAclList | undefined;
165
175
  /** 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 */
166
- order?: number;
176
+ order?: number | undefined;
167
177
  /** Flag to indicate if client IPs matching this rule can only mount the share in read only mode Default: false */
168
- readOnly?: boolean;
178
+ readOnly?: boolean | undefined;
169
179
  /** Flag to honor set UUID Default: false */
170
- setUuid?: boolean;
180
+ setUuid?: boolean | undefined;
171
181
  /** Flag to indicate if client IPs matching this rule have root access on the Share Default: true */
172
- superUser?: boolean;
182
+ superUser?: boolean | undefined;
173
183
  }
174
184
  /** 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 */
175
185
  export type ShareExportPolicyRulesList = Array<ShareExportPolicyRule>;
176
186
  export interface ShareExportPolicy {
177
- createdAt?: string;
187
+ createdAt?: string | undefined;
178
188
  /** ID of the Share Export Policy */
179
- id?: string;
189
+ id?: string | undefined;
180
190
  /** An optional object that represents the labels associated with the share export policy. */
181
- labels?: ShareExportPolicyLabelsMap;
191
+ labels?: ShareExportPolicyLabelsMap | undefined;
182
192
  /** Name of the Share Export Policy */
183
- name?: string;
193
+ name?: string | undefined;
184
194
  /** 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 */
185
- rules?: ShareExportPolicyRulesList;
195
+ rules?: ShareExportPolicyRulesList | undefined;
186
196
  /** Number of Shares using this Share Export Policy */
187
- sharesUsingExportPolicy?: number;
197
+ sharesUsingExportPolicy?: number | undefined;
188
198
  }
189
199
  /** An optional object that represents the labels associated with the share. */
190
200
  export type ShareLabelsMap = {
191
201
  [key: string]: string | undefined;
192
202
  };
193
203
  export interface Share {
194
- createdAt?: string;
204
+ createdAt?: string | undefined;
195
205
  /** 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 */
196
- exportPolicy?: ShareExportPolicy | null;
206
+ exportPolicy?: ShareExportPolicy | null | undefined;
197
207
  /** ID of the Share */
198
- id?: string;
208
+ id?: string | undefined;
199
209
  /** An optional object that represents the labels associated with the share. */
200
- labels?: ShareLabelsMap;
210
+ labels?: ShareLabelsMap | undefined;
201
211
  /** Mount path of the Share, used to mount the Share */
202
- mountPath?: string;
212
+ mountPath?: string | undefined;
203
213
  /** Name of the Share */
204
- name?: string;
214
+ name?: string | undefined;
205
215
  /** 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) */
206
- spaceHardLimitGigabytes?: number;
216
+ spaceHardLimitGigabytes?: number | undefined;
207
217
  /** State of the Resource Pool Snapshot (possible values: ["pending", "creating", "created", "error", "deleting"]) */
208
- state?: string;
218
+ state?: string | undefined;
209
219
  }
210
220
  export interface CreateShareResponse {
211
221
  /** Created Share */
212
- share?: Share;
222
+ share?: Share | undefined;
213
223
  }
214
224
  /** An optional object that represents the labels associated with the share export policy. */
215
225
  export type CreateShareExportPolicyRequestLabelsMap = {
@@ -219,17 +229,17 @@ export type CreateShareExportPolicyRequestLabelsMap = {
219
229
  export type CreateShareExportPolicyRequestRuleIpAclList = Array<string>;
220
230
  export interface CreateShareExportPolicyRequestRule {
221
231
  /** Description of the Rule (optional) */
222
- description?: string | null;
232
+ description?: string | null | undefined;
223
233
  /** 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 */
224
- ipAcl?: CreateShareExportPolicyRequestRuleIpAclList;
234
+ ipAcl?: CreateShareExportPolicyRequestRuleIpAclList | undefined;
225
235
  /** 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 */
226
- order?: number;
236
+ order?: number | undefined;
227
237
  /** Flag to indicate if client IPs matching this rule can only mount the share in read only mode Default: false */
228
- readOnly?: boolean;
238
+ readOnly?: boolean | undefined;
229
239
  /** Flag to honor set UUID Default: false */
230
- setUuid?: boolean;
240
+ setUuid?: boolean | undefined;
231
241
  /** Flag to indicate if client IPs matching this rule have root access on the Share Default: true */
232
- superUser?: boolean;
242
+ superUser?: boolean | undefined;
233
243
  }
234
244
  /** 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 */
235
245
  export type CreateShareExportPolicyRequestRulesList = Array<CreateShareExportPolicyRequestRule>;
@@ -237,15 +247,15 @@ export interface CreateShareExportPolicyRequest {
237
247
  projectId: string;
238
248
  region: string;
239
249
  /** An optional object that represents the labels associated with the share export policy. */
240
- labels?: CreateShareExportPolicyRequestLabelsMap;
250
+ labels?: CreateShareExportPolicyRequestLabelsMap | undefined;
241
251
  /** Name of the Share Export Policy */
242
252
  name: string;
243
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 */
244
- rules?: CreateShareExportPolicyRequestRulesList;
254
+ rules?: CreateShareExportPolicyRequestRulesList | undefined;
245
255
  }
246
256
  export interface CreateShareExportPolicyResponse {
247
257
  /** Created Share Export Policy */
248
- shareExportPolicy?: ShareExportPolicy;
258
+ shareExportPolicy?: ShareExportPolicy | undefined;
249
259
  }
250
260
  export interface DeleteResourcePoolRequest {
251
261
  projectId: string;
@@ -283,14 +293,14 @@ export interface EnableLockRequest {
283
293
  projectId: string;
284
294
  }
285
295
  export interface EnableLockResponse {
286
- lockId?: string;
296
+ lockId?: string | undefined;
287
297
  }
288
298
  export interface GetLockRequest {
289
299
  region: string;
290
300
  projectId: string;
291
301
  }
292
302
  export interface GetLockResponse {
293
- lockId?: string;
303
+ lockId?: string | undefined;
294
304
  }
295
305
  export interface GetResourcePoolRequest {
296
306
  projectId: string;
@@ -299,7 +309,7 @@ export interface GetResourcePoolRequest {
299
309
  }
300
310
  export interface GetResourcePoolResponse {
301
311
  /** Resource Pool */
302
- resourcePool?: ResourcePool;
312
+ resourcePool?: ResourcePool | undefined;
303
313
  }
304
314
  export interface GetResourcePoolSnapshotRequest {
305
315
  projectId: string;
@@ -309,7 +319,7 @@ export interface GetResourcePoolSnapshotRequest {
309
319
  }
310
320
  export interface GetResourcePoolSnapshotResponse {
311
321
  /** Resource Pool Snapshot */
312
- resourcePoolSnapshot?: ResourcePoolSnapshot;
322
+ resourcePoolSnapshot?: ResourcePoolSnapshot | undefined;
313
323
  }
314
324
  export interface GetShareRequest {
315
325
  projectId: string;
@@ -319,7 +329,7 @@ export interface GetShareRequest {
319
329
  }
320
330
  export interface GetShareResponse {
321
331
  /** Share */
322
- share?: Share;
332
+ share?: Share | undefined;
323
333
  }
324
334
  export interface GetShareExportPolicyRequest {
325
335
  projectId: string;
@@ -328,7 +338,7 @@ export interface GetShareExportPolicyRequest {
328
338
  }
329
339
  export interface GetShareExportPolicyResponse {
330
340
  /** Share Export Policies */
331
- shareExportPolicy?: ShareExportPolicy;
341
+ shareExportPolicy?: ShareExportPolicy | undefined;
332
342
  }
333
343
  export interface GetSnapshotPolicyRequest {
334
344
  projectId: string;
@@ -336,70 +346,70 @@ export interface GetSnapshotPolicyRequest {
336
346
  }
337
347
  export interface SnapshotPolicySchedule {
338
348
  /** Retention Count */
339
- count?: number;
349
+ count?: number | undefined;
340
350
  /** Interval of the Schedule (follows the cron schedule expression in Unix-like systems) */
341
- interval?: string;
351
+ interval?: string | undefined;
342
352
  /** Prefix used for the snapshots created by this policy */
343
- prefix?: string;
353
+ prefix?: string | undefined;
344
354
  /** Retention Period (ISO 8601 format or "infinite") */
345
- retentionPeriod?: string;
355
+ retentionPeriod?: string | undefined;
346
356
  /** ID of the Schedule */
347
- scheduleId?: string;
357
+ scheduleId?: string | undefined;
348
358
  }
349
359
  /** (deprecated) associated schedules */
350
360
  export type SnapshotPolicySchedulesList = Array<SnapshotPolicySchedule>;
351
361
  export interface SnapshotPolicySnapshotPolicySchedule {
352
- createdAt?: string;
362
+ createdAt?: string | undefined;
353
363
  /** ID of the Schedule */
354
- id?: string;
364
+ id?: string | undefined;
355
365
  /** Interval of the Schedule (follows the cron schedule expression in Unix-like systems) */
356
- interval?: string;
366
+ interval?: string | undefined;
357
367
  /** Name of the Schedule */
358
- name?: string;
368
+ name?: string | undefined;
359
369
  /** Prefix used for the snapshots created by this policy */
360
- prefix?: string;
370
+ prefix?: string | undefined;
361
371
  /** Retention Count */
362
- retentionCount?: number;
372
+ retentionCount?: number | undefined;
363
373
  /** Retention Period (ISO 8601 format or "infinite") */
364
- retentionPeriod?: string;
374
+ retentionPeriod?: string | undefined;
365
375
  }
366
376
  /** associated schedules */
367
377
  export type SnapshotPolicySnapshotSchedulesList = Array<SnapshotPolicySnapshotPolicySchedule>;
368
378
  export interface SnapshotPolicy {
369
379
  /** Comment of the Snapshot Policy */
370
- comment?: string;
380
+ comment?: string | undefined;
371
381
  /** created at timestamp */
372
- createdAt?: string;
382
+ createdAt?: string | undefined;
373
383
  /** Wether the Snapshot Policy is enabled */
374
- enabled?: boolean;
384
+ enabled?: boolean | undefined;
375
385
  /** ID of the Snapshot Policy */
376
- id?: string;
386
+ id?: string | undefined;
377
387
  /** Name of the Snapshot Policy */
378
- name?: string;
388
+ name?: string | undefined;
379
389
  /** (deprecated) associated schedules */
380
- schedules?: SnapshotPolicySchedulesList;
390
+ schedules?: SnapshotPolicySchedulesList | undefined;
381
391
  /** associated schedules */
382
- snapshotSchedules?: SnapshotPolicySnapshotSchedulesList;
392
+ snapshotSchedules?: SnapshotPolicySnapshotSchedulesList | undefined;
383
393
  }
384
394
  export interface GetSnapshotPolicyResponse {
385
395
  /** Snapshot Policy */
386
- snapshotPolicy?: SnapshotPolicy;
396
+ snapshotPolicy?: SnapshotPolicy | undefined;
387
397
  }
388
398
  export interface ListPerformanceClassesRequest {
389
399
  }
390
400
  export interface PerformanceClass {
391
401
  /** IOPS of the Performance Class */
392
- iops?: number;
402
+ iops?: number | undefined;
393
403
  /** Name of the Performance Class */
394
- name?: string;
404
+ name?: string | undefined;
395
405
  /** Throughput of the Performance Class */
396
- throughput?: number;
406
+ throughput?: number | undefined;
397
407
  }
398
408
  /** List of Performance Classes */
399
409
  export type ListPerformanceClassesResponsePerformanceClassesList = Array<PerformanceClass>;
400
410
  export interface ListPerformanceClassesResponse {
401
411
  /** List of Performance Classes */
402
- performanceClasses?: ListPerformanceClassesResponsePerformanceClassesList;
412
+ performanceClasses?: ListPerformanceClassesResponsePerformanceClassesList | undefined;
403
413
  }
404
414
  export interface ListResourcePoolsRequest {
405
415
  projectId: string;
@@ -409,7 +419,7 @@ export interface ListResourcePoolsRequest {
409
419
  export type ListResourcePoolsResponseResourcePoolsList = Array<ResourcePool>;
410
420
  export interface ListResourcePoolsResponse {
411
421
  /** List of Resource Pools */
412
- resourcePools?: ListResourcePoolsResponseResourcePoolsList;
422
+ resourcePools?: ListResourcePoolsResponseResourcePoolsList | undefined;
413
423
  }
414
424
  export interface ListResourcePoolSnapshotsRequest {
415
425
  projectId: string;
@@ -420,7 +430,7 @@ export interface ListResourcePoolSnapshotsRequest {
420
430
  export type ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList = Array<ResourcePoolSnapshot>;
421
431
  export interface ListResourcePoolSnapshotsResponse {
422
432
  /** List of Resource Pool Snapshots */
423
- resourcePoolSnapshots?: ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList;
433
+ resourcePoolSnapshots?: ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList | undefined;
424
434
  }
425
435
  export interface ListShareExportPoliciesRequest {
426
436
  projectId: string;
@@ -430,7 +440,7 @@ export interface ListShareExportPoliciesRequest {
430
440
  export type ListShareExportPoliciesResponseShareExportPoliciesList = Array<ShareExportPolicy>;
431
441
  export interface ListShareExportPoliciesResponse {
432
442
  /** List of Share Export Policies */
433
- shareExportPolicies?: ListShareExportPoliciesResponseShareExportPoliciesList;
443
+ shareExportPolicies?: ListShareExportPoliciesResponseShareExportPoliciesList | undefined;
434
444
  }
435
445
  export interface ListSharesRequest {
436
446
  projectId: string;
@@ -441,17 +451,17 @@ export interface ListSharesRequest {
441
451
  export type ListSharesResponseSharesList = Array<Share>;
442
452
  export interface ListSharesResponse {
443
453
  /** List of Shares */
444
- shares?: ListSharesResponseSharesList;
454
+ shares?: ListSharesResponseSharesList | undefined;
445
455
  }
446
456
  export interface ListSnapshotPoliciesRequest {
447
457
  projectId: string;
448
- immutable?: boolean;
458
+ immutable?: boolean | undefined;
449
459
  }
450
460
  /** List of Snapshot Policies */
451
461
  export type ListSnapshotPoliciesResponseSnapshotPoliciesList = Array<SnapshotPolicy>;
452
462
  export interface ListSnapshotPoliciesResponse {
453
463
  /** List of Snapshot Policies */
454
- snapshotPolicies?: ListSnapshotPoliciesResponseSnapshotPoliciesList;
464
+ snapshotPolicies?: ListSnapshotPoliciesResponseSnapshotPoliciesList | undefined;
455
465
  }
456
466
  /** (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) */
457
467
  export type UpdateResourcePoolRequestIpAclList = Array<string>;
@@ -464,21 +474,21 @@ export interface UpdateResourcePoolRequest {
464
474
  region: string;
465
475
  resourcePoolId: string;
466
476
  /** (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
- ipAcl?: UpdateResourcePoolRequestIpAclList;
477
+ ipAcl?: UpdateResourcePoolRequestIpAclList | undefined;
468
478
  /** An optional object that represents the labels associated with the resource pool. */
469
- labels?: UpdateResourcePoolRequestLabelsMap;
479
+ labels?: UpdateResourcePoolRequestLabelsMap | undefined;
470
480
  /** (optional) Name of the performance class */
471
- performanceClass?: string;
481
+ performanceClass?: string | undefined;
472
482
  /** (optional) Size of the Resource Pool (unit: gigabytes) */
473
- sizeGigabytes?: number | null;
483
+ sizeGigabytes?: number | null | undefined;
474
484
  /** (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 */
475
- snapshotPolicyId?: string | null;
485
+ snapshotPolicyId?: string | null | undefined;
476
486
  /** 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. */
477
- snapshotsAreVisible?: boolean;
487
+ snapshotsAreVisible?: boolean | undefined;
478
488
  }
479
489
  export interface UpdateResourcePoolResponse {
480
490
  /** Updated Resource Pool */
481
- resourcePool?: ResourcePool;
491
+ resourcePool?: ResourcePool | undefined;
482
492
  }
483
493
  export interface UpdateResourcePoolSnapshotRequest {
484
494
  projectId: string;
@@ -486,13 +496,13 @@ export interface UpdateResourcePoolSnapshotRequest {
486
496
  resourcePoolId: string;
487
497
  snapshotName: string;
488
498
  /** (optional) A comment to add more information about a snapshot */
489
- comment?: string | null;
499
+ comment?: string | null | undefined;
490
500
  /** (optional) name of the Resource Pool Snapshot */
491
- name?: string | null;
501
+ name?: string | null | undefined;
492
502
  }
493
503
  export interface UpdateResourcePoolSnapshotResponse {
494
504
  /** Updated Resource Pool Snapshot */
495
- resourcePoolSnapshot?: ResourcePoolSnapshot;
505
+ resourcePoolSnapshot?: ResourcePoolSnapshot | undefined;
496
506
  }
497
507
  /** An optional object that represents the labels associated with the share. */
498
508
  export type UpdateShareRequestLabelsMap = {
@@ -504,15 +514,15 @@ export interface UpdateShareRequest {
504
514
  resourcePoolId: string;
505
515
  shareId: string;
506
516
  /** 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 */
507
- exportPolicyName?: string | null;
517
+ exportPolicyName?: string | null | undefined;
508
518
  /** An optional object that represents the labels associated with the share. */
509
- labels?: UpdateShareRequestLabelsMap;
519
+ labels?: UpdateShareRequestLabelsMap | undefined;
510
520
  /** 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) */
511
- spaceHardLimitGigabytes?: number | null;
521
+ spaceHardLimitGigabytes?: number | null | undefined;
512
522
  }
513
523
  export interface UpdateShareResponse {
514
524
  /** Updated Share */
515
- share?: Share;
525
+ share?: Share | undefined;
516
526
  }
517
527
  /** An optional object that represents the labels associated with the share export policy. */
518
528
  export type UpdateShareExportPolicyRequestLabelsMap = {
@@ -522,17 +532,17 @@ export type UpdateShareExportPolicyRequestLabelsMap = {
522
532
  export type UpdateShareExportPolicyBodyRuleIpAclList = Array<string>;
523
533
  export interface UpdateShareExportPolicyBodyRule {
524
534
  /** Description of the Rule (optional) */
525
- description?: string | null;
535
+ description?: string | null | undefined;
526
536
  /** 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 */
527
- ipAcl?: UpdateShareExportPolicyBodyRuleIpAclList;
537
+ ipAcl?: UpdateShareExportPolicyBodyRuleIpAclList | undefined;
528
538
  /** 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 */
529
- order?: number;
539
+ order?: number | undefined;
530
540
  /** Flag to indicate if client IPs matching this rule can only mount the share in read only mode Default: false */
531
- readOnly?: boolean;
541
+ readOnly?: boolean | undefined;
532
542
  /** Flag to honor set UUID Default: false */
533
- setUuid?: boolean;
543
+ setUuid?: boolean | undefined;
534
544
  /** Flag to indicate if client IPs matching this rule have root access on the Share Default: true */
535
- superUser?: boolean;
545
+ superUser?: boolean | undefined;
536
546
  }
537
547
  /** 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) */
538
548
  export type UpdateShareExportPolicyRequestRulesList = Array<UpdateShareExportPolicyBodyRule>;
@@ -541,29 +551,29 @@ export interface UpdateShareExportPolicyRequest {
541
551
  region: string;
542
552
  policyId: string;
543
553
  /** An optional object that represents the labels associated with the share export policy. */
544
- labels?: UpdateShareExportPolicyRequestLabelsMap;
554
+ labels?: UpdateShareExportPolicyRequestLabelsMap | undefined;
545
555
  /** 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) */
546
- rules?: UpdateShareExportPolicyRequestRulesList | null;
556
+ rules?: UpdateShareExportPolicyRequestRulesList | null | undefined;
547
557
  }
548
558
  export interface UpdateShareExportPolicyResponse {
549
- shareExportPolicy?: ShareExportPolicy;
559
+ shareExportPolicy?: ShareExportPolicy | undefined;
550
560
  }
551
- export type CreateResourcePoolError = BadRequest | StackitOpError;
561
+ export type CreateResourcePoolError = BadRequest | Conflict | StackitOpError;
552
562
  /** Create Resource Pool Create a Resource Pool in a project. */
553
563
  export declare const createResourcePool: API.OperationMethod<CreateResourcePoolRequest, CreateResourcePoolResponse, CreateResourcePoolError, StackitOpContext>;
554
- export type CreateResourcePoolSnapshotError = BadRequest | StackitOpError;
564
+ export type CreateResourcePoolSnapshotError = BadRequest | Conflict | StackitOpError;
555
565
  /** Create Resource Pool Snapshot Creates a Snapshot of a Resource Pool in a project. */
556
566
  export declare const createResourcePoolSnapshot: API.OperationMethod<CreateResourcePoolSnapshotRequest, CreateResourcePoolSnapshotResponse, CreateResourcePoolSnapshotError, StackitOpContext>;
557
- export type CreateShareError = BadRequest | StackitOpError;
567
+ export type CreateShareError = BadRequest | Conflict | StackitOpError;
558
568
  /** Create Share Creates a Share in a Resource Pool in a project. */
559
569
  export declare const createShare: API.OperationMethod<CreateShareRequest, CreateShareResponse, CreateShareError, StackitOpContext>;
560
- export type CreateShareExportPolicyError = BadRequest | StackitOpError;
570
+ export type CreateShareExportPolicyError = BadRequest | Conflict | StackitOpError;
561
571
  /** Create Share Export Policy Creates a ShareExportPolicy in a Resource Pool in a project. */
562
572
  export declare const createShareExportPolicy: API.OperationMethod<CreateShareExportPolicyRequest, CreateShareExportPolicyResponse, CreateShareExportPolicyError, StackitOpContext>;
563
- export type DeleteResourcePoolError = BadRequest | StackitOpError;
573
+ export type DeleteResourcePoolError = BadRequest | Conflict | StackitOpError;
564
574
  /** Delete Resource Pool Deletes a Resource Pool in a project. */
565
575
  export declare const deleteResourcePool: API.OperationMethod<DeleteResourcePoolRequest, DeleteResourcePoolResponse2, DeleteResourcePoolError, StackitOpContext>;
566
- export type DeleteResourcePoolSnapshotError = BadRequest | StackitOpError;
576
+ export type DeleteResourcePoolSnapshotError = BadRequest | Conflict | StackitOpError;
567
577
  /** Delete Resource Pool Snapshot Deletes a Snapshot from a Resource Pool in a project. */
568
578
  export declare const deleteResourcePoolSnapshot: API.OperationMethod<DeleteResourcePoolSnapshotRequest, DeleteResourcePoolSnapshotResponse2, DeleteResourcePoolSnapshotError, StackitOpContext>;
569
579
  export type DeleteShareError = BadRequest | StackitOpError;
@@ -572,10 +582,10 @@ export declare const deleteShare: API.OperationMethod<DeleteShareRequest, Delete
572
582
  export type DeleteShareExportPolicyError = BadRequest | StackitOpError;
573
583
  /** Delete Share Export Policy Deletes a ShareExportPolicies in a Resource Pool in a project. */
574
584
  export declare const deleteShareExportPolicy: API.OperationMethod<DeleteShareExportPolicyRequest, DeleteShareExportPolicyResponse2, DeleteShareExportPolicyError, StackitOpContext>;
575
- export type DisableLockError = StackitOpError;
585
+ export type DisableLockError = Conflict | StackitOpError;
576
586
  /** Clean up locks for a project so that it can be deleted successfully. */
577
587
  export declare const disableLock: API.OperationMethod<DisableLockRequest, DisableLockResponse2, DisableLockError, StackitOpContext>;
578
- export type EnableLockError = StackitOpError;
588
+ export type EnableLockError = Conflict | StackitOpError;
579
589
  /** Enable Lock for a project. Necessary for immutable snapshots and to prevent accidental deletion of resources. */
580
590
  export declare const enableLock: API.OperationMethod<EnableLockRequest, EnableLockResponse, EnableLockError, StackitOpContext>;
581
591
  export type GetLockError = StackitOpError;
@@ -614,7 +624,7 @@ export declare const listShares: API.OperationMethod<ListSharesRequest, ListShar
614
624
  export type ListSnapshotPoliciesError = StackitOpError;
615
625
  /** List Snapshot Policies */
616
626
  export declare const listSnapshotPolicies: API.OperationMethod<ListSnapshotPoliciesRequest, ListSnapshotPoliciesResponse, ListSnapshotPoliciesError, StackitOpContext>;
617
- export type UpdateResourcePoolError = BadRequest | StackitOpError;
627
+ export type UpdateResourcePoolError = BadRequest | Conflict | StackitOpError;
618
628
  /** Update Resource Pool Updates a Resource Pool in a project. */
619
629
  export declare const updateResourcePool: API.OperationMethod<UpdateResourcePoolRequest, UpdateResourcePoolResponse, UpdateResourcePoolError, StackitOpContext>;
620
630
  export type UpdateResourcePoolSnapshotError = BadRequest | StackitOpError;