@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
package/src/services/logme.ts
CHANGED
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "Logme",
|
|
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", {
|
|
@@ -413,6 +426,8 @@ export const createBackup: API.OperationMethod<
|
|
|
413
426
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
414
427
|
protocol: StackitProtocol,
|
|
415
428
|
retry: Retry.Retry,
|
|
429
|
+
telemetry: TELEMETRY,
|
|
430
|
+
span: "CreateBackup",
|
|
416
431
|
}));
|
|
417
432
|
|
|
418
433
|
export type CreateCredentialsError = BadRequest | StackitOpError;
|
|
@@ -428,6 +443,8 @@ export const createCredentials: API.OperationMethod<
|
|
|
428
443
|
errors: [BadRequest, UnknownStackitError],
|
|
429
444
|
protocol: StackitProtocol,
|
|
430
445
|
retry: Retry.Retry,
|
|
446
|
+
telemetry: TELEMETRY,
|
|
447
|
+
span: "CreateCredentials",
|
|
431
448
|
}));
|
|
432
449
|
|
|
433
450
|
export type CreateInstanceError = BadRequest | Conflict | StackitOpError;
|
|
@@ -443,6 +460,8 @@ export const createInstance: API.OperationMethod<
|
|
|
443
460
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
444
461
|
protocol: StackitProtocol,
|
|
445
462
|
retry: Retry.Retry,
|
|
463
|
+
telemetry: TELEMETRY,
|
|
464
|
+
span: "CreateInstance",
|
|
446
465
|
}));
|
|
447
466
|
|
|
448
467
|
export type DeleteCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -458,6 +477,8 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
458
477
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
459
478
|
protocol: StackitProtocol,
|
|
460
479
|
retry: Retry.Retry,
|
|
480
|
+
telemetry: TELEMETRY,
|
|
481
|
+
span: "DeleteCredentials",
|
|
461
482
|
}));
|
|
462
483
|
|
|
463
484
|
export type DeleteInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -473,6 +494,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
473
494
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
474
495
|
protocol: StackitProtocol,
|
|
475
496
|
retry: Retry.Retry,
|
|
497
|
+
telemetry: TELEMETRY,
|
|
498
|
+
span: "DeleteInstance",
|
|
476
499
|
}));
|
|
477
500
|
|
|
478
501
|
export type DownloadBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -488,6 +511,8 @@ export const downloadBackup: API.OperationMethod<
|
|
|
488
511
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
489
512
|
protocol: StackitProtocol,
|
|
490
513
|
retry: Retry.Retry,
|
|
514
|
+
telemetry: TELEMETRY,
|
|
515
|
+
span: "DownloadBackup",
|
|
491
516
|
}));
|
|
492
517
|
|
|
493
518
|
export type GetCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -503,6 +528,8 @@ export const getCredentials: API.OperationMethod<
|
|
|
503
528
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
504
529
|
protocol: StackitProtocol,
|
|
505
530
|
retry: Retry.Retry,
|
|
531
|
+
telemetry: TELEMETRY,
|
|
532
|
+
span: "GetCredentials",
|
|
506
533
|
}));
|
|
507
534
|
|
|
508
535
|
export type GetInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -518,6 +545,8 @@ export const getInstance: API.OperationMethod<
|
|
|
518
545
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
519
546
|
protocol: StackitProtocol,
|
|
520
547
|
retry: Retry.Retry,
|
|
548
|
+
telemetry: TELEMETRY,
|
|
549
|
+
span: "GetInstance",
|
|
521
550
|
}));
|
|
522
551
|
|
|
523
552
|
export type GetMetricsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -533,6 +562,8 @@ export const getMetrics: API.OperationMethod<
|
|
|
533
562
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
534
563
|
protocol: StackitProtocol,
|
|
535
564
|
retry: Retry.Retry,
|
|
565
|
+
telemetry: TELEMETRY,
|
|
566
|
+
span: "GetMetrics",
|
|
536
567
|
}));
|
|
537
568
|
|
|
538
569
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -548,6 +579,8 @@ export const listBackups: API.OperationMethod<
|
|
|
548
579
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
549
580
|
protocol: StackitProtocol,
|
|
550
581
|
retry: Retry.Retry,
|
|
582
|
+
telemetry: TELEMETRY,
|
|
583
|
+
span: "ListBackups",
|
|
551
584
|
}));
|
|
552
585
|
|
|
553
586
|
export type ListCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -563,6 +596,8 @@ export const listCredentials: API.OperationMethod<
|
|
|
563
596
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
564
597
|
protocol: StackitProtocol,
|
|
565
598
|
retry: Retry.Retry,
|
|
599
|
+
telemetry: TELEMETRY,
|
|
600
|
+
span: "ListCredentials",
|
|
566
601
|
}));
|
|
567
602
|
|
|
568
603
|
export type ListInstancesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -578,6 +613,8 @@ export const listInstances: API.OperationMethod<
|
|
|
578
613
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
579
614
|
protocol: StackitProtocol,
|
|
580
615
|
retry: Retry.Retry,
|
|
616
|
+
telemetry: TELEMETRY,
|
|
617
|
+
span: "ListInstances",
|
|
581
618
|
}));
|
|
582
619
|
|
|
583
620
|
export type ListOfferingsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -593,6 +630,8 @@ export const listOfferings: API.OperationMethod<
|
|
|
593
630
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
594
631
|
protocol: StackitProtocol,
|
|
595
632
|
retry: Retry.Retry,
|
|
633
|
+
telemetry: TELEMETRY,
|
|
634
|
+
span: "ListOfferings",
|
|
596
635
|
}));
|
|
597
636
|
|
|
598
637
|
export type ListRestoresError = BadRequest | NotFound | StackitOpError;
|
|
@@ -608,6 +647,8 @@ export const listRestores: API.OperationMethod<
|
|
|
608
647
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
609
648
|
protocol: StackitProtocol,
|
|
610
649
|
retry: Retry.Retry,
|
|
650
|
+
telemetry: TELEMETRY,
|
|
651
|
+
span: "ListRestores",
|
|
611
652
|
}));
|
|
612
653
|
|
|
613
654
|
export type PartialUpdateInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -623,6 +664,8 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
623
664
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
624
665
|
protocol: StackitProtocol,
|
|
625
666
|
retry: Retry.Retry,
|
|
667
|
+
telemetry: TELEMETRY,
|
|
668
|
+
span: "PartialUpdateInstance",
|
|
626
669
|
}));
|
|
627
670
|
|
|
628
671
|
export type TriggerRecreateError = BadRequest | NotFound | StackitOpError;
|
|
@@ -638,6 +681,8 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
638
681
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
639
682
|
protocol: StackitProtocol,
|
|
640
683
|
retry: Retry.Retry,
|
|
684
|
+
telemetry: TELEMETRY,
|
|
685
|
+
span: "TriggerRecreate",
|
|
641
686
|
}));
|
|
642
687
|
|
|
643
688
|
export type TriggerRestartError = BadRequest | NotFound | StackitOpError;
|
|
@@ -653,6 +698,8 @@ export const triggerRestart: API.OperationMethod<
|
|
|
653
698
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
654
699
|
protocol: StackitProtocol,
|
|
655
700
|
retry: Retry.Retry,
|
|
701
|
+
telemetry: TELEMETRY,
|
|
702
|
+
span: "TriggerRestart",
|
|
656
703
|
}));
|
|
657
704
|
|
|
658
705
|
export type TriggerRestoreError = BadRequest | NotFound | StackitOpError;
|
|
@@ -668,6 +715,8 @@ export const triggerRestore: API.OperationMethod<
|
|
|
668
715
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
669
716
|
protocol: StackitProtocol,
|
|
670
717
|
retry: Retry.Retry,
|
|
718
|
+
telemetry: TELEMETRY,
|
|
719
|
+
span: "TriggerRestore",
|
|
671
720
|
}));
|
|
672
721
|
|
|
673
722
|
export type UpdateBackupsConfigError = BadRequest | NotFound | StackitOpError;
|
|
@@ -683,6 +732,8 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
683
732
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
684
733
|
protocol: StackitProtocol,
|
|
685
734
|
retry: Retry.Retry,
|
|
735
|
+
telemetry: TELEMETRY,
|
|
736
|
+
span: "UpdateBackupsConfig",
|
|
686
737
|
}));
|
|
687
738
|
|
|
688
739
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
package/src/services/logs.ts
CHANGED
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "Logs",
|
|
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", {
|
|
@@ -339,6 +352,8 @@ export const createAccessPolicy: API.OperationMethod<
|
|
|
339
352
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
340
353
|
protocol: StackitProtocol,
|
|
341
354
|
retry: Retry.Retry,
|
|
355
|
+
telemetry: TELEMETRY,
|
|
356
|
+
span: "CreateAccessPolicy",
|
|
342
357
|
}));
|
|
343
358
|
|
|
344
359
|
export type CreateAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -354,6 +369,8 @@ export const createAccessToken: API.OperationMethod<
|
|
|
354
369
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
355
370
|
protocol: StackitProtocol,
|
|
356
371
|
retry: Retry.Retry,
|
|
372
|
+
telemetry: TELEMETRY,
|
|
373
|
+
span: "CreateAccessToken",
|
|
357
374
|
}));
|
|
358
375
|
|
|
359
376
|
export type CreateLogsInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -369,6 +386,8 @@ export const createLogsInstance: API.OperationMethod<
|
|
|
369
386
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
370
387
|
protocol: StackitProtocol,
|
|
371
388
|
retry: Retry.Retry,
|
|
389
|
+
telemetry: TELEMETRY,
|
|
390
|
+
span: "CreateLogsInstance",
|
|
372
391
|
}));
|
|
373
392
|
|
|
374
393
|
export type DeleteAccessPolicyError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -384,6 +403,8 @@ export const deleteAccessPolicy: API.OperationMethod<
|
|
|
384
403
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
385
404
|
protocol: StackitProtocol,
|
|
386
405
|
retry: Retry.Retry,
|
|
406
|
+
telemetry: TELEMETRY,
|
|
407
|
+
span: "DeleteAccessPolicy",
|
|
387
408
|
}));
|
|
388
409
|
|
|
389
410
|
export type DeleteAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -399,6 +420,8 @@ export const deleteAccessToken: API.OperationMethod<
|
|
|
399
420
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
400
421
|
protocol: StackitProtocol,
|
|
401
422
|
retry: Retry.Retry,
|
|
423
|
+
telemetry: TELEMETRY,
|
|
424
|
+
span: "DeleteAccessToken",
|
|
402
425
|
}));
|
|
403
426
|
|
|
404
427
|
export type DeleteAllAccessPoliciesError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -414,6 +437,8 @@ export const deleteAllAccessPolicies: API.OperationMethod<
|
|
|
414
437
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
415
438
|
protocol: StackitProtocol,
|
|
416
439
|
retry: Retry.Retry,
|
|
440
|
+
telemetry: TELEMETRY,
|
|
441
|
+
span: "DeleteAllAccessPolicies",
|
|
417
442
|
}));
|
|
418
443
|
|
|
419
444
|
export type DeleteAllAccessTokensError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -429,6 +454,8 @@ export const deleteAllAccessTokens: API.OperationMethod<
|
|
|
429
454
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
430
455
|
protocol: StackitProtocol,
|
|
431
456
|
retry: Retry.Retry,
|
|
457
|
+
telemetry: TELEMETRY,
|
|
458
|
+
span: "DeleteAllAccessTokens",
|
|
432
459
|
}));
|
|
433
460
|
|
|
434
461
|
export type DeleteAllExpiredAccessTokensError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -444,6 +471,8 @@ export const deleteAllExpiredAccessTokens: API.OperationMethod<
|
|
|
444
471
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
445
472
|
protocol: StackitProtocol,
|
|
446
473
|
retry: Retry.Retry,
|
|
474
|
+
telemetry: TELEMETRY,
|
|
475
|
+
span: "DeleteAllExpiredAccessTokens",
|
|
447
476
|
}));
|
|
448
477
|
|
|
449
478
|
export type DeleteLogsInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -459,6 +488,8 @@ export const deleteLogsInstance: API.OperationMethod<
|
|
|
459
488
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
460
489
|
protocol: StackitProtocol,
|
|
461
490
|
retry: Retry.Retry,
|
|
491
|
+
telemetry: TELEMETRY,
|
|
492
|
+
span: "DeleteLogsInstance",
|
|
462
493
|
}));
|
|
463
494
|
|
|
464
495
|
export type GetAccessPolicyError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -474,6 +505,8 @@ export const getAccessPolicy: API.OperationMethod<
|
|
|
474
505
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
475
506
|
protocol: StackitProtocol,
|
|
476
507
|
retry: Retry.Retry,
|
|
508
|
+
telemetry: TELEMETRY,
|
|
509
|
+
span: "GetAccessPolicy",
|
|
477
510
|
}));
|
|
478
511
|
|
|
479
512
|
export type GetAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -489,6 +522,8 @@ export const getAccessToken: API.OperationMethod<
|
|
|
489
522
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
490
523
|
protocol: StackitProtocol,
|
|
491
524
|
retry: Retry.Retry,
|
|
525
|
+
telemetry: TELEMETRY,
|
|
526
|
+
span: "GetAccessToken",
|
|
492
527
|
}));
|
|
493
528
|
|
|
494
529
|
export type GetLogsInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -504,6 +539,8 @@ export const getLogsInstance: API.OperationMethod<
|
|
|
504
539
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
505
540
|
protocol: StackitProtocol,
|
|
506
541
|
retry: Retry.Retry,
|
|
542
|
+
telemetry: TELEMETRY,
|
|
543
|
+
span: "GetLogsInstance",
|
|
507
544
|
}));
|
|
508
545
|
|
|
509
546
|
export type ListAccessPoliciesError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -519,6 +556,8 @@ export const listAccessPolicies: API.OperationMethod<
|
|
|
519
556
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
520
557
|
protocol: StackitProtocol,
|
|
521
558
|
retry: Retry.Retry,
|
|
559
|
+
telemetry: TELEMETRY,
|
|
560
|
+
span: "ListAccessPolicies",
|
|
522
561
|
}));
|
|
523
562
|
|
|
524
563
|
export type ListAccessTokensError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -534,6 +573,8 @@ export const listAccessTokens: API.OperationMethod<
|
|
|
534
573
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
535
574
|
protocol: StackitProtocol,
|
|
536
575
|
retry: Retry.Retry,
|
|
576
|
+
telemetry: TELEMETRY,
|
|
577
|
+
span: "ListAccessTokens",
|
|
537
578
|
}));
|
|
538
579
|
|
|
539
580
|
export type ListLogsInstancesError = BadRequest | StackitOpError;
|
|
@@ -549,6 +590,8 @@ export const listLogsInstances: API.OperationMethod<
|
|
|
549
590
|
errors: [BadRequest, UnknownStackitError],
|
|
550
591
|
protocol: StackitProtocol,
|
|
551
592
|
retry: Retry.Retry,
|
|
593
|
+
telemetry: TELEMETRY,
|
|
594
|
+
span: "ListLogsInstances",
|
|
552
595
|
}));
|
|
553
596
|
|
|
554
597
|
export type UpdateAccessPolicyError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -564,6 +607,8 @@ export const updateAccessPolicy: API.OperationMethod<
|
|
|
564
607
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
565
608
|
protocol: StackitProtocol,
|
|
566
609
|
retry: Retry.Retry,
|
|
610
|
+
telemetry: TELEMETRY,
|
|
611
|
+
span: "UpdateAccessPolicy",
|
|
567
612
|
}));
|
|
568
613
|
|
|
569
614
|
export type UpdateAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -579,6 +624,8 @@ export const updateAccessToken: API.OperationMethod<
|
|
|
579
624
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
580
625
|
protocol: StackitProtocol,
|
|
581
626
|
retry: Retry.Retry,
|
|
627
|
+
telemetry: TELEMETRY,
|
|
628
|
+
span: "UpdateAccessToken",
|
|
582
629
|
}));
|
|
583
630
|
|
|
584
631
|
export type UpdateLogsInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -594,6 +641,8 @@ export const updateLogsInstance: API.OperationMethod<
|
|
|
594
641
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
595
642
|
protocol: StackitProtocol,
|
|
596
643
|
retry: Retry.Retry,
|
|
644
|
+
telemetry: TELEMETRY,
|
|
645
|
+
span: "UpdateLogsInstance",
|
|
597
646
|
}));
|
|
598
647
|
|
|
599
648
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
package/src/services/mariadb.ts
CHANGED
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "Mariadb",
|
|
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", {
|
|
@@ -378,6 +391,8 @@ export const createBackup: API.OperationMethod<
|
|
|
378
391
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
379
392
|
protocol: StackitProtocol,
|
|
380
393
|
retry: Retry.Retry,
|
|
394
|
+
telemetry: TELEMETRY,
|
|
395
|
+
span: "CreateBackup",
|
|
381
396
|
}));
|
|
382
397
|
|
|
383
398
|
export type CreateCredentialsError = BadRequest | StackitOpError;
|
|
@@ -393,6 +408,8 @@ export const createCredentials: API.OperationMethod<
|
|
|
393
408
|
errors: [BadRequest, UnknownStackitError],
|
|
394
409
|
protocol: StackitProtocol,
|
|
395
410
|
retry: Retry.Retry,
|
|
411
|
+
telemetry: TELEMETRY,
|
|
412
|
+
span: "CreateCredentials",
|
|
396
413
|
}));
|
|
397
414
|
|
|
398
415
|
export type CreateInstanceError = BadRequest | Conflict | StackitOpError;
|
|
@@ -408,6 +425,8 @@ export const createInstance: API.OperationMethod<
|
|
|
408
425
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
409
426
|
protocol: StackitProtocol,
|
|
410
427
|
retry: Retry.Retry,
|
|
428
|
+
telemetry: TELEMETRY,
|
|
429
|
+
span: "CreateInstance",
|
|
411
430
|
}));
|
|
412
431
|
|
|
413
432
|
export type DeleteCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -423,6 +442,8 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
423
442
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
424
443
|
protocol: StackitProtocol,
|
|
425
444
|
retry: Retry.Retry,
|
|
445
|
+
telemetry: TELEMETRY,
|
|
446
|
+
span: "DeleteCredentials",
|
|
426
447
|
}));
|
|
427
448
|
|
|
428
449
|
export type DeleteInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -438,6 +459,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
438
459
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
439
460
|
protocol: StackitProtocol,
|
|
440
461
|
retry: Retry.Retry,
|
|
462
|
+
telemetry: TELEMETRY,
|
|
463
|
+
span: "DeleteInstance",
|
|
441
464
|
}));
|
|
442
465
|
|
|
443
466
|
export type DownloadBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -453,6 +476,8 @@ export const downloadBackup: API.OperationMethod<
|
|
|
453
476
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
454
477
|
protocol: StackitProtocol,
|
|
455
478
|
retry: Retry.Retry,
|
|
479
|
+
telemetry: TELEMETRY,
|
|
480
|
+
span: "DownloadBackup",
|
|
456
481
|
}));
|
|
457
482
|
|
|
458
483
|
export type GetCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -468,6 +493,8 @@ export const getCredentials: API.OperationMethod<
|
|
|
468
493
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
469
494
|
protocol: StackitProtocol,
|
|
470
495
|
retry: Retry.Retry,
|
|
496
|
+
telemetry: TELEMETRY,
|
|
497
|
+
span: "GetCredentials",
|
|
471
498
|
}));
|
|
472
499
|
|
|
473
500
|
export type GetInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -483,6 +510,8 @@ export const getInstance: API.OperationMethod<
|
|
|
483
510
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
484
511
|
protocol: StackitProtocol,
|
|
485
512
|
retry: Retry.Retry,
|
|
513
|
+
telemetry: TELEMETRY,
|
|
514
|
+
span: "GetInstance",
|
|
486
515
|
}));
|
|
487
516
|
|
|
488
517
|
export type GetMetricsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -498,6 +527,8 @@ export const getMetrics: API.OperationMethod<
|
|
|
498
527
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
499
528
|
protocol: StackitProtocol,
|
|
500
529
|
retry: Retry.Retry,
|
|
530
|
+
telemetry: TELEMETRY,
|
|
531
|
+
span: "GetMetrics",
|
|
501
532
|
}));
|
|
502
533
|
|
|
503
534
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -513,6 +544,8 @@ export const listBackups: API.OperationMethod<
|
|
|
513
544
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
514
545
|
protocol: StackitProtocol,
|
|
515
546
|
retry: Retry.Retry,
|
|
547
|
+
telemetry: TELEMETRY,
|
|
548
|
+
span: "ListBackups",
|
|
516
549
|
}));
|
|
517
550
|
|
|
518
551
|
export type ListCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -528,6 +561,8 @@ export const listCredentials: API.OperationMethod<
|
|
|
528
561
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
529
562
|
protocol: StackitProtocol,
|
|
530
563
|
retry: Retry.Retry,
|
|
564
|
+
telemetry: TELEMETRY,
|
|
565
|
+
span: "ListCredentials",
|
|
531
566
|
}));
|
|
532
567
|
|
|
533
568
|
export type ListInstancesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -543,6 +578,8 @@ export const listInstances: API.OperationMethod<
|
|
|
543
578
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
544
579
|
protocol: StackitProtocol,
|
|
545
580
|
retry: Retry.Retry,
|
|
581
|
+
telemetry: TELEMETRY,
|
|
582
|
+
span: "ListInstances",
|
|
546
583
|
}));
|
|
547
584
|
|
|
548
585
|
export type ListOfferingsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -558,6 +595,8 @@ export const listOfferings: API.OperationMethod<
|
|
|
558
595
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
559
596
|
protocol: StackitProtocol,
|
|
560
597
|
retry: Retry.Retry,
|
|
598
|
+
telemetry: TELEMETRY,
|
|
599
|
+
span: "ListOfferings",
|
|
561
600
|
}));
|
|
562
601
|
|
|
563
602
|
export type ListRestoresError = BadRequest | NotFound | StackitOpError;
|
|
@@ -573,6 +612,8 @@ export const listRestores: API.OperationMethod<
|
|
|
573
612
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
574
613
|
protocol: StackitProtocol,
|
|
575
614
|
retry: Retry.Retry,
|
|
615
|
+
telemetry: TELEMETRY,
|
|
616
|
+
span: "ListRestores",
|
|
576
617
|
}));
|
|
577
618
|
|
|
578
619
|
export type PartialUpdateInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -588,6 +629,8 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
588
629
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
589
630
|
protocol: StackitProtocol,
|
|
590
631
|
retry: Retry.Retry,
|
|
632
|
+
telemetry: TELEMETRY,
|
|
633
|
+
span: "PartialUpdateInstance",
|
|
591
634
|
}));
|
|
592
635
|
|
|
593
636
|
export type TriggerRecreateError = BadRequest | NotFound | StackitOpError;
|
|
@@ -603,6 +646,8 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
603
646
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
604
647
|
protocol: StackitProtocol,
|
|
605
648
|
retry: Retry.Retry,
|
|
649
|
+
telemetry: TELEMETRY,
|
|
650
|
+
span: "TriggerRecreate",
|
|
606
651
|
}));
|
|
607
652
|
|
|
608
653
|
export type TriggerRestartError = BadRequest | NotFound | StackitOpError;
|
|
@@ -618,6 +663,8 @@ export const triggerRestart: API.OperationMethod<
|
|
|
618
663
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
619
664
|
protocol: StackitProtocol,
|
|
620
665
|
retry: Retry.Retry,
|
|
666
|
+
telemetry: TELEMETRY,
|
|
667
|
+
span: "TriggerRestart",
|
|
621
668
|
}));
|
|
622
669
|
|
|
623
670
|
export type TriggerRestoreError = BadRequest | NotFound | StackitOpError;
|
|
@@ -633,6 +680,8 @@ export const triggerRestore: API.OperationMethod<
|
|
|
633
680
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
634
681
|
protocol: StackitProtocol,
|
|
635
682
|
retry: Retry.Retry,
|
|
683
|
+
telemetry: TELEMETRY,
|
|
684
|
+
span: "TriggerRestore",
|
|
636
685
|
}));
|
|
637
686
|
|
|
638
687
|
export type UpdateBackupsConfigError = BadRequest | NotFound | StackitOpError;
|
|
@@ -648,6 +697,8 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
648
697
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
649
698
|
protocol: StackitProtocol,
|
|
650
699
|
retry: Retry.Retry,
|
|
700
|
+
telemetry: TELEMETRY,
|
|
701
|
+
span: "UpdateBackupsConfig",
|
|
651
702
|
}));
|
|
652
703
|
|
|
653
704
|
// 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: "ModelExperiments",
|
|
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", {
|
|
@@ -256,6 +269,8 @@ export const createInstance: API.OperationMethod<
|
|
|
256
269
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
257
270
|
protocol: StackitProtocol,
|
|
258
271
|
retry: Retry.Retry,
|
|
272
|
+
telemetry: TELEMETRY,
|
|
273
|
+
span: "CreateInstance",
|
|
259
274
|
}));
|
|
260
275
|
|
|
261
276
|
export type CreateInstanceTokenError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -271,6 +286,8 @@ export const createInstanceToken: API.OperationMethod<
|
|
|
271
286
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
272
287
|
protocol: StackitProtocol,
|
|
273
288
|
retry: Retry.Retry,
|
|
289
|
+
telemetry: TELEMETRY,
|
|
290
|
+
span: "CreateInstanceToken",
|
|
274
291
|
}));
|
|
275
292
|
|
|
276
293
|
export type DeleteInstanceError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
@@ -286,6 +303,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
286
303
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
287
304
|
protocol: StackitProtocol,
|
|
288
305
|
retry: Retry.Retry,
|
|
306
|
+
telemetry: TELEMETRY,
|
|
307
|
+
span: "DeleteInstance",
|
|
289
308
|
}));
|
|
290
309
|
|
|
291
310
|
export type DeleteInstanceTokenError =
|
|
@@ -306,6 +325,8 @@ export const deleteInstanceToken: API.OperationMethod<
|
|
|
306
325
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
307
326
|
protocol: StackitProtocol,
|
|
308
327
|
retry: Retry.Retry,
|
|
328
|
+
telemetry: TELEMETRY,
|
|
329
|
+
span: "DeleteInstanceToken",
|
|
309
330
|
}));
|
|
310
331
|
|
|
311
332
|
export type GetInstanceError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -321,6 +342,8 @@ export const getInstance: API.OperationMethod<
|
|
|
321
342
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
322
343
|
protocol: StackitProtocol,
|
|
323
344
|
retry: Retry.Retry,
|
|
345
|
+
telemetry: TELEMETRY,
|
|
346
|
+
span: "GetInstance",
|
|
324
347
|
}));
|
|
325
348
|
|
|
326
349
|
export type GetInstanceTokenError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -336,6 +359,8 @@ export const getInstanceToken: API.OperationMethod<
|
|
|
336
359
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
337
360
|
protocol: StackitProtocol,
|
|
338
361
|
retry: Retry.Retry,
|
|
362
|
+
telemetry: TELEMETRY,
|
|
363
|
+
span: "GetInstanceToken",
|
|
339
364
|
}));
|
|
340
365
|
|
|
341
366
|
export type ListInstancesError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -351,6 +376,8 @@ export const listInstances: API.OperationMethod<
|
|
|
351
376
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
352
377
|
protocol: StackitProtocol,
|
|
353
378
|
retry: Retry.Retry,
|
|
379
|
+
telemetry: TELEMETRY,
|
|
380
|
+
span: "ListInstances",
|
|
354
381
|
}));
|
|
355
382
|
|
|
356
383
|
export type ListInstanceTokensError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -366,6 +393,8 @@ export const listInstanceTokens: API.OperationMethod<
|
|
|
366
393
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
367
394
|
protocol: StackitProtocol,
|
|
368
395
|
retry: Retry.Retry,
|
|
396
|
+
telemetry: TELEMETRY,
|
|
397
|
+
span: "ListInstanceTokens",
|
|
369
398
|
}));
|
|
370
399
|
|
|
371
400
|
export type PartialUpdateInstanceError =
|
|
@@ -386,6 +415,8 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
386
415
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
387
416
|
protocol: StackitProtocol,
|
|
388
417
|
retry: Retry.Retry,
|
|
418
|
+
telemetry: TELEMETRY,
|
|
419
|
+
span: "PartialUpdateInstance",
|
|
389
420
|
}));
|
|
390
421
|
|
|
391
422
|
export type PartialUpdateInstanceTokenError =
|
|
@@ -406,6 +437,8 @@ export const partialUpdateInstanceToken: API.OperationMethod<
|
|
|
406
437
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
407
438
|
protocol: StackitProtocol,
|
|
408
439
|
retry: Retry.Retry,
|
|
440
|
+
telemetry: TELEMETRY,
|
|
441
|
+
span: "PartialUpdateInstanceToken",
|
|
409
442
|
}));
|
|
410
443
|
|
|
411
444
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|