@distilled.cloud/stackit 1.0.0-rc.17 → 1.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +27 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +32 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +24 -1
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +30 -29
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -38
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +28 -1
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +27 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +38 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +180 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +28 -27
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +40 -39
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +28 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -32
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +41 -40
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +37 -36
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +158 -157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +30 -29
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -45
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +36 -35
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +35 -34
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +32 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +39 -38
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +41 -40
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -27
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +29 -28
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -44
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -24
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +45 -44
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +25 -24
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -32
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -27
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +42 -41
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +26 -25
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/pubsub.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/services.lazy/workflows.js +1 -1
- package/package.json +6 -5
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +22 -20
- package/src/services/alb.ts +174 -132
- package/src/services/alb_waf.ts +96 -51
- package/src/services/authorization.ts +50 -15
- package/src/services/automation.ts +86 -49
- package/src/services/cdn.ts +172 -129
- package/src/services/certificates.ts +63 -40
- package/src/services/cost.ts +34 -15
- package/src/services/dns.ts +552 -269
- package/src/services/dremio.ts +187 -118
- package/src/services/edge.ts +62 -21
- package/src/services/functions.ts +217 -170
- package/src/services/git.ts +407 -108
- package/src/services/iaas.ts +723 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +101 -58
- package/src/services/kms.ts +76 -13
- package/src/services/lb_ip_lists.ts +37 -14
- package/src/services/load_balancer.ts +168 -126
- package/src/services/logme.ts +345 -122
- package/src/services/logs.ts +172 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +328 -105
- package/src/services/model_experiments.ts +66 -33
- package/src/services/model_serving.ts +54 -25
- package/src/services/mongodb_flex.ts +205 -137
- package/src/services/object_storage.ts +61 -6
- package/src/services/observability.ts +594 -362
- package/src/services/opensearch.ts +337 -114
- package/src/services/pim.ts +403 -278
- package/src/services/postgres_flex.ts +258 -179
- package/src/services/pubsub.ts +85 -36
- package/src/services/rabbitmq.ts +348 -125
- package/src/services/registry.ts +55 -26
- package/src/services/resource_manager.ts +102 -57
- package/src/services/run_command.ts +65 -42
- package/src/services/sca.ts +769 -371
- package/src/services/scf.ts +83 -24
- package/src/services/secrets_manager.ts +87 -22
- package/src/services/server_backup.ts +76 -31
- package/src/services/server_update.ts +54 -17
- package/src/services/service_account.ts +75 -30
- package/src/services/service_enablement.ts +49 -24
- package/src/services/sfs.ts +469 -395
- package/src/services/ske.ts +299 -228
- package/src/services/sqlserverflex.ts +116 -47
- package/src/services/stackit_marketplace.ts +78 -39
- package/src/services/telemetry_link.ts +191 -81
- package/src/services/telemetry_router.ts +326 -94
- package/src/services/ufw.ts +85 -54
- package/src/services/valkey.ts +341 -118
- package/src/services/vpn.ts +213 -142
- package/src/services/workflows.ts +106 -65
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "Workflows",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -51,16 +64,16 @@ export class NotFound
|
|
|
51
64
|
|
|
52
65
|
export interface BasicAuth {
|
|
53
66
|
/** The password or token */
|
|
54
|
-
password?: string | Redacted.Redacted<string
|
|
67
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
55
68
|
/** Type of authentication */
|
|
56
|
-
type?: string;
|
|
69
|
+
type?: string | undefined;
|
|
57
70
|
/** The username */
|
|
58
|
-
username?: string;
|
|
71
|
+
username?: string | undefined;
|
|
59
72
|
}
|
|
60
73
|
/** No authentication required */
|
|
61
74
|
export interface NoAuth {
|
|
62
75
|
/** Type of authentication */
|
|
63
|
-
type?: string;
|
|
76
|
+
type?: string | undefined;
|
|
64
77
|
}
|
|
65
78
|
/** Authentication for Git repositories */
|
|
66
79
|
export type GitAuth = BasicAuth | NoAuth;
|
|
@@ -74,9 +87,9 @@ export interface GitDagBundle {
|
|
|
74
87
|
/** Unique name for this bundle within the instance. Must be a valid DNS label (lowercase alphanumeric and hyphens, starting with a letter, max 63 characters). */
|
|
75
88
|
name: string;
|
|
76
89
|
/** How often (in seconds) to check for new commits. Defaults to 60. */
|
|
77
|
-
refreshInterval?: number;
|
|
90
|
+
refreshInterval?: number | undefined;
|
|
78
91
|
/** Subdirectory within the repository containing DAG files. Defaults to root. Leading and trailing slashes are stripped automatically -- the following four forms are all equivalent and stored as `dags/production`: `/dags/production/`, `dags/production/`, `/dags/production`, `dags/production`. */
|
|
79
|
-
subdir?: string;
|
|
92
|
+
subdir?: string | undefined;
|
|
80
93
|
/** Bundle type identifier. */
|
|
81
94
|
type: GitDagBundleType;
|
|
82
95
|
/** The URL of the Git repository. */
|
|
@@ -102,13 +115,13 @@ export interface S3DagBundle {
|
|
|
102
115
|
/** The S3 bucket name containing DAG files. */
|
|
103
116
|
bucketName: string;
|
|
104
117
|
/** S3-compatible endpoint URL. Defaults to https://object.storage.eu01.onstackit.cloud */
|
|
105
|
-
endpoint?: string;
|
|
118
|
+
endpoint?: string | undefined;
|
|
106
119
|
/** Unique name for this bundle within the instance. Must be a valid DNS label (lowercase alphanumeric and hyphens, starting with a letter, max 63 characters). */
|
|
107
120
|
name: string;
|
|
108
121
|
/** Key prefix (folder path) within the bucket. Defaults to root. */
|
|
109
|
-
prefix?: string;
|
|
122
|
+
prefix?: string | undefined;
|
|
110
123
|
/** How often (in seconds) to check for new objects. Defaults to 60. */
|
|
111
|
-
refreshInterval?: number;
|
|
124
|
+
refreshInterval?: number | undefined;
|
|
112
125
|
s3Auth: S3Auth;
|
|
113
126
|
/** Bundle type identifier. */
|
|
114
127
|
type: S3DagBundleType;
|
|
@@ -127,9 +140,9 @@ export interface CreateDagBundleRequest {
|
|
|
127
140
|
/** Basic authentication as returned in API responses. The password field is always masked ("**********") and never contains the real value. */
|
|
128
141
|
export interface BasicAuthResponseOutput {
|
|
129
142
|
/** Type of authentication */
|
|
130
|
-
type?: string;
|
|
143
|
+
type?: string | undefined;
|
|
131
144
|
/** The username */
|
|
132
|
-
username?: string;
|
|
145
|
+
username?: string | undefined;
|
|
133
146
|
}
|
|
134
147
|
/** Authentication configuration as returned in API responses. Credentials (passwords) are always masked and never returned in plain text. */
|
|
135
148
|
export type GitAuthResponseOutput = BasicAuthResponseOutput | NoAuth;
|
|
@@ -143,9 +156,9 @@ export interface GitDagBundleResponseOutput {
|
|
|
143
156
|
/** Unique name for this bundle within the instance. */
|
|
144
157
|
name: string;
|
|
145
158
|
/** How often (in seconds) to check for new commits. */
|
|
146
|
-
refreshInterval?: number;
|
|
159
|
+
refreshInterval?: number | undefined;
|
|
147
160
|
/** Subdirectory within the repository containing DAG files. Leading and trailing slashes are stripped automatically. Absent when set to root. */
|
|
148
|
-
subdir?: string;
|
|
161
|
+
subdir?: string | undefined;
|
|
149
162
|
/** Bundle type identifier. */
|
|
150
163
|
type: GitDagBundleResponseOutputType;
|
|
151
164
|
/** The URL of the Git repository. */
|
|
@@ -158,7 +171,7 @@ export interface S3AccessKeyAuthResponse {
|
|
|
158
171
|
/** The S3 access key ID. */
|
|
159
172
|
accessKeyId: string | Redacted.Redacted<string>;
|
|
160
173
|
/** Always returned as "**********". The actual secret access key is never exposed in API responses. */
|
|
161
|
-
secretAccessKey?: string | Redacted.Redacted<string
|
|
174
|
+
secretAccessKey?: string | Redacted.Redacted<string> | undefined;
|
|
162
175
|
/** Type of authentication */
|
|
163
176
|
type: S3AccessKeyAuthResponseType;
|
|
164
177
|
}
|
|
@@ -171,13 +184,13 @@ export interface S3DagBundleResponse {
|
|
|
171
184
|
/** The S3 bucket name containing DAG files. */
|
|
172
185
|
bucketName: string;
|
|
173
186
|
/** S3-compatible endpoint URL. */
|
|
174
|
-
endpoint?: string;
|
|
187
|
+
endpoint?: string | undefined;
|
|
175
188
|
/** Unique name for this bundle within the instance. */
|
|
176
189
|
name: string;
|
|
177
190
|
/** Key prefix (folder path) within the bucket. */
|
|
178
|
-
prefix?: string;
|
|
191
|
+
prefix?: string | undefined;
|
|
179
192
|
/** How often (in seconds) to check for new objects. */
|
|
180
|
-
refreshInterval?: number;
|
|
193
|
+
refreshInterval?: number | undefined;
|
|
181
194
|
s3Auth: S3AuthResponse;
|
|
182
195
|
/** Bundle type identifier. */
|
|
183
196
|
type: S3DagBundleResponseType;
|
|
@@ -207,7 +220,7 @@ export type OAuth2IdentityProviderType = "oauth2";
|
|
|
207
220
|
/** Configuration for the custom OAuth2 identity provider used. */
|
|
208
221
|
export interface OAuth2IdentityProvider {
|
|
209
222
|
/** Expected audience(s) for API token validation when using the session endpoint for token exchange. */
|
|
210
|
-
apiAudience?: OAuth2IdentityProviderApiAudienceList;
|
|
223
|
+
apiAudience?: OAuth2IdentityProviderApiAudienceList | undefined;
|
|
211
224
|
/** The client id of the STACKIT Workflows application in the identity provider. */
|
|
212
225
|
clientId: string;
|
|
213
226
|
/** The client secret of the STACKIT Workflows application in the identity provider. */
|
|
@@ -217,9 +230,9 @@ export interface OAuth2IdentityProvider {
|
|
|
217
230
|
/** The name of the OAuth2 identity provider that will show in STACKIT Workflows instance. The following special values modify the way a token is parsed. If any of the following IdPs is used, please specify the corresponding value: `azure`, `okta`, `aws_cognito`, `keycloak` */
|
|
218
231
|
name: string;
|
|
219
232
|
/** RFC 8707 Resource Indicators for OAuth 2.0. Optional resource parameter to indicate which resource the token is intended for. */
|
|
220
|
-
resource?: string;
|
|
233
|
+
resource?: string | undefined;
|
|
221
234
|
/** Dot-separated path to extract roles from JWT claims (e.g., "realm_access.roles" or "resource_access.my_client.roles"). If not specified, provider-specific defaults are used. */
|
|
222
|
-
rolesClaim?: string;
|
|
235
|
+
rolesClaim?: string | undefined;
|
|
223
236
|
/** Scopes to request for Authorization Code Flows. (UI login) */
|
|
224
237
|
scope: string;
|
|
225
238
|
type: OAuth2IdentityProviderType;
|
|
@@ -227,7 +240,7 @@ export interface OAuth2IdentityProvider {
|
|
|
227
240
|
/** Configuration for the identity provider used. */
|
|
228
241
|
export type IdentityProvider = StackITIdentityProvider | OAuth2IdentityProvider;
|
|
229
242
|
export interface Network {
|
|
230
|
-
id?: string;
|
|
243
|
+
id?: string | undefined;
|
|
231
244
|
}
|
|
232
245
|
export interface CreateInstanceRequest {
|
|
233
246
|
/** The STACKIT portal project UUID the STACKIT Workflows instance is part of. */
|
|
@@ -235,20 +248,20 @@ export interface CreateInstanceRequest {
|
|
|
235
248
|
/** The STACKIT region the STACKIT Workflows instance is part of. */
|
|
236
249
|
regionId: string;
|
|
237
250
|
/** List of DAG bundles to configure. Supports Git and S3 sources. If provided, this takes precedence over dagsRepository. At least one bundle must be specified. Maximum 10 bundles. Only supported for Airflow 3 versions. */
|
|
238
|
-
dagBundles?: CreateInstanceRequestDagBundlesList;
|
|
239
|
-
dagsRepository?: GitRepository;
|
|
251
|
+
dagBundles?: CreateInstanceRequestDagBundlesList | undefined;
|
|
252
|
+
dagsRepository?: GitRepository | undefined;
|
|
240
253
|
/** A user chosen description to distinguish multiple STACKIT Workflows instances. */
|
|
241
|
-
description?: string;
|
|
254
|
+
description?: string | undefined;
|
|
242
255
|
/** The displayed name to distinguish multiple STACKIT Workflows instances. */
|
|
243
256
|
displayName: string;
|
|
244
257
|
/** Whether to enable the Airflow built-in example DAGs in this instance. Maps to airflow.config.core.load_examples in the Helm chart. Only supported for Airflow 3 instances. Defaults to false. */
|
|
245
|
-
enableAirflowExampleDags?: boolean;
|
|
258
|
+
enableAirflowExampleDags?: boolean | undefined;
|
|
246
259
|
/** Whether to include the STACKIT sample DAGs in this instance. Only supported for Airflow 3 instances. Defaults to false. */
|
|
247
|
-
enableStackitExampleDags?: boolean;
|
|
248
|
-
identityProvider?: IdentityProvider;
|
|
249
|
-
network?: Network;
|
|
260
|
+
enableStackitExampleDags?: boolean | undefined;
|
|
261
|
+
identityProvider?: IdentityProvider | undefined;
|
|
262
|
+
network?: Network | undefined;
|
|
250
263
|
/** Unique identifier of the customer's observability instance. */
|
|
251
|
-
observabilityId?: string;
|
|
264
|
+
observabilityId?: string | undefined;
|
|
252
265
|
/** The version of the STACKIT Workflows to use. For valid versions please take a look at [provider-options](#tag/provider-options/operation/get-provider-options) */
|
|
253
266
|
version: string;
|
|
254
267
|
}
|
|
@@ -267,23 +280,23 @@ export interface Instance {
|
|
|
267
280
|
/** The date and time the creation of the STACKIT Workflows instance was triggered. */
|
|
268
281
|
createdAt: string;
|
|
269
282
|
/** All configured DAG bundles. This is the canonical source of truth for DAG sources. Available for Airflow 3 instances. */
|
|
270
|
-
dagBundles?: InstanceDagBundlesList;
|
|
271
|
-
dagsRepository?: GitRepository;
|
|
283
|
+
dagBundles?: InstanceDagBundlesList | undefined;
|
|
284
|
+
dagsRepository?: GitRepository | undefined;
|
|
272
285
|
/** A user chosen description to distinguish multiple STACKIT Workflows instances. */
|
|
273
|
-
description?: string;
|
|
286
|
+
description?: string | undefined;
|
|
274
287
|
/** The displayed name of the STACKIT Workflows instance. */
|
|
275
288
|
displayName: string;
|
|
276
289
|
/** Whether the Airflow built-in example DAGs are enabled in this instance. Only supported for Airflow 3 instances. */
|
|
277
|
-
enableAirflowExampleDags?: boolean;
|
|
290
|
+
enableAirflowExampleDags?: boolean | undefined;
|
|
278
291
|
/** Whether the STACKIT sample DAGs are included in this instance. Only supported for Airflow 3 instances. */
|
|
279
|
-
enableStackitExampleDags?: boolean;
|
|
292
|
+
enableStackitExampleDags?: boolean | undefined;
|
|
280
293
|
endpoints: Endpoints;
|
|
281
294
|
/** A auto generated unique id which identifies the STACKIT Workflows instance. */
|
|
282
295
|
id: string;
|
|
283
296
|
identityProvider: IdentityProvider;
|
|
284
|
-
network?: Network;
|
|
297
|
+
network?: Network | undefined;
|
|
285
298
|
/** Unique identifier of the customer's observability instance. */
|
|
286
|
-
observabilityId?: string;
|
|
299
|
+
observabilityId?: string | undefined;
|
|
287
300
|
/** The STACKIT portal project UUID the STACKIT Workflows instance is part of. */
|
|
288
301
|
projectId: string;
|
|
289
302
|
/** The STACKIT region the STACKIT Workflows instance is part of. */
|
|
@@ -291,7 +304,7 @@ export interface Instance {
|
|
|
291
304
|
/** The current status of the STACKIT Workflows instance. */
|
|
292
305
|
status: InstanceStatus;
|
|
293
306
|
/** A message related to the current status. */
|
|
294
|
-
statusMessage?: string;
|
|
307
|
+
statusMessage?: string | undefined;
|
|
295
308
|
/** The currently configured STACKIT Workflows instance version. */
|
|
296
309
|
version: string;
|
|
297
310
|
}
|
|
@@ -339,7 +352,7 @@ export interface GetProviderOptionsRequest {
|
|
|
339
352
|
regionId: string;
|
|
340
353
|
}
|
|
341
354
|
export interface SupportedVersion {
|
|
342
|
-
expirationDate?: string;
|
|
355
|
+
expirationDate?: string | undefined;
|
|
343
356
|
state: string;
|
|
344
357
|
version: string;
|
|
345
358
|
}
|
|
@@ -375,31 +388,31 @@ export interface ListInstancesResponse {
|
|
|
375
388
|
export type UpdateGitDagBundlePayloadType = "git";
|
|
376
389
|
/** Partial update payload for a Git DAG bundle. All fields except "type" are optional; only the provided fields will be updated. */
|
|
377
390
|
export interface UpdateGitDagBundlePayload {
|
|
378
|
-
auth?: GitAuth;
|
|
391
|
+
auth?: GitAuth | undefined;
|
|
379
392
|
/** Updated branch/tag/ref to track. */
|
|
380
|
-
branch?: string;
|
|
393
|
+
branch?: string | undefined;
|
|
381
394
|
/** Updated refresh interval in seconds. */
|
|
382
|
-
refreshInterval?: number;
|
|
395
|
+
refreshInterval?: number | undefined;
|
|
383
396
|
/** Updated subdirectory within the repository. Set to empty string or "/" to clear an existing subdir. */
|
|
384
|
-
subdir?: string;
|
|
397
|
+
subdir?: string | undefined;
|
|
385
398
|
/** Bundle type identifier -- must match the existing bundle's type. */
|
|
386
399
|
type: UpdateGitDagBundlePayloadType;
|
|
387
400
|
/** Updated Git repository URL. If changed, auth must also be provided. */
|
|
388
|
-
url?: string;
|
|
401
|
+
url?: string | undefined;
|
|
389
402
|
}
|
|
390
403
|
/** Bundle type identifier -- must match the existing bundle's type. */
|
|
391
404
|
export type UpdateS3DagBundlePayloadType = "s3";
|
|
392
405
|
/** Partial update payload for an S3 DAG bundle. All fields except "type" are optional; only the provided fields will be updated. */
|
|
393
406
|
export interface UpdateS3DagBundlePayload {
|
|
394
407
|
/** Updated S3 bucket name. If changed, s3Auth must also be provided. */
|
|
395
|
-
bucketName?: string;
|
|
408
|
+
bucketName?: string | undefined;
|
|
396
409
|
/** Updated S3-compatible endpoint URL. If changed, s3Auth must also be provided. */
|
|
397
|
-
endpoint?: string;
|
|
410
|
+
endpoint?: string | undefined;
|
|
398
411
|
/** Updated key prefix within the bucket. */
|
|
399
|
-
prefix?: string;
|
|
412
|
+
prefix?: string | undefined;
|
|
400
413
|
/** Updated refresh interval in seconds. */
|
|
401
|
-
refreshInterval?: number;
|
|
402
|
-
s3Auth?: S3Auth;
|
|
414
|
+
refreshInterval?: number | undefined;
|
|
415
|
+
s3Auth?: S3Auth | undefined;
|
|
403
416
|
/** Bundle type identifier -- must match the existing bundle's type. */
|
|
404
417
|
type: UpdateS3DagBundlePayloadType;
|
|
405
418
|
}
|
|
@@ -424,32 +437,32 @@ export interface UpdateDagsRepositoryRequest {
|
|
|
424
437
|
regionId: string;
|
|
425
438
|
/** The STACKIT Workflows instance UUID. */
|
|
426
439
|
instanceId: string;
|
|
427
|
-
auth?: GitAuth;
|
|
440
|
+
auth?: GitAuth | undefined;
|
|
428
441
|
/** The branch in the repository to use */
|
|
429
|
-
branch?: string;
|
|
442
|
+
branch?: string | undefined;
|
|
430
443
|
/** The URL of the Git repository. */
|
|
431
|
-
url?: string;
|
|
444
|
+
url?: string | undefined;
|
|
432
445
|
}
|
|
433
446
|
/** Updated expected audience(s) for API token validation. Set to empty array to disable audience validation. */
|
|
434
447
|
export type OAuth2IdentityProviderPatchApiAudienceList = Array<string>;
|
|
435
448
|
/** Request to update an OAuth2 identity provider configuration */
|
|
436
449
|
export interface OAuth2IdentityProviderPatch {
|
|
437
450
|
/** Updated expected audience(s) for API token validation. Set to empty array to disable audience validation. */
|
|
438
|
-
apiAudience?: OAuth2IdentityProviderPatchApiAudienceList;
|
|
451
|
+
apiAudience?: OAuth2IdentityProviderPatchApiAudienceList | undefined;
|
|
439
452
|
/** Updated client id of the STACKIT Workflows application in the identity provider. If changed, requires to also set the client secret. */
|
|
440
|
-
clientId?: string;
|
|
453
|
+
clientId?: string | undefined;
|
|
441
454
|
/** Updated client secret of the STACKIT Workflows application in the identity provider. */
|
|
442
|
-
clientSecret?: string | Redacted.Redacted<string
|
|
455
|
+
clientSecret?: string | Redacted.Redacted<string> | undefined;
|
|
443
456
|
/** Updated discovery endpoint of the OAuth2 identity provider. If changed, requires to also set the client id and client secret. */
|
|
444
|
-
discoveryEndpoint?: string;
|
|
457
|
+
discoveryEndpoint?: string | undefined;
|
|
445
458
|
/** Updated name of the OAuth2 identity provider. */
|
|
446
|
-
name?: string;
|
|
459
|
+
name?: string | undefined;
|
|
447
460
|
/** Updated RFC 8707 resource parameter. Set to empty string to remove the resource parameter. */
|
|
448
|
-
resource?: string;
|
|
461
|
+
resource?: string | undefined;
|
|
449
462
|
/** Updated dot-separated path to extract roles from JWT claims. Set to empty string to use provider-specific defaults. */
|
|
450
|
-
rolesClaim?: string;
|
|
463
|
+
rolesClaim?: string | undefined;
|
|
451
464
|
/** Updated scopes to request for Authorization Code Flows. (UI login) */
|
|
452
|
-
scope?: string;
|
|
465
|
+
scope?: string | undefined;
|
|
453
466
|
}
|
|
454
467
|
/** Request to update an identity provider configuration */
|
|
455
468
|
export type UpdateIdentityProviderPayload = StackITIdentityProvider | OAuth2IdentityProviderPatch;
|
|
@@ -470,15 +483,15 @@ export interface UpdateInstanceRequest {
|
|
|
470
483
|
/** The STACKIT Workflows instance UUID. */
|
|
471
484
|
instanceId: string;
|
|
472
485
|
/** A user chosen description to distinguish multiple STACKIT Workflows instances. If not provided, the description won't be updated. Set to empty string to remove the description. */
|
|
473
|
-
description?: string;
|
|
486
|
+
description?: string | undefined;
|
|
474
487
|
/** The displayed name to distinguish multiple STACKIT Workflows instances. If not provided, the display name won't be updated. */
|
|
475
|
-
displayName?: string;
|
|
488
|
+
displayName?: string | undefined;
|
|
476
489
|
/** Whether to enable the Airflow built-in example DAGs in this instance. Maps to airflow.config.core.load_examples in the Helm chart. Only supported for Airflow 3 instances. If not provided, the setting won't be updated. */
|
|
477
|
-
enableAirflowExampleDags?: boolean;
|
|
490
|
+
enableAirflowExampleDags?: boolean | undefined;
|
|
478
491
|
/** Whether to include the STACKIT sample DAGs in this instance. Only supported for Airflow 3 instances. If not provided, the setting won't be updated. */
|
|
479
|
-
enableStackitExampleDags?: boolean;
|
|
492
|
+
enableStackitExampleDags?: boolean | undefined;
|
|
480
493
|
/** The STACKIT Workflows version to use. For valid versions please take a look at [provider-options](#tag/provider-options/operation/get-provider-options) If not provided, the version won't be updated. */
|
|
481
|
-
version?: string;
|
|
494
|
+
version?: string | undefined;
|
|
482
495
|
}
|
|
483
496
|
export interface UpdateObservabilityRequest {
|
|
484
497
|
/** The STACKIT portal project UUID the STACKIT Workflows instance is part of. */
|
|
@@ -488,7 +501,7 @@ export interface UpdateObservabilityRequest {
|
|
|
488
501
|
/** The STACKIT Workflows instance UUID. */
|
|
489
502
|
instanceId: string;
|
|
490
503
|
/** Unique identifier of the customer's observability instance. */
|
|
491
|
-
observabilityId?: string;
|
|
504
|
+
observabilityId?: string | undefined;
|
|
492
505
|
}
|
|
493
506
|
export type CreateDagBundleError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
494
507
|
/** Adds a new DAG bundle to this STACKIT Workflows instance. Only supported for Airflow 3 instances. Maximum 10 bundles per instance. */
|
|
@@ -503,6 +516,8 @@ export const createDagBundle: API.OperationMethod<
|
|
|
503
516
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
504
517
|
protocol: StackitProtocol,
|
|
505
518
|
retry: Retry.Retry,
|
|
519
|
+
telemetry: TELEMETRY,
|
|
520
|
+
span: "CreateDagBundle",
|
|
506
521
|
}));
|
|
507
522
|
|
|
508
523
|
export type CreateInstanceError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -518,6 +533,8 @@ export const createInstance: API.OperationMethod<
|
|
|
518
533
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
519
534
|
protocol: StackitProtocol,
|
|
520
535
|
retry: Retry.Retry,
|
|
536
|
+
telemetry: TELEMETRY,
|
|
537
|
+
span: "CreateInstance",
|
|
521
538
|
}));
|
|
522
539
|
|
|
523
540
|
export type DeleteDagBundleError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
@@ -533,6 +550,8 @@ export const deleteDagBundle: API.OperationMethod<
|
|
|
533
550
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
534
551
|
protocol: StackitProtocol,
|
|
535
552
|
retry: Retry.Retry,
|
|
553
|
+
telemetry: TELEMETRY,
|
|
554
|
+
span: "DeleteDagBundle",
|
|
536
555
|
}));
|
|
537
556
|
|
|
538
557
|
export type DeleteInstanceError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
@@ -548,6 +567,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
548
567
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
549
568
|
protocol: StackitProtocol,
|
|
550
569
|
retry: Retry.Retry,
|
|
570
|
+
telemetry: TELEMETRY,
|
|
571
|
+
span: "DeleteInstance",
|
|
551
572
|
}));
|
|
552
573
|
|
|
553
574
|
export type GetDagBundleError = Forbidden | NotFound | StackitOpError;
|
|
@@ -563,6 +584,8 @@ export const getDagBundle: API.OperationMethod<
|
|
|
563
584
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
564
585
|
protocol: StackitProtocol,
|
|
565
586
|
retry: Retry.Retry,
|
|
587
|
+
telemetry: TELEMETRY,
|
|
588
|
+
span: "GetDagBundle",
|
|
566
589
|
}));
|
|
567
590
|
|
|
568
591
|
export type GetInstanceError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -578,6 +601,8 @@ export const getInstance: API.OperationMethod<
|
|
|
578
601
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
579
602
|
protocol: StackitProtocol,
|
|
580
603
|
retry: Retry.Retry,
|
|
604
|
+
telemetry: TELEMETRY,
|
|
605
|
+
span: "GetInstance",
|
|
581
606
|
}));
|
|
582
607
|
|
|
583
608
|
export type GetProviderOptionsError = BadRequest | StackitOpError;
|
|
@@ -593,6 +618,8 @@ export const getProviderOptions: API.OperationMethod<
|
|
|
593
618
|
errors: [BadRequest, UnknownStackitError],
|
|
594
619
|
protocol: StackitProtocol,
|
|
595
620
|
retry: Retry.Retry,
|
|
621
|
+
telemetry: TELEMETRY,
|
|
622
|
+
span: "GetProviderOptions",
|
|
596
623
|
}));
|
|
597
624
|
|
|
598
625
|
export type ListDagBundlesError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -608,6 +635,8 @@ export const listDagBundles: API.OperationMethod<
|
|
|
608
635
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
609
636
|
protocol: StackitProtocol,
|
|
610
637
|
retry: Retry.Retry,
|
|
638
|
+
telemetry: TELEMETRY,
|
|
639
|
+
span: "ListDagBundles",
|
|
611
640
|
}));
|
|
612
641
|
|
|
613
642
|
export type ListInstancesError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -623,6 +652,8 @@ export const listInstances: API.OperationMethod<
|
|
|
623
652
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
624
653
|
protocol: StackitProtocol,
|
|
625
654
|
retry: Retry.Retry,
|
|
655
|
+
telemetry: TELEMETRY,
|
|
656
|
+
span: "ListInstances",
|
|
626
657
|
}));
|
|
627
658
|
|
|
628
659
|
export type UpdateDagBundleError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -638,6 +669,8 @@ export const updateDagBundle: API.OperationMethod<
|
|
|
638
669
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
639
670
|
protocol: StackitProtocol,
|
|
640
671
|
retry: Retry.Retry,
|
|
672
|
+
telemetry: TELEMETRY,
|
|
673
|
+
span: "UpdateDagBundle",
|
|
641
674
|
}));
|
|
642
675
|
|
|
643
676
|
export type UpdateDagsRepositoryError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -653,6 +686,8 @@ export const updateDagsRepository: API.OperationMethod<
|
|
|
653
686
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
654
687
|
protocol: StackitProtocol,
|
|
655
688
|
retry: Retry.Retry,
|
|
689
|
+
telemetry: TELEMETRY,
|
|
690
|
+
span: "UpdateDagsRepository",
|
|
656
691
|
}));
|
|
657
692
|
|
|
658
693
|
export type UpdateIdentityProviderError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -668,6 +703,8 @@ export const updateIdentityProvider: API.OperationMethod<
|
|
|
668
703
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
669
704
|
protocol: StackitProtocol,
|
|
670
705
|
retry: Retry.Retry,
|
|
706
|
+
telemetry: TELEMETRY,
|
|
707
|
+
span: "UpdateIdentityProvider",
|
|
671
708
|
}));
|
|
672
709
|
|
|
673
710
|
export type UpdateInstanceError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
@@ -683,6 +720,8 @@ export const updateInstance: API.OperationMethod<
|
|
|
683
720
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
684
721
|
protocol: StackitProtocol,
|
|
685
722
|
retry: Retry.Retry,
|
|
723
|
+
telemetry: TELEMETRY,
|
|
724
|
+
span: "UpdateInstance",
|
|
686
725
|
}));
|
|
687
726
|
|
|
688
727
|
export type UpdateObservabilityError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -698,6 +737,8 @@ export const updateObservability: API.OperationMethod<
|
|
|
698
737
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
699
738
|
protocol: StackitProtocol,
|
|
700
739
|
retry: Retry.Retry,
|
|
740
|
+
telemetry: TELEMETRY,
|
|
741
|
+
span: "UpdateObservability",
|
|
701
742
|
}));
|
|
702
743
|
|
|
703
744
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|