@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js +2 -5
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +9 -10
- package/lib/protocol.js.map +1 -1
- package/lib/protocol.test.d.ts +2 -0
- package/lib/protocol.test.d.ts.map +1 -0
- package/lib/protocol.test.js +181 -0
- package/lib/protocol.test.js.map +1 -0
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +1 -1
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +33 -82
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +1 -1
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +23 -47
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +1 -1
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +19 -49
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +21 -58
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +49 -112
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +2 -2
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +91 -177
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +1 -1
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +13 -31
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +1 -1
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +17 -28
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +22 -55
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +72 -200
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +1 -1
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +28 -50
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +1 -1
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +14 -32
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +19 -43
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +1 -1
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +25 -57
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +31 -10
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +151 -376
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/intake.d.ts +1 -1
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +45 -83
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +1 -1
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +63 -103
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +1 -3
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +18 -37
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +1 -1
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +32 -77
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +1 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +39 -101
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +36 -59
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +1 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -97
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +2 -2
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +27 -47
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +2 -2
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +29 -61
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +1 -1
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +76 -162
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +25 -1
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +52 -89
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +5 -5
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +170 -419
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +1 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +40 -100
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +1 -1
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +45 -98
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +2 -2
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +96 -261
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +2 -2
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +53 -148
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +2 -2
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +41 -103
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +1 -1
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +16 -39
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +5 -5
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +23 -53
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +1 -1
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +15 -33
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +18 -6
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +42 -75
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +1 -1
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +30 -78
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +1 -1
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +32 -78
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +1 -1
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +16 -36
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +1 -1
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +10 -22
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +1 -1
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +32 -49
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +1 -1
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +11 -13
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +17 -17
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +34 -89
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +27 -1
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +49 -89
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +2 -2
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +104 -255
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +4 -4
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +17 -31
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +1 -1
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -52
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +1 -1
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +49 -88
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +1 -1
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +25 -47
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +2 -2
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +40 -100
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +1 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +98 -180
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +40 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +1 -1
- package/lib/traits.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +10 -16
- package/src/errors.ts +1 -1
- package/src/pagination.ts +6 -22
- package/src/protocol.test.ts +304 -0
- package/src/protocol.ts +29 -47
- package/src/retry.ts +2 -8
- package/src/services/alb.ts +45 -128
- package/src/services/alb_waf.ts +35 -94
- package/src/services/authorization.ts +20 -56
- package/src/services/automation.ts +92 -262
- package/src/services/cdn.ts +191 -351
- package/src/services/certificates.ts +17 -49
- package/src/services/cost.ts +29 -64
- package/src/services/dns.ts +160 -495
- package/src/services/dremio.ts +35 -85
- package/src/services/edge.ts +37 -96
- package/src/services/functions.ts +31 -84
- package/src/services/git.ts +41 -122
- package/src/services/iaas.ts +392 -1184
- package/src/services/intake.ts +57 -124
- package/src/services/kms.ts +91 -192
- package/src/services/lb_ip_lists.ts +21 -56
- package/src/services/load_balancer.ts +43 -119
- package/src/services/logme.ts +55 -150
- package/src/services/logs.ts +57 -158
- package/src/services/mariadb.ts +45 -126
- package/src/services/model_experiments.ts +36 -92
- package/src/services/model_serving.ts +33 -76
- package/src/services/mongodb_flex.ts +113 -259
- package/src/services/object_storage.ts +101 -154
- package/src/services/observability.ts +635 -1127
- package/src/services/opensearch.ts +52 -141
- package/src/services/pim.ts +78 -183
- package/src/services/postgres_flex.ts +120 -366
- package/src/services/pubsub.ts +134 -277
- package/src/services/rabbitmq.ts +53 -145
- package/src/services/registry.ts +24 -72
- package/src/services/resource_manager.ts +46 -129
- package/src/services/run_command.ts +17 -45
- package/src/services/sca.ts +63 -98
- package/src/services/scf.ts +54 -195
- package/src/services/secrets_manager.ts +54 -136
- package/src/services/server_backup.ts +26 -75
- package/src/services/server_update.ts +15 -44
- package/src/services/service_account.ts +185 -272
- package/src/services/service_enablement.ts +18 -47
- package/src/services/sfs.ts +84 -166
- package/src/services/ske.ts +91 -113
- package/src/services/sqlserverflex.ts +147 -383
- package/src/services/stackit_marketplace.ts +184 -250
- package/src/services/telemetry_link.ts +199 -278
- package/src/services/telemetry_router.ts +73 -168
- package/src/services/ufw.ts +32 -82
- package/src/services/valkey.ts +54 -145
- package/src/services/vpn.ts +215 -404
- package/src/services/workflows.ts +57 -169
- package/src/traits.ts +2 -7
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -31
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -45
package/src/services/sfs.ts
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
1
|
import * as API from "@distilled.cloud/core/api";
|
|
4
2
|
import * as C from "@distilled.cloud/core/category";
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
StackitProtocol,
|
|
8
|
-
type StackitOpError,
|
|
9
|
-
type StackitOpContext,
|
|
10
|
-
} from "../protocol.ts";
|
|
3
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
11
5
|
import { UnknownStackitError } from "../errors.ts";
|
|
6
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
12
7
|
import * as Retry from "../retry.ts";
|
|
8
|
+
import * as T from "../traits.ts";
|
|
13
9
|
|
|
14
10
|
export type { StackitOpError, StackitOpContext };
|
|
15
11
|
|
|
@@ -28,10 +24,8 @@ export const CreateResourcePoolRequestIpAclList = /*@__PURE__*/ S.Array(
|
|
|
28
24
|
S.String,
|
|
29
25
|
) as any as S.Schema<CreateResourcePoolRequestIpAclList>;
|
|
30
26
|
|
|
31
|
-
/** An optional object that represents the labels associated with the resource pool
|
|
32
|
-
export type CreateResourcePoolRequestLabelsMap = {
|
|
33
|
-
[key: string]: string | undefined;
|
|
34
|
-
};
|
|
27
|
+
/** An optional object that represents the labels associated with the resource pool. */
|
|
28
|
+
export type CreateResourcePoolRequestLabelsMap = { [key: string]: string | undefined };
|
|
35
29
|
export const CreateResourcePoolRequestLabelsMap = /*@__PURE__*/ S.Record(
|
|
36
30
|
S.String,
|
|
37
31
|
S.String,
|
|
@@ -44,7 +38,7 @@ export interface CreateResourcePoolRequest {
|
|
|
44
38
|
availabilityZone: string;
|
|
45
39
|
/** 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) */
|
|
46
40
|
ipAcl: CreateResourcePoolRequestIpAclList;
|
|
47
|
-
/** An optional object that represents the labels associated with the resource pool
|
|
41
|
+
/** An optional object that represents the labels associated with the resource pool. */
|
|
48
42
|
labels?: CreateResourcePoolRequestLabelsMap;
|
|
49
43
|
/** Name of the Resource Pool */
|
|
50
44
|
name: string;
|
|
@@ -143,9 +137,7 @@ export const ResourcePoolSpace = /*@__PURE__*/ S.suspend(() =>
|
|
|
143
137
|
usedBySnapshotsGigabytes: S.optional(S.NullOr(S.Number)),
|
|
144
138
|
usedGigabytes: S.optional(S.NullOr(S.Number)),
|
|
145
139
|
}),
|
|
146
|
-
).annotate({
|
|
147
|
-
identifier: "ResourcePoolSpace",
|
|
148
|
-
}) as any as S.Schema<ResourcePoolSpace>;
|
|
140
|
+
).annotate({ identifier: "ResourcePoolSpace" }) as any as S.Schema<ResourcePoolSpace>;
|
|
149
141
|
|
|
150
142
|
export interface ResourcePool {
|
|
151
143
|
/** Name of the respective availability zone */
|
|
@@ -265,9 +257,7 @@ export const ResourcePoolSnapshot = /*@__PURE__*/ S.suspend(() =>
|
|
|
265
257
|
snaplockExpiryTime: S.optional(S.NullOr(S.String)),
|
|
266
258
|
snapshotName: S.optional(S.String),
|
|
267
259
|
}),
|
|
268
|
-
).annotate({
|
|
269
|
-
identifier: "ResourcePoolSnapshot",
|
|
270
|
-
}) as any as S.Schema<ResourcePoolSnapshot>;
|
|
260
|
+
).annotate({ identifier: "ResourcePoolSnapshot" }) as any as S.Schema<ResourcePoolSnapshot>;
|
|
271
261
|
|
|
272
262
|
export interface CreateResourcePoolSnapshotResponse {
|
|
273
263
|
/** Created Resource Pool Snapshot */
|
|
@@ -281,7 +271,7 @@ export const CreateResourcePoolSnapshotResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
281
271
|
identifier: "CreateResourcePoolSnapshotResponse",
|
|
282
272
|
}) as any as S.Schema<CreateResourcePoolSnapshotResponse>;
|
|
283
273
|
|
|
284
|
-
/** An optional object that represents the labels associated with the share
|
|
274
|
+
/** An optional object that represents the labels associated with the share. */
|
|
285
275
|
export type CreateShareRequestLabelsMap = { [key: string]: string | undefined };
|
|
286
276
|
export const CreateShareRequestLabelsMap = /*@__PURE__*/ S.Record(
|
|
287
277
|
S.String,
|
|
@@ -294,7 +284,7 @@ export interface CreateShareRequest {
|
|
|
294
284
|
resourcePoolId: string;
|
|
295
285
|
/** 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 */
|
|
296
286
|
exportPolicyName?: string | null;
|
|
297
|
-
/** An optional object that represents the labels associated with the share
|
|
287
|
+
/** An optional object that represents the labels associated with the share. */
|
|
298
288
|
labels?: CreateShareRequestLabelsMap;
|
|
299
289
|
/** Name of the Share */
|
|
300
290
|
name: string;
|
|
@@ -318,11 +308,9 @@ export const CreateShareRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
318
308
|
baseUrl: "https://sfs.api.stackit.cloud",
|
|
319
309
|
}),
|
|
320
310
|
),
|
|
321
|
-
).annotate({
|
|
322
|
-
identifier: "CreateShareRequest",
|
|
323
|
-
}) as any as S.Schema<CreateShareRequest>;
|
|
311
|
+
).annotate({ identifier: "CreateShareRequest" }) as any as S.Schema<CreateShareRequest>;
|
|
324
312
|
|
|
325
|
-
/** An optional object that represents the labels associated with the share export policy
|
|
313
|
+
/** An optional object that represents the labels associated with the share export policy. */
|
|
326
314
|
export type ShareExportPolicyLabelsMap = { [key: string]: string | undefined };
|
|
327
315
|
export const ShareExportPolicyLabelsMap = /*@__PURE__*/ S.Record(
|
|
328
316
|
S.String,
|
|
@@ -363,9 +351,7 @@ export const ShareExportPolicyRule = /*@__PURE__*/ S.suspend(() =>
|
|
|
363
351
|
setUuid: S.optional(S.Boolean),
|
|
364
352
|
superUser: S.optional(S.Boolean),
|
|
365
353
|
}),
|
|
366
|
-
).annotate({
|
|
367
|
-
identifier: "ShareExportPolicyRule",
|
|
368
|
-
}) as any as S.Schema<ShareExportPolicyRule>;
|
|
354
|
+
).annotate({ identifier: "ShareExportPolicyRule" }) as any as S.Schema<ShareExportPolicyRule>;
|
|
369
355
|
|
|
370
356
|
/** 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 */
|
|
371
357
|
export type ShareExportPolicyRulesList = Array<ShareExportPolicyRule>;
|
|
@@ -377,7 +363,7 @@ export interface ShareExportPolicy {
|
|
|
377
363
|
createdAt?: string;
|
|
378
364
|
/** ID of the Share Export Policy */
|
|
379
365
|
id?: string;
|
|
380
|
-
/** An optional object that represents the labels associated with the share export policy
|
|
366
|
+
/** An optional object that represents the labels associated with the share export policy. */
|
|
381
367
|
labels?: ShareExportPolicyLabelsMap;
|
|
382
368
|
/** Name of the Share Export Policy */
|
|
383
369
|
name?: string;
|
|
@@ -395,11 +381,9 @@ export const ShareExportPolicy = /*@__PURE__*/ S.suspend(() =>
|
|
|
395
381
|
rules: S.optional(ShareExportPolicyRulesList),
|
|
396
382
|
sharesUsingExportPolicy: S.optional(S.Number),
|
|
397
383
|
}),
|
|
398
|
-
).annotate({
|
|
399
|
-
identifier: "ShareExportPolicy",
|
|
400
|
-
}) as any as S.Schema<ShareExportPolicy>;
|
|
384
|
+
).annotate({ identifier: "ShareExportPolicy" }) as any as S.Schema<ShareExportPolicy>;
|
|
401
385
|
|
|
402
|
-
/** An optional object that represents the labels associated with the share
|
|
386
|
+
/** An optional object that represents the labels associated with the share. */
|
|
403
387
|
export type ShareLabelsMap = { [key: string]: string | undefined };
|
|
404
388
|
export const ShareLabelsMap = /*@__PURE__*/ S.Record(
|
|
405
389
|
S.String,
|
|
@@ -412,7 +396,7 @@ export interface Share {
|
|
|
412
396
|
exportPolicy?: ShareExportPolicy | null;
|
|
413
397
|
/** ID of the Share */
|
|
414
398
|
id?: string;
|
|
415
|
-
/** An optional object that represents the labels associated with the share
|
|
399
|
+
/** An optional object that represents the labels associated with the share. */
|
|
416
400
|
labels?: ShareLabelsMap;
|
|
417
401
|
/** Mount path of the Share, used to mount the Share */
|
|
418
402
|
mountPath?: string;
|
|
@@ -444,14 +428,10 @@ export const CreateShareResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
444
428
|
S.Struct({
|
|
445
429
|
share: S.optional(Share),
|
|
446
430
|
}),
|
|
447
|
-
).annotate({
|
|
448
|
-
identifier: "CreateShareResponse",
|
|
449
|
-
}) as any as S.Schema<CreateShareResponse>;
|
|
431
|
+
).annotate({ identifier: "CreateShareResponse" }) as any as S.Schema<CreateShareResponse>;
|
|
450
432
|
|
|
451
|
-
/** An optional object that represents the labels associated with the share export policy
|
|
452
|
-
export type CreateShareExportPolicyRequestLabelsMap = {
|
|
453
|
-
[key: string]: string | undefined;
|
|
454
|
-
};
|
|
433
|
+
/** An optional object that represents the labels associated with the share export policy. */
|
|
434
|
+
export type CreateShareExportPolicyRequestLabelsMap = { [key: string]: string | undefined };
|
|
455
435
|
export const CreateShareExportPolicyRequestLabelsMap = /*@__PURE__*/ S.Record(
|
|
456
436
|
S.String,
|
|
457
437
|
S.String,
|
|
@@ -459,10 +439,9 @@ export const CreateShareExportPolicyRequestLabelsMap = /*@__PURE__*/ S.Record(
|
|
|
459
439
|
|
|
460
440
|
/** 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 */
|
|
461
441
|
export type CreateShareExportPolicyRequestRuleIpAclList = Array<string>;
|
|
462
|
-
export const CreateShareExportPolicyRequestRuleIpAclList =
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
) as any as S.Schema<CreateShareExportPolicyRequestRuleIpAclList>;
|
|
442
|
+
export const CreateShareExportPolicyRequestRuleIpAclList = /*@__PURE__*/ S.Array(
|
|
443
|
+
S.String,
|
|
444
|
+
) as any as S.Schema<CreateShareExportPolicyRequestRuleIpAclList>;
|
|
466
445
|
|
|
467
446
|
export interface CreateShareExportPolicyRequestRule {
|
|
468
447
|
/** Description of the Rule (optional) */
|
|
@@ -492,8 +471,7 @@ export const CreateShareExportPolicyRequestRule = /*@__PURE__*/ S.suspend(() =>
|
|
|
492
471
|
}) as any as S.Schema<CreateShareExportPolicyRequestRule>;
|
|
493
472
|
|
|
494
473
|
/** 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 */
|
|
495
|
-
export type CreateShareExportPolicyRequestRulesList =
|
|
496
|
-
Array<CreateShareExportPolicyRequestRule>;
|
|
474
|
+
export type CreateShareExportPolicyRequestRulesList = Array<CreateShareExportPolicyRequestRule>;
|
|
497
475
|
export const CreateShareExportPolicyRequestRulesList = /*@__PURE__*/ S.Array(
|
|
498
476
|
CreateShareExportPolicyRequestRule,
|
|
499
477
|
) as any as S.Schema<CreateShareExportPolicyRequestRulesList>;
|
|
@@ -501,7 +479,7 @@ export const CreateShareExportPolicyRequestRulesList = /*@__PURE__*/ S.Array(
|
|
|
501
479
|
export interface CreateShareExportPolicyRequest {
|
|
502
480
|
projectId: string;
|
|
503
481
|
region: string;
|
|
504
|
-
/** An optional object that represents the labels associated with the share export policy
|
|
482
|
+
/** An optional object that represents the labels associated with the share export policy. */
|
|
505
483
|
labels?: CreateShareExportPolicyRequestLabelsMap;
|
|
506
484
|
/** Name of the Share Export Policy */
|
|
507
485
|
name: string;
|
|
@@ -619,16 +597,12 @@ export const DeleteShareRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
619
597
|
baseUrl: "https://sfs.api.stackit.cloud",
|
|
620
598
|
}),
|
|
621
599
|
),
|
|
622
|
-
).annotate({
|
|
623
|
-
identifier: "DeleteShareRequest",
|
|
624
|
-
}) as any as S.Schema<DeleteShareRequest>;
|
|
600
|
+
).annotate({ identifier: "DeleteShareRequest" }) as any as S.Schema<DeleteShareRequest>;
|
|
625
601
|
|
|
626
602
|
export type DeleteShareResponse2 = unknown;
|
|
627
603
|
export const DeleteShareResponse2 = /*@__PURE__*/ S.suspend(() =>
|
|
628
604
|
S.Unknown.pipe(T.RawResponseRoot()),
|
|
629
|
-
).annotate({
|
|
630
|
-
identifier: "DeleteShareResponse2",
|
|
631
|
-
}) as any as S.Schema<DeleteShareResponse2>;
|
|
605
|
+
).annotate({ identifier: "DeleteShareResponse2" }) as any as S.Schema<DeleteShareResponse2>;
|
|
632
606
|
|
|
633
607
|
export interface DeleteShareExportPolicyRequest {
|
|
634
608
|
projectId: string;
|
|
@@ -675,16 +649,12 @@ export const DisableLockRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
675
649
|
baseUrl: "https://sfs.api.stackit.cloud",
|
|
676
650
|
}),
|
|
677
651
|
),
|
|
678
|
-
).annotate({
|
|
679
|
-
identifier: "DisableLockRequest",
|
|
680
|
-
}) as any as S.Schema<DisableLockRequest>;
|
|
652
|
+
).annotate({ identifier: "DisableLockRequest" }) as any as S.Schema<DisableLockRequest>;
|
|
681
653
|
|
|
682
654
|
export type DisableLockResponse2 = unknown;
|
|
683
655
|
export const DisableLockResponse2 = /*@__PURE__*/ S.suspend(() =>
|
|
684
656
|
S.Unknown.pipe(T.RawResponseRoot()),
|
|
685
|
-
).annotate({
|
|
686
|
-
identifier: "DisableLockResponse2",
|
|
687
|
-
}) as any as S.Schema<DisableLockResponse2>;
|
|
657
|
+
).annotate({ identifier: "DisableLockResponse2" }) as any as S.Schema<DisableLockResponse2>;
|
|
688
658
|
|
|
689
659
|
export interface EnableLockRequest {
|
|
690
660
|
region: string;
|
|
@@ -702,9 +672,7 @@ export const EnableLockRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
702
672
|
baseUrl: "https://sfs.api.stackit.cloud",
|
|
703
673
|
}),
|
|
704
674
|
),
|
|
705
|
-
).annotate({
|
|
706
|
-
identifier: "EnableLockRequest",
|
|
707
|
-
}) as any as S.Schema<EnableLockRequest>;
|
|
675
|
+
).annotate({ identifier: "EnableLockRequest" }) as any as S.Schema<EnableLockRequest>;
|
|
708
676
|
|
|
709
677
|
export interface EnableLockResponse {
|
|
710
678
|
lockId?: string;
|
|
@@ -713,9 +681,7 @@ export const EnableLockResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
713
681
|
S.Struct({
|
|
714
682
|
lockId: S.optional(S.String),
|
|
715
683
|
}),
|
|
716
|
-
).annotate({
|
|
717
|
-
identifier: "EnableLockResponse",
|
|
718
|
-
}) as any as S.Schema<EnableLockResponse>;
|
|
684
|
+
).annotate({ identifier: "EnableLockResponse" }) as any as S.Schema<EnableLockResponse>;
|
|
719
685
|
|
|
720
686
|
export interface GetLockRequest {
|
|
721
687
|
region: string;
|
|
@@ -742,9 +708,7 @@ export const GetLockResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
742
708
|
S.Struct({
|
|
743
709
|
lockId: S.optional(S.String),
|
|
744
710
|
}),
|
|
745
|
-
).annotate({
|
|
746
|
-
identifier: "GetLockResponse",
|
|
747
|
-
}) as any as S.Schema<GetLockResponse>;
|
|
711
|
+
).annotate({ identifier: "GetLockResponse" }) as any as S.Schema<GetLockResponse>;
|
|
748
712
|
|
|
749
713
|
export interface GetResourcePoolRequest {
|
|
750
714
|
projectId: string;
|
|
@@ -764,9 +728,7 @@ export const GetResourcePoolRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
764
728
|
baseUrl: "https://sfs.api.stackit.cloud",
|
|
765
729
|
}),
|
|
766
730
|
),
|
|
767
|
-
).annotate({
|
|
768
|
-
identifier: "GetResourcePoolRequest",
|
|
769
|
-
}) as any as S.Schema<GetResourcePoolRequest>;
|
|
731
|
+
).annotate({ identifier: "GetResourcePoolRequest" }) as any as S.Schema<GetResourcePoolRequest>;
|
|
770
732
|
|
|
771
733
|
export interface GetResourcePoolResponse {
|
|
772
734
|
/** Resource Pool */
|
|
@@ -776,9 +738,7 @@ export const GetResourcePoolResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
776
738
|
S.Struct({
|
|
777
739
|
resourcePool: S.optional(ResourcePool),
|
|
778
740
|
}),
|
|
779
|
-
).annotate({
|
|
780
|
-
identifier: "GetResourcePoolResponse",
|
|
781
|
-
}) as any as S.Schema<GetResourcePoolResponse>;
|
|
741
|
+
).annotate({ identifier: "GetResourcePoolResponse" }) as any as S.Schema<GetResourcePoolResponse>;
|
|
782
742
|
|
|
783
743
|
export interface GetResourcePoolSnapshotRequest {
|
|
784
744
|
projectId: string;
|
|
@@ -836,9 +796,7 @@ export const GetShareRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
836
796
|
baseUrl: "https://sfs.api.stackit.cloud",
|
|
837
797
|
}),
|
|
838
798
|
),
|
|
839
|
-
).annotate({
|
|
840
|
-
identifier: "GetShareRequest",
|
|
841
|
-
}) as any as S.Schema<GetShareRequest>;
|
|
799
|
+
).annotate({ identifier: "GetShareRequest" }) as any as S.Schema<GetShareRequest>;
|
|
842
800
|
|
|
843
801
|
export interface GetShareResponse {
|
|
844
802
|
/** Share */
|
|
@@ -848,9 +806,7 @@ export const GetShareResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
848
806
|
S.Struct({
|
|
849
807
|
share: S.optional(Share),
|
|
850
808
|
}),
|
|
851
|
-
).annotate({
|
|
852
|
-
identifier: "GetShareResponse",
|
|
853
|
-
}) as any as S.Schema<GetShareResponse>;
|
|
809
|
+
).annotate({ identifier: "GetShareResponse" }) as any as S.Schema<GetShareResponse>;
|
|
854
810
|
|
|
855
811
|
export interface GetShareExportPolicyRequest {
|
|
856
812
|
projectId: string;
|
|
@@ -902,9 +858,7 @@ export const GetSnapshotPolicyRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
902
858
|
baseUrl: "https://sfs.api.stackit.cloud",
|
|
903
859
|
}),
|
|
904
860
|
),
|
|
905
|
-
).annotate({
|
|
906
|
-
identifier: "GetSnapshotPolicyRequest",
|
|
907
|
-
}) as any as S.Schema<GetSnapshotPolicyRequest>;
|
|
861
|
+
).annotate({ identifier: "GetSnapshotPolicyRequest" }) as any as S.Schema<GetSnapshotPolicyRequest>;
|
|
908
862
|
|
|
909
863
|
export interface SnapshotPolicySchedule {
|
|
910
864
|
/** Retention Count */
|
|
@@ -926,9 +880,7 @@ export const SnapshotPolicySchedule = /*@__PURE__*/ S.suspend(() =>
|
|
|
926
880
|
retentionPeriod: S.optional(S.String),
|
|
927
881
|
scheduleId: S.optional(S.String),
|
|
928
882
|
}),
|
|
929
|
-
).annotate({
|
|
930
|
-
identifier: "SnapshotPolicySchedule",
|
|
931
|
-
}) as any as S.Schema<SnapshotPolicySchedule>;
|
|
883
|
+
).annotate({ identifier: "SnapshotPolicySchedule" }) as any as S.Schema<SnapshotPolicySchedule>;
|
|
932
884
|
|
|
933
885
|
/** (deprecated) associated schedules */
|
|
934
886
|
export type SnapshotPolicySchedulesList = Array<SnapshotPolicySchedule>;
|
|
@@ -951,24 +903,22 @@ export interface SnapshotPolicySnapshotPolicySchedule {
|
|
|
951
903
|
/** Retention Period (ISO 8601 format or "infinite") */
|
|
952
904
|
retentionPeriod?: string;
|
|
953
905
|
}
|
|
954
|
-
export const SnapshotPolicySnapshotPolicySchedule = /*@__PURE__*/ S.suspend(
|
|
955
|
-
(
|
|
956
|
-
S.
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
}),
|
|
906
|
+
export const SnapshotPolicySnapshotPolicySchedule = /*@__PURE__*/ S.suspend(() =>
|
|
907
|
+
S.Struct({
|
|
908
|
+
createdAt: S.optional(S.String),
|
|
909
|
+
id: S.optional(S.String),
|
|
910
|
+
interval: S.optional(S.String),
|
|
911
|
+
name: S.optional(S.String),
|
|
912
|
+
prefix: S.optional(S.String),
|
|
913
|
+
retentionCount: S.optional(S.Number),
|
|
914
|
+
retentionPeriod: S.optional(S.String),
|
|
915
|
+
}),
|
|
965
916
|
).annotate({
|
|
966
917
|
identifier: "SnapshotPolicySnapshotPolicySchedule",
|
|
967
918
|
}) as any as S.Schema<SnapshotPolicySnapshotPolicySchedule>;
|
|
968
919
|
|
|
969
920
|
/** associated schedules */
|
|
970
|
-
export type SnapshotPolicySnapshotSchedulesList =
|
|
971
|
-
Array<SnapshotPolicySnapshotPolicySchedule>;
|
|
921
|
+
export type SnapshotPolicySnapshotSchedulesList = Array<SnapshotPolicySnapshotPolicySchedule>;
|
|
972
922
|
export const SnapshotPolicySnapshotSchedulesList = /*@__PURE__*/ S.Array(
|
|
973
923
|
SnapshotPolicySnapshotPolicySchedule,
|
|
974
924
|
) as any as S.Schema<SnapshotPolicySnapshotSchedulesList>;
|
|
@@ -1041,17 +991,13 @@ export const PerformanceClass = /*@__PURE__*/ S.suspend(() =>
|
|
|
1041
991
|
name: S.optional(S.String),
|
|
1042
992
|
throughput: S.optional(S.Number),
|
|
1043
993
|
}),
|
|
1044
|
-
).annotate({
|
|
1045
|
-
identifier: "PerformanceClass",
|
|
1046
|
-
}) as any as S.Schema<PerformanceClass>;
|
|
994
|
+
).annotate({ identifier: "PerformanceClass" }) as any as S.Schema<PerformanceClass>;
|
|
1047
995
|
|
|
1048
996
|
/** List of Performance Classes */
|
|
1049
|
-
export type ListPerformanceClassesResponsePerformanceClassesList =
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
PerformanceClass,
|
|
1054
|
-
) as any as S.Schema<ListPerformanceClassesResponsePerformanceClassesList>;
|
|
997
|
+
export type ListPerformanceClassesResponsePerformanceClassesList = Array<PerformanceClass>;
|
|
998
|
+
export const ListPerformanceClassesResponsePerformanceClassesList = /*@__PURE__*/ S.Array(
|
|
999
|
+
PerformanceClass,
|
|
1000
|
+
) as any as S.Schema<ListPerformanceClassesResponsePerformanceClassesList>;
|
|
1055
1001
|
|
|
1056
1002
|
export interface ListPerformanceClassesResponse {
|
|
1057
1003
|
/** List of Performance Classes */
|
|
@@ -1059,9 +1005,7 @@ export interface ListPerformanceClassesResponse {
|
|
|
1059
1005
|
}
|
|
1060
1006
|
export const ListPerformanceClassesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1061
1007
|
S.Struct({
|
|
1062
|
-
performanceClasses: S.optional(
|
|
1063
|
-
ListPerformanceClassesResponsePerformanceClassesList,
|
|
1064
|
-
),
|
|
1008
|
+
performanceClasses: S.optional(ListPerformanceClassesResponsePerformanceClassesList),
|
|
1065
1009
|
}),
|
|
1066
1010
|
).annotate({
|
|
1067
1011
|
identifier: "ListPerformanceClassesResponse",
|
|
@@ -1083,9 +1027,7 @@ export const ListResourcePoolsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1083
1027
|
baseUrl: "https://sfs.api.stackit.cloud",
|
|
1084
1028
|
}),
|
|
1085
1029
|
),
|
|
1086
|
-
).annotate({
|
|
1087
|
-
identifier: "ListResourcePoolsRequest",
|
|
1088
|
-
}) as any as S.Schema<ListResourcePoolsRequest>;
|
|
1030
|
+
).annotate({ identifier: "ListResourcePoolsRequest" }) as any as S.Schema<ListResourcePoolsRequest>;
|
|
1089
1031
|
|
|
1090
1032
|
/** List of Resource Pools */
|
|
1091
1033
|
export type ListResourcePoolsResponseResourcePoolsList = Array<ResourcePool>;
|
|
@@ -1130,10 +1072,9 @@ export const ListResourcePoolSnapshotsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1130
1072
|
/** List of Resource Pool Snapshots */
|
|
1131
1073
|
export type ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList =
|
|
1132
1074
|
Array<ResourcePoolSnapshot>;
|
|
1133
|
-
export const ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList =
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
) as any as S.Schema<ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList>;
|
|
1075
|
+
export const ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList = /*@__PURE__*/ S.Array(
|
|
1076
|
+
ResourcePoolSnapshot,
|
|
1077
|
+
) as any as S.Schema<ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList>;
|
|
1137
1078
|
|
|
1138
1079
|
export interface ListResourcePoolSnapshotsResponse {
|
|
1139
1080
|
/** List of Resource Pool Snapshots */
|
|
@@ -1141,9 +1082,7 @@ export interface ListResourcePoolSnapshotsResponse {
|
|
|
1141
1082
|
}
|
|
1142
1083
|
export const ListResourcePoolSnapshotsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1143
1084
|
S.Struct({
|
|
1144
|
-
resourcePoolSnapshots: S.optional(
|
|
1145
|
-
ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList,
|
|
1146
|
-
),
|
|
1085
|
+
resourcePoolSnapshots: S.optional(ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList),
|
|
1147
1086
|
}),
|
|
1148
1087
|
).annotate({
|
|
1149
1088
|
identifier: "ListResourcePoolSnapshotsResponse",
|
|
@@ -1170,12 +1109,10 @@ export const ListShareExportPoliciesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1170
1109
|
}) as any as S.Schema<ListShareExportPoliciesRequest>;
|
|
1171
1110
|
|
|
1172
1111
|
/** List of Share Export Policies */
|
|
1173
|
-
export type ListShareExportPoliciesResponseShareExportPoliciesList =
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
ShareExportPolicy,
|
|
1178
|
-
) as any as S.Schema<ListShareExportPoliciesResponseShareExportPoliciesList>;
|
|
1112
|
+
export type ListShareExportPoliciesResponseShareExportPoliciesList = Array<ShareExportPolicy>;
|
|
1113
|
+
export const ListShareExportPoliciesResponseShareExportPoliciesList = /*@__PURE__*/ S.Array(
|
|
1114
|
+
ShareExportPolicy,
|
|
1115
|
+
) as any as S.Schema<ListShareExportPoliciesResponseShareExportPoliciesList>;
|
|
1179
1116
|
|
|
1180
1117
|
export interface ListShareExportPoliciesResponse {
|
|
1181
1118
|
/** List of Share Export Policies */
|
|
@@ -1183,9 +1120,7 @@ export interface ListShareExportPoliciesResponse {
|
|
|
1183
1120
|
}
|
|
1184
1121
|
export const ListShareExportPoliciesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1185
1122
|
S.Struct({
|
|
1186
|
-
shareExportPolicies: S.optional(
|
|
1187
|
-
ListShareExportPoliciesResponseShareExportPoliciesList,
|
|
1188
|
-
),
|
|
1123
|
+
shareExportPolicies: S.optional(ListShareExportPoliciesResponseShareExportPoliciesList),
|
|
1189
1124
|
}),
|
|
1190
1125
|
).annotate({
|
|
1191
1126
|
identifier: "ListShareExportPoliciesResponse",
|
|
@@ -1209,9 +1144,7 @@ export const ListSharesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1209
1144
|
baseUrl: "https://sfs.api.stackit.cloud",
|
|
1210
1145
|
}),
|
|
1211
1146
|
),
|
|
1212
|
-
).annotate({
|
|
1213
|
-
identifier: "ListSharesRequest",
|
|
1214
|
-
}) as any as S.Schema<ListSharesRequest>;
|
|
1147
|
+
).annotate({ identifier: "ListSharesRequest" }) as any as S.Schema<ListSharesRequest>;
|
|
1215
1148
|
|
|
1216
1149
|
/** List of Shares */
|
|
1217
1150
|
export type ListSharesResponseSharesList = Array<Share>;
|
|
@@ -1227,9 +1160,7 @@ export const ListSharesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1227
1160
|
S.Struct({
|
|
1228
1161
|
shares: S.optional(ListSharesResponseSharesList),
|
|
1229
1162
|
}),
|
|
1230
|
-
).annotate({
|
|
1231
|
-
identifier: "ListSharesResponse",
|
|
1232
|
-
}) as any as S.Schema<ListSharesResponse>;
|
|
1163
|
+
).annotate({ identifier: "ListSharesResponse" }) as any as S.Schema<ListSharesResponse>;
|
|
1233
1164
|
|
|
1234
1165
|
export interface ListSnapshotPoliciesRequest {
|
|
1235
1166
|
projectId: string;
|
|
@@ -1252,12 +1183,10 @@ export const ListSnapshotPoliciesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1252
1183
|
}) as any as S.Schema<ListSnapshotPoliciesRequest>;
|
|
1253
1184
|
|
|
1254
1185
|
/** List of Snapshot Policies */
|
|
1255
|
-
export type ListSnapshotPoliciesResponseSnapshotPoliciesList =
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
SnapshotPolicy,
|
|
1260
|
-
) as any as S.Schema<ListSnapshotPoliciesResponseSnapshotPoliciesList>;
|
|
1186
|
+
export type ListSnapshotPoliciesResponseSnapshotPoliciesList = Array<SnapshotPolicy>;
|
|
1187
|
+
export const ListSnapshotPoliciesResponseSnapshotPoliciesList = /*@__PURE__*/ S.Array(
|
|
1188
|
+
SnapshotPolicy,
|
|
1189
|
+
) as any as S.Schema<ListSnapshotPoliciesResponseSnapshotPoliciesList>;
|
|
1261
1190
|
|
|
1262
1191
|
export interface ListSnapshotPoliciesResponse {
|
|
1263
1192
|
/** List of Snapshot Policies */
|
|
@@ -1265,9 +1194,7 @@ export interface ListSnapshotPoliciesResponse {
|
|
|
1265
1194
|
}
|
|
1266
1195
|
export const ListSnapshotPoliciesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1267
1196
|
S.Struct({
|
|
1268
|
-
snapshotPolicies: S.optional(
|
|
1269
|
-
ListSnapshotPoliciesResponseSnapshotPoliciesList,
|
|
1270
|
-
),
|
|
1197
|
+
snapshotPolicies: S.optional(ListSnapshotPoliciesResponseSnapshotPoliciesList),
|
|
1271
1198
|
}),
|
|
1272
1199
|
).annotate({
|
|
1273
1200
|
identifier: "ListSnapshotPoliciesResponse",
|
|
@@ -1279,10 +1206,8 @@ export const UpdateResourcePoolRequestIpAclList = /*@__PURE__*/ S.Array(
|
|
|
1279
1206
|
S.String,
|
|
1280
1207
|
) as any as S.Schema<UpdateResourcePoolRequestIpAclList>;
|
|
1281
1208
|
|
|
1282
|
-
/** An optional object that represents the labels associated with the resource pool
|
|
1283
|
-
export type UpdateResourcePoolRequestLabelsMap = {
|
|
1284
|
-
[key: string]: string | undefined;
|
|
1285
|
-
};
|
|
1209
|
+
/** An optional object that represents the labels associated with the resource pool. */
|
|
1210
|
+
export type UpdateResourcePoolRequestLabelsMap = { [key: string]: string | undefined };
|
|
1286
1211
|
export const UpdateResourcePoolRequestLabelsMap = /*@__PURE__*/ S.Record(
|
|
1287
1212
|
S.String,
|
|
1288
1213
|
S.String,
|
|
@@ -1294,7 +1219,7 @@ export interface UpdateResourcePoolRequest {
|
|
|
1294
1219
|
resourcePoolId: string;
|
|
1295
1220
|
/** (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) */
|
|
1296
1221
|
ipAcl?: UpdateResourcePoolRequestIpAclList;
|
|
1297
|
-
/** An optional object that represents the labels associated with the resource pool
|
|
1222
|
+
/** An optional object that represents the labels associated with the resource pool. */
|
|
1298
1223
|
labels?: UpdateResourcePoolRequestLabelsMap;
|
|
1299
1224
|
/** (optional) Name of the performance class */
|
|
1300
1225
|
performanceClass?: string;
|
|
@@ -1382,7 +1307,7 @@ export const UpdateResourcePoolSnapshotResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1382
1307
|
identifier: "UpdateResourcePoolSnapshotResponse",
|
|
1383
1308
|
}) as any as S.Schema<UpdateResourcePoolSnapshotResponse>;
|
|
1384
1309
|
|
|
1385
|
-
/** An optional object that represents the labels associated with the share
|
|
1310
|
+
/** An optional object that represents the labels associated with the share. */
|
|
1386
1311
|
export type UpdateShareRequestLabelsMap = { [key: string]: string | undefined };
|
|
1387
1312
|
export const UpdateShareRequestLabelsMap = /*@__PURE__*/ S.Record(
|
|
1388
1313
|
S.String,
|
|
@@ -1396,7 +1321,7 @@ export interface UpdateShareRequest {
|
|
|
1396
1321
|
shareId: string;
|
|
1397
1322
|
/** 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 */
|
|
1398
1323
|
exportPolicyName?: string | null;
|
|
1399
|
-
/** An optional object that represents the labels associated with the share
|
|
1324
|
+
/** An optional object that represents the labels associated with the share. */
|
|
1400
1325
|
labels?: UpdateShareRequestLabelsMap;
|
|
1401
1326
|
/** 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) */
|
|
1402
1327
|
spaceHardLimitGigabytes?: number | null;
|
|
@@ -1418,9 +1343,7 @@ export const UpdateShareRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1418
1343
|
baseUrl: "https://sfs.api.stackit.cloud",
|
|
1419
1344
|
}),
|
|
1420
1345
|
),
|
|
1421
|
-
).annotate({
|
|
1422
|
-
identifier: "UpdateShareRequest",
|
|
1423
|
-
}) as any as S.Schema<UpdateShareRequest>;
|
|
1346
|
+
).annotate({ identifier: "UpdateShareRequest" }) as any as S.Schema<UpdateShareRequest>;
|
|
1424
1347
|
|
|
1425
1348
|
export interface UpdateShareResponse {
|
|
1426
1349
|
/** Updated Share */
|
|
@@ -1430,14 +1353,10 @@ export const UpdateShareResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1430
1353
|
S.Struct({
|
|
1431
1354
|
share: S.optional(Share),
|
|
1432
1355
|
}),
|
|
1433
|
-
).annotate({
|
|
1434
|
-
identifier: "UpdateShareResponse",
|
|
1435
|
-
}) as any as S.Schema<UpdateShareResponse>;
|
|
1356
|
+
).annotate({ identifier: "UpdateShareResponse" }) as any as S.Schema<UpdateShareResponse>;
|
|
1436
1357
|
|
|
1437
|
-
/** An optional object that represents the labels associated with the share export policy
|
|
1438
|
-
export type UpdateShareExportPolicyRequestLabelsMap = {
|
|
1439
|
-
[key: string]: string | undefined;
|
|
1440
|
-
};
|
|
1358
|
+
/** An optional object that represents the labels associated with the share export policy. */
|
|
1359
|
+
export type UpdateShareExportPolicyRequestLabelsMap = { [key: string]: string | undefined };
|
|
1441
1360
|
export const UpdateShareExportPolicyRequestLabelsMap = /*@__PURE__*/ S.Record(
|
|
1442
1361
|
S.String,
|
|
1443
1362
|
S.String,
|
|
@@ -1477,8 +1396,7 @@ export const UpdateShareExportPolicyBodyRule = /*@__PURE__*/ S.suspend(() =>
|
|
|
1477
1396
|
}) as any as S.Schema<UpdateShareExportPolicyBodyRule>;
|
|
1478
1397
|
|
|
1479
1398
|
/** 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) */
|
|
1480
|
-
export type UpdateShareExportPolicyRequestRulesList =
|
|
1481
|
-
Array<UpdateShareExportPolicyBodyRule>;
|
|
1399
|
+
export type UpdateShareExportPolicyRequestRulesList = Array<UpdateShareExportPolicyBodyRule>;
|
|
1482
1400
|
export const UpdateShareExportPolicyRequestRulesList = /*@__PURE__*/ S.Array(
|
|
1483
1401
|
UpdateShareExportPolicyBodyRule,
|
|
1484
1402
|
) as any as S.Schema<UpdateShareExportPolicyRequestRulesList>;
|
|
@@ -1487,7 +1405,7 @@ export interface UpdateShareExportPolicyRequest {
|
|
|
1487
1405
|
projectId: string;
|
|
1488
1406
|
region: string;
|
|
1489
1407
|
policyId: string;
|
|
1490
|
-
/** An optional object that represents the labels associated with the share export policy
|
|
1408
|
+
/** An optional object that represents the labels associated with the share export policy. */
|
|
1491
1409
|
labels?: UpdateShareExportPolicyRequestLabelsMap;
|
|
1492
1410
|
/** 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) */
|
|
1493
1411
|
rules?: UpdateShareExportPolicyRequestRulesList | null;
|