@distilled.cloud/stackit 1.0.0-rc.18 → 1.0.0-rc.20
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/errors.d.ts +5 -8
- package/lib/errors.d.ts.map +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +2 -1
- 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 +24 -24
- 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 +29 -29
- 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 +22 -22
- 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 +27 -27
- 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 -39
- 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 +23 -23
- 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 +24 -24
- 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 +37 -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 +179 -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 +25 -25
- 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 +37 -37
- 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 +25 -25
- 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 +34 -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 -33
- 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 +35 -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 +38 -38
- 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 +34 -34
- 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 +155 -155
- 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 +35 -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 +27 -27
- 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 -46
- 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 +33 -33
- 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 +36 -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 +32 -32
- 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 +31 -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 +36 -36
- 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 +39 -39
- 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 +25 -25
- 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 +26 -26
- 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 -45
- 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 +23 -23
- 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 +42 -42
- 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 +22 -22
- 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 -33
- 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 -28
- 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 +35 -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 +40 -40
- 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 +23 -23
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/automation.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/functions.js +2 -2
- 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/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/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/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/secrets_manager.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.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/package.json +5 -5
- package/src/errors.ts +5 -5
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +11 -10
- package/src/services/alb.ts +135 -132
- package/src/services/alb_waf.ts +51 -51
- package/src/services/authorization.ts +15 -15
- package/src/services/automation.ts +53 -49
- package/src/services/cdn.ts +129 -129
- package/src/services/certificates.ts +40 -40
- package/src/services/cost.ts +15 -15
- package/src/services/dns.ts +497 -269
- package/src/services/dremio.ts +156 -118
- package/src/services/edge.ts +21 -21
- package/src/services/functions.ts +176 -172
- package/src/services/git.ts +354 -108
- package/src/services/iaas.ts +438 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +58 -58
- package/src/services/kms.ts +13 -13
- package/src/services/lb_ip_lists.ts +14 -14
- package/src/services/load_balancer.ts +129 -126
- package/src/services/logme.ts +294 -122
- package/src/services/logs.ts +123 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +277 -105
- package/src/services/model_experiments.ts +33 -33
- package/src/services/model_serving.ts +25 -25
- package/src/services/mongodb_flex.ts +142 -137
- package/src/services/object_storage.ts +6 -6
- package/src/services/observability.ts +369 -362
- package/src/services/opensearch.ts +286 -114
- package/src/services/pim.ts +362 -278
- package/src/services/postgres_flex.ts +191 -179
- package/src/services/pubsub.ts +36 -36
- package/src/services/rabbitmq.ts +297 -125
- package/src/services/registry.ts +30 -26
- package/src/services/resource_manager.ts +57 -57
- package/src/services/run_command.ts +42 -42
- package/src/services/sca.ts +732 -371
- package/src/services/scf.ts +24 -24
- package/src/services/secrets_manager.ts +22 -22
- package/src/services/server_backup.ts +31 -31
- package/src/services/server_update.ts +17 -17
- package/src/services/service_account.ts +32 -30
- package/src/services/service_enablement.ts +28 -24
- package/src/services/sfs.ts +404 -395
- package/src/services/ske.ts +258 -228
- package/src/services/sqlserverflex.ts +47 -47
- package/src/services/stackit_marketplace.ts +39 -39
- package/src/services/telemetry_link.ts +136 -81
- package/src/services/telemetry_router.ts +283 -94
- package/src/services/ufw.ts +56 -54
- package/src/services/valkey.ts +290 -118
- package/src/services/vpn.ts +152 -142
- package/src/services/workflows.ts +65 -65
package/src/services/dremio.ts
CHANGED
|
@@ -53,7 +53,18 @@ export class NotFound
|
|
|
53
53
|
[{ status: 404 }],
|
|
54
54
|
) {}
|
|
55
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
|
+
|
|
56
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>;
|
|
57
68
|
/** Azure Active Directory authentication configuration. */
|
|
58
69
|
export interface AzureadInput {
|
|
59
70
|
/** The Azure AD authority URL. */
|
|
@@ -61,7 +72,7 @@ export interface AzureadInput {
|
|
|
61
72
|
/** The Azure AD client ID. */
|
|
62
73
|
clientId: string;
|
|
63
74
|
/** The Azure AD client secret. */
|
|
64
|
-
clientSecret?: string | Redacted.Redacted<string
|
|
75
|
+
clientSecret?: string | Redacted.Redacted<string> | undefined;
|
|
65
76
|
}
|
|
66
77
|
/** Maps fields from the JWT token to fields Dremio requires. */
|
|
67
78
|
export interface OauthInputJwtClaims {
|
|
@@ -81,19 +92,19 @@ export interface OauthInput {
|
|
|
81
92
|
/** The client ID assigned by the Identity Provider. */
|
|
82
93
|
clientId: string;
|
|
83
94
|
/** The client secret generated by the Identity Provider. */
|
|
84
|
-
clientSecret?: string | Redacted.Redacted<string
|
|
95
|
+
clientSecret?: string | Redacted.Redacted<string> | undefined;
|
|
85
96
|
/** Maps fields from the JWT token to fields Dremio requires. */
|
|
86
97
|
jwtClaims: OauthInputJwtClaims;
|
|
87
98
|
/** Any additional parameters the Identity Provider requires. */
|
|
88
|
-
parameters?: OauthInputParametersList;
|
|
99
|
+
parameters?: OauthInputParametersList | undefined;
|
|
89
100
|
/** A list of space-separated scopes. The `openid` scope is always required; other scopes can vary by provider. */
|
|
90
|
-
scope?: string;
|
|
101
|
+
scope?: string | undefined;
|
|
91
102
|
}
|
|
92
103
|
export type AuthenticationInputType = "local-only" | "azuread" | "oauth";
|
|
93
104
|
/** Dremio instance authentication settings. A change here triggers a Dremio restart and will incur downtime. */
|
|
94
105
|
export interface AuthenticationInput {
|
|
95
|
-
azuread?: AzureadInput;
|
|
96
|
-
oauth?: OauthInput;
|
|
106
|
+
azuread?: AzureadInput | undefined;
|
|
107
|
+
oauth?: OauthInput | undefined;
|
|
97
108
|
type: AuthenticationInputType | (string & {});
|
|
98
109
|
}
|
|
99
110
|
export interface CreateDremioInstanceRequest {
|
|
@@ -101,9 +112,10 @@ export interface CreateDremioInstanceRequest {
|
|
|
101
112
|
projectId: string;
|
|
102
113
|
/** The STACKIT region name the resource is located in. */
|
|
103
114
|
regionId: CreateDremioInstanceRequestRegionId | (string & {});
|
|
104
|
-
|
|
115
|
+
acl?: Acl | undefined;
|
|
116
|
+
authentication?: AuthenticationInput | undefined;
|
|
105
117
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
106
|
-
description?: string;
|
|
118
|
+
description?: string | undefined;
|
|
107
119
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
108
120
|
displayName: string;
|
|
109
121
|
}
|
|
@@ -114,7 +126,7 @@ export interface AzureadOutput {
|
|
|
114
126
|
/** The Azure AD client ID. */
|
|
115
127
|
clientId: string;
|
|
116
128
|
/** The Azure AD redirect URL. */
|
|
117
|
-
redirectUrl?: string;
|
|
129
|
+
redirectUrl?: string | undefined;
|
|
118
130
|
}
|
|
119
131
|
/** Maps fields from the JWT token to fields Dremio requires. */
|
|
120
132
|
export type OauthOutputJwtClaims = OauthInputJwtClaims;
|
|
@@ -129,17 +141,17 @@ export interface OauthOutput {
|
|
|
129
141
|
/** Maps fields from the JWT token to fields Dremio requires. */
|
|
130
142
|
jwtClaims: OauthInputJwtClaims;
|
|
131
143
|
/** Any additional parameters the Identity Provider requires. */
|
|
132
|
-
parameters?: OauthOutputParametersList;
|
|
144
|
+
parameters?: OauthOutputParametersList | undefined;
|
|
133
145
|
/** The URL where the Dremio instance is hosted. The URL must match the redirect URL set in the Identity Provider. */
|
|
134
|
-
redirectUrl?: string;
|
|
146
|
+
redirectUrl?: string | undefined;
|
|
135
147
|
/** A list of space-separated scopes. The `openid` scope is always required; other scopes can vary by provider. */
|
|
136
|
-
scope?: string;
|
|
148
|
+
scope?: string | undefined;
|
|
137
149
|
}
|
|
138
150
|
export type AuthenticationOutputType = "local-only" | "azuread" | "oauth";
|
|
139
151
|
/** Dremio instance authentication settings. A change here triggers a Dremio restart and will incur downtime. */
|
|
140
152
|
export interface AuthenticationOutput {
|
|
141
|
-
azuread?: AzureadOutput;
|
|
142
|
-
oauth?: OauthOutput;
|
|
153
|
+
azuread?: AzureadOutput | undefined;
|
|
154
|
+
oauth?: OauthOutput | undefined;
|
|
143
155
|
type: AuthenticationOutputType;
|
|
144
156
|
}
|
|
145
157
|
/** A collection of endpoints offered by the Dremio instance. */
|
|
@@ -154,16 +166,17 @@ export interface Endpoints {
|
|
|
154
166
|
/** The current state of the resource. */
|
|
155
167
|
export type DremioResponseOutputState = "reconciling" | "active" | "deleting" | "error";
|
|
156
168
|
export interface DremioResponseOutput {
|
|
169
|
+
acl: Acl;
|
|
157
170
|
authentication: AuthenticationOutput;
|
|
158
171
|
/** The point in time the resource was created. */
|
|
159
172
|
create_time: string;
|
|
160
173
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
161
|
-
description?: string;
|
|
174
|
+
description?: string | undefined;
|
|
162
175
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
163
176
|
displayName: string;
|
|
164
177
|
endpoints: Endpoints;
|
|
165
178
|
/** A message describing an actionable error the user can resolve. This field is empty if no such error exists. */
|
|
166
|
-
errorMessage?: string;
|
|
179
|
+
errorMessage?: string | undefined;
|
|
167
180
|
/** A auto generated unique id which identifies the resource. */
|
|
168
181
|
id: string;
|
|
169
182
|
/** The current state of the resource. */
|
|
@@ -178,7 +191,7 @@ export interface CreateDremioUserRequest {
|
|
|
178
191
|
/** The Dremio instance UUID. */
|
|
179
192
|
dremioId: string;
|
|
180
193
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
181
|
-
description?: string;
|
|
194
|
+
description?: string | undefined;
|
|
182
195
|
/** This is the admin user's email address. */
|
|
183
196
|
email: string;
|
|
184
197
|
/** This is the admin user's first name. */
|
|
@@ -194,13 +207,13 @@ export interface CreateDremioUserRequest {
|
|
|
194
207
|
export type DremioUserResponseState = "reconciling" | "active" | "deleting" | "error";
|
|
195
208
|
export interface DremioUserResponse {
|
|
196
209
|
/** The point in time the resource was created. */
|
|
197
|
-
create_time?: string;
|
|
210
|
+
create_time?: string | undefined;
|
|
198
211
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
199
|
-
description?: string;
|
|
212
|
+
description?: string | undefined;
|
|
200
213
|
/** This is the admin user's email address. */
|
|
201
214
|
email: string;
|
|
202
215
|
/** A message describing an actionable error the user can resolve. This field is empty if no such error exists. */
|
|
203
|
-
errorMessage?: string;
|
|
216
|
+
errorMessage?: string | undefined;
|
|
204
217
|
/** This is the admin user's first name. */
|
|
205
218
|
firstName: string;
|
|
206
219
|
/** A auto generated unique id which identifies the resource. */
|
|
@@ -261,15 +274,15 @@ export interface ListDremioInstancesRequest {
|
|
|
261
274
|
/** The STACKIT region name the resource is located in. */
|
|
262
275
|
regionId: ListDremioInstancesRequestRegionId | (string & {});
|
|
263
276
|
/** A token to retrieve the next page of results. */
|
|
264
|
-
pageToken?: string;
|
|
277
|
+
pageToken?: string | undefined;
|
|
265
278
|
/** Maximum number of items to return. */
|
|
266
|
-
pageSize?: number;
|
|
279
|
+
pageSize?: number | undefined;
|
|
267
280
|
}
|
|
268
281
|
export type ListDremiosResponseOutputDremiosList = Array<DremioResponseOutput>;
|
|
269
282
|
export interface ListDremiosResponseOutput {
|
|
270
283
|
dremios: ListDremiosResponseOutputDremiosList;
|
|
271
284
|
/** A token to retrieve the next page of results. */
|
|
272
|
-
nextPageToken?: string;
|
|
285
|
+
nextPageToken?: string | undefined;
|
|
273
286
|
}
|
|
274
287
|
export type ListDremioUsersRequestRegionId = "eu01" | "eu02";
|
|
275
288
|
export interface ListDremioUsersRequest {
|
|
@@ -280,15 +293,15 @@ export interface ListDremioUsersRequest {
|
|
|
280
293
|
/** The Dremio instance UUID. */
|
|
281
294
|
dremioId: string;
|
|
282
295
|
/** A token to retrieve the next page of results. */
|
|
283
|
-
pageToken?: string;
|
|
296
|
+
pageToken?: string | undefined;
|
|
284
297
|
/** Maximum number of items to return. */
|
|
285
|
-
pageSize?: number;
|
|
298
|
+
pageSize?: number | undefined;
|
|
286
299
|
}
|
|
287
300
|
export type ListDremioUsersResponseDremioUsersList = Array<DremioUserResponse>;
|
|
288
301
|
export interface ListDremioUsersResponse {
|
|
289
302
|
dremioUsers: ListDremioUsersResponseDremioUsersList;
|
|
290
303
|
/** A token to retrieve the next page of results. */
|
|
291
|
-
nextPageToken?: string;
|
|
304
|
+
nextPageToken?: string | undefined;
|
|
292
305
|
}
|
|
293
306
|
export type UpdateDremioInstanceRequestRegionId = "eu01" | "eu02";
|
|
294
307
|
export interface UpdateDremioInstanceRequest {
|
|
@@ -298,13 +311,18 @@ export interface UpdateDremioInstanceRequest {
|
|
|
298
311
|
regionId: UpdateDremioInstanceRequestRegionId | (string & {});
|
|
299
312
|
/** The Dremio instance UUID. */
|
|
300
313
|
dremioId: string;
|
|
301
|
-
|
|
314
|
+
acl?: Acl | undefined;
|
|
315
|
+
authentication?: AuthenticationInput | undefined;
|
|
302
316
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
303
|
-
description?: string;
|
|
317
|
+
description?: string | undefined;
|
|
304
318
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
305
|
-
displayName?: string;
|
|
319
|
+
displayName?: string | undefined;
|
|
306
320
|
}
|
|
307
|
-
export type CreateDremioInstanceError =
|
|
321
|
+
export type CreateDremioInstanceError =
|
|
322
|
+
| BadRequest
|
|
323
|
+
| Conflict
|
|
324
|
+
| UnprocessableEntity
|
|
325
|
+
| StackitOpError;
|
|
308
326
|
/** Creates a new Dremio instance within the project. */
|
|
309
327
|
export const createDremioInstance: API.OperationMethod<
|
|
310
328
|
CreateDremioInstanceRequest,
|
|
@@ -312,16 +330,16 @@ export const createDremioInstance: API.OperationMethod<
|
|
|
312
330
|
CreateDremioInstanceError,
|
|
313
331
|
StackitOpContext
|
|
314
332
|
> = /*@__PURE__*/ API.make(() => ({
|
|
315
|
-
input: __S(
|
|
316
|
-
output: __S(
|
|
317
|
-
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],
|
|
318
336
|
protocol: StackitProtocol,
|
|
319
337
|
retry: Retry.Retry,
|
|
320
338
|
telemetry: TELEMETRY,
|
|
321
339
|
span: "CreateDremioInstance",
|
|
322
340
|
}));
|
|
323
341
|
|
|
324
|
-
export type CreateDremioUserError = BadRequest | Conflict | StackitOpError;
|
|
342
|
+
export type CreateDremioUserError = BadRequest | Conflict | UnprocessableEntity | StackitOpError;
|
|
325
343
|
/** Creates a new Dremio admin user for the given Dremio instance. */
|
|
326
344
|
export const createDremioUser: API.OperationMethod<
|
|
327
345
|
CreateDremioUserRequest,
|
|
@@ -329,16 +347,21 @@ export const createDremioUser: API.OperationMethod<
|
|
|
329
347
|
CreateDremioUserError,
|
|
330
348
|
StackitOpContext
|
|
331
349
|
> = /*@__PURE__*/ API.make(() => ({
|
|
332
|
-
input: __S(
|
|
333
|
-
output: __S(
|
|
334
|
-
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],
|
|
335
353
|
protocol: StackitProtocol,
|
|
336
354
|
retry: Retry.Retry,
|
|
337
355
|
telemetry: TELEMETRY,
|
|
338
356
|
span: "CreateDremioUser",
|
|
339
357
|
}));
|
|
340
358
|
|
|
341
|
-
export type DeleteDremioInstanceError =
|
|
359
|
+
export type DeleteDremioInstanceError =
|
|
360
|
+
| BadRequest
|
|
361
|
+
| NotFound
|
|
362
|
+
| Conflict
|
|
363
|
+
| UnprocessableEntity
|
|
364
|
+
| StackitOpError;
|
|
342
365
|
/** Deletes the given Dremio instance. */
|
|
343
366
|
export const deleteDremioInstance: API.OperationMethod<
|
|
344
367
|
DeleteDremioInstanceRequest,
|
|
@@ -346,16 +369,21 @@ export const deleteDremioInstance: API.OperationMethod<
|
|
|
346
369
|
DeleteDremioInstanceError,
|
|
347
370
|
StackitOpContext
|
|
348
371
|
> = /*@__PURE__*/ API.make(() => ({
|
|
349
|
-
input: __S(
|
|
350
|
-
output: __S(
|
|
351
|
-
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],
|
|
352
375
|
protocol: StackitProtocol,
|
|
353
376
|
retry: Retry.Retry,
|
|
354
377
|
telemetry: TELEMETRY,
|
|
355
378
|
span: "DeleteDremioInstance",
|
|
356
379
|
}));
|
|
357
380
|
|
|
358
|
-
export type DeleteDremioUserError =
|
|
381
|
+
export type DeleteDremioUserError =
|
|
382
|
+
| BadRequest
|
|
383
|
+
| NotFound
|
|
384
|
+
| Conflict
|
|
385
|
+
| UnprocessableEntity
|
|
386
|
+
| StackitOpError;
|
|
359
387
|
/** Deletes the given dremio admin user. */
|
|
360
388
|
export const deleteDremioUser: API.OperationMethod<
|
|
361
389
|
DeleteDremioUserRequest,
|
|
@@ -363,9 +391,9 @@ export const deleteDremioUser: API.OperationMethod<
|
|
|
363
391
|
DeleteDremioUserError,
|
|
364
392
|
StackitOpContext
|
|
365
393
|
> = /*@__PURE__*/ API.make(() => ({
|
|
366
|
-
input: __S(
|
|
367
|
-
output: __S(
|
|
368
|
-
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],
|
|
369
397
|
protocol: StackitProtocol,
|
|
370
398
|
retry: Retry.Retry,
|
|
371
399
|
telemetry: TELEMETRY,
|
|
@@ -380,8 +408,8 @@ export const getDremioInstance: API.OperationMethod<
|
|
|
380
408
|
GetDremioInstanceError,
|
|
381
409
|
StackitOpContext
|
|
382
410
|
> = /*@__PURE__*/ API.make(() => ({
|
|
383
|
-
input: __S(
|
|
384
|
-
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>,
|
|
385
413
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
386
414
|
protocol: StackitProtocol,
|
|
387
415
|
retry: Retry.Retry,
|
|
@@ -397,8 +425,8 @@ export const getDremioUser: API.OperationMethod<
|
|
|
397
425
|
GetDremioUserError,
|
|
398
426
|
StackitOpContext
|
|
399
427
|
> = /*@__PURE__*/ API.make(() => ({
|
|
400
|
-
input: __S(
|
|
401
|
-
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>,
|
|
402
430
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
403
431
|
protocol: StackitProtocol,
|
|
404
432
|
retry: Retry.Retry,
|
|
@@ -414,8 +442,8 @@ export const listDremioInstances: API.OperationMethod<
|
|
|
414
442
|
ListDremioInstancesError,
|
|
415
443
|
StackitOpContext
|
|
416
444
|
> = /*@__PURE__*/ API.make(() => ({
|
|
417
|
-
input: __S(
|
|
418
|
-
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>,
|
|
419
447
|
errors: [BadRequest, UnknownStackitError],
|
|
420
448
|
protocol: StackitProtocol,
|
|
421
449
|
retry: Retry.Retry,
|
|
@@ -431,8 +459,8 @@ export const listDremioUsers: API.OperationMethod<
|
|
|
431
459
|
ListDremioUsersError,
|
|
432
460
|
StackitOpContext
|
|
433
461
|
> = /*@__PURE__*/ API.make(() => ({
|
|
434
|
-
input: __S(
|
|
435
|
-
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>,
|
|
436
464
|
errors: [BadRequest, UnknownStackitError],
|
|
437
465
|
protocol: StackitProtocol,
|
|
438
466
|
retry: Retry.Retry,
|
|
@@ -440,7 +468,12 @@ export const listDremioUsers: API.OperationMethod<
|
|
|
440
468
|
span: "ListDremioUsers",
|
|
441
469
|
}));
|
|
442
470
|
|
|
443
|
-
export type UpdateDremioInstanceError =
|
|
471
|
+
export type UpdateDremioInstanceError =
|
|
472
|
+
| BadRequest
|
|
473
|
+
| NotFound
|
|
474
|
+
| Conflict
|
|
475
|
+
| UnprocessableEntity
|
|
476
|
+
| StackitOpError;
|
|
444
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. */
|
|
445
478
|
export const updateDremioInstance: API.OperationMethod<
|
|
446
479
|
UpdateDremioInstanceRequest,
|
|
@@ -448,9 +481,9 @@ export const updateDremioInstance: API.OperationMethod<
|
|
|
448
481
|
UpdateDremioInstanceError,
|
|
449
482
|
StackitOpContext
|
|
450
483
|
> = /*@__PURE__*/ API.make(() => ({
|
|
451
|
-
input: __S(
|
|
452
|
-
output: __S(
|
|
453
|
-
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],
|
|
454
487
|
protocol: StackitProtocol,
|
|
455
488
|
retry: Retry.Retry,
|
|
456
489
|
telemetry: TELEMETRY,
|
|
@@ -459,6 +492,35 @@ export const updateDremioInstance: API.OperationMethod<
|
|
|
459
492
|
|
|
460
493
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
461
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 {
|
|
462
524
|
switch (j) {
|
|
463
525
|
case 0:
|
|
464
526
|
return S.suspend(() =>
|
|
@@ -478,17 +540,17 @@ function __c0(j: number): any {
|
|
|
478
540
|
),
|
|
479
541
|
).annotate({ identifier: "ListDremioUsersRequest" });
|
|
480
542
|
case 1:
|
|
481
|
-
return S.Array(__S(
|
|
543
|
+
return S.Array(__S(112, __c7, 0));
|
|
482
544
|
case 2:
|
|
483
545
|
return S.suspend(() =>
|
|
484
546
|
S.Struct({
|
|
485
|
-
dremioUsers: __S(
|
|
547
|
+
dremioUsers: __S(17, __c1, 1),
|
|
486
548
|
nextPageToken: S.optional(S.String),
|
|
487
549
|
}),
|
|
488
550
|
).annotate({ identifier: "ListDremioUsersResponse" });
|
|
489
551
|
}
|
|
490
552
|
}
|
|
491
|
-
function
|
|
553
|
+
function __c2(j: number): any {
|
|
492
554
|
switch (j) {
|
|
493
555
|
case 0:
|
|
494
556
|
return S.suspend(() =>
|
|
@@ -496,7 +558,8 @@ function __c1(j: number): any {
|
|
|
496
558
|
projectId: S.String.pipe(T.Label()),
|
|
497
559
|
regionId: S.String.pipe(T.Label()),
|
|
498
560
|
dremioId: S.String.pipe(T.Label()),
|
|
499
|
-
|
|
561
|
+
acl: S.optional(__S(80, __c5, 0)),
|
|
562
|
+
authentication: S.optional(__S(66, __c4, 2)),
|
|
500
563
|
description: S.optional(S.String),
|
|
501
564
|
displayName: S.optional(S.String),
|
|
502
565
|
}).pipe(
|
|
@@ -510,14 +573,15 @@ function __c1(j: number): any {
|
|
|
510
573
|
).annotate({ identifier: "UpdateDremioInstanceRequest" });
|
|
511
574
|
}
|
|
512
575
|
}
|
|
513
|
-
function
|
|
576
|
+
function __c3(j: number): any {
|
|
514
577
|
switch (j) {
|
|
515
578
|
case 0:
|
|
516
579
|
return S.suspend(() =>
|
|
517
580
|
S.Struct({
|
|
518
581
|
projectId: S.String.pipe(T.Label()),
|
|
519
582
|
regionId: S.String.pipe(T.Label()),
|
|
520
|
-
|
|
583
|
+
acl: S.optional(__S(80, __c5, 0)),
|
|
584
|
+
authentication: S.optional(__S(66, __c4, 2)),
|
|
521
585
|
description: S.optional(S.String),
|
|
522
586
|
displayName: S.String,
|
|
523
587
|
}).pipe(
|
|
@@ -531,7 +595,7 @@ function __c2(j: number): any {
|
|
|
531
595
|
).annotate({ identifier: "CreateDremioInstanceRequest" });
|
|
532
596
|
}
|
|
533
597
|
}
|
|
534
|
-
function
|
|
598
|
+
function __c4(j: number): any {
|
|
535
599
|
switch (j) {
|
|
536
600
|
case 0:
|
|
537
601
|
return S.suspend(() =>
|
|
@@ -547,39 +611,41 @@ function __c3(j: number): any {
|
|
|
547
611
|
authorityUrl: S.String,
|
|
548
612
|
clientId: S.String,
|
|
549
613
|
clientSecret: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
550
|
-
jwtClaims: __S(
|
|
551
|
-
parameters: S.optional(__S(
|
|
614
|
+
jwtClaims: __S(81, __c5, 1),
|
|
615
|
+
parameters: S.optional(__S(83, __c5, 3)),
|
|
552
616
|
scope: S.optional(S.String),
|
|
553
617
|
}),
|
|
554
618
|
).annotate({ identifier: "OauthInput" });
|
|
555
619
|
case 2:
|
|
556
620
|
return S.suspend(() =>
|
|
557
621
|
S.Struct({
|
|
558
|
-
azuread: S.optional(__S(
|
|
559
|
-
oauth: S.optional(__S(
|
|
622
|
+
azuread: S.optional(__S(64, __c4, 0)),
|
|
623
|
+
oauth: S.optional(__S(65, __c4, 1)),
|
|
560
624
|
type: S.String,
|
|
561
625
|
}),
|
|
562
626
|
).annotate({ identifier: "AuthenticationInput" });
|
|
563
627
|
}
|
|
564
628
|
}
|
|
565
|
-
function
|
|
629
|
+
function __c5(j: number): any {
|
|
566
630
|
switch (j) {
|
|
567
631
|
case 0:
|
|
632
|
+
return S.Array(S.String);
|
|
633
|
+
case 1:
|
|
568
634
|
return S.suspend(() =>
|
|
569
635
|
S.Struct({
|
|
570
636
|
userName: S.String,
|
|
571
637
|
}),
|
|
572
638
|
).annotate({ identifier: "OauthInputJwtClaims" });
|
|
573
|
-
case
|
|
639
|
+
case 2:
|
|
574
640
|
return S.suspend(() =>
|
|
575
641
|
S.Struct({
|
|
576
642
|
name: S.String,
|
|
577
643
|
value: S.String,
|
|
578
644
|
}),
|
|
579
645
|
).annotate({ identifier: "AuthParameters" });
|
|
580
|
-
case 2:
|
|
581
|
-
return S.Array(__S(33, __c4, 1));
|
|
582
646
|
case 3:
|
|
647
|
+
return S.Array(__S(82, __c5, 2));
|
|
648
|
+
case 4:
|
|
583
649
|
return S.suspend(() =>
|
|
584
650
|
S.Struct({
|
|
585
651
|
authorityUrl: S.String,
|
|
@@ -587,26 +653,26 @@ function __c4(j: number): any {
|
|
|
587
653
|
redirectUrl: S.optional(S.String),
|
|
588
654
|
}),
|
|
589
655
|
).annotate({ identifier: "AzureadOutput" });
|
|
590
|
-
case
|
|
656
|
+
case 5:
|
|
591
657
|
return S.suspend(() =>
|
|
592
658
|
S.Struct({
|
|
593
659
|
authorityUrl: S.String,
|
|
594
660
|
clientId: S.String,
|
|
595
|
-
jwtClaims: __S(
|
|
596
|
-
parameters: S.optional(__S(
|
|
661
|
+
jwtClaims: __S(81, __c5, 1),
|
|
662
|
+
parameters: S.optional(__S(83, __c5, 3)),
|
|
597
663
|
redirectUrl: S.optional(S.String),
|
|
598
664
|
scope: S.optional(S.String),
|
|
599
665
|
}),
|
|
600
666
|
).annotate({ identifier: "OauthOutput" });
|
|
601
|
-
case
|
|
667
|
+
case 6:
|
|
602
668
|
return S.suspend(() =>
|
|
603
669
|
S.Struct({
|
|
604
|
-
azuread: S.optional(__S(
|
|
605
|
-
oauth: S.optional(__S(
|
|
670
|
+
azuread: S.optional(__S(84, __c5, 4)),
|
|
671
|
+
oauth: S.optional(__S(85, __c5, 5)),
|
|
606
672
|
type: S.String,
|
|
607
673
|
}),
|
|
608
674
|
).annotate({ identifier: "AuthenticationOutput" });
|
|
609
|
-
case
|
|
675
|
+
case 7:
|
|
610
676
|
return S.suspend(() =>
|
|
611
677
|
S.Struct({
|
|
612
678
|
arrowFlight: S.String,
|
|
@@ -614,14 +680,15 @@ function __c4(j: number): any {
|
|
|
614
680
|
ui: S.String,
|
|
615
681
|
}),
|
|
616
682
|
).annotate({ identifier: "Endpoints" });
|
|
617
|
-
case
|
|
683
|
+
case 8:
|
|
618
684
|
return S.suspend(() =>
|
|
619
685
|
S.Struct({
|
|
620
|
-
|
|
686
|
+
acl: __S(80, __c5, 0),
|
|
687
|
+
authentication: __S(86, __c5, 6),
|
|
621
688
|
create_time: S.String,
|
|
622
689
|
description: S.optional(S.String),
|
|
623
690
|
displayName: S.String,
|
|
624
|
-
endpoints: __S(
|
|
691
|
+
endpoints: __S(87, __c5, 7),
|
|
625
692
|
errorMessage: S.optional(S.String),
|
|
626
693
|
id: S.String,
|
|
627
694
|
state: S.String,
|
|
@@ -629,7 +696,7 @@ function __c4(j: number): any {
|
|
|
629
696
|
).annotate({ identifier: "DremioResponseOutput" });
|
|
630
697
|
}
|
|
631
698
|
}
|
|
632
|
-
function
|
|
699
|
+
function __c6(j: number): any {
|
|
633
700
|
switch (j) {
|
|
634
701
|
case 0:
|
|
635
702
|
return S.suspend(() =>
|
|
@@ -654,7 +721,7 @@ function __c5(j: number): any {
|
|
|
654
721
|
).annotate({ identifier: "CreateDremioUserRequest" });
|
|
655
722
|
}
|
|
656
723
|
}
|
|
657
|
-
function
|
|
724
|
+
function __c7(j: number): any {
|
|
658
725
|
switch (j) {
|
|
659
726
|
case 0:
|
|
660
727
|
return S.suspend(() =>
|
|
@@ -672,7 +739,7 @@ function __c6(j: number): any {
|
|
|
672
739
|
).annotate({ identifier: "DremioUserResponse" });
|
|
673
740
|
}
|
|
674
741
|
}
|
|
675
|
-
function
|
|
742
|
+
function __c8(j: number): any {
|
|
676
743
|
switch (j) {
|
|
677
744
|
case 0:
|
|
678
745
|
return S.suspend(() =>
|
|
@@ -691,13 +758,13 @@ function __c7(j: number): any {
|
|
|
691
758
|
).annotate({ identifier: "DeleteDremioInstanceRequest" });
|
|
692
759
|
}
|
|
693
760
|
}
|
|
694
|
-
function
|
|
761
|
+
function __c9(j: number): any {
|
|
695
762
|
switch (j) {
|
|
696
763
|
case 0:
|
|
697
764
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteDremioInstanceResponse" });
|
|
698
765
|
}
|
|
699
766
|
}
|
|
700
|
-
function
|
|
767
|
+
function __c10(j: number): any {
|
|
701
768
|
switch (j) {
|
|
702
769
|
case 0:
|
|
703
770
|
return S.suspend(() =>
|
|
@@ -717,7 +784,7 @@ function __c9(j: number): any {
|
|
|
717
784
|
).annotate({ identifier: "DeleteDremioUserRequest" });
|
|
718
785
|
}
|
|
719
786
|
}
|
|
720
|
-
function
|
|
787
|
+
function __c11(j: number): any {
|
|
721
788
|
switch (j) {
|
|
722
789
|
case 0:
|
|
723
790
|
return S.suspend(() =>
|
|
@@ -736,7 +803,7 @@ function __c10(j: number): any {
|
|
|
736
803
|
).annotate({ identifier: "GetDremioInstanceRequest" });
|
|
737
804
|
}
|
|
738
805
|
}
|
|
739
|
-
function
|
|
806
|
+
function __c12(j: number): any {
|
|
740
807
|
switch (j) {
|
|
741
808
|
case 0:
|
|
742
809
|
return S.suspend(() =>
|
|
@@ -756,35 +823,6 @@ function __c11(j: number): any {
|
|
|
756
823
|
).annotate({ identifier: "GetDremioUserRequest" });
|
|
757
824
|
}
|
|
758
825
|
}
|
|
759
|
-
function __c12(j: number): any {
|
|
760
|
-
switch (j) {
|
|
761
|
-
case 0:
|
|
762
|
-
return S.suspend(() =>
|
|
763
|
-
S.Struct({
|
|
764
|
-
projectId: S.String.pipe(T.Label()),
|
|
765
|
-
regionId: S.String.pipe(T.Label()),
|
|
766
|
-
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
767
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
768
|
-
}).pipe(
|
|
769
|
-
T.Http({
|
|
770
|
-
method: "GET",
|
|
771
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/dremios",
|
|
772
|
-
code: 200,
|
|
773
|
-
baseUrl: "https://dremio.api.{region}stackit.cloud",
|
|
774
|
-
}),
|
|
775
|
-
),
|
|
776
|
-
).annotate({ identifier: "ListDremioInstancesRequest" });
|
|
777
|
-
case 1:
|
|
778
|
-
return S.Array(__S(39, __c4, 7));
|
|
779
|
-
case 2:
|
|
780
|
-
return S.suspend(() =>
|
|
781
|
-
S.Struct({
|
|
782
|
-
dremios: __S(97, __c12, 1),
|
|
783
|
-
nextPageToken: S.optional(S.String),
|
|
784
|
-
}),
|
|
785
|
-
).annotate({ identifier: "ListDremiosResponseOutput" });
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
826
|
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
789
827
|
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
790
828
|
return (__s[i] ??= __L.at(f, j));
|