@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
package/src/services/dremio.ts
CHANGED
|
@@ -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: "Dremio",
|
|
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", {
|
|
@@ -40,7 +53,18 @@ export class NotFound
|
|
|
40
53
|
[{ status: 404 }],
|
|
41
54
|
) {}
|
|
42
55
|
|
|
56
|
+
export class UnprocessableEntity
|
|
57
|
+
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
58
|
+
/*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
|
|
59
|
+
code: S.Number,
|
|
60
|
+
message: S.String,
|
|
61
|
+
}).pipe(C.withBadRequestError),
|
|
62
|
+
[{ status: 422 }],
|
|
63
|
+
) {}
|
|
64
|
+
|
|
43
65
|
export type CreateDremioInstanceRequestRegionId = "eu01" | "eu02";
|
|
66
|
+
/** The Access Control List (ACL) defining the IPv4 or IPv6 CIDR ranges allowed to connect to the Dremio instance. An empty list allows access from any address. Omitting this field on creation allows access from any address. Omitting it on update preserves the current list. Updates replace the entire list and take effect asynchronously. */
|
|
67
|
+
export type Acl = Array<string>;
|
|
44
68
|
/** Azure Active Directory authentication configuration. */
|
|
45
69
|
export interface AzureadInput {
|
|
46
70
|
/** The Azure AD authority URL. */
|
|
@@ -48,7 +72,7 @@ export interface AzureadInput {
|
|
|
48
72
|
/** The Azure AD client ID. */
|
|
49
73
|
clientId: string;
|
|
50
74
|
/** The Azure AD client secret. */
|
|
51
|
-
clientSecret?: string | Redacted.Redacted<string
|
|
75
|
+
clientSecret?: string | Redacted.Redacted<string> | undefined;
|
|
52
76
|
}
|
|
53
77
|
/** Maps fields from the JWT token to fields Dremio requires. */
|
|
54
78
|
export interface OauthInputJwtClaims {
|
|
@@ -68,19 +92,19 @@ export interface OauthInput {
|
|
|
68
92
|
/** The client ID assigned by the Identity Provider. */
|
|
69
93
|
clientId: string;
|
|
70
94
|
/** The client secret generated by the Identity Provider. */
|
|
71
|
-
clientSecret?: string | Redacted.Redacted<string
|
|
95
|
+
clientSecret?: string | Redacted.Redacted<string> | undefined;
|
|
72
96
|
/** Maps fields from the JWT token to fields Dremio requires. */
|
|
73
97
|
jwtClaims: OauthInputJwtClaims;
|
|
74
98
|
/** Any additional parameters the Identity Provider requires. */
|
|
75
|
-
parameters?: OauthInputParametersList;
|
|
99
|
+
parameters?: OauthInputParametersList | undefined;
|
|
76
100
|
/** A list of space-separated scopes. The `openid` scope is always required; other scopes can vary by provider. */
|
|
77
|
-
scope?: string;
|
|
101
|
+
scope?: string | undefined;
|
|
78
102
|
}
|
|
79
103
|
export type AuthenticationInputType = "local-only" | "azuread" | "oauth";
|
|
80
104
|
/** Dremio instance authentication settings. A change here triggers a Dremio restart and will incur downtime. */
|
|
81
105
|
export interface AuthenticationInput {
|
|
82
|
-
azuread?: AzureadInput;
|
|
83
|
-
oauth?: OauthInput;
|
|
106
|
+
azuread?: AzureadInput | undefined;
|
|
107
|
+
oauth?: OauthInput | undefined;
|
|
84
108
|
type: AuthenticationInputType | (string & {});
|
|
85
109
|
}
|
|
86
110
|
export interface CreateDremioInstanceRequest {
|
|
@@ -88,9 +112,10 @@ export interface CreateDremioInstanceRequest {
|
|
|
88
112
|
projectId: string;
|
|
89
113
|
/** The STACKIT region name the resource is located in. */
|
|
90
114
|
regionId: CreateDremioInstanceRequestRegionId | (string & {});
|
|
91
|
-
|
|
115
|
+
acl?: Acl | undefined;
|
|
116
|
+
authentication?: AuthenticationInput | undefined;
|
|
92
117
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
93
|
-
description?: string;
|
|
118
|
+
description?: string | undefined;
|
|
94
119
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
95
120
|
displayName: string;
|
|
96
121
|
}
|
|
@@ -101,7 +126,7 @@ export interface AzureadOutput {
|
|
|
101
126
|
/** The Azure AD client ID. */
|
|
102
127
|
clientId: string;
|
|
103
128
|
/** The Azure AD redirect URL. */
|
|
104
|
-
redirectUrl?: string;
|
|
129
|
+
redirectUrl?: string | undefined;
|
|
105
130
|
}
|
|
106
131
|
/** Maps fields from the JWT token to fields Dremio requires. */
|
|
107
132
|
export type OauthOutputJwtClaims = OauthInputJwtClaims;
|
|
@@ -116,17 +141,17 @@ export interface OauthOutput {
|
|
|
116
141
|
/** Maps fields from the JWT token to fields Dremio requires. */
|
|
117
142
|
jwtClaims: OauthInputJwtClaims;
|
|
118
143
|
/** Any additional parameters the Identity Provider requires. */
|
|
119
|
-
parameters?: OauthOutputParametersList;
|
|
144
|
+
parameters?: OauthOutputParametersList | undefined;
|
|
120
145
|
/** The URL where the Dremio instance is hosted. The URL must match the redirect URL set in the Identity Provider. */
|
|
121
|
-
redirectUrl?: string;
|
|
146
|
+
redirectUrl?: string | undefined;
|
|
122
147
|
/** A list of space-separated scopes. The `openid` scope is always required; other scopes can vary by provider. */
|
|
123
|
-
scope?: string;
|
|
148
|
+
scope?: string | undefined;
|
|
124
149
|
}
|
|
125
150
|
export type AuthenticationOutputType = "local-only" | "azuread" | "oauth";
|
|
126
151
|
/** Dremio instance authentication settings. A change here triggers a Dremio restart and will incur downtime. */
|
|
127
152
|
export interface AuthenticationOutput {
|
|
128
|
-
azuread?: AzureadOutput;
|
|
129
|
-
oauth?: OauthOutput;
|
|
153
|
+
azuread?: AzureadOutput | undefined;
|
|
154
|
+
oauth?: OauthOutput | undefined;
|
|
130
155
|
type: AuthenticationOutputType;
|
|
131
156
|
}
|
|
132
157
|
/** A collection of endpoints offered by the Dremio instance. */
|
|
@@ -141,16 +166,17 @@ export interface Endpoints {
|
|
|
141
166
|
/** The current state of the resource. */
|
|
142
167
|
export type DremioResponseOutputState = "reconciling" | "active" | "deleting" | "error";
|
|
143
168
|
export interface DremioResponseOutput {
|
|
169
|
+
acl: Acl;
|
|
144
170
|
authentication: AuthenticationOutput;
|
|
145
171
|
/** The point in time the resource was created. */
|
|
146
172
|
create_time: string;
|
|
147
173
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
148
|
-
description?: string;
|
|
174
|
+
description?: string | undefined;
|
|
149
175
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
150
176
|
displayName: string;
|
|
151
177
|
endpoints: Endpoints;
|
|
152
178
|
/** A message describing an actionable error the user can resolve. This field is empty if no such error exists. */
|
|
153
|
-
errorMessage?: string;
|
|
179
|
+
errorMessage?: string | undefined;
|
|
154
180
|
/** A auto generated unique id which identifies the resource. */
|
|
155
181
|
id: string;
|
|
156
182
|
/** The current state of the resource. */
|
|
@@ -165,7 +191,7 @@ export interface CreateDremioUserRequest {
|
|
|
165
191
|
/** The Dremio instance UUID. */
|
|
166
192
|
dremioId: string;
|
|
167
193
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
168
|
-
description?: string;
|
|
194
|
+
description?: string | undefined;
|
|
169
195
|
/** This is the admin user's email address. */
|
|
170
196
|
email: string;
|
|
171
197
|
/** This is the admin user's first name. */
|
|
@@ -181,13 +207,13 @@ export interface CreateDremioUserRequest {
|
|
|
181
207
|
export type DremioUserResponseState = "reconciling" | "active" | "deleting" | "error";
|
|
182
208
|
export interface DremioUserResponse {
|
|
183
209
|
/** The point in time the resource was created. */
|
|
184
|
-
create_time?: string;
|
|
210
|
+
create_time?: string | undefined;
|
|
185
211
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
186
|
-
description?: string;
|
|
212
|
+
description?: string | undefined;
|
|
187
213
|
/** This is the admin user's email address. */
|
|
188
214
|
email: string;
|
|
189
215
|
/** A message describing an actionable error the user can resolve. This field is empty if no such error exists. */
|
|
190
|
-
errorMessage?: string;
|
|
216
|
+
errorMessage?: string | undefined;
|
|
191
217
|
/** This is the admin user's first name. */
|
|
192
218
|
firstName: string;
|
|
193
219
|
/** A auto generated unique id which identifies the resource. */
|
|
@@ -248,15 +274,15 @@ export interface ListDremioInstancesRequest {
|
|
|
248
274
|
/** The STACKIT region name the resource is located in. */
|
|
249
275
|
regionId: ListDremioInstancesRequestRegionId | (string & {});
|
|
250
276
|
/** A token to retrieve the next page of results. */
|
|
251
|
-
pageToken?: string;
|
|
277
|
+
pageToken?: string | undefined;
|
|
252
278
|
/** Maximum number of items to return. */
|
|
253
|
-
pageSize?: number;
|
|
279
|
+
pageSize?: number | undefined;
|
|
254
280
|
}
|
|
255
281
|
export type ListDremiosResponseOutputDremiosList = Array<DremioResponseOutput>;
|
|
256
282
|
export interface ListDremiosResponseOutput {
|
|
257
283
|
dremios: ListDremiosResponseOutputDremiosList;
|
|
258
284
|
/** A token to retrieve the next page of results. */
|
|
259
|
-
nextPageToken?: string;
|
|
285
|
+
nextPageToken?: string | undefined;
|
|
260
286
|
}
|
|
261
287
|
export type ListDremioUsersRequestRegionId = "eu01" | "eu02";
|
|
262
288
|
export interface ListDremioUsersRequest {
|
|
@@ -267,15 +293,15 @@ export interface ListDremioUsersRequest {
|
|
|
267
293
|
/** The Dremio instance UUID. */
|
|
268
294
|
dremioId: string;
|
|
269
295
|
/** A token to retrieve the next page of results. */
|
|
270
|
-
pageToken?: string;
|
|
296
|
+
pageToken?: string | undefined;
|
|
271
297
|
/** Maximum number of items to return. */
|
|
272
|
-
pageSize?: number;
|
|
298
|
+
pageSize?: number | undefined;
|
|
273
299
|
}
|
|
274
300
|
export type ListDremioUsersResponseDremioUsersList = Array<DremioUserResponse>;
|
|
275
301
|
export interface ListDremioUsersResponse {
|
|
276
302
|
dremioUsers: ListDremioUsersResponseDremioUsersList;
|
|
277
303
|
/** A token to retrieve the next page of results. */
|
|
278
|
-
nextPageToken?: string;
|
|
304
|
+
nextPageToken?: string | undefined;
|
|
279
305
|
}
|
|
280
306
|
export type UpdateDremioInstanceRequestRegionId = "eu01" | "eu02";
|
|
281
307
|
export interface UpdateDremioInstanceRequest {
|
|
@@ -285,13 +311,18 @@ export interface UpdateDremioInstanceRequest {
|
|
|
285
311
|
regionId: UpdateDremioInstanceRequestRegionId | (string & {});
|
|
286
312
|
/** The Dremio instance UUID. */
|
|
287
313
|
dremioId: string;
|
|
288
|
-
|
|
314
|
+
acl?: Acl | undefined;
|
|
315
|
+
authentication?: AuthenticationInput | undefined;
|
|
289
316
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
290
|
-
description?: string;
|
|
317
|
+
description?: string | undefined;
|
|
291
318
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
292
|
-
displayName?: string;
|
|
319
|
+
displayName?: string | undefined;
|
|
293
320
|
}
|
|
294
|
-
export type CreateDremioInstanceError =
|
|
321
|
+
export type CreateDremioInstanceError =
|
|
322
|
+
| BadRequest
|
|
323
|
+
| Conflict
|
|
324
|
+
| UnprocessableEntity
|
|
325
|
+
| StackitOpError;
|
|
295
326
|
/** Creates a new Dremio instance within the project. */
|
|
296
327
|
export const createDremioInstance: API.OperationMethod<
|
|
297
328
|
CreateDremioInstanceRequest,
|
|
@@ -299,14 +330,16 @@ export const createDremioInstance: API.OperationMethod<
|
|
|
299
330
|
CreateDremioInstanceError,
|
|
300
331
|
StackitOpContext
|
|
301
332
|
> = /*@__PURE__*/ API.make(() => ({
|
|
302
|
-
input: __S(
|
|
303
|
-
output: __S(
|
|
304
|
-
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
333
|
+
input: __S(48, __c3, 0) as any as S.Schema<CreateDremioInstanceRequest>,
|
|
334
|
+
output: __S(88, __c5, 8) as any as S.Schema<DremioResponseOutput>,
|
|
335
|
+
errors: [BadRequest, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
305
336
|
protocol: StackitProtocol,
|
|
306
337
|
retry: Retry.Retry,
|
|
338
|
+
telemetry: TELEMETRY,
|
|
339
|
+
span: "CreateDremioInstance",
|
|
307
340
|
}));
|
|
308
341
|
|
|
309
|
-
export type CreateDremioUserError = BadRequest | Conflict | StackitOpError;
|
|
342
|
+
export type CreateDremioUserError = BadRequest | Conflict | UnprocessableEntity | StackitOpError;
|
|
310
343
|
/** Creates a new Dremio admin user for the given Dremio instance. */
|
|
311
344
|
export const createDremioUser: API.OperationMethod<
|
|
312
345
|
CreateDremioUserRequest,
|
|
@@ -314,14 +347,21 @@ export const createDremioUser: API.OperationMethod<
|
|
|
314
347
|
CreateDremioUserError,
|
|
315
348
|
StackitOpContext
|
|
316
349
|
> = /*@__PURE__*/ API.make(() => ({
|
|
317
|
-
input: __S(
|
|
318
|
-
output: __S(
|
|
319
|
-
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
350
|
+
input: __S(96, __c6, 0) as any as S.Schema<CreateDremioUserRequest>,
|
|
351
|
+
output: __S(112, __c7, 0) as any as S.Schema<DremioUserResponse>,
|
|
352
|
+
errors: [BadRequest, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
320
353
|
protocol: StackitProtocol,
|
|
321
354
|
retry: Retry.Retry,
|
|
355
|
+
telemetry: TELEMETRY,
|
|
356
|
+
span: "CreateDremioUser",
|
|
322
357
|
}));
|
|
323
358
|
|
|
324
|
-
export type DeleteDremioInstanceError =
|
|
359
|
+
export type DeleteDremioInstanceError =
|
|
360
|
+
| BadRequest
|
|
361
|
+
| NotFound
|
|
362
|
+
| Conflict
|
|
363
|
+
| UnprocessableEntity
|
|
364
|
+
| StackitOpError;
|
|
325
365
|
/** Deletes the given Dremio instance. */
|
|
326
366
|
export const deleteDremioInstance: API.OperationMethod<
|
|
327
367
|
DeleteDremioInstanceRequest,
|
|
@@ -329,14 +369,21 @@ export const deleteDremioInstance: API.OperationMethod<
|
|
|
329
369
|
DeleteDremioInstanceError,
|
|
330
370
|
StackitOpContext
|
|
331
371
|
> = /*@__PURE__*/ API.make(() => ({
|
|
332
|
-
input: __S(
|
|
333
|
-
output: __S(
|
|
334
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
372
|
+
input: __S(128, __c8, 0) as any as S.Schema<DeleteDremioInstanceRequest>,
|
|
373
|
+
output: __S(144, __c9, 0) as any as S.Schema<DeleteDremioInstanceResponse>,
|
|
374
|
+
errors: [BadRequest, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
335
375
|
protocol: StackitProtocol,
|
|
336
376
|
retry: Retry.Retry,
|
|
377
|
+
telemetry: TELEMETRY,
|
|
378
|
+
span: "DeleteDremioInstance",
|
|
337
379
|
}));
|
|
338
380
|
|
|
339
|
-
export type DeleteDremioUserError =
|
|
381
|
+
export type DeleteDremioUserError =
|
|
382
|
+
| BadRequest
|
|
383
|
+
| NotFound
|
|
384
|
+
| Conflict
|
|
385
|
+
| UnprocessableEntity
|
|
386
|
+
| StackitOpError;
|
|
340
387
|
/** Deletes the given dremio admin user. */
|
|
341
388
|
export const deleteDremioUser: API.OperationMethod<
|
|
342
389
|
DeleteDremioUserRequest,
|
|
@@ -344,11 +391,13 @@ export const deleteDremioUser: API.OperationMethod<
|
|
|
344
391
|
DeleteDremioUserError,
|
|
345
392
|
StackitOpContext
|
|
346
393
|
> = /*@__PURE__*/ API.make(() => ({
|
|
347
|
-
input: __S(
|
|
348
|
-
output: __S(
|
|
349
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
394
|
+
input: __S(160, __c10, 0) as any as S.Schema<DeleteDremioUserRequest>,
|
|
395
|
+
output: __S(144, __c9, 0) as any as S.Schema<DeleteDremioUserResponse>,
|
|
396
|
+
errors: [BadRequest, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
350
397
|
protocol: StackitProtocol,
|
|
351
398
|
retry: Retry.Retry,
|
|
399
|
+
telemetry: TELEMETRY,
|
|
400
|
+
span: "DeleteDremioUser",
|
|
352
401
|
}));
|
|
353
402
|
|
|
354
403
|
export type GetDremioInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -359,11 +408,13 @@ export const getDremioInstance: API.OperationMethod<
|
|
|
359
408
|
GetDremioInstanceError,
|
|
360
409
|
StackitOpContext
|
|
361
410
|
> = /*@__PURE__*/ API.make(() => ({
|
|
362
|
-
input: __S(
|
|
363
|
-
output: __S(
|
|
411
|
+
input: __S(176, __c11, 0) as any as S.Schema<GetDremioInstanceRequest>,
|
|
412
|
+
output: __S(88, __c5, 8) as any as S.Schema<DremioResponseOutput>,
|
|
364
413
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
365
414
|
protocol: StackitProtocol,
|
|
366
415
|
retry: Retry.Retry,
|
|
416
|
+
telemetry: TELEMETRY,
|
|
417
|
+
span: "GetDremioInstance",
|
|
367
418
|
}));
|
|
368
419
|
|
|
369
420
|
export type GetDremioUserError = BadRequest | NotFound | StackitOpError;
|
|
@@ -374,11 +425,13 @@ export const getDremioUser: API.OperationMethod<
|
|
|
374
425
|
GetDremioUserError,
|
|
375
426
|
StackitOpContext
|
|
376
427
|
> = /*@__PURE__*/ API.make(() => ({
|
|
377
|
-
input: __S(
|
|
378
|
-
output: __S(
|
|
428
|
+
input: __S(192, __c12, 0) as any as S.Schema<GetDremioUserRequest>,
|
|
429
|
+
output: __S(112, __c7, 0) as any as S.Schema<DremioUserResponse>,
|
|
379
430
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
380
431
|
protocol: StackitProtocol,
|
|
381
432
|
retry: Retry.Retry,
|
|
433
|
+
telemetry: TELEMETRY,
|
|
434
|
+
span: "GetDremioUser",
|
|
382
435
|
}));
|
|
383
436
|
|
|
384
437
|
export type ListDremioInstancesError = BadRequest | StackitOpError;
|
|
@@ -389,11 +442,13 @@ export const listDremioInstances: API.OperationMethod<
|
|
|
389
442
|
ListDremioInstancesError,
|
|
390
443
|
StackitOpContext
|
|
391
444
|
> = /*@__PURE__*/ API.make(() => ({
|
|
392
|
-
input: __S(
|
|
393
|
-
output: __S(
|
|
445
|
+
input: __S(0, __c0, 0) as any as S.Schema<ListDremioInstancesRequest>,
|
|
446
|
+
output: __S(2, __c0, 2) as any as S.Schema<ListDremiosResponseOutput>,
|
|
394
447
|
errors: [BadRequest, UnknownStackitError],
|
|
395
448
|
protocol: StackitProtocol,
|
|
396
449
|
retry: Retry.Retry,
|
|
450
|
+
telemetry: TELEMETRY,
|
|
451
|
+
span: "ListDremioInstances",
|
|
397
452
|
}));
|
|
398
453
|
|
|
399
454
|
export type ListDremioUsersError = BadRequest | StackitOpError;
|
|
@@ -404,14 +459,21 @@ export const listDremioUsers: API.OperationMethod<
|
|
|
404
459
|
ListDremioUsersError,
|
|
405
460
|
StackitOpContext
|
|
406
461
|
> = /*@__PURE__*/ API.make(() => ({
|
|
407
|
-
input: __S(
|
|
408
|
-
output: __S(
|
|
462
|
+
input: __S(16, __c1, 0) as any as S.Schema<ListDremioUsersRequest>,
|
|
463
|
+
output: __S(18, __c1, 2) as any as S.Schema<ListDremioUsersResponse>,
|
|
409
464
|
errors: [BadRequest, UnknownStackitError],
|
|
410
465
|
protocol: StackitProtocol,
|
|
411
466
|
retry: Retry.Retry,
|
|
467
|
+
telemetry: TELEMETRY,
|
|
468
|
+
span: "ListDremioUsers",
|
|
412
469
|
}));
|
|
413
470
|
|
|
414
|
-
export type UpdateDremioInstanceError =
|
|
471
|
+
export type UpdateDremioInstanceError =
|
|
472
|
+
| BadRequest
|
|
473
|
+
| NotFound
|
|
474
|
+
| Conflict
|
|
475
|
+
| UnprocessableEntity
|
|
476
|
+
| StackitOpError;
|
|
415
477
|
/** Updates the given Dremio instance. Please note that changing certain fields will trigger a Dremio restart and will incur downtime. See the request body information for more details. */
|
|
416
478
|
export const updateDremioInstance: API.OperationMethod<
|
|
417
479
|
UpdateDremioInstanceRequest,
|
|
@@ -419,15 +481,46 @@ export const updateDremioInstance: API.OperationMethod<
|
|
|
419
481
|
UpdateDremioInstanceError,
|
|
420
482
|
StackitOpContext
|
|
421
483
|
> = /*@__PURE__*/ API.make(() => ({
|
|
422
|
-
input: __S(
|
|
423
|
-
output: __S(
|
|
424
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
484
|
+
input: __S(32, __c2, 0) as any as S.Schema<UpdateDremioInstanceRequest>,
|
|
485
|
+
output: __S(88, __c5, 8) as any as S.Schema<DremioResponseOutput>,
|
|
486
|
+
errors: [BadRequest, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
425
487
|
protocol: StackitProtocol,
|
|
426
488
|
retry: Retry.Retry,
|
|
489
|
+
telemetry: TELEMETRY,
|
|
490
|
+
span: "UpdateDremioInstance",
|
|
427
491
|
}));
|
|
428
492
|
|
|
429
493
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
430
494
|
function __c0(j: number): any {
|
|
495
|
+
switch (j) {
|
|
496
|
+
case 0:
|
|
497
|
+
return S.suspend(() =>
|
|
498
|
+
S.Struct({
|
|
499
|
+
projectId: S.String.pipe(T.Label()),
|
|
500
|
+
regionId: S.String.pipe(T.Label()),
|
|
501
|
+
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
502
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
503
|
+
}).pipe(
|
|
504
|
+
T.Http({
|
|
505
|
+
method: "GET",
|
|
506
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/dremios",
|
|
507
|
+
code: 200,
|
|
508
|
+
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
509
|
+
}),
|
|
510
|
+
),
|
|
511
|
+
).annotate({ identifier: "ListDremioInstancesRequest" });
|
|
512
|
+
case 1:
|
|
513
|
+
return S.Array(__S(88, __c5, 8));
|
|
514
|
+
case 2:
|
|
515
|
+
return S.suspend(() =>
|
|
516
|
+
S.Struct({
|
|
517
|
+
dremios: __S(1, __c0, 1),
|
|
518
|
+
nextPageToken: S.optional(S.String),
|
|
519
|
+
}),
|
|
520
|
+
).annotate({ identifier: "ListDremiosResponseOutput" });
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
function __c1(j: number): any {
|
|
431
524
|
switch (j) {
|
|
432
525
|
case 0:
|
|
433
526
|
return S.suspend(() =>
|
|
@@ -447,17 +540,17 @@ function __c0(j: number): any {
|
|
|
447
540
|
),
|
|
448
541
|
).annotate({ identifier: "ListDremioUsersRequest" });
|
|
449
542
|
case 1:
|
|
450
|
-
return S.Array(__S(
|
|
543
|
+
return S.Array(__S(112, __c7, 0));
|
|
451
544
|
case 2:
|
|
452
545
|
return S.suspend(() =>
|
|
453
546
|
S.Struct({
|
|
454
|
-
dremioUsers: __S(
|
|
547
|
+
dremioUsers: __S(17, __c1, 1),
|
|
455
548
|
nextPageToken: S.optional(S.String),
|
|
456
549
|
}),
|
|
457
550
|
).annotate({ identifier: "ListDremioUsersResponse" });
|
|
458
551
|
}
|
|
459
552
|
}
|
|
460
|
-
function
|
|
553
|
+
function __c2(j: number): any {
|
|
461
554
|
switch (j) {
|
|
462
555
|
case 0:
|
|
463
556
|
return S.suspend(() =>
|
|
@@ -465,7 +558,8 @@ function __c1(j: number): any {
|
|
|
465
558
|
projectId: S.String.pipe(T.Label()),
|
|
466
559
|
regionId: S.String.pipe(T.Label()),
|
|
467
560
|
dremioId: S.String.pipe(T.Label()),
|
|
468
|
-
|
|
561
|
+
acl: S.optional(__S(80, __c5, 0)),
|
|
562
|
+
authentication: S.optional(__S(66, __c4, 2)),
|
|
469
563
|
description: S.optional(S.String),
|
|
470
564
|
displayName: S.optional(S.String),
|
|
471
565
|
}).pipe(
|
|
@@ -479,14 +573,15 @@ function __c1(j: number): any {
|
|
|
479
573
|
).annotate({ identifier: "UpdateDremioInstanceRequest" });
|
|
480
574
|
}
|
|
481
575
|
}
|
|
482
|
-
function
|
|
576
|
+
function __c3(j: number): any {
|
|
483
577
|
switch (j) {
|
|
484
578
|
case 0:
|
|
485
579
|
return S.suspend(() =>
|
|
486
580
|
S.Struct({
|
|
487
581
|
projectId: S.String.pipe(T.Label()),
|
|
488
582
|
regionId: S.String.pipe(T.Label()),
|
|
489
|
-
|
|
583
|
+
acl: S.optional(__S(80, __c5, 0)),
|
|
584
|
+
authentication: S.optional(__S(66, __c4, 2)),
|
|
490
585
|
description: S.optional(S.String),
|
|
491
586
|
displayName: S.String,
|
|
492
587
|
}).pipe(
|
|
@@ -500,7 +595,7 @@ function __c2(j: number): any {
|
|
|
500
595
|
).annotate({ identifier: "CreateDremioInstanceRequest" });
|
|
501
596
|
}
|
|
502
597
|
}
|
|
503
|
-
function
|
|
598
|
+
function __c4(j: number): any {
|
|
504
599
|
switch (j) {
|
|
505
600
|
case 0:
|
|
506
601
|
return S.suspend(() =>
|
|
@@ -516,39 +611,41 @@ function __c3(j: number): any {
|
|
|
516
611
|
authorityUrl: S.String,
|
|
517
612
|
clientId: S.String,
|
|
518
613
|
clientSecret: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
519
|
-
jwtClaims: __S(
|
|
520
|
-
parameters: S.optional(__S(
|
|
614
|
+
jwtClaims: __S(81, __c5, 1),
|
|
615
|
+
parameters: S.optional(__S(83, __c5, 3)),
|
|
521
616
|
scope: S.optional(S.String),
|
|
522
617
|
}),
|
|
523
618
|
).annotate({ identifier: "OauthInput" });
|
|
524
619
|
case 2:
|
|
525
620
|
return S.suspend(() =>
|
|
526
621
|
S.Struct({
|
|
527
|
-
azuread: S.optional(__S(
|
|
528
|
-
oauth: S.optional(__S(
|
|
622
|
+
azuread: S.optional(__S(64, __c4, 0)),
|
|
623
|
+
oauth: S.optional(__S(65, __c4, 1)),
|
|
529
624
|
type: S.String,
|
|
530
625
|
}),
|
|
531
626
|
).annotate({ identifier: "AuthenticationInput" });
|
|
532
627
|
}
|
|
533
628
|
}
|
|
534
|
-
function
|
|
629
|
+
function __c5(j: number): any {
|
|
535
630
|
switch (j) {
|
|
536
631
|
case 0:
|
|
632
|
+
return S.Array(S.String);
|
|
633
|
+
case 1:
|
|
537
634
|
return S.suspend(() =>
|
|
538
635
|
S.Struct({
|
|
539
636
|
userName: S.String,
|
|
540
637
|
}),
|
|
541
638
|
).annotate({ identifier: "OauthInputJwtClaims" });
|
|
542
|
-
case
|
|
639
|
+
case 2:
|
|
543
640
|
return S.suspend(() =>
|
|
544
641
|
S.Struct({
|
|
545
642
|
name: S.String,
|
|
546
643
|
value: S.String,
|
|
547
644
|
}),
|
|
548
645
|
).annotate({ identifier: "AuthParameters" });
|
|
549
|
-
case 2:
|
|
550
|
-
return S.Array(__S(33, __c4, 1));
|
|
551
646
|
case 3:
|
|
647
|
+
return S.Array(__S(82, __c5, 2));
|
|
648
|
+
case 4:
|
|
552
649
|
return S.suspend(() =>
|
|
553
650
|
S.Struct({
|
|
554
651
|
authorityUrl: S.String,
|
|
@@ -556,26 +653,26 @@ function __c4(j: number): any {
|
|
|
556
653
|
redirectUrl: S.optional(S.String),
|
|
557
654
|
}),
|
|
558
655
|
).annotate({ identifier: "AzureadOutput" });
|
|
559
|
-
case
|
|
656
|
+
case 5:
|
|
560
657
|
return S.suspend(() =>
|
|
561
658
|
S.Struct({
|
|
562
659
|
authorityUrl: S.String,
|
|
563
660
|
clientId: S.String,
|
|
564
|
-
jwtClaims: __S(
|
|
565
|
-
parameters: S.optional(__S(
|
|
661
|
+
jwtClaims: __S(81, __c5, 1),
|
|
662
|
+
parameters: S.optional(__S(83, __c5, 3)),
|
|
566
663
|
redirectUrl: S.optional(S.String),
|
|
567
664
|
scope: S.optional(S.String),
|
|
568
665
|
}),
|
|
569
666
|
).annotate({ identifier: "OauthOutput" });
|
|
570
|
-
case
|
|
667
|
+
case 6:
|
|
571
668
|
return S.suspend(() =>
|
|
572
669
|
S.Struct({
|
|
573
|
-
azuread: S.optional(__S(
|
|
574
|
-
oauth: S.optional(__S(
|
|
670
|
+
azuread: S.optional(__S(84, __c5, 4)),
|
|
671
|
+
oauth: S.optional(__S(85, __c5, 5)),
|
|
575
672
|
type: S.String,
|
|
576
673
|
}),
|
|
577
674
|
).annotate({ identifier: "AuthenticationOutput" });
|
|
578
|
-
case
|
|
675
|
+
case 7:
|
|
579
676
|
return S.suspend(() =>
|
|
580
677
|
S.Struct({
|
|
581
678
|
arrowFlight: S.String,
|
|
@@ -583,14 +680,15 @@ function __c4(j: number): any {
|
|
|
583
680
|
ui: S.String,
|
|
584
681
|
}),
|
|
585
682
|
).annotate({ identifier: "Endpoints" });
|
|
586
|
-
case
|
|
683
|
+
case 8:
|
|
587
684
|
return S.suspend(() =>
|
|
588
685
|
S.Struct({
|
|
589
|
-
|
|
686
|
+
acl: __S(80, __c5, 0),
|
|
687
|
+
authentication: __S(86, __c5, 6),
|
|
590
688
|
create_time: S.String,
|
|
591
689
|
description: S.optional(S.String),
|
|
592
690
|
displayName: S.String,
|
|
593
|
-
endpoints: __S(
|
|
691
|
+
endpoints: __S(87, __c5, 7),
|
|
594
692
|
errorMessage: S.optional(S.String),
|
|
595
693
|
id: S.String,
|
|
596
694
|
state: S.String,
|
|
@@ -598,7 +696,7 @@ function __c4(j: number): any {
|
|
|
598
696
|
).annotate({ identifier: "DremioResponseOutput" });
|
|
599
697
|
}
|
|
600
698
|
}
|
|
601
|
-
function
|
|
699
|
+
function __c6(j: number): any {
|
|
602
700
|
switch (j) {
|
|
603
701
|
case 0:
|
|
604
702
|
return S.suspend(() =>
|
|
@@ -623,7 +721,7 @@ function __c5(j: number): any {
|
|
|
623
721
|
).annotate({ identifier: "CreateDremioUserRequest" });
|
|
624
722
|
}
|
|
625
723
|
}
|
|
626
|
-
function
|
|
724
|
+
function __c7(j: number): any {
|
|
627
725
|
switch (j) {
|
|
628
726
|
case 0:
|
|
629
727
|
return S.suspend(() =>
|
|
@@ -641,7 +739,7 @@ function __c6(j: number): any {
|
|
|
641
739
|
).annotate({ identifier: "DremioUserResponse" });
|
|
642
740
|
}
|
|
643
741
|
}
|
|
644
|
-
function
|
|
742
|
+
function __c8(j: number): any {
|
|
645
743
|
switch (j) {
|
|
646
744
|
case 0:
|
|
647
745
|
return S.suspend(() =>
|
|
@@ -660,13 +758,13 @@ function __c7(j: number): any {
|
|
|
660
758
|
).annotate({ identifier: "DeleteDremioInstanceRequest" });
|
|
661
759
|
}
|
|
662
760
|
}
|
|
663
|
-
function
|
|
761
|
+
function __c9(j: number): any {
|
|
664
762
|
switch (j) {
|
|
665
763
|
case 0:
|
|
666
764
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteDremioInstanceResponse" });
|
|
667
765
|
}
|
|
668
766
|
}
|
|
669
|
-
function
|
|
767
|
+
function __c10(j: number): any {
|
|
670
768
|
switch (j) {
|
|
671
769
|
case 0:
|
|
672
770
|
return S.suspend(() =>
|
|
@@ -686,7 +784,7 @@ function __c9(j: number): any {
|
|
|
686
784
|
).annotate({ identifier: "DeleteDremioUserRequest" });
|
|
687
785
|
}
|
|
688
786
|
}
|
|
689
|
-
function
|
|
787
|
+
function __c11(j: number): any {
|
|
690
788
|
switch (j) {
|
|
691
789
|
case 0:
|
|
692
790
|
return S.suspend(() =>
|
|
@@ -705,7 +803,7 @@ function __c10(j: number): any {
|
|
|
705
803
|
).annotate({ identifier: "GetDremioInstanceRequest" });
|
|
706
804
|
}
|
|
707
805
|
}
|
|
708
|
-
function
|
|
806
|
+
function __c12(j: number): any {
|
|
709
807
|
switch (j) {
|
|
710
808
|
case 0:
|
|
711
809
|
return S.suspend(() =>
|
|
@@ -725,35 +823,6 @@ function __c11(j: number): any {
|
|
|
725
823
|
).annotate({ identifier: "GetDremioUserRequest" });
|
|
726
824
|
}
|
|
727
825
|
}
|
|
728
|
-
function __c12(j: number): any {
|
|
729
|
-
switch (j) {
|
|
730
|
-
case 0:
|
|
731
|
-
return S.suspend(() =>
|
|
732
|
-
S.Struct({
|
|
733
|
-
projectId: S.String.pipe(T.Label()),
|
|
734
|
-
regionId: S.String.pipe(T.Label()),
|
|
735
|
-
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
736
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
737
|
-
}).pipe(
|
|
738
|
-
T.Http({
|
|
739
|
-
method: "GET",
|
|
740
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/dremios",
|
|
741
|
-
code: 200,
|
|
742
|
-
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
743
|
-
}),
|
|
744
|
-
),
|
|
745
|
-
).annotate({ identifier: "ListDremioInstancesRequest" });
|
|
746
|
-
case 1:
|
|
747
|
-
return S.Array(__S(39, __c4, 7));
|
|
748
|
-
case 2:
|
|
749
|
-
return S.suspend(() =>
|
|
750
|
-
S.Struct({
|
|
751
|
-
dremios: __S(97, __c12, 1),
|
|
752
|
-
nextPageToken: S.optional(S.String),
|
|
753
|
-
}),
|
|
754
|
-
).annotate({ identifier: "ListDremiosResponseOutput" });
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
826
|
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
758
827
|
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
759
828
|
return (__s[i] ??= __L.at(f, j));
|