@distilled.cloud/stackit 1.0.0-rc.16 → 1.0.0-rc.18
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/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -53
- package/lib/errors.js +1 -26
- package/lib/index.d.ts +3 -3
- package/lib/index.js +1 -24
- package/lib/index.lazy.js +7 -0
- package/lib/pagination.js +1 -45
- package/lib/protocol.d.ts +2 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +1 -149
- package/lib/retry.js +1 -32
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +30 -84
- package/lib/services/alb.js.map +1 -0
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +35 -95
- package/lib/services/alb_waf.js.map +1 -0
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +2 -76
- package/lib/services/authorization.js.map +1 -0
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +25 -68
- package/lib/services/automation.js.map +1 -0
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +33 -91
- package/lib/services/cdn.js.map +1 -0
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +2 -53
- package/lib/services/certificates.js.map +1 -0
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +2 -47
- package/lib/services/cost.js.map +1 -0
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +42 -110
- package/lib/services/dns.js.map +1 -0
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +2 -66
- package/lib/services/dremio.js.map +1 -0
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +29 -76
- package/lib/services/edge.js.map +1 -0
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +28 -70
- package/lib/services/functions.js.map +1 -0
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +37 -97
- package/lib/services/git.js.map +1 -0
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +183 -420
- package/lib/services/iaas.js.map +1 -0
- package/lib/services/index.js +0 -2
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +31 -84
- package/lib/services/intake.js.map +1 -0
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +43 -108
- package/lib/services/kms.js.map +1 -0
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +2 -53
- package/lib/services/lb_ip_lists.js.map +1 -0
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +31 -87
- package/lib/services/load_balancer.js.map +1 -0
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -92
- package/lib/services/logme.js.map +1 -0
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +36 -94
- package/lib/services/logs.js.map +1 -0
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -94
- package/lib/services/mariadb.js.map +1 -0
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +2 -77
- package/lib/services/model_experiments.js.map +1 -0
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +2 -65
- package/lib/services/model_serving.js.map +1 -0
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +44 -112
- package/lib/services/mongodb_flex.js.map +1 -0
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +40 -105
- package/lib/services/object_storage.js.map +1 -0
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +161 -385
- package/lib/services/observability.js.map +1 -0
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -95
- package/lib/services/opensearch.js.map +1 -0
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +33 -91
- package/lib/services/pim.js.map +1 -0
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +49 -126
- package/lib/services/postgres_flex.js.map +1 -0
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +39 -104
- package/lib/services/pubsub.js.map +1 -0
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -98
- package/lib/services/rabbitmq.js.map +1 -0
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +2 -58
- package/lib/services/registry.js.map +1 -0
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +38 -103
- package/lib/services/resource_manager.js.map +1 -0
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +2 -47
- package/lib/services/run_command.js.map +1 -0
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +27 -73
- package/lib/services/sca.js.map +1 -0
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +42 -109
- package/lib/services/scf.js.map +1 -0
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +44 -111
- package/lib/services/secrets_manager.js.map +1 -0
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +31 -80
- package/lib/services/server_backup.js.map +1 -0
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +2 -68
- package/lib/services/server_update.js.map +1 -0
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +32 -86
- package/lib/services/service_account.js.map +1 -0
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +2 -50
- package/lib/services/service_enablement.js.map +1 -0
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +48 -125
- package/lib/services/sfs.js.map +1 -0
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +28 -76
- package/lib/services/ske.js.map +1 -0
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +48 -123
- package/lib/services/sqlserverflex.js.map +1 -0
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +28 -74
- package/lib/services/stackit_marketplace.js.map +1 -0
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +36 -91
- package/lib/services/telemetry_link.js.map +1 -0
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -83
- package/lib/services/telemetry_router.js.map +1 -0
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +2 -65
- package/lib/services/ufw.js.map +1 -0
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -95
- package/lib/services/valkey.js.map +1 -0
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +45 -116
- package/lib/services/vpn.js.map +1 -0
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +29 -78
- package/lib/services/workflows.js.map +1 -0
- package/lib/services.lazy/alb.js +4 -0
- package/lib/services.lazy/alb_waf.js +4 -0
- package/lib/services.lazy/authorization.js +1 -0
- package/lib/services.lazy/automation.js +4 -0
- package/lib/services.lazy/cdn.js +4 -0
- package/lib/services.lazy/certificates.js +1 -0
- package/lib/services.lazy/cost.js +1 -0
- package/lib/services.lazy/dns.js +4 -0
- package/lib/services.lazy/dremio.js +1 -0
- package/lib/services.lazy/edge.js +4 -0
- package/lib/services.lazy/functions.js +3 -0
- package/lib/services.lazy/git.js +4 -0
- package/lib/services.lazy/iaas.js +4 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/intake.js +4 -0
- package/lib/services.lazy/kms.js +4 -0
- package/lib/services.lazy/lb_ip_lists.js +1 -0
- package/lib/services.lazy/load_balancer.js +4 -0
- package/lib/services.lazy/logme.js +4 -0
- package/lib/services.lazy/logs.js +4 -0
- package/lib/services.lazy/mariadb.js +4 -0
- package/lib/services.lazy/model_experiments.js +1 -0
- package/lib/services.lazy/model_serving.js +1 -0
- package/lib/services.lazy/mongodb_flex.js +4 -0
- package/lib/services.lazy/object_storage.js +4 -0
- package/lib/services.lazy/observability.js +4 -0
- package/lib/services.lazy/opensearch.js +4 -0
- package/lib/services.lazy/pim.js +4 -0
- package/lib/services.lazy/postgres_flex.js +4 -0
- package/lib/services.lazy/pubsub.js +4 -0
- package/lib/services.lazy/rabbitmq.js +4 -0
- package/lib/services.lazy/registry.js +1 -0
- package/lib/services.lazy/resource_manager.js +4 -0
- package/lib/services.lazy/run_command.js +1 -0
- package/lib/services.lazy/sca.js +4 -0
- package/lib/services.lazy/scf.js +4 -0
- package/lib/services.lazy/secrets_manager.js +4 -0
- package/lib/services.lazy/server_backup.js +4 -0
- package/lib/services.lazy/server_update.js +1 -0
- package/lib/services.lazy/service_account.js +4 -0
- package/lib/services.lazy/service_enablement.js +1 -0
- package/lib/services.lazy/sfs.js +4 -0
- package/lib/services.lazy/ske.js +4 -0
- package/lib/services.lazy/sqlserverflex.js +4 -0
- package/lib/services.lazy/stackit_marketplace.js +4 -0
- package/lib/services.lazy/telemetry_link.js +4 -0
- package/lib/services.lazy/telemetry_router.js +4 -0
- package/lib/services.lazy/ufw.js +1 -0
- package/lib/services.lazy/valkey.js +4 -0
- package/lib/services.lazy/vpn.js +4 -0
- package/lib/services.lazy/workflows.js +4 -0
- package/lib/traits.js +1 -15
- package/package.json +8 -9
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/protocol.ts +13 -11
- package/src/services/alb.ts +39 -0
- package/src/services/alb_waf.ts +45 -0
- package/src/services/authorization.ts +35 -0
- package/src/services/automation.ts +33 -0
- package/src/services/cdn.ts +43 -0
- package/src/services/certificates.ts +23 -0
- package/src/services/cost.ts +19 -0
- package/src/services/dns.ts +55 -0
- package/src/services/dremio.ts +31 -0
- package/src/services/edge.ts +41 -0
- package/src/services/functions.ts +43 -0
- package/src/services/git.ts +53 -0
- package/src/services/iaas.ts +285 -0
- package/src/services/intake.ts +43 -0
- package/src/services/kms.ts +63 -0
- package/src/services/lb_ip_lists.ts +23 -0
- package/src/services/load_balancer.ts +39 -0
- package/src/services/logme.ts +51 -0
- package/src/services/logs.ts +49 -0
- package/src/services/mariadb.ts +51 -0
- package/src/services/model_experiments.ts +33 -0
- package/src/services/model_serving.ts +29 -0
- package/src/services/mongodb_flex.ts +63 -0
- package/src/services/object_storage.ts +55 -0
- package/src/services/observability.ts +225 -0
- package/src/services/opensearch.ts +51 -0
- package/src/services/pim.ts +41 -0
- package/src/services/postgres_flex.ts +67 -0
- package/src/services/pubsub.ts +49 -0
- package/src/services/rabbitmq.ts +51 -0
- package/src/services/registry.ts +25 -0
- package/src/services/resource_manager.ts +45 -0
- package/src/services/run_command.ts +23 -0
- package/src/services/sca.ts +37 -0
- package/src/services/scf.ts +59 -0
- package/src/services/secrets_manager.ts +65 -0
- package/src/services/server_backup.ts +45 -0
- package/src/services/server_update.ts +37 -0
- package/src/services/service_account.ts +43 -0
- package/src/services/service_enablement.ts +21 -0
- package/src/services/sfs.ts +65 -0
- package/src/services/ske.ts +41 -0
- package/src/services/sqlserverflex.ts +69 -0
- package/src/services/stackit_marketplace.ts +39 -0
- package/src/services/telemetry_link.ts +55 -0
- package/src/services/telemetry_router.ts +43 -0
- package/src/services/ufw.ts +29 -0
- package/src/services/valkey.ts +51 -0
- package/src/services/vpn.ts +61 -0
- package/src/services/workflows.ts +41 -0
- package/lib/credentials.js.map +0 -1
- package/lib/errors.js.map +0 -1
- package/lib/pagination.js.map +0 -1
- package/lib/protocol.js.map +0 -1
- package/lib/retry.js.map +0 -1
- package/lib/services/index.js.map +0 -1
- package/lib/traits.js.map +0 -1
- /package/lib/{index.js.map → index.lazy.js.map} +0 -0
|
@@ -12,6 +12,19 @@ const __s: any[] = [];
|
|
|
12
12
|
|
|
13
13
|
export type { StackitOpError, StackitOpContext };
|
|
14
14
|
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "stackit-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "STACKIT",
|
|
23
|
+
service: "ServerBackup",
|
|
24
|
+
labels: "stackit",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
15
28
|
export class BadRequest
|
|
16
29
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -316,6 +329,8 @@ export const createBackup: API.OperationMethod<
|
|
|
316
329
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
317
330
|
protocol: StackitProtocol,
|
|
318
331
|
retry: Retry.Retry,
|
|
332
|
+
telemetry: TELEMETRY,
|
|
333
|
+
span: "CreateBackup",
|
|
319
334
|
}));
|
|
320
335
|
|
|
321
336
|
export type CreateBackupScheduleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -331,6 +346,8 @@ export const createBackupSchedule: API.OperationMethod<
|
|
|
331
346
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
332
347
|
protocol: StackitProtocol,
|
|
333
348
|
retry: Retry.Retry,
|
|
349
|
+
telemetry: TELEMETRY,
|
|
350
|
+
span: "CreateBackupSchedule",
|
|
334
351
|
}));
|
|
335
352
|
|
|
336
353
|
export type DeleteBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -346,6 +363,8 @@ export const deleteBackup: API.OperationMethod<
|
|
|
346
363
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
347
364
|
protocol: StackitProtocol,
|
|
348
365
|
retry: Retry.Retry,
|
|
366
|
+
telemetry: TELEMETRY,
|
|
367
|
+
span: "DeleteBackup",
|
|
349
368
|
}));
|
|
350
369
|
|
|
351
370
|
export type DeleteBackupScheduleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -361,6 +380,8 @@ export const deleteBackupSchedule: API.OperationMethod<
|
|
|
361
380
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
362
381
|
protocol: StackitProtocol,
|
|
363
382
|
retry: Retry.Retry,
|
|
383
|
+
telemetry: TELEMETRY,
|
|
384
|
+
span: "DeleteBackupSchedule",
|
|
364
385
|
}));
|
|
365
386
|
|
|
366
387
|
export type DeleteVolumeBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -376,6 +397,8 @@ export const deleteVolumeBackup: API.OperationMethod<
|
|
|
376
397
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
377
398
|
protocol: StackitProtocol,
|
|
378
399
|
retry: Retry.Retry,
|
|
400
|
+
telemetry: TELEMETRY,
|
|
401
|
+
span: "DeleteVolumeBackup",
|
|
379
402
|
}));
|
|
380
403
|
|
|
381
404
|
export type DisableServiceResourceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -391,6 +414,8 @@ export const disableServiceResource: API.OperationMethod<
|
|
|
391
414
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
392
415
|
protocol: StackitProtocol,
|
|
393
416
|
retry: Retry.Retry,
|
|
417
|
+
telemetry: TELEMETRY,
|
|
418
|
+
span: "DisableServiceResource",
|
|
394
419
|
}));
|
|
395
420
|
|
|
396
421
|
export type EnableServiceResourceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -406,6 +431,8 @@ export const enableServiceResource: API.OperationMethod<
|
|
|
406
431
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
407
432
|
protocol: StackitProtocol,
|
|
408
433
|
retry: Retry.Retry,
|
|
434
|
+
telemetry: TELEMETRY,
|
|
435
|
+
span: "EnableServiceResource",
|
|
409
436
|
}));
|
|
410
437
|
|
|
411
438
|
export type GetBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -421,6 +448,8 @@ export const getBackup: API.OperationMethod<
|
|
|
421
448
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
422
449
|
protocol: StackitProtocol,
|
|
423
450
|
retry: Retry.Retry,
|
|
451
|
+
telemetry: TELEMETRY,
|
|
452
|
+
span: "GetBackup",
|
|
424
453
|
}));
|
|
425
454
|
|
|
426
455
|
export type GetBackupScheduleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -436,6 +465,8 @@ export const getBackupSchedule: API.OperationMethod<
|
|
|
436
465
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
437
466
|
protocol: StackitProtocol,
|
|
438
467
|
retry: Retry.Retry,
|
|
468
|
+
telemetry: TELEMETRY,
|
|
469
|
+
span: "GetBackupSchedule",
|
|
439
470
|
}));
|
|
440
471
|
|
|
441
472
|
export type GetServiceResourceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -451,6 +482,8 @@ export const getServiceResource: API.OperationMethod<
|
|
|
451
482
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
452
483
|
protocol: StackitProtocol,
|
|
453
484
|
retry: Retry.Retry,
|
|
485
|
+
telemetry: TELEMETRY,
|
|
486
|
+
span: "GetServiceResource",
|
|
454
487
|
}));
|
|
455
488
|
|
|
456
489
|
export type ListBackupPoliciesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -466,6 +499,8 @@ export const listBackupPolicies: API.OperationMethod<
|
|
|
466
499
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
467
500
|
protocol: StackitProtocol,
|
|
468
501
|
retry: Retry.Retry,
|
|
502
|
+
telemetry: TELEMETRY,
|
|
503
|
+
span: "ListBackupPolicies",
|
|
469
504
|
}));
|
|
470
505
|
|
|
471
506
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -481,6 +516,8 @@ export const listBackups: API.OperationMethod<
|
|
|
481
516
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
482
517
|
protocol: StackitProtocol,
|
|
483
518
|
retry: Retry.Retry,
|
|
519
|
+
telemetry: TELEMETRY,
|
|
520
|
+
span: "ListBackups",
|
|
484
521
|
}));
|
|
485
522
|
|
|
486
523
|
export type ListBackupSchedulesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -496,6 +533,8 @@ export const listBackupSchedules: API.OperationMethod<
|
|
|
496
533
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
497
534
|
protocol: StackitProtocol,
|
|
498
535
|
retry: Retry.Retry,
|
|
536
|
+
telemetry: TELEMETRY,
|
|
537
|
+
span: "ListBackupSchedules",
|
|
499
538
|
}));
|
|
500
539
|
|
|
501
540
|
export type RestoreBackupError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -511,6 +550,8 @@ export const restoreBackup: API.OperationMethod<
|
|
|
511
550
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
512
551
|
protocol: StackitProtocol,
|
|
513
552
|
retry: Retry.Retry,
|
|
553
|
+
telemetry: TELEMETRY,
|
|
554
|
+
span: "RestoreBackup",
|
|
514
555
|
}));
|
|
515
556
|
|
|
516
557
|
export type RestoreVolumeBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -526,6 +567,8 @@ export const restoreVolumeBackup: API.OperationMethod<
|
|
|
526
567
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
527
568
|
protocol: StackitProtocol,
|
|
528
569
|
retry: Retry.Retry,
|
|
570
|
+
telemetry: TELEMETRY,
|
|
571
|
+
span: "RestoreVolumeBackup",
|
|
529
572
|
}));
|
|
530
573
|
|
|
531
574
|
export type UpdateBackupScheduleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -541,6 +584,8 @@ export const updateBackupSchedule: API.OperationMethod<
|
|
|
541
584
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
542
585
|
protocol: StackitProtocol,
|
|
543
586
|
retry: Retry.Retry,
|
|
587
|
+
telemetry: TELEMETRY,
|
|
588
|
+
span: "UpdateBackupSchedule",
|
|
544
589
|
}));
|
|
545
590
|
|
|
546
591
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -12,6 +12,19 @@ const __s: any[] = [];
|
|
|
12
12
|
|
|
13
13
|
export type { StackitOpError, StackitOpContext };
|
|
14
14
|
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "stackit-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "STACKIT",
|
|
23
|
+
service: "ServerUpdate",
|
|
24
|
+
labels: "stackit",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
15
28
|
export class BadRequest
|
|
16
29
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -242,6 +255,8 @@ export const createUpdate: API.OperationMethod<
|
|
|
242
255
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
243
256
|
protocol: StackitProtocol,
|
|
244
257
|
retry: Retry.Retry,
|
|
258
|
+
telemetry: TELEMETRY,
|
|
259
|
+
span: "CreateUpdate",
|
|
245
260
|
}));
|
|
246
261
|
|
|
247
262
|
export type CreateUpdateScheduleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -257,6 +272,8 @@ export const createUpdateSchedule: API.OperationMethod<
|
|
|
257
272
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
258
273
|
protocol: StackitProtocol,
|
|
259
274
|
retry: Retry.Retry,
|
|
275
|
+
telemetry: TELEMETRY,
|
|
276
|
+
span: "CreateUpdateSchedule",
|
|
260
277
|
}));
|
|
261
278
|
|
|
262
279
|
export type DeleteUpdateScheduleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -272,6 +289,8 @@ export const deleteUpdateSchedule: API.OperationMethod<
|
|
|
272
289
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
273
290
|
protocol: StackitProtocol,
|
|
274
291
|
retry: Retry.Retry,
|
|
292
|
+
telemetry: TELEMETRY,
|
|
293
|
+
span: "DeleteUpdateSchedule",
|
|
275
294
|
}));
|
|
276
295
|
|
|
277
296
|
export type DisableServiceResourceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -287,6 +306,8 @@ export const disableServiceResource: API.OperationMethod<
|
|
|
287
306
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
288
307
|
protocol: StackitProtocol,
|
|
289
308
|
retry: Retry.Retry,
|
|
309
|
+
telemetry: TELEMETRY,
|
|
310
|
+
span: "DisableServiceResource",
|
|
290
311
|
}));
|
|
291
312
|
|
|
292
313
|
export type EnableServiceResourceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -302,6 +323,8 @@ export const enableServiceResource: API.OperationMethod<
|
|
|
302
323
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
303
324
|
protocol: StackitProtocol,
|
|
304
325
|
retry: Retry.Retry,
|
|
326
|
+
telemetry: TELEMETRY,
|
|
327
|
+
span: "EnableServiceResource",
|
|
305
328
|
}));
|
|
306
329
|
|
|
307
330
|
export type GetServiceResourceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -317,6 +340,8 @@ export const getServiceResource: API.OperationMethod<
|
|
|
317
340
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
318
341
|
protocol: StackitProtocol,
|
|
319
342
|
retry: Retry.Retry,
|
|
343
|
+
telemetry: TELEMETRY,
|
|
344
|
+
span: "GetServiceResource",
|
|
320
345
|
}));
|
|
321
346
|
|
|
322
347
|
export type GetUpdateError = BadRequest | NotFound | StackitOpError;
|
|
@@ -332,6 +357,8 @@ export const getUpdate: API.OperationMethod<
|
|
|
332
357
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
333
358
|
protocol: StackitProtocol,
|
|
334
359
|
retry: Retry.Retry,
|
|
360
|
+
telemetry: TELEMETRY,
|
|
361
|
+
span: "GetUpdate",
|
|
335
362
|
}));
|
|
336
363
|
|
|
337
364
|
export type GetUpdateScheduleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -347,6 +374,8 @@ export const getUpdateSchedule: API.OperationMethod<
|
|
|
347
374
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
348
375
|
protocol: StackitProtocol,
|
|
349
376
|
retry: Retry.Retry,
|
|
377
|
+
telemetry: TELEMETRY,
|
|
378
|
+
span: "GetUpdateSchedule",
|
|
350
379
|
}));
|
|
351
380
|
|
|
352
381
|
export type ListUpdatePoliciesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -362,6 +391,8 @@ export const listUpdatePolicies: API.OperationMethod<
|
|
|
362
391
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
363
392
|
protocol: StackitProtocol,
|
|
364
393
|
retry: Retry.Retry,
|
|
394
|
+
telemetry: TELEMETRY,
|
|
395
|
+
span: "ListUpdatePolicies",
|
|
365
396
|
}));
|
|
366
397
|
|
|
367
398
|
export type ListUpdatesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -377,6 +408,8 @@ export const listUpdates: API.OperationMethod<
|
|
|
377
408
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
378
409
|
protocol: StackitProtocol,
|
|
379
410
|
retry: Retry.Retry,
|
|
411
|
+
telemetry: TELEMETRY,
|
|
412
|
+
span: "ListUpdates",
|
|
380
413
|
}));
|
|
381
414
|
|
|
382
415
|
export type ListUpdateSchedulesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -392,6 +425,8 @@ export const listUpdateSchedules: API.OperationMethod<
|
|
|
392
425
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
393
426
|
protocol: StackitProtocol,
|
|
394
427
|
retry: Retry.Retry,
|
|
428
|
+
telemetry: TELEMETRY,
|
|
429
|
+
span: "ListUpdateSchedules",
|
|
395
430
|
}));
|
|
396
431
|
|
|
397
432
|
export type UpdateUpdateScheduleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -407,6 +442,8 @@ export const updateUpdateSchedule: API.OperationMethod<
|
|
|
407
442
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
408
443
|
protocol: StackitProtocol,
|
|
409
444
|
retry: Retry.Retry,
|
|
445
|
+
telemetry: TELEMETRY,
|
|
446
|
+
span: "UpdateUpdateSchedule",
|
|
410
447
|
}));
|
|
411
448
|
|
|
412
449
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "ServiceAccount",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -386,6 +399,8 @@ export const createFederatedIdentityProvider: API.OperationMethod<
|
|
|
386
399
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
387
400
|
protocol: StackitProtocol,
|
|
388
401
|
retry: Retry.Retry,
|
|
402
|
+
telemetry: TELEMETRY,
|
|
403
|
+
span: "CreateFederatedIdentityProvider",
|
|
389
404
|
}));
|
|
390
405
|
|
|
391
406
|
export type CreateServiceAccountError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
@@ -401,6 +416,8 @@ export const createServiceAccount: API.OperationMethod<
|
|
|
401
416
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
402
417
|
protocol: StackitProtocol,
|
|
403
418
|
retry: Retry.Retry,
|
|
419
|
+
telemetry: TELEMETRY,
|
|
420
|
+
span: "CreateServiceAccount",
|
|
404
421
|
}));
|
|
405
422
|
|
|
406
423
|
export type CreateServiceAccountKeyError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
@@ -416,6 +433,8 @@ export const createServiceAccountKey: API.OperationMethod<
|
|
|
416
433
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
417
434
|
protocol: StackitProtocol,
|
|
418
435
|
retry: Retry.Retry,
|
|
436
|
+
telemetry: TELEMETRY,
|
|
437
|
+
span: "CreateServiceAccountKey",
|
|
419
438
|
}));
|
|
420
439
|
|
|
421
440
|
export type CreateShortLivedAccessTokenError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -431,6 +450,8 @@ export const createShortLivedAccessToken: API.OperationMethod<
|
|
|
431
450
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
432
451
|
protocol: StackitProtocol,
|
|
433
452
|
retry: Retry.Retry,
|
|
453
|
+
telemetry: TELEMETRY,
|
|
454
|
+
span: "CreateShortLivedAccessToken",
|
|
434
455
|
}));
|
|
435
456
|
|
|
436
457
|
export type DeleteServiceAccountError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -446,6 +467,8 @@ export const deleteServiceAccount: API.OperationMethod<
|
|
|
446
467
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
447
468
|
protocol: StackitProtocol,
|
|
448
469
|
retry: Retry.Retry,
|
|
470
|
+
telemetry: TELEMETRY,
|
|
471
|
+
span: "DeleteServiceAccount",
|
|
449
472
|
}));
|
|
450
473
|
|
|
451
474
|
export type DeleteServiceAccountKeyError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -461,6 +484,8 @@ export const deleteServiceAccountKey: API.OperationMethod<
|
|
|
461
484
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
462
485
|
protocol: StackitProtocol,
|
|
463
486
|
retry: Retry.Retry,
|
|
487
|
+
telemetry: TELEMETRY,
|
|
488
|
+
span: "DeleteServiceAccountKey",
|
|
464
489
|
}));
|
|
465
490
|
|
|
466
491
|
export type DeleteServiceFederatedIdentityProviderError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -476,6 +501,8 @@ export const deleteServiceFederatedIdentityProvider: API.OperationMethod<
|
|
|
476
501
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
477
502
|
protocol: StackitProtocol,
|
|
478
503
|
retry: Retry.Retry,
|
|
504
|
+
telemetry: TELEMETRY,
|
|
505
|
+
span: "DeleteServiceFederatedIdentityProvider",
|
|
479
506
|
}));
|
|
480
507
|
|
|
481
508
|
export type GetFederatedIdentityProviderError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -491,6 +518,8 @@ export const getFederatedIdentityProvider: API.OperationMethod<
|
|
|
491
518
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
492
519
|
protocol: StackitProtocol,
|
|
493
520
|
retry: Retry.Retry,
|
|
521
|
+
telemetry: TELEMETRY,
|
|
522
|
+
span: "GetFederatedIdentityProvider",
|
|
494
523
|
}));
|
|
495
524
|
|
|
496
525
|
export type GetJWKSError = StackitOpError;
|
|
@@ -502,6 +531,8 @@ export const getJWKS: API.OperationMethod<GetJWKSRequest, JWKS, GetJWKSError, St
|
|
|
502
531
|
errors: [UnknownStackitError],
|
|
503
532
|
protocol: StackitProtocol,
|
|
504
533
|
retry: Retry.Retry,
|
|
534
|
+
telemetry: TELEMETRY,
|
|
535
|
+
span: "GetJWKS",
|
|
505
536
|
}));
|
|
506
537
|
|
|
507
538
|
export type GetServiceAccountKeyError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -517,6 +548,8 @@ export const getServiceAccountKey: API.OperationMethod<
|
|
|
517
548
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
518
549
|
protocol: StackitProtocol,
|
|
519
550
|
retry: Retry.Retry,
|
|
551
|
+
telemetry: TELEMETRY,
|
|
552
|
+
span: "GetServiceAccountKey",
|
|
520
553
|
}));
|
|
521
554
|
|
|
522
555
|
export type ListFederatedIdentityProvidersError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -532,6 +565,8 @@ export const listFederatedIdentityProviders: API.OperationMethod<
|
|
|
532
565
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
533
566
|
protocol: StackitProtocol,
|
|
534
567
|
retry: Retry.Retry,
|
|
568
|
+
telemetry: TELEMETRY,
|
|
569
|
+
span: "ListFederatedIdentityProviders",
|
|
535
570
|
}));
|
|
536
571
|
|
|
537
572
|
export type ListServiceAccountKeysError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -547,6 +582,8 @@ export const listServiceAccountKeys: API.OperationMethod<
|
|
|
547
582
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
548
583
|
protocol: StackitProtocol,
|
|
549
584
|
retry: Retry.Retry,
|
|
585
|
+
telemetry: TELEMETRY,
|
|
586
|
+
span: "ListServiceAccountKeys",
|
|
550
587
|
}));
|
|
551
588
|
|
|
552
589
|
export type ListServiceAccountsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -562,6 +599,8 @@ export const listServiceAccounts: API.OperationMethod<
|
|
|
562
599
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
563
600
|
protocol: StackitProtocol,
|
|
564
601
|
retry: Retry.Retry,
|
|
602
|
+
telemetry: TELEMETRY,
|
|
603
|
+
span: "ListServiceAccounts",
|
|
565
604
|
}));
|
|
566
605
|
|
|
567
606
|
export type PartialUpdateServiceAccountFederatedIdentityProviderError =
|
|
@@ -585,6 +624,8 @@ export const partialUpdateServiceAccountFederatedIdentityProvider: API.Operation
|
|
|
585
624
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
586
625
|
protocol: StackitProtocol,
|
|
587
626
|
retry: Retry.Retry,
|
|
627
|
+
telemetry: TELEMETRY,
|
|
628
|
+
span: "PartialUpdateServiceAccountFederatedIdentityProvider",
|
|
588
629
|
}));
|
|
589
630
|
|
|
590
631
|
export type PartialUpdateServiceAccountKeyError =
|
|
@@ -604,6 +645,8 @@ export const partialUpdateServiceAccountKey: API.OperationMethod<
|
|
|
604
645
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
605
646
|
protocol: StackitProtocol,
|
|
606
647
|
retry: Retry.Retry,
|
|
648
|
+
telemetry: TELEMETRY,
|
|
649
|
+
span: "PartialUpdateServiceAccountKey",
|
|
607
650
|
}));
|
|
608
651
|
|
|
609
652
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -12,6 +12,19 @@ const __s: any[] = [];
|
|
|
12
12
|
|
|
13
13
|
export type { StackitOpError, StackitOpContext };
|
|
14
14
|
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "stackit-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "STACKIT",
|
|
23
|
+
service: "ServiceEnablement",
|
|
24
|
+
labels: "stackit",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
15
28
|
export class BadRequest
|
|
16
29
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -128,6 +141,8 @@ export const disableServiceRegional: API.OperationMethod<
|
|
|
128
141
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
129
142
|
protocol: StackitProtocol,
|
|
130
143
|
retry: Retry.Retry,
|
|
144
|
+
telemetry: TELEMETRY,
|
|
145
|
+
span: "DisableServiceRegional",
|
|
131
146
|
}));
|
|
132
147
|
|
|
133
148
|
export type EnableServiceRegionalError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -143,6 +158,8 @@ export const enableServiceRegional: API.OperationMethod<
|
|
|
143
158
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
144
159
|
protocol: StackitProtocol,
|
|
145
160
|
retry: Retry.Retry,
|
|
161
|
+
telemetry: TELEMETRY,
|
|
162
|
+
span: "EnableServiceRegional",
|
|
146
163
|
}));
|
|
147
164
|
|
|
148
165
|
export type GetServiceStatusRegionalError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -158,6 +175,8 @@ export const getServiceStatusRegional: API.OperationMethod<
|
|
|
158
175
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
159
176
|
protocol: StackitProtocol,
|
|
160
177
|
retry: Retry.Retry,
|
|
178
|
+
telemetry: TELEMETRY,
|
|
179
|
+
span: "GetServiceStatusRegional",
|
|
161
180
|
}));
|
|
162
181
|
|
|
163
182
|
export type ListServiceStatusRegionalError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -173,6 +192,8 @@ export const listServiceStatusRegional: API.OperationMethod<
|
|
|
173
192
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
174
193
|
protocol: StackitProtocol,
|
|
175
194
|
retry: Retry.Retry,
|
|
195
|
+
telemetry: TELEMETRY,
|
|
196
|
+
span: "ListServiceStatusRegional",
|
|
176
197
|
}));
|
|
177
198
|
|
|
178
199
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|