@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
|
@@ -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
|
|
|
@@ -40,71 +36,14 @@ export class NotFound
|
|
|
40
36
|
[{ status: 404 }],
|
|
41
37
|
) {}
|
|
42
38
|
|
|
43
|
-
export
|
|
44
|
-
[key: string]: string | undefined;
|
|
45
|
-
};
|
|
46
|
-
export const VolumeRecoveryPointManagementInputRecoveryPointLabelsMap =
|
|
47
|
-
/*@__PURE__*/ S.Record(
|
|
48
|
-
S.String,
|
|
49
|
-
S.String,
|
|
50
|
-
) as any as S.Schema<VolumeRecoveryPointManagementInputRecoveryPointLabelsMap>;
|
|
51
|
-
|
|
52
|
-
export type SnapshotRetentionPolicyCountKind = "count";
|
|
53
|
-
export const SnapshotRetentionPolicyCountKind = /*@__PURE__*/ S.String;
|
|
54
|
-
|
|
55
|
-
export interface SnapshotRetentionPolicyCount {
|
|
56
|
-
kind: SnapshotRetentionPolicyCountKind;
|
|
57
|
-
value: number;
|
|
58
|
-
}
|
|
59
|
-
export const SnapshotRetentionPolicyCount = /*@__PURE__*/ S.suspend(() =>
|
|
60
|
-
S.Struct({
|
|
61
|
-
kind: SnapshotRetentionPolicyCountKind,
|
|
62
|
-
value: S.Number,
|
|
63
|
-
}),
|
|
64
|
-
).annotate({
|
|
65
|
-
identifier: "SnapshotRetentionPolicyCount",
|
|
66
|
-
}) as any as S.Schema<SnapshotRetentionPolicyCount>;
|
|
67
|
-
|
|
68
|
-
export type SnapshotRetentionPolicyIndefinitelyKind = "indefinitely";
|
|
69
|
-
export const SnapshotRetentionPolicyIndefinitelyKind = /*@__PURE__*/ S.String;
|
|
70
|
-
|
|
71
|
-
export interface SnapshotRetentionPolicyIndefinitely {
|
|
72
|
-
kind: SnapshotRetentionPolicyIndefinitelyKind;
|
|
73
|
-
}
|
|
74
|
-
export const SnapshotRetentionPolicyIndefinitely = /*@__PURE__*/ S.suspend(() =>
|
|
75
|
-
S.Struct({
|
|
76
|
-
kind: SnapshotRetentionPolicyIndefinitelyKind,
|
|
77
|
-
}),
|
|
78
|
-
).annotate({
|
|
79
|
-
identifier: "SnapshotRetentionPolicyIndefinitely",
|
|
80
|
-
}) as any as S.Schema<SnapshotRetentionPolicyIndefinitely>;
|
|
81
|
-
|
|
82
|
-
export type SnapshotRetentionPolicy =
|
|
83
|
-
| SnapshotRetentionPolicyCount
|
|
84
|
-
| SnapshotRetentionPolicyIndefinitely;
|
|
85
|
-
export const SnapshotRetentionPolicy =
|
|
86
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<SnapshotRetentionPolicy>;
|
|
87
|
-
|
|
88
|
-
export interface VolumeRecoveryPointManagementInput {
|
|
89
|
-
inheritVolumeLabels?: boolean;
|
|
39
|
+
export interface VolumeAutomationInput {
|
|
90
40
|
kind: string;
|
|
91
|
-
recoveryPointLabels?: VolumeRecoveryPointManagementInputRecoveryPointLabelsMap;
|
|
92
|
-
snapshotRetentionPolicy: SnapshotRetentionPolicy;
|
|
93
|
-
volumeLabelSelector?: string;
|
|
94
41
|
}
|
|
95
|
-
export const
|
|
42
|
+
export const VolumeAutomationInput = /*@__PURE__*/ S.suspend(() =>
|
|
96
43
|
S.Struct({
|
|
97
|
-
inheritVolumeLabels: S.optional(S.Boolean),
|
|
98
44
|
kind: S.String,
|
|
99
|
-
recoveryPointLabels: S.optional(
|
|
100
|
-
VolumeRecoveryPointManagementInputRecoveryPointLabelsMap,
|
|
101
|
-
),
|
|
102
|
-
snapshotRetentionPolicy: SnapshotRetentionPolicy,
|
|
103
|
-
volumeLabelSelector: S.optional(S.String),
|
|
104
45
|
}),
|
|
105
|
-
).annotate({
|
|
106
|
-
identifier: "VolumeRecoveryPointManagementInput",
|
|
107
|
-
}) as any as S.Schema<VolumeRecoveryPointManagementInput>;
|
|
46
|
+
).annotate({ identifier: "VolumeAutomationInput" }) as any as S.Schema<VolumeAutomationInput>;
|
|
108
47
|
|
|
109
48
|
export interface AutomationScheduleTrigger {
|
|
110
49
|
/** An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates */
|
|
@@ -119,40 +58,38 @@ export const AutomationScheduleTrigger = /*@__PURE__*/ S.suspend(() =>
|
|
|
119
58
|
}) as any as S.Schema<AutomationScheduleTrigger>;
|
|
120
59
|
|
|
121
60
|
export interface AutomationTriggers {
|
|
122
|
-
schedule?: AutomationScheduleTrigger;
|
|
61
|
+
schedule?: AutomationScheduleTrigger | null;
|
|
123
62
|
}
|
|
124
63
|
export const AutomationTriggers = /*@__PURE__*/ S.suspend(() =>
|
|
125
64
|
S.Struct({
|
|
126
|
-
schedule: S.optional(AutomationScheduleTrigger),
|
|
65
|
+
schedule: S.optional(S.NullOr(AutomationScheduleTrigger)),
|
|
127
66
|
}),
|
|
128
|
-
).annotate({
|
|
129
|
-
identifier: "AutomationTriggers",
|
|
130
|
-
}) as any as S.Schema<AutomationTriggers>;
|
|
67
|
+
).annotate({ identifier: "AutomationTriggers" }) as any as S.Schema<AutomationTriggers>;
|
|
131
68
|
|
|
132
69
|
export interface CreateVolumeAutomationRequest {
|
|
133
70
|
/** project Id */
|
|
134
71
|
projectId: string;
|
|
135
72
|
/** region */
|
|
136
73
|
region: string;
|
|
137
|
-
description?: string;
|
|
138
|
-
input?:
|
|
139
|
-
name?: string;
|
|
74
|
+
description?: string | null;
|
|
75
|
+
input?: VolumeAutomationInput | null;
|
|
76
|
+
name?: string | null;
|
|
140
77
|
templateId: string;
|
|
141
|
-
triggers?: AutomationTriggers;
|
|
78
|
+
triggers?: AutomationTriggers | null;
|
|
142
79
|
}
|
|
143
80
|
export const CreateVolumeAutomationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
144
81
|
S.Struct({
|
|
145
82
|
projectId: S.String.pipe(T.Label()),
|
|
146
83
|
region: S.String.pipe(T.Label()),
|
|
147
|
-
description: S.optional(S.String),
|
|
148
|
-
input: S.optional(
|
|
149
|
-
name: S.optional(S.String),
|
|
84
|
+
description: S.optional(S.NullOr(S.String)),
|
|
85
|
+
input: S.optional(S.NullOr(VolumeAutomationInput)),
|
|
86
|
+
name: S.optional(S.NullOr(S.String)),
|
|
150
87
|
templateId: S.String,
|
|
151
|
-
triggers: S.optional(AutomationTriggers),
|
|
88
|
+
triggers: S.optional(S.NullOr(AutomationTriggers)),
|
|
152
89
|
}).pipe(
|
|
153
90
|
T.Http({
|
|
154
91
|
method: "POST",
|
|
155
|
-
uri: "/
|
|
92
|
+
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations",
|
|
156
93
|
code: 200,
|
|
157
94
|
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
158
95
|
}),
|
|
@@ -161,59 +98,19 @@ export const CreateVolumeAutomationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
161
98
|
identifier: "CreateVolumeAutomationRequest",
|
|
162
99
|
}) as any as S.Schema<CreateVolumeAutomationRequest>;
|
|
163
100
|
|
|
164
|
-
export type
|
|
165
|
-
export const
|
|
166
|
-
S.String,
|
|
167
|
-
) as any as S.Schema<GetVolumeIDsResultVolumeIDsList>;
|
|
168
|
-
|
|
169
|
-
export interface GetVolumeIDsResult {
|
|
170
|
-
kind: string;
|
|
171
|
-
volumeIDs?: GetVolumeIDsResultVolumeIDsList;
|
|
172
|
-
}
|
|
173
|
-
export const GetVolumeIDsResult = /*@__PURE__*/ S.suspend(() =>
|
|
174
|
-
S.Struct({
|
|
175
|
-
kind: S.String,
|
|
176
|
-
volumeIDs: S.optional(GetVolumeIDsResultVolumeIDsList),
|
|
177
|
-
}),
|
|
178
|
-
).annotate({
|
|
179
|
-
identifier: "GetVolumeIDsResult",
|
|
180
|
-
}) as any as S.Schema<GetVolumeIDsResult>;
|
|
181
|
-
|
|
182
|
-
export type CreateSnapshotsResultCreatedSnapshotIDsList = Array<string>;
|
|
183
|
-
export const CreateSnapshotsResultCreatedSnapshotIDsList =
|
|
184
|
-
/*@__PURE__*/ S.Array(
|
|
185
|
-
S.String,
|
|
186
|
-
) as any as S.Schema<CreateSnapshotsResultCreatedSnapshotIDsList>;
|
|
187
|
-
|
|
188
|
-
export interface CreateSnapshotsResult {
|
|
189
|
-
createdSnapshotIDs?: CreateSnapshotsResultCreatedSnapshotIDsList;
|
|
190
|
-
kind: string;
|
|
191
|
-
}
|
|
192
|
-
export const CreateSnapshotsResult = /*@__PURE__*/ S.suspend(() =>
|
|
193
|
-
S.Struct({
|
|
194
|
-
createdSnapshotIDs: S.optional(CreateSnapshotsResultCreatedSnapshotIDsList),
|
|
195
|
-
kind: S.String,
|
|
196
|
-
}),
|
|
197
|
-
).annotate({
|
|
198
|
-
identifier: "CreateSnapshotsResult",
|
|
199
|
-
}) as any as S.Schema<CreateSnapshotsResult>;
|
|
200
|
-
|
|
201
|
-
export type VolumeOutputStepResult = GetVolumeIDsResult | CreateSnapshotsResult;
|
|
202
|
-
export const VolumeOutputStepResult =
|
|
203
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<VolumeOutputStepResult>;
|
|
101
|
+
export type VolumeOutputStepResult = VolumeAutomationInput;
|
|
102
|
+
export const VolumeOutputStepResult = VolumeAutomationInput;
|
|
204
103
|
|
|
205
104
|
export interface VolumeOutputStep {
|
|
206
105
|
name: string;
|
|
207
|
-
result?:
|
|
106
|
+
result?: VolumeAutomationInput;
|
|
208
107
|
}
|
|
209
108
|
export const VolumeOutputStep = /*@__PURE__*/ S.suspend(() =>
|
|
210
109
|
S.Struct({
|
|
211
110
|
name: S.String,
|
|
212
|
-
result: S.optional(
|
|
111
|
+
result: S.optional(VolumeAutomationInput),
|
|
213
112
|
}),
|
|
214
|
-
).annotate({
|
|
215
|
-
identifier: "VolumeOutputStep",
|
|
216
|
-
}) as any as S.Schema<VolumeOutputStep>;
|
|
113
|
+
).annotate({ identifier: "VolumeOutputStep" }) as any as S.Schema<VolumeOutputStep>;
|
|
217
114
|
|
|
218
115
|
export type VolumeOutputStepsList = Array<VolumeOutputStep>;
|
|
219
116
|
export const VolumeOutputStepsList = /*@__PURE__*/ S.Array(
|
|
@@ -233,11 +130,11 @@ export interface VolumeAutomation {
|
|
|
233
130
|
createTime: string;
|
|
234
131
|
description?: string;
|
|
235
132
|
id: string;
|
|
236
|
-
input?:
|
|
133
|
+
input?: VolumeAutomationInput | null;
|
|
237
134
|
name?: string;
|
|
238
135
|
output?: VolumeOutput;
|
|
239
136
|
templateId?: string;
|
|
240
|
-
triggers?: AutomationTriggers;
|
|
137
|
+
triggers?: AutomationTriggers | null;
|
|
241
138
|
updateTime: string;
|
|
242
139
|
}
|
|
243
140
|
export const VolumeAutomation = /*@__PURE__*/ S.suspend(() =>
|
|
@@ -245,16 +142,14 @@ export const VolumeAutomation = /*@__PURE__*/ S.suspend(() =>
|
|
|
245
142
|
createTime: S.String,
|
|
246
143
|
description: S.optional(S.String),
|
|
247
144
|
id: S.String,
|
|
248
|
-
input: S.optional(
|
|
145
|
+
input: S.optional(S.NullOr(VolumeAutomationInput)),
|
|
249
146
|
name: S.optional(S.String),
|
|
250
147
|
output: S.optional(VolumeOutput),
|
|
251
148
|
templateId: S.optional(S.String),
|
|
252
|
-
triggers: S.optional(AutomationTriggers),
|
|
149
|
+
triggers: S.optional(S.NullOr(AutomationTriggers)),
|
|
253
150
|
updateTime: S.String,
|
|
254
151
|
}),
|
|
255
|
-
).annotate({
|
|
256
|
-
identifier: "VolumeAutomation",
|
|
257
|
-
}) as any as S.Schema<VolumeAutomation>;
|
|
152
|
+
).annotate({ identifier: "VolumeAutomation" }) as any as S.Schema<VolumeAutomation>;
|
|
258
153
|
|
|
259
154
|
export interface CreateVolumeExecutionRequest {
|
|
260
155
|
/** project Id */
|
|
@@ -272,7 +167,7 @@ export const CreateVolumeExecutionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
272
167
|
}).pipe(
|
|
273
168
|
T.Http({
|
|
274
169
|
method: "POST",
|
|
275
|
-
uri: "/
|
|
170
|
+
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}/executions",
|
|
276
171
|
code: 200,
|
|
277
172
|
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
278
173
|
}),
|
|
@@ -284,46 +179,42 @@ export const CreateVolumeExecutionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
284
179
|
export interface VolumeExecutionAutomation {
|
|
285
180
|
createTime: string;
|
|
286
181
|
description?: string;
|
|
287
|
-
input?:
|
|
182
|
+
input?: VolumeAutomationInput | null;
|
|
288
183
|
name?: string;
|
|
289
184
|
output?: VolumeOutput;
|
|
290
185
|
templateId?: string;
|
|
291
|
-
triggers?: AutomationTriggers;
|
|
186
|
+
triggers?: AutomationTriggers | null;
|
|
292
187
|
updateTime: string;
|
|
293
188
|
}
|
|
294
189
|
export const VolumeExecutionAutomation = /*@__PURE__*/ S.suspend(() =>
|
|
295
190
|
S.Struct({
|
|
296
191
|
createTime: S.String,
|
|
297
192
|
description: S.optional(S.String),
|
|
298
|
-
input: S.optional(
|
|
193
|
+
input: S.optional(S.NullOr(VolumeAutomationInput)),
|
|
299
194
|
name: S.optional(S.String),
|
|
300
195
|
output: S.optional(VolumeOutput),
|
|
301
196
|
templateId: S.optional(S.String),
|
|
302
|
-
triggers: S.optional(AutomationTriggers),
|
|
197
|
+
triggers: S.optional(S.NullOr(AutomationTriggers)),
|
|
303
198
|
updateTime: S.String,
|
|
304
199
|
}),
|
|
305
200
|
).annotate({
|
|
306
201
|
identifier: "VolumeExecutionAutomation",
|
|
307
202
|
}) as any as S.Schema<VolumeExecutionAutomation>;
|
|
308
203
|
|
|
309
|
-
export type VolumeExecutionOutputStepStatus =
|
|
310
|
-
|
|
311
|
-
| "RUNNING"
|
|
312
|
-
| "FAILED"
|
|
313
|
-
| "SUCCESSFUL";
|
|
314
|
-
export const VolumeExecutionOutputStepStatus = /*@__PURE__*/ S.String;
|
|
204
|
+
export type VolumeExecutionOutputStepStatus = "PENDING" | "RUNNING" | "FAILED" | "SUCCESSFUL";
|
|
205
|
+
export const VolumeExecutionOutputStepStatus = S.String;
|
|
315
206
|
|
|
316
207
|
export interface VolumeExecutionOutputStep {
|
|
317
208
|
message?: string;
|
|
318
209
|
name: string;
|
|
319
|
-
result?:
|
|
210
|
+
result?: VolumeAutomationInput;
|
|
320
211
|
status: VolumeExecutionOutputStepStatus;
|
|
321
212
|
}
|
|
322
213
|
export const VolumeExecutionOutputStep = /*@__PURE__*/ S.suspend(() =>
|
|
323
214
|
S.Struct({
|
|
324
215
|
message: S.optional(S.String),
|
|
325
216
|
name: S.String,
|
|
326
|
-
result: S.optional(
|
|
217
|
+
result: S.optional(VolumeAutomationInput),
|
|
327
218
|
status: VolumeExecutionOutputStepStatus,
|
|
328
219
|
}),
|
|
329
220
|
).annotate({
|
|
@@ -342,9 +233,7 @@ export const VolumeExecutionOutput = /*@__PURE__*/ S.suspend(() =>
|
|
|
342
233
|
S.Struct({
|
|
343
234
|
steps: S.optional(VolumeExecutionOutputStepsList),
|
|
344
235
|
}),
|
|
345
|
-
).annotate({
|
|
346
|
-
identifier: "VolumeExecutionOutput",
|
|
347
|
-
}) as any as S.Schema<VolumeExecutionOutput>;
|
|
236
|
+
).annotate({ identifier: "VolumeExecutionOutput" }) as any as S.Schema<VolumeExecutionOutput>;
|
|
348
237
|
|
|
349
238
|
export interface VolumeExecutionDetails {
|
|
350
239
|
config: VolumeExecutionAutomation;
|
|
@@ -355,9 +244,7 @@ export const VolumeExecutionDetails = /*@__PURE__*/ S.suspend(() =>
|
|
|
355
244
|
config: VolumeExecutionAutomation,
|
|
356
245
|
output: S.optional(VolumeExecutionOutput),
|
|
357
246
|
}),
|
|
358
|
-
).annotate({
|
|
359
|
-
identifier: "VolumeExecutionDetails",
|
|
360
|
-
}) as any as S.Schema<VolumeExecutionDetails>;
|
|
247
|
+
).annotate({ identifier: "VolumeExecutionDetails" }) as any as S.Schema<VolumeExecutionDetails>;
|
|
361
248
|
|
|
362
249
|
export type VolumeExecutionResponseStatus =
|
|
363
250
|
| "PENDING"
|
|
@@ -365,7 +252,7 @@ export type VolumeExecutionResponseStatus =
|
|
|
365
252
|
| "COMPLETED"
|
|
366
253
|
| "FAILED"
|
|
367
254
|
| "TERMINATED";
|
|
368
|
-
export const VolumeExecutionResponseStatus =
|
|
255
|
+
export const VolumeExecutionResponseStatus = S.String;
|
|
369
256
|
|
|
370
257
|
export interface VolumeExecutionResponse {
|
|
371
258
|
automation?: VolumeExecutionDetails;
|
|
@@ -382,9 +269,7 @@ export const VolumeExecutionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
382
269
|
id: S.String,
|
|
383
270
|
status: VolumeExecutionResponseStatus,
|
|
384
271
|
}),
|
|
385
|
-
).annotate({
|
|
386
|
-
identifier: "VolumeExecutionResponse",
|
|
387
|
-
}) as any as S.Schema<VolumeExecutionResponse>;
|
|
272
|
+
).annotate({ identifier: "VolumeExecutionResponse" }) as any as S.Schema<VolumeExecutionResponse>;
|
|
388
273
|
|
|
389
274
|
export interface DeleteVolumeAutomationRequest {
|
|
390
275
|
/** project Id */
|
|
@@ -402,7 +287,7 @@ export const DeleteVolumeAutomationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
402
287
|
}).pipe(
|
|
403
288
|
T.Http({
|
|
404
289
|
method: "DELETE",
|
|
405
|
-
uri: "/
|
|
290
|
+
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}",
|
|
406
291
|
code: 200,
|
|
407
292
|
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
408
293
|
}),
|
|
@@ -412,9 +297,7 @@ export const DeleteVolumeAutomationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
412
297
|
}) as any as S.Schema<DeleteVolumeAutomationRequest>;
|
|
413
298
|
|
|
414
299
|
export interface DeleteVolumeAutomationResponse {}
|
|
415
|
-
export const DeleteVolumeAutomationResponse = /*@__PURE__*/ S.suspend(() =>
|
|
416
|
-
S.Struct({}),
|
|
417
|
-
).annotate({
|
|
300
|
+
export const DeleteVolumeAutomationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
418
301
|
identifier: "DeleteVolumeAutomationResponse",
|
|
419
302
|
}) as any as S.Schema<DeleteVolumeAutomationResponse>;
|
|
420
303
|
|
|
@@ -434,7 +317,7 @@ export const GetVolumeAutomationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
434
317
|
}).pipe(
|
|
435
318
|
T.Http({
|
|
436
319
|
method: "GET",
|
|
437
|
-
uri: "/
|
|
320
|
+
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}",
|
|
438
321
|
code: 200,
|
|
439
322
|
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
440
323
|
}),
|
|
@@ -462,7 +345,7 @@ export const GetVolumeExecutionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
462
345
|
}).pipe(
|
|
463
346
|
T.Http({
|
|
464
347
|
method: "GET",
|
|
465
|
-
uri: "/
|
|
348
|
+
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}/executions/{executionId}",
|
|
466
349
|
code: 200,
|
|
467
350
|
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
468
351
|
}),
|
|
@@ -487,17 +370,15 @@ export const GetVolumeTemplateRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
487
370
|
}).pipe(
|
|
488
371
|
T.Http({
|
|
489
372
|
method: "GET",
|
|
490
|
-
uri: "/
|
|
373
|
+
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/templates/{templateId}",
|
|
491
374
|
code: 200,
|
|
492
375
|
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
493
376
|
}),
|
|
494
377
|
),
|
|
495
|
-
).annotate({
|
|
496
|
-
identifier: "GetVolumeTemplateRequest",
|
|
497
|
-
}) as any as S.Schema<GetVolumeTemplateRequest>;
|
|
378
|
+
).annotate({ identifier: "GetVolumeTemplateRequest" }) as any as S.Schema<GetVolumeTemplateRequest>;
|
|
498
379
|
|
|
499
380
|
export type VolumeTemplateAutomationInputKind = "VolumeRecoveryPointManagement";
|
|
500
|
-
export const VolumeTemplateAutomationInputKind =
|
|
381
|
+
export const VolumeTemplateAutomationInputKind = S.String;
|
|
501
382
|
|
|
502
383
|
export interface VolumeTemplateAutomationInput {
|
|
503
384
|
kind: VolumeTemplateAutomationInputKind;
|
|
@@ -550,7 +431,7 @@ export const ListVolumeAutomationsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
550
431
|
}).pipe(
|
|
551
432
|
T.Http({
|
|
552
433
|
method: "GET",
|
|
553
|
-
uri: "/
|
|
434
|
+
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations",
|
|
554
435
|
code: 200,
|
|
555
436
|
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
556
437
|
}),
|
|
@@ -565,7 +446,7 @@ export interface ListAutomationsItem {
|
|
|
565
446
|
id: string;
|
|
566
447
|
name?: string;
|
|
567
448
|
templateId?: string;
|
|
568
|
-
triggers?: AutomationTriggers;
|
|
449
|
+
triggers?: AutomationTriggers | null;
|
|
569
450
|
updateTime: string;
|
|
570
451
|
}
|
|
571
452
|
export const ListAutomationsItem = /*@__PURE__*/ S.suspend(() =>
|
|
@@ -575,12 +456,10 @@ export const ListAutomationsItem = /*@__PURE__*/ S.suspend(() =>
|
|
|
575
456
|
id: S.String,
|
|
576
457
|
name: S.optional(S.String),
|
|
577
458
|
templateId: S.optional(S.String),
|
|
578
|
-
triggers: S.optional(AutomationTriggers),
|
|
459
|
+
triggers: S.optional(S.NullOr(AutomationTriggers)),
|
|
579
460
|
updateTime: S.String,
|
|
580
461
|
}),
|
|
581
|
-
).annotate({
|
|
582
|
-
identifier: "ListAutomationsItem",
|
|
583
|
-
}) as any as S.Schema<ListAutomationsItem>;
|
|
462
|
+
).annotate({ identifier: "ListAutomationsItem" }) as any as S.Schema<ListAutomationsItem>;
|
|
584
463
|
|
|
585
464
|
export type ListAutomationsResponseItemsList = Array<ListAutomationsItem>;
|
|
586
465
|
export const ListAutomationsResponseItemsList = /*@__PURE__*/ S.Array(
|
|
@@ -597,9 +476,7 @@ export const ListAutomationsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
597
476
|
items: ListAutomationsResponseItemsList,
|
|
598
477
|
nextPageToken: S.optional(S.String),
|
|
599
478
|
}),
|
|
600
|
-
).annotate({
|
|
601
|
-
identifier: "ListAutomationsResponse",
|
|
602
|
-
}) as any as S.Schema<ListAutomationsResponse>;
|
|
479
|
+
).annotate({ identifier: "ListAutomationsResponse" }) as any as S.Schema<ListAutomationsResponse>;
|
|
603
480
|
|
|
604
481
|
export interface ListVolumeExecutionsRequest {
|
|
605
482
|
/** project Id */
|
|
@@ -623,7 +500,7 @@ export const ListVolumeExecutionsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
623
500
|
}).pipe(
|
|
624
501
|
T.Http({
|
|
625
502
|
method: "GET",
|
|
626
|
-
uri: "/
|
|
503
|
+
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}/executions",
|
|
627
504
|
code: 200,
|
|
628
505
|
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
629
506
|
}),
|
|
@@ -638,7 +515,7 @@ export type ListExecutionsItemStatus =
|
|
|
638
515
|
| "COMPLETED"
|
|
639
516
|
| "FAILED"
|
|
640
517
|
| "TERMINATED";
|
|
641
|
-
export const ListExecutionsItemStatus =
|
|
518
|
+
export const ListExecutionsItemStatus = S.String;
|
|
642
519
|
|
|
643
520
|
export interface ListExecutionsItem {
|
|
644
521
|
createTime: string;
|
|
@@ -653,9 +530,7 @@ export const ListExecutionsItem = /*@__PURE__*/ S.suspend(() =>
|
|
|
653
530
|
id: S.String,
|
|
654
531
|
status: ListExecutionsItemStatus,
|
|
655
532
|
}),
|
|
656
|
-
).annotate({
|
|
657
|
-
identifier: "ListExecutionsItem",
|
|
658
|
-
}) as any as S.Schema<ListExecutionsItem>;
|
|
533
|
+
).annotate({ identifier: "ListExecutionsItem" }) as any as S.Schema<ListExecutionsItem>;
|
|
659
534
|
|
|
660
535
|
export type ListExecutionsResponseItemsList = Array<ListExecutionsItem>;
|
|
661
536
|
export const ListExecutionsResponseItemsList = /*@__PURE__*/ S.Array(
|
|
@@ -672,9 +547,7 @@ export const ListExecutionsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
672
547
|
items: ListExecutionsResponseItemsList,
|
|
673
548
|
nextPageToken: S.optional(S.String),
|
|
674
549
|
}),
|
|
675
|
-
).annotate({
|
|
676
|
-
identifier: "ListExecutionsResponse",
|
|
677
|
-
}) as any as S.Schema<ListExecutionsResponse>;
|
|
550
|
+
).annotate({ identifier: "ListExecutionsResponse" }) as any as S.Schema<ListExecutionsResponse>;
|
|
678
551
|
|
|
679
552
|
export interface ListVolumeTemplatesRequest {
|
|
680
553
|
/** project Id */
|
|
@@ -695,7 +568,7 @@ export const ListVolumeTemplatesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
695
568
|
}).pipe(
|
|
696
569
|
T.Http({
|
|
697
570
|
method: "GET",
|
|
698
|
-
uri: "/
|
|
571
|
+
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/templates",
|
|
699
572
|
code: 200,
|
|
700
573
|
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
701
574
|
}),
|
|
@@ -734,9 +607,7 @@ export const ListTemplatesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
734
607
|
items: ListTemplatesResponseItemsList,
|
|
735
608
|
nextPageToken: S.optional(S.String),
|
|
736
609
|
}),
|
|
737
|
-
).annotate({
|
|
738
|
-
identifier: "ListTemplatesResponse",
|
|
739
|
-
}) as any as S.Schema<ListTemplatesResponse>;
|
|
610
|
+
).annotate({ identifier: "ListTemplatesResponse" }) as any as S.Schema<ListTemplatesResponse>;
|
|
740
611
|
|
|
741
612
|
export interface PartialUpdateVolumeAutomationRequest {
|
|
742
613
|
/** project Id */
|
|
@@ -747,39 +618,34 @@ export interface PartialUpdateVolumeAutomationRequest {
|
|
|
747
618
|
automationId: string;
|
|
748
619
|
/** A comma-separated list of fully qualified names of fields to be updated. Example: "name,triggers.schedule.rrule" */
|
|
749
620
|
updateMask?: string;
|
|
750
|
-
description?: string;
|
|
751
|
-
input?:
|
|
752
|
-
name?: string;
|
|
753
|
-
triggers?: AutomationTriggers;
|
|
621
|
+
description?: string | null;
|
|
622
|
+
input?: VolumeAutomationInput | null;
|
|
623
|
+
name?: string | null;
|
|
624
|
+
triggers?: AutomationTriggers | null;
|
|
754
625
|
}
|
|
755
|
-
export const PartialUpdateVolumeAutomationRequest = /*@__PURE__*/ S.suspend(
|
|
756
|
-
(
|
|
757
|
-
S.
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
),
|
|
626
|
+
export const PartialUpdateVolumeAutomationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
627
|
+
S.Struct({
|
|
628
|
+
projectId: S.String.pipe(T.Label()),
|
|
629
|
+
region: S.String.pipe(T.Label()),
|
|
630
|
+
automationId: S.String.pipe(T.Label()),
|
|
631
|
+
updateMask: S.optional(S.String.pipe(T.Query())),
|
|
632
|
+
description: S.optional(S.NullOr(S.String)),
|
|
633
|
+
input: S.optional(S.NullOr(VolumeAutomationInput)),
|
|
634
|
+
name: S.optional(S.NullOr(S.String)),
|
|
635
|
+
triggers: S.optional(S.NullOr(AutomationTriggers)),
|
|
636
|
+
}).pipe(
|
|
637
|
+
T.Http({
|
|
638
|
+
method: "PATCH",
|
|
639
|
+
uri: "/v1/projects/{projectId}/regions/{region}/services/volumes/automations/{automationId}",
|
|
640
|
+
code: 200,
|
|
641
|
+
baseUrl: "https://automation-service.api.stackit.cloud",
|
|
642
|
+
}),
|
|
643
|
+
),
|
|
774
644
|
).annotate({
|
|
775
645
|
identifier: "PartialUpdateVolumeAutomationRequest",
|
|
776
646
|
}) as any as S.Schema<PartialUpdateVolumeAutomationRequest>;
|
|
777
647
|
|
|
778
|
-
export type CreateVolumeAutomationError =
|
|
779
|
-
| BadRequest
|
|
780
|
-
| Forbidden
|
|
781
|
-
| NotFound
|
|
782
|
-
| StackitOpError;
|
|
648
|
+
export type CreateVolumeAutomationError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
783
649
|
/** Create volume automation Creates a new volume automation */
|
|
784
650
|
export const createVolumeAutomation: API.OperationMethod<
|
|
785
651
|
CreateVolumeAutomationRequest,
|
|
@@ -794,11 +660,7 @@ export const createVolumeAutomation: API.OperationMethod<
|
|
|
794
660
|
retry: Retry.Retry,
|
|
795
661
|
}));
|
|
796
662
|
|
|
797
|
-
export type CreateVolumeExecutionError =
|
|
798
|
-
| BadRequest
|
|
799
|
-
| Forbidden
|
|
800
|
-
| NotFound
|
|
801
|
-
| StackitOpError;
|
|
663
|
+
export type CreateVolumeExecutionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
802
664
|
/** Create volume automation executions Creates a new execution for a specific volume automation */
|
|
803
665
|
export const createVolumeExecution: API.OperationMethod<
|
|
804
666
|
CreateVolumeExecutionRequest,
|
|
@@ -813,11 +675,7 @@ export const createVolumeExecution: API.OperationMethod<
|
|
|
813
675
|
retry: Retry.Retry,
|
|
814
676
|
}));
|
|
815
677
|
|
|
816
|
-
export type DeleteVolumeAutomationError =
|
|
817
|
-
| BadRequest
|
|
818
|
-
| Forbidden
|
|
819
|
-
| NotFound
|
|
820
|
-
| StackitOpError;
|
|
678
|
+
export type DeleteVolumeAutomationError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
821
679
|
/** Delete volume automation Deletes a specific volume automation. */
|
|
822
680
|
export const deleteVolumeAutomation: API.OperationMethod<
|
|
823
681
|
DeleteVolumeAutomationRequest,
|
|
@@ -832,11 +690,7 @@ export const deleteVolumeAutomation: API.OperationMethod<
|
|
|
832
690
|
retry: Retry.Retry,
|
|
833
691
|
}));
|
|
834
692
|
|
|
835
|
-
export type GetVolumeAutomationError =
|
|
836
|
-
| BadRequest
|
|
837
|
-
| Forbidden
|
|
838
|
-
| NotFound
|
|
839
|
-
| StackitOpError;
|
|
693
|
+
export type GetVolumeAutomationError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
840
694
|
/** Get volume automation Retrieves a specific volume automation. */
|
|
841
695
|
export const getVolumeAutomation: API.OperationMethod<
|
|
842
696
|
GetVolumeAutomationRequest,
|
|
@@ -851,11 +705,7 @@ export const getVolumeAutomation: API.OperationMethod<
|
|
|
851
705
|
retry: Retry.Retry,
|
|
852
706
|
}));
|
|
853
707
|
|
|
854
|
-
export type GetVolumeExecutionError =
|
|
855
|
-
| BadRequest
|
|
856
|
-
| Forbidden
|
|
857
|
-
| NotFound
|
|
858
|
-
| StackitOpError;
|
|
708
|
+
export type GetVolumeExecutionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
859
709
|
/** Get volume automation execution details Get details for a specific volume automation execution */
|
|
860
710
|
export const getVolumeExecution: API.OperationMethod<
|
|
861
711
|
GetVolumeExecutionRequest,
|
|
@@ -870,11 +720,7 @@ export const getVolumeExecution: API.OperationMethod<
|
|
|
870
720
|
retry: Retry.Retry,
|
|
871
721
|
}));
|
|
872
722
|
|
|
873
|
-
export type GetVolumeTemplateError =
|
|
874
|
-
| BadRequest
|
|
875
|
-
| Forbidden
|
|
876
|
-
| NotFound
|
|
877
|
-
| StackitOpError;
|
|
723
|
+
export type GetVolumeTemplateError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
878
724
|
/** Get volume template Retrieve detailed information about a volume template */
|
|
879
725
|
export const getVolumeTemplate: API.OperationMethod<
|
|
880
726
|
GetVolumeTemplateRequest,
|
|
@@ -889,11 +735,7 @@ export const getVolumeTemplate: API.OperationMethod<
|
|
|
889
735
|
retry: Retry.Retry,
|
|
890
736
|
}));
|
|
891
737
|
|
|
892
|
-
export type ListVolumeAutomationsError =
|
|
893
|
-
| BadRequest
|
|
894
|
-
| Forbidden
|
|
895
|
-
| NotFound
|
|
896
|
-
| StackitOpError;
|
|
738
|
+
export type ListVolumeAutomationsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
897
739
|
/** List volume automations Retrieves a list of volume automations. */
|
|
898
740
|
export const listVolumeAutomations: API.OperationMethod<
|
|
899
741
|
ListVolumeAutomationsRequest,
|
|
@@ -908,11 +750,7 @@ export const listVolumeAutomations: API.OperationMethod<
|
|
|
908
750
|
retry: Retry.Retry,
|
|
909
751
|
}));
|
|
910
752
|
|
|
911
|
-
export type ListVolumeExecutionsError =
|
|
912
|
-
| BadRequest
|
|
913
|
-
| Forbidden
|
|
914
|
-
| NotFound
|
|
915
|
-
| StackitOpError;
|
|
753
|
+
export type ListVolumeExecutionsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
916
754
|
/** List volume automation executions Get a list of all executions for a specific volume automation. */
|
|
917
755
|
export const listVolumeExecutions: API.OperationMethod<
|
|
918
756
|
ListVolumeExecutionsRequest,
|
|
@@ -927,11 +765,7 @@ export const listVolumeExecutions: API.OperationMethod<
|
|
|
927
765
|
retry: Retry.Retry,
|
|
928
766
|
}));
|
|
929
767
|
|
|
930
|
-
export type ListVolumeTemplatesError =
|
|
931
|
-
| BadRequest
|
|
932
|
-
| Forbidden
|
|
933
|
-
| NotFound
|
|
934
|
-
| StackitOpError;
|
|
768
|
+
export type ListVolumeTemplatesError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
935
769
|
/** List volume templates Lists all volume templates for the specified service */
|
|
936
770
|
export const listVolumeTemplates: API.OperationMethod<
|
|
937
771
|
ListVolumeTemplatesRequest,
|
|
@@ -946,11 +780,7 @@ export const listVolumeTemplates: API.OperationMethod<
|
|
|
946
780
|
retry: Retry.Retry,
|
|
947
781
|
}));
|
|
948
782
|
|
|
949
|
-
export type PartialUpdateVolumeAutomationError =
|
|
950
|
-
| BadRequest
|
|
951
|
-
| Forbidden
|
|
952
|
-
| NotFound
|
|
953
|
-
| StackitOpError;
|
|
783
|
+
export type PartialUpdateVolumeAutomationError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
954
784
|
/** Patch volume automation Partially updates a specific volume automation. Specify the fields to update in the `updateMask` query parameter. */
|
|
955
785
|
export const partialUpdateVolumeAutomation: API.OperationMethod<
|
|
956
786
|
PartialUpdateVolumeAutomationRequest,
|