@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
|
@@ -62,22 +62,22 @@ export interface CreateAccessTokenRequest {
|
|
|
62
62
|
/** The Telemetry Router UUID. */
|
|
63
63
|
telemetryRouterId: string;
|
|
64
64
|
/** The description of the access token. */
|
|
65
|
-
description?: string;
|
|
65
|
+
description?: string | undefined;
|
|
66
66
|
/** The selected display name of the access token. */
|
|
67
67
|
displayName: string;
|
|
68
68
|
/** The time-to-live (TTL) in days for the access token. If not set, token will not expire. */
|
|
69
|
-
ttl?: number | null;
|
|
69
|
+
ttl?: number | null | undefined;
|
|
70
70
|
}
|
|
71
71
|
export type CreateAccessTokenResponseStatus = "active" | "expired" | "deleting";
|
|
72
72
|
export interface CreateAccessTokenResponse {
|
|
73
73
|
/** The user ID of the creator of the access token. */
|
|
74
74
|
creatorId: string;
|
|
75
75
|
/** The description of the access token. */
|
|
76
|
-
description?: string;
|
|
76
|
+
description?: string | undefined;
|
|
77
77
|
/** The selected display name of the access token. */
|
|
78
78
|
displayName: string;
|
|
79
79
|
/** The date and time until the access token is valid to (inclusively). */
|
|
80
|
-
expirationTime?: string | null;
|
|
80
|
+
expirationTime?: string | null | undefined;
|
|
81
81
|
/** An auto generated unique id which identifies the access token. */
|
|
82
82
|
id: string;
|
|
83
83
|
status: CreateAccessTokenResponseStatus;
|
|
@@ -99,7 +99,7 @@ export interface ConfigFilterAttributes {
|
|
|
99
99
|
export type ConfigFilterAttributesList = Array<ConfigFilterAttributes>;
|
|
100
100
|
export interface ConfigFilter {
|
|
101
101
|
attributes: ConfigFilterAttributesList;
|
|
102
|
-
disabled?: boolean;
|
|
102
|
+
disabled?: boolean | undefined;
|
|
103
103
|
}
|
|
104
104
|
/** Basic auth to authenticate at the OpenTelemetry URI */
|
|
105
105
|
export interface DestinationConfigOpenTelemetryBasicAuth {
|
|
@@ -107,9 +107,9 @@ export interface DestinationConfigOpenTelemetryBasicAuth {
|
|
|
107
107
|
username: string;
|
|
108
108
|
}
|
|
109
109
|
export interface DestinationConfigOpenTelemetry {
|
|
110
|
-
basicAuth?: DestinationConfigOpenTelemetryBasicAuth;
|
|
110
|
+
basicAuth?: DestinationConfigOpenTelemetryBasicAuth | undefined;
|
|
111
111
|
/** A bearer token to authenticate at the OpenTelemetry URI. */
|
|
112
|
-
bearerToken?: string;
|
|
112
|
+
bearerToken?: string | undefined;
|
|
113
113
|
/** The URI for reaching the resource. */
|
|
114
114
|
uri: string;
|
|
115
115
|
}
|
|
@@ -119,16 +119,16 @@ export interface DestinationConfigS3AccessKey {
|
|
|
119
119
|
secret: string | Redacted.Redacted<string>;
|
|
120
120
|
}
|
|
121
121
|
export interface DestinationConfigS3 {
|
|
122
|
-
accessKey?: DestinationConfigS3AccessKey;
|
|
122
|
+
accessKey?: DestinationConfigS3AccessKey | undefined;
|
|
123
123
|
bucket: string;
|
|
124
124
|
/** The URI for reaching the resource. */
|
|
125
125
|
endpoint: string;
|
|
126
126
|
}
|
|
127
127
|
export interface DestinationConfig {
|
|
128
128
|
configType: DestinationConfigType | (string & {});
|
|
129
|
-
filter?: ConfigFilter;
|
|
130
|
-
openTelemetry?: DestinationConfigOpenTelemetry;
|
|
131
|
-
s3?: DestinationConfigS3;
|
|
129
|
+
filter?: ConfigFilter | undefined;
|
|
130
|
+
openTelemetry?: DestinationConfigOpenTelemetry | undefined;
|
|
131
|
+
s3?: DestinationConfigS3 | undefined;
|
|
132
132
|
}
|
|
133
133
|
export interface CreateDestinationRequest {
|
|
134
134
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -139,7 +139,7 @@ export interface CreateDestinationRequest {
|
|
|
139
139
|
telemetryRouterId: string;
|
|
140
140
|
config: DestinationConfig;
|
|
141
141
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
142
|
-
description?: string;
|
|
142
|
+
description?: string | undefined;
|
|
143
143
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
144
144
|
displayName: string;
|
|
145
145
|
}
|
|
@@ -154,7 +154,7 @@ export interface DestinationResponse {
|
|
|
154
154
|
/** The credential type for the resource. */
|
|
155
155
|
credentialType: DestinationResponseCredentialType;
|
|
156
156
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
157
|
-
description?: string;
|
|
157
|
+
description?: string | undefined;
|
|
158
158
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
159
159
|
displayName: string;
|
|
160
160
|
/** A auto generated unique id which identifies the resource. */
|
|
@@ -163,16 +163,18 @@ export interface DestinationResponse {
|
|
|
163
163
|
status: DestinationResponseStatus;
|
|
164
164
|
}
|
|
165
165
|
export type CreateTelemetryRouterRequestRegionId = "eu01" | "eu02";
|
|
166
|
+
export type ResourceLabels = { [key: string]: string | undefined };
|
|
166
167
|
export interface CreateTelemetryRouterRequest {
|
|
167
168
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
168
169
|
projectId: string;
|
|
169
170
|
/** The STACKIT region name the resource is located in. */
|
|
170
171
|
regionId: CreateTelemetryRouterRequestRegionId | (string & {});
|
|
171
172
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
172
|
-
description?: string;
|
|
173
|
+
description?: string | undefined;
|
|
173
174
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
174
175
|
displayName: string;
|
|
175
|
-
filter?: ConfigFilter;
|
|
176
|
+
filter?: ConfigFilter | undefined;
|
|
177
|
+
resourceLabels?: ResourceLabels | undefined;
|
|
176
178
|
}
|
|
177
179
|
/** The current status of the resource. */
|
|
178
180
|
export type TelemetryRouterResponseStatus = "reconciling" | "active" | "deleting";
|
|
@@ -180,12 +182,15 @@ export interface TelemetryRouterResponse {
|
|
|
180
182
|
/** The point in time the resource was created. */
|
|
181
183
|
creationTime: string;
|
|
182
184
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
183
|
-
description?: string;
|
|
185
|
+
description?: string | undefined;
|
|
186
|
+
/** The number of destinations configured for the telemetry router. */
|
|
187
|
+
destinationCount?: number | undefined;
|
|
184
188
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
185
189
|
displayName: string;
|
|
186
|
-
filter?: ConfigFilter;
|
|
190
|
+
filter?: ConfigFilter | undefined;
|
|
187
191
|
/** A auto generated unique id which identifies the resource. */
|
|
188
192
|
id: string;
|
|
193
|
+
resourceLabels?: ResourceLabels | undefined;
|
|
189
194
|
/** The current status of the resource. */
|
|
190
195
|
status: TelemetryRouterResponseStatus;
|
|
191
196
|
/** The URI for reaching the resource. */
|
|
@@ -224,7 +229,7 @@ export interface DeleteTelemetryRouterRequest {
|
|
|
224
229
|
/** The Telemetry Router UUID. */
|
|
225
230
|
telemetryRouterId: string;
|
|
226
231
|
/** If true, deletes all child resources. If false, the resource remains in a 'deletion state' while child resources exist. */
|
|
227
|
-
force?: boolean;
|
|
232
|
+
force?: boolean | undefined;
|
|
228
233
|
}
|
|
229
234
|
export interface DeleteTelemetryRouterResponse {}
|
|
230
235
|
export type GetAccessTokenRequestRegionId = "eu01" | "eu02";
|
|
@@ -243,11 +248,11 @@ export interface GetAccessTokenResponse2 {
|
|
|
243
248
|
/** The user ID of the creator of the access token. */
|
|
244
249
|
creatorId: string;
|
|
245
250
|
/** The description of the access token. */
|
|
246
|
-
description?: string;
|
|
251
|
+
description?: string | undefined;
|
|
247
252
|
/** The selected display name of the access token. */
|
|
248
253
|
displayName: string;
|
|
249
254
|
/** The date and time until the access token is valid to (inclusively). */
|
|
250
|
-
expirationTime?: string | null;
|
|
255
|
+
expirationTime?: string | null | undefined;
|
|
251
256
|
/** An auto generated unique id which identifies the access token. */
|
|
252
257
|
id: string;
|
|
253
258
|
status: GetAccessTokenResponseStatus;
|
|
@@ -281,20 +286,20 @@ export interface ListAccessTokensRequest {
|
|
|
281
286
|
/** The Telemetry Router UUID. */
|
|
282
287
|
telemetryRouterId: string;
|
|
283
288
|
/** A token to retrieve the next page of results. */
|
|
284
|
-
pageToken?: string;
|
|
289
|
+
pageToken?: string | undefined;
|
|
285
290
|
/** Maximum number of items to return */
|
|
286
|
-
pageSize?: number;
|
|
291
|
+
pageSize?: number | undefined;
|
|
287
292
|
}
|
|
288
293
|
export type AccessTokenBaseResponseStatus = "active" | "expired" | "deleting";
|
|
289
294
|
export interface AccessTokenBaseResponse {
|
|
290
295
|
/** The user ID of the creator of the access token. */
|
|
291
296
|
creatorId: string;
|
|
292
297
|
/** The description of the access token. */
|
|
293
|
-
description?: string;
|
|
298
|
+
description?: string | undefined;
|
|
294
299
|
/** The selected display name of the access token. */
|
|
295
300
|
displayName: string;
|
|
296
301
|
/** The date and time until the access token is valid to (inclusively). */
|
|
297
|
-
expirationTime?: string | null;
|
|
302
|
+
expirationTime?: string | null | undefined;
|
|
298
303
|
/** An auto generated unique id which identifies the access token. */
|
|
299
304
|
id: string;
|
|
300
305
|
status: AccessTokenBaseResponseStatus;
|
|
@@ -303,7 +308,7 @@ export type ListAccessTokensResponseAccessTokensList = Array<AccessTokenBaseResp
|
|
|
303
308
|
export interface ListAccessTokensResponse {
|
|
304
309
|
accessTokens: ListAccessTokensResponseAccessTokensList;
|
|
305
310
|
/** A token to retrieve the next page of results. */
|
|
306
|
-
nextPageToken?: string;
|
|
311
|
+
nextPageToken?: string | undefined;
|
|
307
312
|
}
|
|
308
313
|
export type ListDestinationsRequestRegionId = "eu01" | "eu02";
|
|
309
314
|
export interface ListDestinationsRequest {
|
|
@@ -314,15 +319,15 @@ export interface ListDestinationsRequest {
|
|
|
314
319
|
/** The Telemetry Router UUID. */
|
|
315
320
|
telemetryRouterId: string;
|
|
316
321
|
/** A token to retrieve the next page of results. */
|
|
317
|
-
pageToken?: string;
|
|
322
|
+
pageToken?: string | undefined;
|
|
318
323
|
/** Maximum number of items to return */
|
|
319
|
-
pageSize?: number;
|
|
324
|
+
pageSize?: number | undefined;
|
|
320
325
|
}
|
|
321
326
|
export type ListDestinationsResponseDestinationsList = Array<DestinationResponse>;
|
|
322
327
|
export interface ListDestinationsResponse {
|
|
323
328
|
destinations: ListDestinationsResponseDestinationsList;
|
|
324
329
|
/** A token to retrieve the next page of results. */
|
|
325
|
-
nextPageToken?: string;
|
|
330
|
+
nextPageToken?: string | undefined;
|
|
326
331
|
}
|
|
327
332
|
export type ListTelemetryRoutersRequestRegionId = "eu01" | "eu02";
|
|
328
333
|
export interface ListTelemetryRoutersRequest {
|
|
@@ -331,16 +336,74 @@ export interface ListTelemetryRoutersRequest {
|
|
|
331
336
|
/** The STACKIT region name the resource is located in. */
|
|
332
337
|
regionId: ListTelemetryRoutersRequestRegionId | (string & {});
|
|
333
338
|
/** A token to retrieve the next page of results. */
|
|
334
|
-
pageToken?: string;
|
|
339
|
+
pageToken?: string | undefined;
|
|
335
340
|
/** Maximum number of items to return */
|
|
336
|
-
pageSize?: number;
|
|
341
|
+
pageSize?: number | undefined;
|
|
337
342
|
}
|
|
338
343
|
export type ListTelemetryRoutersResponseTelemetryRoutersList = Array<TelemetryRouterResponse>;
|
|
339
344
|
export interface ListTelemetryRoutersResponse {
|
|
340
345
|
/** A token to retrieve the next page of results. */
|
|
341
|
-
nextPageToken?: string;
|
|
346
|
+
nextPageToken?: string | undefined;
|
|
342
347
|
telemetryRouters: ListTelemetryRoutersResponseTelemetryRoutersList;
|
|
343
348
|
}
|
|
349
|
+
export type PartialUpdateAccessTokenRequestRegionId = "eu01" | "eu02";
|
|
350
|
+
export interface PartialUpdateAccessTokenRequest {
|
|
351
|
+
/** The STACKIT portal project UUID the resource is located in. */
|
|
352
|
+
projectId: string;
|
|
353
|
+
/** The STACKIT region name the resource is located in. */
|
|
354
|
+
regionId: PartialUpdateAccessTokenRequestRegionId | (string & {});
|
|
355
|
+
/** The Telemetry Router UUID. */
|
|
356
|
+
telemetryRouterId: string;
|
|
357
|
+
/** The Access Token UUID. */
|
|
358
|
+
accessTokenId: string;
|
|
359
|
+
description?: string | null | undefined;
|
|
360
|
+
displayName?: string | null | undefined;
|
|
361
|
+
}
|
|
362
|
+
export type PartialUpdateAccessTokenResponseStatus = "active" | "expired" | "deleting";
|
|
363
|
+
export interface PartialUpdateAccessTokenResponse {
|
|
364
|
+
/** The user ID of the creator of the access token. */
|
|
365
|
+
creatorId: string;
|
|
366
|
+
/** The description of the access token. */
|
|
367
|
+
description?: string | undefined;
|
|
368
|
+
/** The selected display name of the access token. */
|
|
369
|
+
displayName: string;
|
|
370
|
+
/** The date and time until the access token is valid to (inclusively). */
|
|
371
|
+
expirationTime?: string | null | undefined;
|
|
372
|
+
/** An auto generated unique id which identifies the access token. */
|
|
373
|
+
id: string;
|
|
374
|
+
status: PartialUpdateAccessTokenResponseStatus;
|
|
375
|
+
}
|
|
376
|
+
export type PartialUpdateDestinationRequestRegionId = "eu01" | "eu02";
|
|
377
|
+
export interface PartialUpdateDestinationRequest {
|
|
378
|
+
/** The STACKIT portal project UUID the resource is located in. */
|
|
379
|
+
projectId: string;
|
|
380
|
+
/** The STACKIT region name the resource is located in. */
|
|
381
|
+
regionId: PartialUpdateDestinationRequestRegionId | (string & {});
|
|
382
|
+
/** The Telemetry Router UUID. */
|
|
383
|
+
telemetryRouterId: string;
|
|
384
|
+
/** The Destination UUID. */
|
|
385
|
+
destinationId: string;
|
|
386
|
+
config?: DestinationConfig | undefined;
|
|
387
|
+
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
388
|
+
description?: string | undefined;
|
|
389
|
+
/** The display name is a short name chosen by the user to identify the resource. */
|
|
390
|
+
displayName?: string | undefined;
|
|
391
|
+
}
|
|
392
|
+
export type PartialUpdateTelemetryRouterRequestRegionId = "eu01" | "eu02";
|
|
393
|
+
export interface PartialUpdateTelemetryRouterRequest {
|
|
394
|
+
/** The STACKIT portal project UUID the resource is located in. */
|
|
395
|
+
projectId: string;
|
|
396
|
+
/** The STACKIT region name the resource is located in. */
|
|
397
|
+
regionId: PartialUpdateTelemetryRouterRequestRegionId | (string & {});
|
|
398
|
+
/** The Telemetry Router UUID. */
|
|
399
|
+
telemetryRouterId: string;
|
|
400
|
+
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
401
|
+
description?: string | undefined;
|
|
402
|
+
/** The display name is a short name chosen by the user to identify the resource. */
|
|
403
|
+
displayName?: string | undefined;
|
|
404
|
+
filter?: ConfigFilter | undefined;
|
|
405
|
+
resourceLabels?: ResourceLabels | undefined;
|
|
406
|
+
}
|
|
344
407
|
export type UpdateAccessTokenRequestRegionId = "eu01" | "eu02";
|
|
345
408
|
export interface UpdateAccessTokenRequest {
|
|
346
409
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -351,19 +414,19 @@ export interface UpdateAccessTokenRequest {
|
|
|
351
414
|
telemetryRouterId: string;
|
|
352
415
|
/** The Access Token UUID. */
|
|
353
416
|
accessTokenId: string;
|
|
354
|
-
description?: string | null;
|
|
355
|
-
displayName?: string | null;
|
|
417
|
+
description?: string | null | undefined;
|
|
418
|
+
displayName?: string | null | undefined;
|
|
356
419
|
}
|
|
357
420
|
export type UpdateAccessTokenResponseStatus = "active" | "expired" | "deleting";
|
|
358
421
|
export interface UpdateAccessTokenResponse {
|
|
359
422
|
/** The user ID of the creator of the access token. */
|
|
360
423
|
creatorId: string;
|
|
361
424
|
/** The description of the access token. */
|
|
362
|
-
description?: string;
|
|
425
|
+
description?: string | undefined;
|
|
363
426
|
/** The selected display name of the access token. */
|
|
364
427
|
displayName: string;
|
|
365
428
|
/** The date and time until the access token is valid to (inclusively). */
|
|
366
|
-
expirationTime?: string | null;
|
|
429
|
+
expirationTime?: string | null | undefined;
|
|
367
430
|
/** An auto generated unique id which identifies the access token. */
|
|
368
431
|
id: string;
|
|
369
432
|
status: UpdateAccessTokenResponseStatus;
|
|
@@ -378,11 +441,11 @@ export interface UpdateDestinationRequest {
|
|
|
378
441
|
telemetryRouterId: string;
|
|
379
442
|
/** The Destination UUID. */
|
|
380
443
|
destinationId: string;
|
|
381
|
-
config?: DestinationConfig;
|
|
444
|
+
config?: DestinationConfig | undefined;
|
|
382
445
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
383
|
-
description?: string;
|
|
446
|
+
description?: string | undefined;
|
|
384
447
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
385
|
-
displayName?: string;
|
|
448
|
+
displayName?: string | undefined;
|
|
386
449
|
}
|
|
387
450
|
export type UpdateTelemetryRouterRequestRegionId = "eu01" | "eu02";
|
|
388
451
|
export interface UpdateTelemetryRouterRequest {
|
|
@@ -393,10 +456,11 @@ export interface UpdateTelemetryRouterRequest {
|
|
|
393
456
|
/** The Telemetry Router UUID. */
|
|
394
457
|
telemetryRouterId: string;
|
|
395
458
|
/** The description is a longer text chosen by the user to provide more context for the resource. */
|
|
396
|
-
description?: string;
|
|
459
|
+
description?: string | undefined;
|
|
397
460
|
/** The display name is a short name chosen by the user to identify the resource. */
|
|
398
|
-
displayName?: string;
|
|
399
|
-
filter?: ConfigFilter;
|
|
461
|
+
displayName?: string | undefined;
|
|
462
|
+
filter?: ConfigFilter | undefined;
|
|
463
|
+
resourceLabels?: ResourceLabels | undefined;
|
|
400
464
|
}
|
|
401
465
|
export type CreateAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
402
466
|
/** Create a new access token for the given Telemetry Router. */
|
|
@@ -406,8 +470,8 @@ export const createAccessToken: API.OperationMethod<
|
|
|
406
470
|
CreateAccessTokenError,
|
|
407
471
|
StackitOpContext
|
|
408
472
|
> = /*@__PURE__*/ API.make(() => ({
|
|
409
|
-
input: __S(
|
|
410
|
-
output: __S(
|
|
473
|
+
input: __S(88, __c11, 0) as any as S.Schema<CreateAccessTokenRequest>,
|
|
474
|
+
output: __S(89, __c11, 1) as any as S.Schema<CreateAccessTokenResponse>,
|
|
411
475
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
412
476
|
protocol: StackitProtocol,
|
|
413
477
|
retry: Retry.Retry,
|
|
@@ -423,8 +487,8 @@ export const createDestination: API.OperationMethod<
|
|
|
423
487
|
CreateDestinationError,
|
|
424
488
|
StackitOpContext
|
|
425
489
|
> = /*@__PURE__*/ API.make(() => ({
|
|
426
|
-
input: __S(
|
|
427
|
-
output: __S(
|
|
490
|
+
input: __S(96, __c12, 0) as any as S.Schema<CreateDestinationRequest>,
|
|
491
|
+
output: __S(109, __c13, 5) as any as S.Schema<DestinationResponse>,
|
|
428
492
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
429
493
|
protocol: StackitProtocol,
|
|
430
494
|
retry: Retry.Retry,
|
|
@@ -440,8 +504,8 @@ export const createTelemetryRouter: API.OperationMethod<
|
|
|
440
504
|
CreateTelemetryRouterError,
|
|
441
505
|
StackitOpContext
|
|
442
506
|
> = /*@__PURE__*/ API.make(() => ({
|
|
443
|
-
input: __S(
|
|
444
|
-
output: __S(
|
|
507
|
+
input: __S(120, __c15, 0) as any as S.Schema<CreateTelemetryRouterRequest>,
|
|
508
|
+
output: __S(129, __c16, 1) as any as S.Schema<TelemetryRouterResponse>,
|
|
445
509
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
446
510
|
protocol: StackitProtocol,
|
|
447
511
|
retry: Retry.Retry,
|
|
@@ -457,8 +521,8 @@ export const deleteAccessToken: API.OperationMethod<
|
|
|
457
521
|
DeleteAccessTokenError,
|
|
458
522
|
StackitOpContext
|
|
459
523
|
> = /*@__PURE__*/ API.make(() => ({
|
|
460
|
-
input: __S(
|
|
461
|
-
output: __S(
|
|
524
|
+
input: __S(136, __c17, 0) as any as S.Schema<DeleteAccessTokenRequest>,
|
|
525
|
+
output: __S(144, __c18, 0) as any as S.Schema<DeleteAccessTokenResponse>,
|
|
462
526
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
463
527
|
protocol: StackitProtocol,
|
|
464
528
|
retry: Retry.Retry,
|
|
@@ -474,8 +538,8 @@ export const deleteDestination: API.OperationMethod<
|
|
|
474
538
|
DeleteDestinationError,
|
|
475
539
|
StackitOpContext
|
|
476
540
|
> = /*@__PURE__*/ API.make(() => ({
|
|
477
|
-
input: __S(
|
|
478
|
-
output: __S(
|
|
541
|
+
input: __S(152, __c19, 0) as any as S.Schema<DeleteDestinationRequest>,
|
|
542
|
+
output: __S(144, __c18, 0) as any as S.Schema<DeleteDestinationResponse>,
|
|
479
543
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
480
544
|
protocol: StackitProtocol,
|
|
481
545
|
retry: Retry.Retry,
|
|
@@ -491,8 +555,8 @@ export const deleteTelemetryRouter: API.OperationMethod<
|
|
|
491
555
|
DeleteTelemetryRouterError,
|
|
492
556
|
StackitOpContext
|
|
493
557
|
> = /*@__PURE__*/ API.make(() => ({
|
|
494
|
-
input: __S(
|
|
495
|
-
output: __S(
|
|
558
|
+
input: __S(160, __c20, 0) as any as S.Schema<DeleteTelemetryRouterRequest>,
|
|
559
|
+
output: __S(144, __c18, 0) as any as S.Schema<DeleteTelemetryRouterResponse>,
|
|
496
560
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
497
561
|
protocol: StackitProtocol,
|
|
498
562
|
retry: Retry.Retry,
|
|
@@ -508,8 +572,8 @@ export const getAccessToken: API.OperationMethod<
|
|
|
508
572
|
GetAccessTokenError,
|
|
509
573
|
StackitOpContext
|
|
510
574
|
> = /*@__PURE__*/ API.make(() => ({
|
|
511
|
-
input: __S(
|
|
512
|
-
output: __S(
|
|
575
|
+
input: __S(168, __c21, 0) as any as S.Schema<GetAccessTokenRequest>,
|
|
576
|
+
output: __S(176, __c22, 0) as any as S.Schema<GetAccessTokenResponse2>,
|
|
513
577
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
514
578
|
protocol: StackitProtocol,
|
|
515
579
|
retry: Retry.Retry,
|
|
@@ -526,7 +590,7 @@ export const getDestination: API.OperationMethod<
|
|
|
526
590
|
StackitOpContext
|
|
527
591
|
> = /*@__PURE__*/ API.make(() => ({
|
|
528
592
|
input: __S(0, __c0, 0) as any as S.Schema<GetDestinationRequest>,
|
|
529
|
-
output: __S(
|
|
593
|
+
output: __S(109, __c13, 5) as any as S.Schema<DestinationResponse>,
|
|
530
594
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
531
595
|
protocol: StackitProtocol,
|
|
532
596
|
retry: Retry.Retry,
|
|
@@ -543,7 +607,7 @@ export const getTelemetryRouter: API.OperationMethod<
|
|
|
543
607
|
StackitOpContext
|
|
544
608
|
> = /*@__PURE__*/ API.make(() => ({
|
|
545
609
|
input: __S(8, __c1, 0) as any as S.Schema<GetTelemetryRouterRequest>,
|
|
546
|
-
output: __S(
|
|
610
|
+
output: __S(129, __c16, 1) as any as S.Schema<TelemetryRouterResponse>,
|
|
547
611
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
548
612
|
protocol: StackitProtocol,
|
|
549
613
|
retry: Retry.Retry,
|
|
@@ -602,6 +666,57 @@ export const listTelemetryRouters: API.OperationMethod<
|
|
|
602
666
|
span: "ListTelemetryRouters",
|
|
603
667
|
}));
|
|
604
668
|
|
|
669
|
+
export type PartialUpdateAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
670
|
+
/** Patch an existing access token for the given Telemetry Router by its ID. */
|
|
671
|
+
export const partialUpdateAccessToken: API.OperationMethod<
|
|
672
|
+
PartialUpdateAccessTokenRequest,
|
|
673
|
+
PartialUpdateAccessTokenResponse,
|
|
674
|
+
PartialUpdateAccessTokenError,
|
|
675
|
+
StackitOpContext
|
|
676
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
677
|
+
input: __S(40, __c5, 0) as any as S.Schema<PartialUpdateAccessTokenRequest>,
|
|
678
|
+
output: __S(176, __c22, 0) as any as S.Schema<PartialUpdateAccessTokenResponse>,
|
|
679
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
680
|
+
protocol: StackitProtocol,
|
|
681
|
+
retry: Retry.Retry,
|
|
682
|
+
telemetry: TELEMETRY,
|
|
683
|
+
span: "PartialUpdateAccessToken",
|
|
684
|
+
}));
|
|
685
|
+
|
|
686
|
+
export type PartialUpdateDestinationError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
687
|
+
/** Patches the given destination. */
|
|
688
|
+
export const partialUpdateDestination: API.OperationMethod<
|
|
689
|
+
PartialUpdateDestinationRequest,
|
|
690
|
+
DestinationResponse,
|
|
691
|
+
PartialUpdateDestinationError,
|
|
692
|
+
StackitOpContext
|
|
693
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
694
|
+
input: __S(48, __c6, 0) as any as S.Schema<PartialUpdateDestinationRequest>,
|
|
695
|
+
output: __S(109, __c13, 5) as any as S.Schema<DestinationResponse>,
|
|
696
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
697
|
+
protocol: StackitProtocol,
|
|
698
|
+
retry: Retry.Retry,
|
|
699
|
+
telemetry: TELEMETRY,
|
|
700
|
+
span: "PartialUpdateDestination",
|
|
701
|
+
}));
|
|
702
|
+
|
|
703
|
+
export type PartialUpdateTelemetryRouterError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
704
|
+
/** Patches the given Telemetry Router. */
|
|
705
|
+
export const partialUpdateTelemetryRouter: API.OperationMethod<
|
|
706
|
+
PartialUpdateTelemetryRouterRequest,
|
|
707
|
+
TelemetryRouterResponse,
|
|
708
|
+
PartialUpdateTelemetryRouterError,
|
|
709
|
+
StackitOpContext
|
|
710
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
711
|
+
input: __S(56, __c7, 0) as any as S.Schema<PartialUpdateTelemetryRouterRequest>,
|
|
712
|
+
output: __S(129, __c16, 1) as any as S.Schema<TelemetryRouterResponse>,
|
|
713
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
714
|
+
protocol: StackitProtocol,
|
|
715
|
+
retry: Retry.Retry,
|
|
716
|
+
telemetry: TELEMETRY,
|
|
717
|
+
span: "PartialUpdateTelemetryRouter",
|
|
718
|
+
}));
|
|
719
|
+
|
|
605
720
|
export type UpdateAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
606
721
|
/** Update an existing access token for the given Telemetry Router by its ID. */
|
|
607
722
|
export const updateAccessToken: API.OperationMethod<
|
|
@@ -610,8 +725,8 @@ export const updateAccessToken: API.OperationMethod<
|
|
|
610
725
|
UpdateAccessTokenError,
|
|
611
726
|
StackitOpContext
|
|
612
727
|
> = /*@__PURE__*/ API.make(() => ({
|
|
613
|
-
input: __S(
|
|
614
|
-
output: __S(
|
|
728
|
+
input: __S(64, __c8, 0) as any as S.Schema<UpdateAccessTokenRequest>,
|
|
729
|
+
output: __S(176, __c22, 0) as any as S.Schema<UpdateAccessTokenResponse>,
|
|
615
730
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
616
731
|
protocol: StackitProtocol,
|
|
617
732
|
retry: Retry.Retry,
|
|
@@ -627,8 +742,8 @@ export const updateDestination: API.OperationMethod<
|
|
|
627
742
|
UpdateDestinationError,
|
|
628
743
|
StackitOpContext
|
|
629
744
|
> = /*@__PURE__*/ API.make(() => ({
|
|
630
|
-
input: __S(
|
|
631
|
-
output: __S(
|
|
745
|
+
input: __S(72, __c9, 0) as any as S.Schema<UpdateDestinationRequest>,
|
|
746
|
+
output: __S(109, __c13, 5) as any as S.Schema<DestinationResponse>,
|
|
632
747
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
633
748
|
protocol: StackitProtocol,
|
|
634
749
|
retry: Retry.Retry,
|
|
@@ -644,8 +759,8 @@ export const updateTelemetryRouter: API.OperationMethod<
|
|
|
644
759
|
UpdateTelemetryRouterError,
|
|
645
760
|
StackitOpContext
|
|
646
761
|
> = /*@__PURE__*/ API.make(() => ({
|
|
647
|
-
input: __S(
|
|
648
|
-
output: __S(
|
|
762
|
+
input: __S(80, __c10, 0) as any as S.Schema<UpdateTelemetryRouterRequest>,
|
|
763
|
+
output: __S(129, __c16, 1) as any as S.Schema<TelemetryRouterResponse>,
|
|
649
764
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
650
765
|
protocol: StackitProtocol,
|
|
651
766
|
retry: Retry.Retry,
|
|
@@ -713,7 +828,7 @@ function __c2(j: number): any {
|
|
|
713
828
|
),
|
|
714
829
|
).annotate({ identifier: "ListAccessTokensRequest" });
|
|
715
830
|
case 1:
|
|
716
|
-
return S.Array(__S(
|
|
831
|
+
return S.Array(__S(176, __c22, 0));
|
|
717
832
|
case 2:
|
|
718
833
|
return S.suspend(() =>
|
|
719
834
|
S.Struct({
|
|
@@ -743,7 +858,7 @@ function __c3(j: number): any {
|
|
|
743
858
|
),
|
|
744
859
|
).annotate({ identifier: "ListDestinationsRequest" });
|
|
745
860
|
case 1:
|
|
746
|
-
return S.Array(__S(
|
|
861
|
+
return S.Array(__S(109, __c13, 5));
|
|
747
862
|
case 2:
|
|
748
863
|
return S.suspend(() =>
|
|
749
864
|
S.Struct({
|
|
@@ -772,7 +887,7 @@ function __c4(j: number): any {
|
|
|
772
887
|
),
|
|
773
888
|
).annotate({ identifier: "ListTelemetryRoutersRequest" });
|
|
774
889
|
case 1:
|
|
775
|
-
return S.Array(__S(
|
|
890
|
+
return S.Array(__S(129, __c16, 1));
|
|
776
891
|
case 2:
|
|
777
892
|
return S.suspend(() =>
|
|
778
893
|
S.Struct({
|
|
@@ -783,6 +898,74 @@ function __c4(j: number): any {
|
|
|
783
898
|
}
|
|
784
899
|
}
|
|
785
900
|
function __c5(j: number): any {
|
|
901
|
+
switch (j) {
|
|
902
|
+
case 0:
|
|
903
|
+
return S.suspend(() =>
|
|
904
|
+
S.Struct({
|
|
905
|
+
projectId: S.String.pipe(T.Label()),
|
|
906
|
+
regionId: S.String.pipe(T.Label()),
|
|
907
|
+
telemetryRouterId: S.String.pipe(T.Label()),
|
|
908
|
+
accessTokenId: S.String.pipe(T.Label()),
|
|
909
|
+
description: S.optional(S.NullOr(S.String)),
|
|
910
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
911
|
+
}).pipe(
|
|
912
|
+
T.Http({
|
|
913
|
+
method: "PATCH",
|
|
914
|
+
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/access-tokens/{accessTokenId}",
|
|
915
|
+
code: 200,
|
|
916
|
+
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
917
|
+
}),
|
|
918
|
+
),
|
|
919
|
+
).annotate({ identifier: "PartialUpdateAccessTokenRequest" });
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
function __c6(j: number): any {
|
|
923
|
+
switch (j) {
|
|
924
|
+
case 0:
|
|
925
|
+
return S.suspend(() =>
|
|
926
|
+
S.Struct({
|
|
927
|
+
projectId: S.String.pipe(T.Label()),
|
|
928
|
+
regionId: S.String.pipe(T.Label()),
|
|
929
|
+
telemetryRouterId: S.String.pipe(T.Label()),
|
|
930
|
+
destinationId: S.String.pipe(T.Label()),
|
|
931
|
+
config: S.optional(__S(108, __c13, 4)),
|
|
932
|
+
description: S.optional(S.String),
|
|
933
|
+
displayName: S.optional(S.String),
|
|
934
|
+
}).pipe(
|
|
935
|
+
T.Http({
|
|
936
|
+
method: "PATCH",
|
|
937
|
+
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}/destinations/{destinationId}",
|
|
938
|
+
code: 200,
|
|
939
|
+
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
940
|
+
}),
|
|
941
|
+
),
|
|
942
|
+
).annotate({ identifier: "PartialUpdateDestinationRequest" });
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
function __c7(j: number): any {
|
|
946
|
+
switch (j) {
|
|
947
|
+
case 0:
|
|
948
|
+
return S.suspend(() =>
|
|
949
|
+
S.Struct({
|
|
950
|
+
projectId: S.String.pipe(T.Label()),
|
|
951
|
+
regionId: S.String.pipe(T.Label()),
|
|
952
|
+
telemetryRouterId: S.String.pipe(T.Label()),
|
|
953
|
+
description: S.optional(S.String),
|
|
954
|
+
displayName: S.optional(S.String),
|
|
955
|
+
filter: S.optional(__S(115, __c14, 3)),
|
|
956
|
+
resourceLabels: S.optional(__S(128, __c16, 0)),
|
|
957
|
+
}).pipe(
|
|
958
|
+
T.Http({
|
|
959
|
+
method: "PATCH",
|
|
960
|
+
uri: "/v1/projects/{projectId}/regions/{regionId}/telemetry-routers/{telemetryRouterId}",
|
|
961
|
+
code: 200,
|
|
962
|
+
baseUrl: "https://telemetry-router.api.stackit.cloud",
|
|
963
|
+
}),
|
|
964
|
+
),
|
|
965
|
+
).annotate({ identifier: "PartialUpdateTelemetryRouterRequest" });
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
function __c8(j: number): any {
|
|
786
969
|
switch (j) {
|
|
787
970
|
case 0:
|
|
788
971
|
return S.suspend(() =>
|
|
@@ -804,7 +987,7 @@ function __c5(j: number): any {
|
|
|
804
987
|
).annotate({ identifier: "UpdateAccessTokenRequest" });
|
|
805
988
|
}
|
|
806
989
|
}
|
|
807
|
-
function
|
|
990
|
+
function __c9(j: number): any {
|
|
808
991
|
switch (j) {
|
|
809
992
|
case 0:
|
|
810
993
|
return S.suspend(() =>
|
|
@@ -813,7 +996,7 @@ function __c6(j: number): any {
|
|
|
813
996
|
regionId: S.String.pipe(T.Label()),
|
|
814
997
|
telemetryRouterId: S.String.pipe(T.Label()),
|
|
815
998
|
destinationId: S.String.pipe(T.Label()),
|
|
816
|
-
config: S.optional(__S(
|
|
999
|
+
config: S.optional(__S(108, __c13, 4)),
|
|
817
1000
|
description: S.optional(S.String),
|
|
818
1001
|
displayName: S.optional(S.String),
|
|
819
1002
|
}).pipe(
|
|
@@ -827,7 +1010,7 @@ function __c6(j: number): any {
|
|
|
827
1010
|
).annotate({ identifier: "UpdateDestinationRequest" });
|
|
828
1011
|
}
|
|
829
1012
|
}
|
|
830
|
-
function
|
|
1013
|
+
function __c10(j: number): any {
|
|
831
1014
|
switch (j) {
|
|
832
1015
|
case 0:
|
|
833
1016
|
return S.suspend(() =>
|
|
@@ -837,7 +1020,8 @@ function __c7(j: number): any {
|
|
|
837
1020
|
telemetryRouterId: S.String.pipe(T.Label()),
|
|
838
1021
|
description: S.optional(S.String),
|
|
839
1022
|
displayName: S.optional(S.String),
|
|
840
|
-
filter: S.optional(__S(
|
|
1023
|
+
filter: S.optional(__S(115, __c14, 3)),
|
|
1024
|
+
resourceLabels: S.optional(__S(128, __c16, 0)),
|
|
841
1025
|
}).pipe(
|
|
842
1026
|
T.Http({
|
|
843
1027
|
method: "PUT",
|
|
@@ -849,7 +1033,7 @@ function __c7(j: number): any {
|
|
|
849
1033
|
).annotate({ identifier: "UpdateTelemetryRouterRequest" });
|
|
850
1034
|
}
|
|
851
1035
|
}
|
|
852
|
-
function
|
|
1036
|
+
function __c11(j: number): any {
|
|
853
1037
|
switch (j) {
|
|
854
1038
|
case 0:
|
|
855
1039
|
return S.suspend(() =>
|
|
@@ -883,7 +1067,7 @@ function __c8(j: number): any {
|
|
|
883
1067
|
).annotate({ identifier: "CreateAccessTokenResponse" });
|
|
884
1068
|
}
|
|
885
1069
|
}
|
|
886
|
-
function
|
|
1070
|
+
function __c12(j: number): any {
|
|
887
1071
|
switch (j) {
|
|
888
1072
|
case 0:
|
|
889
1073
|
return S.suspend(() =>
|
|
@@ -891,7 +1075,7 @@ function __c9(j: number): any {
|
|
|
891
1075
|
projectId: S.String.pipe(T.Label()),
|
|
892
1076
|
regionId: S.String.pipe(T.Label()),
|
|
893
1077
|
telemetryRouterId: S.String.pipe(T.Label()),
|
|
894
|
-
config: __S(
|
|
1078
|
+
config: __S(108, __c13, 4),
|
|
895
1079
|
description: S.optional(S.String),
|
|
896
1080
|
displayName: S.String,
|
|
897
1081
|
}).pipe(
|
|
@@ -905,7 +1089,7 @@ function __c9(j: number): any {
|
|
|
905
1089
|
).annotate({ identifier: "CreateDestinationRequest" });
|
|
906
1090
|
}
|
|
907
1091
|
}
|
|
908
|
-
function
|
|
1092
|
+
function __c13(j: number): any {
|
|
909
1093
|
switch (j) {
|
|
910
1094
|
case 0:
|
|
911
1095
|
return S.suspend(() =>
|
|
@@ -917,7 +1101,7 @@ function __c10(j: number): any {
|
|
|
917
1101
|
case 1:
|
|
918
1102
|
return S.suspend(() =>
|
|
919
1103
|
S.Struct({
|
|
920
|
-
basicAuth: S.optional(__S(
|
|
1104
|
+
basicAuth: S.optional(__S(104, __c13, 0)),
|
|
921
1105
|
bearerToken: S.optional(S.String),
|
|
922
1106
|
uri: S.String,
|
|
923
1107
|
}),
|
|
@@ -932,7 +1116,7 @@ function __c10(j: number): any {
|
|
|
932
1116
|
case 3:
|
|
933
1117
|
return S.suspend(() =>
|
|
934
1118
|
S.Struct({
|
|
935
|
-
accessKey: S.optional(__S(
|
|
1119
|
+
accessKey: S.optional(__S(106, __c13, 2)),
|
|
936
1120
|
bucket: S.String,
|
|
937
1121
|
endpoint: S.String,
|
|
938
1122
|
}),
|
|
@@ -941,15 +1125,15 @@ function __c10(j: number): any {
|
|
|
941
1125
|
return S.suspend(() =>
|
|
942
1126
|
S.Struct({
|
|
943
1127
|
configType: S.String,
|
|
944
|
-
filter: S.optional(__S(
|
|
945
|
-
openTelemetry: S.optional(__S(
|
|
946
|
-
s3: S.optional(__S(
|
|
1128
|
+
filter: S.optional(__S(115, __c14, 3)),
|
|
1129
|
+
openTelemetry: S.optional(__S(105, __c13, 1)),
|
|
1130
|
+
s3: S.optional(__S(107, __c13, 3)),
|
|
947
1131
|
}),
|
|
948
1132
|
).annotate({ identifier: "DestinationConfig" });
|
|
949
1133
|
case 5:
|
|
950
1134
|
return S.suspend(() =>
|
|
951
1135
|
S.Struct({
|
|
952
|
-
config: __S(
|
|
1136
|
+
config: __S(108, __c13, 4),
|
|
953
1137
|
creationTime: S.String,
|
|
954
1138
|
credentialType: S.String,
|
|
955
1139
|
description: S.optional(S.String),
|
|
@@ -960,7 +1144,7 @@ function __c10(j: number): any {
|
|
|
960
1144
|
).annotate({ identifier: "DestinationResponse" });
|
|
961
1145
|
}
|
|
962
1146
|
}
|
|
963
|
-
function
|
|
1147
|
+
function __c14(j: number): any {
|
|
964
1148
|
switch (j) {
|
|
965
1149
|
case 0:
|
|
966
1150
|
return S.Array(S.String);
|
|
@@ -970,21 +1154,21 @@ function __c11(j: number): any {
|
|
|
970
1154
|
key: S.String,
|
|
971
1155
|
level: S.String,
|
|
972
1156
|
matcher: S.String,
|
|
973
|
-
values: __S(
|
|
1157
|
+
values: __S(112, __c14, 0),
|
|
974
1158
|
}),
|
|
975
1159
|
).annotate({ identifier: "ConfigFilterAttributes" });
|
|
976
1160
|
case 2:
|
|
977
|
-
return S.Array(__S(
|
|
1161
|
+
return S.Array(__S(113, __c14, 1));
|
|
978
1162
|
case 3:
|
|
979
1163
|
return S.suspend(() =>
|
|
980
1164
|
S.Struct({
|
|
981
|
-
attributes: __S(
|
|
1165
|
+
attributes: __S(114, __c14, 2),
|
|
982
1166
|
disabled: S.optional(S.Boolean),
|
|
983
1167
|
}),
|
|
984
1168
|
).annotate({ identifier: "ConfigFilter" });
|
|
985
1169
|
}
|
|
986
1170
|
}
|
|
987
|
-
function
|
|
1171
|
+
function __c15(j: number): any {
|
|
988
1172
|
switch (j) {
|
|
989
1173
|
case 0:
|
|
990
1174
|
return S.suspend(() =>
|
|
@@ -993,7 +1177,8 @@ function __c12(j: number): any {
|
|
|
993
1177
|
regionId: S.String.pipe(T.Label()),
|
|
994
1178
|
description: S.optional(S.String),
|
|
995
1179
|
displayName: S.String,
|
|
996
|
-
filter: S.optional(__S(
|
|
1180
|
+
filter: S.optional(__S(115, __c14, 3)),
|
|
1181
|
+
resourceLabels: S.optional(__S(128, __c16, 0)),
|
|
997
1182
|
}).pipe(
|
|
998
1183
|
T.Http({
|
|
999
1184
|
method: "POST",
|
|
@@ -1005,23 +1190,27 @@ function __c12(j: number): any {
|
|
|
1005
1190
|
).annotate({ identifier: "CreateTelemetryRouterRequest" });
|
|
1006
1191
|
}
|
|
1007
1192
|
}
|
|
1008
|
-
function
|
|
1193
|
+
function __c16(j: number): any {
|
|
1009
1194
|
switch (j) {
|
|
1010
1195
|
case 0:
|
|
1196
|
+
return S.Record(S.String, S.String);
|
|
1197
|
+
case 1:
|
|
1011
1198
|
return S.suspend(() =>
|
|
1012
1199
|
S.Struct({
|
|
1013
1200
|
creationTime: S.String,
|
|
1014
1201
|
description: S.optional(S.String),
|
|
1202
|
+
destinationCount: S.optional(S.Number),
|
|
1015
1203
|
displayName: S.String,
|
|
1016
|
-
filter: S.optional(__S(
|
|
1204
|
+
filter: S.optional(__S(115, __c14, 3)),
|
|
1017
1205
|
id: S.String,
|
|
1206
|
+
resourceLabels: S.optional(__S(128, __c16, 0)),
|
|
1018
1207
|
status: S.String,
|
|
1019
1208
|
uri: S.String,
|
|
1020
1209
|
}),
|
|
1021
1210
|
).annotate({ identifier: "TelemetryRouterResponse" });
|
|
1022
1211
|
}
|
|
1023
1212
|
}
|
|
1024
|
-
function
|
|
1213
|
+
function __c17(j: number): any {
|
|
1025
1214
|
switch (j) {
|
|
1026
1215
|
case 0:
|
|
1027
1216
|
return S.suspend(() =>
|
|
@@ -1041,13 +1230,13 @@ function __c14(j: number): any {
|
|
|
1041
1230
|
).annotate({ identifier: "DeleteAccessTokenRequest" });
|
|
1042
1231
|
}
|
|
1043
1232
|
}
|
|
1044
|
-
function
|
|
1233
|
+
function __c18(j: number): any {
|
|
1045
1234
|
switch (j) {
|
|
1046
1235
|
case 0:
|
|
1047
1236
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteAccessTokenResponse" });
|
|
1048
1237
|
}
|
|
1049
1238
|
}
|
|
1050
|
-
function
|
|
1239
|
+
function __c19(j: number): any {
|
|
1051
1240
|
switch (j) {
|
|
1052
1241
|
case 0:
|
|
1053
1242
|
return S.suspend(() =>
|
|
@@ -1067,7 +1256,7 @@ function __c16(j: number): any {
|
|
|
1067
1256
|
).annotate({ identifier: "DeleteDestinationRequest" });
|
|
1068
1257
|
}
|
|
1069
1258
|
}
|
|
1070
|
-
function
|
|
1259
|
+
function __c20(j: number): any {
|
|
1071
1260
|
switch (j) {
|
|
1072
1261
|
case 0:
|
|
1073
1262
|
return S.suspend(() =>
|
|
@@ -1087,7 +1276,7 @@ function __c17(j: number): any {
|
|
|
1087
1276
|
).annotate({ identifier: "DeleteTelemetryRouterRequest" });
|
|
1088
1277
|
}
|
|
1089
1278
|
}
|
|
1090
|
-
function
|
|
1279
|
+
function __c21(j: number): any {
|
|
1091
1280
|
switch (j) {
|
|
1092
1281
|
case 0:
|
|
1093
1282
|
return S.suspend(() =>
|
|
@@ -1107,7 +1296,7 @@ function __c18(j: number): any {
|
|
|
1107
1296
|
).annotate({ identifier: "GetAccessTokenRequest" });
|
|
1108
1297
|
}
|
|
1109
1298
|
}
|
|
1110
|
-
function
|
|
1299
|
+
function __c22(j: number): any {
|
|
1111
1300
|
switch (j) {
|
|
1112
1301
|
case 0:
|
|
1113
1302
|
return S.suspend(() =>
|