@distilled.cloud/stackit 1.0.0-rc.17 → 1.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +27 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +32 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +24 -1
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +30 -29
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -38
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +28 -1
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +27 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +38 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +180 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +28 -27
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +40 -39
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +28 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -32
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +41 -40
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +37 -36
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +158 -157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +30 -29
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -45
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +36 -35
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +35 -34
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +32 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +39 -38
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +41 -40
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -27
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +29 -28
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -44
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -24
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +45 -44
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +25 -24
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -32
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -27
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +42 -41
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +26 -25
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/pubsub.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/services.lazy/workflows.js +1 -1
- package/package.json +6 -5
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +22 -20
- package/src/services/alb.ts +174 -132
- package/src/services/alb_waf.ts +96 -51
- package/src/services/authorization.ts +50 -15
- package/src/services/automation.ts +86 -49
- package/src/services/cdn.ts +172 -129
- package/src/services/certificates.ts +63 -40
- package/src/services/cost.ts +34 -15
- package/src/services/dns.ts +552 -269
- package/src/services/dremio.ts +187 -118
- package/src/services/edge.ts +62 -21
- package/src/services/functions.ts +217 -170
- package/src/services/git.ts +407 -108
- package/src/services/iaas.ts +723 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +101 -58
- package/src/services/kms.ts +76 -13
- package/src/services/lb_ip_lists.ts +37 -14
- package/src/services/load_balancer.ts +168 -126
- package/src/services/logme.ts +345 -122
- package/src/services/logs.ts +172 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +328 -105
- package/src/services/model_experiments.ts +66 -33
- package/src/services/model_serving.ts +54 -25
- package/src/services/mongodb_flex.ts +205 -137
- package/src/services/object_storage.ts +61 -6
- package/src/services/observability.ts +594 -362
- package/src/services/opensearch.ts +337 -114
- package/src/services/pim.ts +403 -278
- package/src/services/postgres_flex.ts +258 -179
- package/src/services/pubsub.ts +85 -36
- package/src/services/rabbitmq.ts +348 -125
- package/src/services/registry.ts +55 -26
- package/src/services/resource_manager.ts +102 -57
- package/src/services/run_command.ts +65 -42
- package/src/services/sca.ts +769 -371
- package/src/services/scf.ts +83 -24
- package/src/services/secrets_manager.ts +87 -22
- package/src/services/server_backup.ts +76 -31
- package/src/services/server_update.ts +54 -17
- package/src/services/service_account.ts +75 -30
- package/src/services/service_enablement.ts +49 -24
- package/src/services/sfs.ts +469 -395
- package/src/services/ske.ts +299 -228
- package/src/services/sqlserverflex.ts +116 -47
- package/src/services/stackit_marketplace.ts +78 -39
- package/src/services/telemetry_link.ts +191 -81
- package/src/services/telemetry_router.ts +326 -94
- package/src/services/ufw.ts +85 -54
- package/src/services/valkey.ts +341 -118
- package/src/services/vpn.ts +213 -142
- package/src/services/workflows.ts +106 -65
package/src/services/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", {
|
|
@@ -41,6 +54,8 @@ export class NotFound
|
|
|
41
54
|
) {}
|
|
42
55
|
|
|
43
56
|
export type CreateAccessPolicyRequestRegionId = "eu01" | "eu02";
|
|
57
|
+
/** Key-value pairs for resource labeling. Maximum 64 user labels per resource. Key format: - May contain an optional domain prefix separated by a slash (/). - Domain prefix must be <= 250 characters, a valid DNS subdomain containing only lowercase alphanumerics ([a-z0-9]) and dashes (-), separated by dots (.). - Key name (excluding prefix) must be between 1 and 63 characters, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. - Reserved prefixes: 'stackit.cloud/' (including all subdomains) and deprecated 'stackit-' are reserved for system labels and cannot be created, updated, or deleted by end-users. Value format: - Length must be <= 63 characters. - May be empty. - If not empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
58
|
+
export type CreateAccessPolicyRequestLabelsMap = { [key: string]: string | undefined };
|
|
44
59
|
export type PermissionsItem = "read" | "write";
|
|
45
60
|
/** The access permissions granted to the access token or access policy. */
|
|
46
61
|
export type Permissions = Array<PermissionsItem | (string & {})>;
|
|
@@ -52,21 +67,29 @@ export interface CreateAccessPolicyRequest {
|
|
|
52
67
|
/** The Logs Instance UUID. */
|
|
53
68
|
instanceId: string;
|
|
54
69
|
/** The description of the access policy. */
|
|
55
|
-
description?: string | null;
|
|
70
|
+
description?: string | null | undefined;
|
|
56
71
|
/** The email address of the STACKIT IAM subject (user, group, or service account). */
|
|
57
72
|
email: string;
|
|
73
|
+
/** Key-value pairs for resource labeling. Maximum 64 user labels per resource. Key format: - May contain an optional domain prefix separated by a slash (/). - Domain prefix must be <= 250 characters, a valid DNS subdomain containing only lowercase alphanumerics ([a-z0-9]) and dashes (-), separated by dots (.). - Key name (excluding prefix) must be between 1 and 63 characters, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. - Reserved prefixes: 'stackit.cloud/' (including all subdomains) and deprecated 'stackit-' are reserved for system labels and cannot be created, updated, or deleted by end-users. Value format: - Length must be <= 63 characters. - May be empty. - If not empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
74
|
+
labels?: CreateAccessPolicyRequestLabelsMap | null | undefined;
|
|
58
75
|
permissions: Permissions;
|
|
59
76
|
}
|
|
77
|
+
/** Labels as key-value pairs. */
|
|
78
|
+
export type AccessPolicyLabelsMap = { [key: string]: string | undefined };
|
|
60
79
|
export interface AccessPolicy {
|
|
61
80
|
/** The description of the access policy. */
|
|
62
|
-
description?: string;
|
|
81
|
+
description?: string | undefined;
|
|
63
82
|
/** The email address of the STACKIT IAM subject (user, group, or service account). */
|
|
64
83
|
email: string;
|
|
65
84
|
/** An auto generated unique id which identifies the access policy. */
|
|
66
85
|
id: string;
|
|
86
|
+
/** Labels as key-value pairs. */
|
|
87
|
+
labels?: AccessPolicyLabelsMap | undefined;
|
|
67
88
|
permissions: Permissions;
|
|
68
89
|
}
|
|
69
90
|
export type CreateAccessTokenRequestRegionId = "eu01" | "eu02";
|
|
91
|
+
/** Key-value pairs for resource labeling. Maximum 64 user labels per resource. Key format: - May contain an optional domain prefix separated by a slash (/). - Domain prefix must be <= 250 characters, a valid DNS subdomain containing only lowercase alphanumerics ([a-z0-9]) and dashes (-), separated by dots (.). - Key name (excluding prefix) must be between 1 and 63 characters, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. - Reserved prefixes: 'stackit.cloud/' (including all subdomains) and deprecated 'stackit-' are reserved for system labels and cannot be created, updated, or deleted by end-users. Value format: - Length must be <= 63 characters. - May be empty. - If not empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
92
|
+
export type CreateAccessTokenRequestLabelsMap = { [key: string]: string | undefined };
|
|
70
93
|
export interface CreateAccessTokenRequest {
|
|
71
94
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
72
95
|
projectId: string;
|
|
@@ -75,74 +98,88 @@ export interface CreateAccessTokenRequest {
|
|
|
75
98
|
/** The Logs Instance UUID. */
|
|
76
99
|
instanceId: string;
|
|
77
100
|
/** The description of the access token. */
|
|
78
|
-
description?: string;
|
|
101
|
+
description?: string | undefined;
|
|
79
102
|
/** The displayed name of the access token. */
|
|
80
103
|
displayName: string;
|
|
104
|
+
/** Key-value pairs for resource labeling. Maximum 64 user labels per resource. Key format: - May contain an optional domain prefix separated by a slash (/). - Domain prefix must be <= 250 characters, a valid DNS subdomain containing only lowercase alphanumerics ([a-z0-9]) and dashes (-), separated by dots (.). - Key name (excluding prefix) must be between 1 and 63 characters, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. - Reserved prefixes: 'stackit.cloud/' (including all subdomains) and deprecated 'stackit-' are reserved for system labels and cannot be created, updated, or deleted by end-users. Value format: - Length must be <= 63 characters. - May be empty. - If not empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
105
|
+
labels?: CreateAccessTokenRequestLabelsMap | undefined;
|
|
81
106
|
/** A lifetime period for an access token in days. If unset the token will not expire. */
|
|
82
|
-
lifetime?: number;
|
|
107
|
+
lifetime?: number | undefined;
|
|
83
108
|
permissions: Permissions;
|
|
84
109
|
}
|
|
110
|
+
/** Labels as key-value pairs. */
|
|
111
|
+
export type AccessTokenLabelsMap = { [key: string]: string | undefined };
|
|
85
112
|
export type AccessTokenStatus = "active" | "expired";
|
|
86
113
|
export interface AccessToken {
|
|
87
114
|
/** A generated access token. Only available on creation. */
|
|
88
|
-
accessToken?: string | Redacted.Redacted<string
|
|
115
|
+
accessToken?: string | Redacted.Redacted<string> | undefined;
|
|
89
116
|
/** The user who created the access token. */
|
|
90
117
|
creator: string;
|
|
91
118
|
/** The description of the access token. */
|
|
92
|
-
description?: string;
|
|
119
|
+
description?: string | undefined;
|
|
93
120
|
/** The displayed name of the access token. */
|
|
94
121
|
displayName: string;
|
|
95
122
|
/** Indicates if the access token can expire. */
|
|
96
123
|
expires: boolean;
|
|
97
124
|
/** An auto generated unique id which identifies the access token. */
|
|
98
125
|
id: string;
|
|
126
|
+
/** Labels as key-value pairs. */
|
|
127
|
+
labels?: AccessTokenLabelsMap | undefined;
|
|
99
128
|
permissions: Permissions;
|
|
100
129
|
status: AccessTokenStatus;
|
|
101
130
|
/** The date and time util an access token is valid to (inclusively). */
|
|
102
|
-
validUntil?: string;
|
|
131
|
+
validUntil?: string | undefined;
|
|
103
132
|
}
|
|
104
133
|
export type CreateLogsInstanceRequestRegionId = "eu01" | "eu02";
|
|
105
134
|
/** The access control list for the Logs instance. */
|
|
106
135
|
export type CreateLogsInstanceRequestAclList = Array<string>;
|
|
136
|
+
/** Key-value pairs for resource labeling. Maximum 64 user labels per resource. Key format: - May contain an optional domain prefix separated by a slash (/). - Domain prefix must be <= 250 characters, a valid DNS subdomain containing only lowercase alphanumerics ([a-z0-9]) and dashes (-), separated by dots (.). - Key name (excluding prefix) must be between 1 and 63 characters, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. - Reserved prefixes: 'stackit.cloud/' (including all subdomains) and deprecated 'stackit-' are reserved for system labels and cannot be created, updated, or deleted by end-users. Value format: - Length must be <= 63 characters. - May be empty. - If not empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
137
|
+
export type CreateLogsInstanceRequestLabelsMap = { [key: string]: string | undefined };
|
|
107
138
|
export interface CreateLogsInstanceRequest {
|
|
108
139
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
109
140
|
projectId: string;
|
|
110
141
|
/** The STACKIT region name the resource is located in. */
|
|
111
142
|
regionId: CreateLogsInstanceRequestRegionId | (string & {});
|
|
112
143
|
/** The access control list for the Logs instance. */
|
|
113
|
-
acl?: CreateLogsInstanceRequestAclList;
|
|
144
|
+
acl?: CreateLogsInstanceRequestAclList | undefined;
|
|
114
145
|
/** The description of the access token. */
|
|
115
|
-
description?: string;
|
|
146
|
+
description?: string | undefined;
|
|
116
147
|
/** The displayed name to distinguish multiple Logs instances. */
|
|
117
148
|
displayName: string;
|
|
149
|
+
/** Key-value pairs for resource labeling. Maximum 64 user labels per resource. Key format: - May contain an optional domain prefix separated by a slash (/). - Domain prefix must be <= 250 characters, a valid DNS subdomain containing only lowercase alphanumerics ([a-z0-9]) and dashes (-), separated by dots (.). - Key name (excluding prefix) must be between 1 and 63 characters, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. - Reserved prefixes: 'stackit.cloud/' (including all subdomains) and deprecated 'stackit-' are reserved for system labels and cannot be created, updated, or deleted by end-users. Value format: - Length must be <= 63 characters. - May be empty. - If not empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
150
|
+
labels?: CreateLogsInstanceRequestLabelsMap | undefined;
|
|
118
151
|
/** The log retention time in days. */
|
|
119
152
|
retentionDays: number;
|
|
120
153
|
}
|
|
121
154
|
/** The access control list for the Logs instance. */
|
|
122
155
|
export type LogsInstanceAclList = Array<string>;
|
|
156
|
+
/** Labels as key-value pairs. */
|
|
157
|
+
export type LogsInstanceLabelsMap = { [key: string]: string | undefined };
|
|
123
158
|
/** The current status of the Logs instance. */
|
|
124
159
|
export type LogsInstanceStatus = "active" | "deleting" | "reconciling";
|
|
125
160
|
export interface LogsInstance {
|
|
126
161
|
/** The access control list for the Logs instance. */
|
|
127
|
-
acl?: LogsInstanceAclList;
|
|
162
|
+
acl?: LogsInstanceAclList | undefined;
|
|
128
163
|
/** The date and time the creation of the Logs instance was triggered. */
|
|
129
164
|
created: string;
|
|
130
165
|
/** The Logs instance's datasource URL, can be used in Grafana as a datasource URL */
|
|
131
|
-
datasourceUrl?: string;
|
|
166
|
+
datasourceUrl?: string | undefined;
|
|
132
167
|
/** The description of the Logs instance. */
|
|
133
|
-
description?: string;
|
|
168
|
+
description?: string | undefined;
|
|
134
169
|
/** The displayed name of the Logs instance. */
|
|
135
170
|
displayName: string;
|
|
136
171
|
/** A auto generated unique id which identifies the Logs instance. */
|
|
137
172
|
id: string;
|
|
138
173
|
/** The Logs instance's ingest logs via OTLP URL */
|
|
139
|
-
ingestOtlpUrl?: string;
|
|
174
|
+
ingestOtlpUrl?: string | undefined;
|
|
140
175
|
/** The Logs instance's ingest logs URL */
|
|
141
|
-
ingestUrl?: string;
|
|
176
|
+
ingestUrl?: string | undefined;
|
|
177
|
+
/** Labels as key-value pairs. */
|
|
178
|
+
labels?: LogsInstanceLabelsMap | undefined;
|
|
142
179
|
/** The Logs instance's query range URL */
|
|
143
|
-
queryRangeUrl?: string;
|
|
180
|
+
queryRangeUrl?: string | undefined;
|
|
144
181
|
/** The Logs instance's query URL */
|
|
145
|
-
queryUrl?: string;
|
|
182
|
+
queryUrl?: string | undefined;
|
|
146
183
|
/** The log retention time in days. */
|
|
147
184
|
retentionDays: number;
|
|
148
185
|
/** The current status of the Logs instance. */
|
|
@@ -278,6 +315,8 @@ export interface LogsInstancesList {
|
|
|
278
315
|
instances: LogsInstancesListInstancesList;
|
|
279
316
|
}
|
|
280
317
|
export type UpdateAccessPolicyRequestRegionId = "eu01" | "eu02";
|
|
318
|
+
/** Key-value pairs for resource labeling. Maximum 64 user labels per resource. Key format: - May contain an optional domain prefix separated by a slash (/). - Domain prefix must be <= 250 characters, a valid DNS subdomain containing only lowercase alphanumerics ([a-z0-9]) and dashes (-), separated by dots (.). - Key name (excluding prefix) must be between 1 and 63 characters, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. - Reserved prefixes: 'stackit.cloud/' (including all subdomains) and deprecated 'stackit-' are reserved for system labels and cannot be created, updated, or deleted by end-users. Value format: - Length must be <= 63 characters. - May be empty. - If not empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
319
|
+
export type UpdateAccessPolicyRequestLabelsMap = { [key: string]: string | undefined };
|
|
281
320
|
export interface UpdateAccessPolicyRequest {
|
|
282
321
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
283
322
|
projectId: string;
|
|
@@ -288,10 +327,14 @@ export interface UpdateAccessPolicyRequest {
|
|
|
288
327
|
/** The access policy unique id. */
|
|
289
328
|
pId: string;
|
|
290
329
|
/** The updated description of the access policy. If not present will be ignored in update. */
|
|
291
|
-
description?: string | null;
|
|
292
|
-
|
|
330
|
+
description?: string | null | undefined;
|
|
331
|
+
/** Key-value pairs for resource labeling. Maximum 64 user labels per resource. Key format: - May contain an optional domain prefix separated by a slash (/). - Domain prefix must be <= 250 characters, a valid DNS subdomain containing only lowercase alphanumerics ([a-z0-9]) and dashes (-), separated by dots (.). - Key name (excluding prefix) must be between 1 and 63 characters, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. - Reserved prefixes: 'stackit.cloud/' (including all subdomains) and deprecated 'stackit-' are reserved for system labels and cannot be created, updated, or deleted by end-users. Value format: - Length must be <= 63 characters. - May be empty. - If not empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
332
|
+
labels?: UpdateAccessPolicyRequestLabelsMap | null | undefined;
|
|
333
|
+
permissions?: Permissions | undefined;
|
|
293
334
|
}
|
|
294
335
|
export type UpdateAccessTokenRequestRegionId = "eu01" | "eu02";
|
|
336
|
+
/** Key-value pairs for resource labeling. Maximum 64 user labels per resource. Key format: - May contain an optional domain prefix separated by a slash (/). - Domain prefix must be <= 250 characters, a valid DNS subdomain containing only lowercase alphanumerics ([a-z0-9]) and dashes (-), separated by dots (.). - Key name (excluding prefix) must be between 1 and 63 characters, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. - Reserved prefixes: 'stackit.cloud/' (including all subdomains) and deprecated 'stackit-' are reserved for system labels and cannot be created, updated, or deleted by end-users. Value format: - Length must be <= 63 characters. - May be empty. - If not empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
337
|
+
export type UpdateAccessTokenRequestLabelsMap = { [key: string]: string | undefined };
|
|
295
338
|
export interface UpdateAccessTokenRequest {
|
|
296
339
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
297
340
|
projectId: string;
|
|
@@ -302,14 +345,18 @@ export interface UpdateAccessTokenRequest {
|
|
|
302
345
|
/** The access token UUID. */
|
|
303
346
|
tId: string;
|
|
304
347
|
/** The description of the access token. */
|
|
305
|
-
description?: string;
|
|
348
|
+
description?: string | undefined;
|
|
306
349
|
/** The displayed name of the access token. */
|
|
307
|
-
displayName?: string;
|
|
350
|
+
displayName?: string | undefined;
|
|
351
|
+
/** Key-value pairs for resource labeling. Maximum 64 user labels per resource. Key format: - May contain an optional domain prefix separated by a slash (/). - Domain prefix must be <= 250 characters, a valid DNS subdomain containing only lowercase alphanumerics ([a-z0-9]) and dashes (-), separated by dots (.). - Key name (excluding prefix) must be between 1 and 63 characters, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. - Reserved prefixes: 'stackit.cloud/' (including all subdomains) and deprecated 'stackit-' are reserved for system labels and cannot be created, updated, or deleted by end-users. Value format: - Length must be <= 63 characters. - May be empty. - If not empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
352
|
+
labels?: UpdateAccessTokenRequestLabelsMap | undefined;
|
|
308
353
|
}
|
|
309
354
|
export interface UpdateAccessTokenResponse {}
|
|
310
355
|
export type UpdateLogsInstanceRequestRegionId = "eu01" | "eu02";
|
|
311
356
|
/** The access control list for the Logs instance. */
|
|
312
357
|
export type UpdateLogsInstanceRequestAclList = Array<string>;
|
|
358
|
+
/** Key-value pairs for resource labeling. Maximum 64 user labels per resource. Key format: - May contain an optional domain prefix separated by a slash (/). - Domain prefix must be <= 250 characters, a valid DNS subdomain containing only lowercase alphanumerics ([a-z0-9]) and dashes (-), separated by dots (.). - Key name (excluding prefix) must be between 1 and 63 characters, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. - Reserved prefixes: 'stackit.cloud/' (including all subdomains) and deprecated 'stackit-' are reserved for system labels and cannot be created, updated, or deleted by end-users. Value format: - Length must be <= 63 characters. - May be empty. - If not empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
359
|
+
export type UpdateLogsInstanceRequestLabelsMap = { [key: string]: string | undefined };
|
|
313
360
|
export interface UpdateLogsInstanceRequest {
|
|
314
361
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
315
362
|
projectId: string;
|
|
@@ -318,13 +365,15 @@ export interface UpdateLogsInstanceRequest {
|
|
|
318
365
|
/** The Logs Instance UUID. */
|
|
319
366
|
instanceId: string;
|
|
320
367
|
/** The access control list for the Logs instance. */
|
|
321
|
-
acl?: UpdateLogsInstanceRequestAclList;
|
|
368
|
+
acl?: UpdateLogsInstanceRequestAclList | undefined;
|
|
322
369
|
/** The description of the Logs instance. */
|
|
323
|
-
description?: string;
|
|
370
|
+
description?: string | undefined;
|
|
324
371
|
/** The displayed name to distinguish multiple Logs instances. */
|
|
325
|
-
displayName?: string;
|
|
372
|
+
displayName?: string | undefined;
|
|
373
|
+
/** Key-value pairs for resource labeling. Maximum 64 user labels per resource. Key format: - May contain an optional domain prefix separated by a slash (/). - Domain prefix must be <= 250 characters, a valid DNS subdomain containing only lowercase alphanumerics ([a-z0-9]) and dashes (-), separated by dots (.). - Key name (excluding prefix) must be between 1 and 63 characters, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. - Reserved prefixes: 'stackit.cloud/' (including all subdomains) and deprecated 'stackit-' are reserved for system labels and cannot be created, updated, or deleted by end-users. Value format: - Length must be <= 63 characters. - May be empty. - If not empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]), and may contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
374
|
+
labels?: UpdateLogsInstanceRequestLabelsMap | undefined;
|
|
326
375
|
/** The log retention time in days. */
|
|
327
|
-
retentionDays?: number;
|
|
376
|
+
retentionDays?: number | undefined;
|
|
328
377
|
}
|
|
329
378
|
export type CreateAccessPolicyError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
330
379
|
/** Create Access Policy Create a new access policy for Logs instance */
|
|
@@ -335,10 +384,12 @@ export const createAccessPolicy: API.OperationMethod<
|
|
|
335
384
|
StackitOpContext
|
|
336
385
|
> = /*@__PURE__*/ API.make(() => ({
|
|
337
386
|
input: __S(44, __c11, 0) as any as S.Schema<CreateAccessPolicyRequest>,
|
|
338
|
-
output: __S(
|
|
387
|
+
output: __S(56, __c14, 0) as any as S.Schema<AccessPolicy>,
|
|
339
388
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
340
389
|
protocol: StackitProtocol,
|
|
341
390
|
retry: Retry.Retry,
|
|
391
|
+
telemetry: TELEMETRY,
|
|
392
|
+
span: "CreateAccessPolicy",
|
|
342
393
|
}));
|
|
343
394
|
|
|
344
395
|
export type CreateAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -349,11 +400,13 @@ export const createAccessToken: API.OperationMethod<
|
|
|
349
400
|
CreateAccessTokenError,
|
|
350
401
|
StackitOpContext
|
|
351
402
|
> = /*@__PURE__*/ API.make(() => ({
|
|
352
|
-
input: __S(
|
|
353
|
-
output: __S(
|
|
403
|
+
input: __S(60, __c15, 0) as any as S.Schema<CreateAccessTokenRequest>,
|
|
404
|
+
output: __S(64, __c16, 0) as any as S.Schema<AccessToken>,
|
|
354
405
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
355
406
|
protocol: StackitProtocol,
|
|
356
407
|
retry: Retry.Retry,
|
|
408
|
+
telemetry: TELEMETRY,
|
|
409
|
+
span: "CreateAccessToken",
|
|
357
410
|
}));
|
|
358
411
|
|
|
359
412
|
export type CreateLogsInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -364,11 +417,13 @@ export const createLogsInstance: API.OperationMethod<
|
|
|
364
417
|
CreateLogsInstanceError,
|
|
365
418
|
StackitOpContext
|
|
366
419
|
> = /*@__PURE__*/ API.make(() => ({
|
|
367
|
-
input: __S(
|
|
368
|
-
output: __S(
|
|
420
|
+
input: __S(68, __c17, 0) as any as S.Schema<CreateLogsInstanceRequest>,
|
|
421
|
+
output: __S(73, __c18, 1) as any as S.Schema<LogsInstance>,
|
|
369
422
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
370
423
|
protocol: StackitProtocol,
|
|
371
424
|
retry: Retry.Retry,
|
|
425
|
+
telemetry: TELEMETRY,
|
|
426
|
+
span: "CreateLogsInstance",
|
|
372
427
|
}));
|
|
373
428
|
|
|
374
429
|
export type DeleteAccessPolicyError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -379,11 +434,13 @@ export const deleteAccessPolicy: API.OperationMethod<
|
|
|
379
434
|
DeleteAccessPolicyError,
|
|
380
435
|
StackitOpContext
|
|
381
436
|
> = /*@__PURE__*/ API.make(() => ({
|
|
382
|
-
input: __S(
|
|
383
|
-
output: __S(
|
|
437
|
+
input: __S(76, __c19, 0) as any as S.Schema<DeleteAccessPolicyRequest>,
|
|
438
|
+
output: __S(80, __c20, 0) as any as S.Schema<DeleteAccessPolicyResponse>,
|
|
384
439
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
385
440
|
protocol: StackitProtocol,
|
|
386
441
|
retry: Retry.Retry,
|
|
442
|
+
telemetry: TELEMETRY,
|
|
443
|
+
span: "DeleteAccessPolicy",
|
|
387
444
|
}));
|
|
388
445
|
|
|
389
446
|
export type DeleteAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -394,11 +451,13 @@ export const deleteAccessToken: API.OperationMethod<
|
|
|
394
451
|
DeleteAccessTokenError,
|
|
395
452
|
StackitOpContext
|
|
396
453
|
> = /*@__PURE__*/ API.make(() => ({
|
|
397
|
-
input: __S(
|
|
398
|
-
output: __S(
|
|
454
|
+
input: __S(84, __c21, 0) as any as S.Schema<DeleteAccessTokenRequest>,
|
|
455
|
+
output: __S(80, __c20, 0) as any as S.Schema<DeleteAccessTokenResponse>,
|
|
399
456
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
400
457
|
protocol: StackitProtocol,
|
|
401
458
|
retry: Retry.Retry,
|
|
459
|
+
telemetry: TELEMETRY,
|
|
460
|
+
span: "DeleteAccessToken",
|
|
402
461
|
}));
|
|
403
462
|
|
|
404
463
|
export type DeleteAllAccessPoliciesError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -409,11 +468,13 @@ export const deleteAllAccessPolicies: API.OperationMethod<
|
|
|
409
468
|
DeleteAllAccessPoliciesError,
|
|
410
469
|
StackitOpContext
|
|
411
470
|
> = /*@__PURE__*/ API.make(() => ({
|
|
412
|
-
input: __S(
|
|
413
|
-
output: __S(
|
|
471
|
+
input: __S(88, __c22, 0) as any as S.Schema<DeleteAllAccessPoliciesRequest>,
|
|
472
|
+
output: __S(93, __c23, 1) as any as S.Schema<AccessPolicyList>,
|
|
414
473
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
415
474
|
protocol: StackitProtocol,
|
|
416
475
|
retry: Retry.Retry,
|
|
476
|
+
telemetry: TELEMETRY,
|
|
477
|
+
span: "DeleteAllAccessPolicies",
|
|
417
478
|
}));
|
|
418
479
|
|
|
419
480
|
export type DeleteAllAccessTokensError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -424,11 +485,13 @@ export const deleteAllAccessTokens: API.OperationMethod<
|
|
|
424
485
|
DeleteAllAccessTokensError,
|
|
425
486
|
StackitOpContext
|
|
426
487
|
> = /*@__PURE__*/ API.make(() => ({
|
|
427
|
-
input: __S(
|
|
428
|
-
output: __S(
|
|
488
|
+
input: __S(96, __c24, 0) as any as S.Schema<DeleteAllAccessTokensRequest>,
|
|
489
|
+
output: __S(101, __c25, 1) as any as S.Schema<AccessTokenList>,
|
|
429
490
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
430
491
|
protocol: StackitProtocol,
|
|
431
492
|
retry: Retry.Retry,
|
|
493
|
+
telemetry: TELEMETRY,
|
|
494
|
+
span: "DeleteAllAccessTokens",
|
|
432
495
|
}));
|
|
433
496
|
|
|
434
497
|
export type DeleteAllExpiredAccessTokensError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -440,10 +503,12 @@ export const deleteAllExpiredAccessTokens: API.OperationMethod<
|
|
|
440
503
|
StackitOpContext
|
|
441
504
|
> = /*@__PURE__*/ API.make(() => ({
|
|
442
505
|
input: __S(0, __c0, 0) as any as S.Schema<DeleteAllExpiredAccessTokensRequest>,
|
|
443
|
-
output: __S(
|
|
506
|
+
output: __S(101, __c25, 1) as any as S.Schema<AccessTokenList>,
|
|
444
507
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
445
508
|
protocol: StackitProtocol,
|
|
446
509
|
retry: Retry.Retry,
|
|
510
|
+
telemetry: TELEMETRY,
|
|
511
|
+
span: "DeleteAllExpiredAccessTokens",
|
|
447
512
|
}));
|
|
448
513
|
|
|
449
514
|
export type DeleteLogsInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -455,10 +520,12 @@ export const deleteLogsInstance: API.OperationMethod<
|
|
|
455
520
|
StackitOpContext
|
|
456
521
|
> = /*@__PURE__*/ API.make(() => ({
|
|
457
522
|
input: __S(4, __c1, 0) as any as S.Schema<DeleteLogsInstanceRequest>,
|
|
458
|
-
output: __S(
|
|
523
|
+
output: __S(80, __c20, 0) as any as S.Schema<DeleteLogsInstanceResponse>,
|
|
459
524
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
460
525
|
protocol: StackitProtocol,
|
|
461
526
|
retry: Retry.Retry,
|
|
527
|
+
telemetry: TELEMETRY,
|
|
528
|
+
span: "DeleteLogsInstance",
|
|
462
529
|
}));
|
|
463
530
|
|
|
464
531
|
export type GetAccessPolicyError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -470,10 +537,12 @@ export const getAccessPolicy: API.OperationMethod<
|
|
|
470
537
|
StackitOpContext
|
|
471
538
|
> = /*@__PURE__*/ API.make(() => ({
|
|
472
539
|
input: __S(8, __c2, 0) as any as S.Schema<GetAccessPolicyRequest>,
|
|
473
|
-
output: __S(
|
|
540
|
+
output: __S(56, __c14, 0) as any as S.Schema<AccessPolicy>,
|
|
474
541
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
475
542
|
protocol: StackitProtocol,
|
|
476
543
|
retry: Retry.Retry,
|
|
544
|
+
telemetry: TELEMETRY,
|
|
545
|
+
span: "GetAccessPolicy",
|
|
477
546
|
}));
|
|
478
547
|
|
|
479
548
|
export type GetAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -485,10 +554,12 @@ export const getAccessToken: API.OperationMethod<
|
|
|
485
554
|
StackitOpContext
|
|
486
555
|
> = /*@__PURE__*/ API.make(() => ({
|
|
487
556
|
input: __S(12, __c3, 0) as any as S.Schema<GetAccessTokenRequest>,
|
|
488
|
-
output: __S(
|
|
557
|
+
output: __S(64, __c16, 0) as any as S.Schema<AccessToken>,
|
|
489
558
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
490
559
|
protocol: StackitProtocol,
|
|
491
560
|
retry: Retry.Retry,
|
|
561
|
+
telemetry: TELEMETRY,
|
|
562
|
+
span: "GetAccessToken",
|
|
492
563
|
}));
|
|
493
564
|
|
|
494
565
|
export type GetLogsInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -500,10 +571,12 @@ export const getLogsInstance: API.OperationMethod<
|
|
|
500
571
|
StackitOpContext
|
|
501
572
|
> = /*@__PURE__*/ API.make(() => ({
|
|
502
573
|
input: __S(16, __c4, 0) as any as S.Schema<GetLogsInstanceRequest>,
|
|
503
|
-
output: __S(
|
|
574
|
+
output: __S(73, __c18, 1) as any as S.Schema<LogsInstance>,
|
|
504
575
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
505
576
|
protocol: StackitProtocol,
|
|
506
577
|
retry: Retry.Retry,
|
|
578
|
+
telemetry: TELEMETRY,
|
|
579
|
+
span: "GetLogsInstance",
|
|
507
580
|
}));
|
|
508
581
|
|
|
509
582
|
export type ListAccessPoliciesError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -515,10 +588,12 @@ export const listAccessPolicies: API.OperationMethod<
|
|
|
515
588
|
StackitOpContext
|
|
516
589
|
> = /*@__PURE__*/ API.make(() => ({
|
|
517
590
|
input: __S(20, __c5, 0) as any as S.Schema<ListAccessPoliciesRequest>,
|
|
518
|
-
output: __S(
|
|
591
|
+
output: __S(93, __c23, 1) as any as S.Schema<AccessPolicyList>,
|
|
519
592
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
520
593
|
protocol: StackitProtocol,
|
|
521
594
|
retry: Retry.Retry,
|
|
595
|
+
telemetry: TELEMETRY,
|
|
596
|
+
span: "ListAccessPolicies",
|
|
522
597
|
}));
|
|
523
598
|
|
|
524
599
|
export type ListAccessTokensError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -530,10 +605,12 @@ export const listAccessTokens: API.OperationMethod<
|
|
|
530
605
|
StackitOpContext
|
|
531
606
|
> = /*@__PURE__*/ API.make(() => ({
|
|
532
607
|
input: __S(24, __c6, 0) as any as S.Schema<ListAccessTokensRequest>,
|
|
533
|
-
output: __S(
|
|
608
|
+
output: __S(101, __c25, 1) as any as S.Schema<AccessTokenList>,
|
|
534
609
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
535
610
|
protocol: StackitProtocol,
|
|
536
611
|
retry: Retry.Retry,
|
|
612
|
+
telemetry: TELEMETRY,
|
|
613
|
+
span: "ListAccessTokens",
|
|
537
614
|
}));
|
|
538
615
|
|
|
539
616
|
export type ListLogsInstancesError = BadRequest | StackitOpError;
|
|
@@ -549,6 +626,8 @@ export const listLogsInstances: API.OperationMethod<
|
|
|
549
626
|
errors: [BadRequest, UnknownStackitError],
|
|
550
627
|
protocol: StackitProtocol,
|
|
551
628
|
retry: Retry.Retry,
|
|
629
|
+
telemetry: TELEMETRY,
|
|
630
|
+
span: "ListLogsInstances",
|
|
552
631
|
}));
|
|
553
632
|
|
|
554
633
|
export type UpdateAccessPolicyError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -560,10 +639,12 @@ export const updateAccessPolicy: API.OperationMethod<
|
|
|
560
639
|
StackitOpContext
|
|
561
640
|
> = /*@__PURE__*/ API.make(() => ({
|
|
562
641
|
input: __S(32, __c8, 0) as any as S.Schema<UpdateAccessPolicyRequest>,
|
|
563
|
-
output: __S(
|
|
642
|
+
output: __S(56, __c14, 0) as any as S.Schema<AccessPolicy>,
|
|
564
643
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
565
644
|
protocol: StackitProtocol,
|
|
566
645
|
retry: Retry.Retry,
|
|
646
|
+
telemetry: TELEMETRY,
|
|
647
|
+
span: "UpdateAccessPolicy",
|
|
567
648
|
}));
|
|
568
649
|
|
|
569
650
|
export type UpdateAccessTokenError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -575,10 +656,12 @@ export const updateAccessToken: API.OperationMethod<
|
|
|
575
656
|
StackitOpContext
|
|
576
657
|
> = /*@__PURE__*/ API.make(() => ({
|
|
577
658
|
input: __S(36, __c9, 0) as any as S.Schema<UpdateAccessTokenRequest>,
|
|
578
|
-
output: __S(
|
|
659
|
+
output: __S(80, __c20, 0) as any as S.Schema<UpdateAccessTokenResponse>,
|
|
579
660
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
580
661
|
protocol: StackitProtocol,
|
|
581
662
|
retry: Retry.Retry,
|
|
663
|
+
telemetry: TELEMETRY,
|
|
664
|
+
span: "UpdateAccessToken",
|
|
582
665
|
}));
|
|
583
666
|
|
|
584
667
|
export type UpdateLogsInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -590,10 +673,12 @@ export const updateLogsInstance: API.OperationMethod<
|
|
|
590
673
|
StackitOpContext
|
|
591
674
|
> = /*@__PURE__*/ API.make(() => ({
|
|
592
675
|
input: __S(40, __c10, 0) as any as S.Schema<UpdateLogsInstanceRequest>,
|
|
593
|
-
output: __S(
|
|
676
|
+
output: __S(73, __c18, 1) as any as S.Schema<LogsInstance>,
|
|
594
677
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
595
678
|
protocol: StackitProtocol,
|
|
596
679
|
retry: Retry.Retry,
|
|
680
|
+
telemetry: TELEMETRY,
|
|
681
|
+
span: "UpdateLogsInstance",
|
|
597
682
|
}));
|
|
598
683
|
|
|
599
684
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -749,7 +834,7 @@ function __c7(j: number): any {
|
|
|
749
834
|
),
|
|
750
835
|
).annotate({ identifier: "ListLogsInstancesRequest" });
|
|
751
836
|
case 1:
|
|
752
|
-
return S.Array(__S(
|
|
837
|
+
return S.Array(__S(73, __c18, 1));
|
|
753
838
|
case 2:
|
|
754
839
|
return S.suspend(() =>
|
|
755
840
|
S.Struct({
|
|
@@ -768,7 +853,8 @@ function __c8(j: number): any {
|
|
|
768
853
|
instanceId: S.String.pipe(T.Label()),
|
|
769
854
|
pId: S.String.pipe(T.Label()),
|
|
770
855
|
description: S.optional(S.NullOr(S.String)),
|
|
771
|
-
|
|
856
|
+
labels: S.optional(S.NullOr(__S(48, __c12, 0))),
|
|
857
|
+
permissions: S.optional(__S(52, __c13, 0)),
|
|
772
858
|
}).pipe(
|
|
773
859
|
T.Http({
|
|
774
860
|
method: "PATCH",
|
|
@@ -791,6 +877,7 @@ function __c9(j: number): any {
|
|
|
791
877
|
tId: S.String.pipe(T.Label()),
|
|
792
878
|
description: S.optional(S.String),
|
|
793
879
|
displayName: S.optional(S.String),
|
|
880
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
794
881
|
}).pipe(
|
|
795
882
|
T.Http({
|
|
796
883
|
method: "PUT",
|
|
@@ -810,9 +897,10 @@ function __c10(j: number): any {
|
|
|
810
897
|
projectId: S.String.pipe(T.Label()),
|
|
811
898
|
regionId: S.String.pipe(T.Label()),
|
|
812
899
|
instanceId: S.String.pipe(T.Label()),
|
|
813
|
-
acl: S.optional(__S(
|
|
900
|
+
acl: S.optional(__S(72, __c18, 0)),
|
|
814
901
|
description: S.optional(S.String),
|
|
815
902
|
displayName: S.optional(S.String),
|
|
903
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
816
904
|
retentionDays: S.optional(S.Number),
|
|
817
905
|
}).pipe(
|
|
818
906
|
T.Http({
|
|
@@ -835,7 +923,8 @@ function __c11(j: number): any {
|
|
|
835
923
|
instanceId: S.String.pipe(T.Label()),
|
|
836
924
|
description: S.optional(S.NullOr(S.String)),
|
|
837
925
|
email: S.String,
|
|
838
|
-
|
|
926
|
+
labels: S.optional(S.NullOr(__S(48, __c12, 0))),
|
|
927
|
+
permissions: __S(52, __c13, 0),
|
|
839
928
|
}).pipe(
|
|
840
929
|
T.Http({
|
|
841
930
|
method: "POST",
|
|
@@ -850,10 +939,16 @@ function __c11(j: number): any {
|
|
|
850
939
|
function __c12(j: number): any {
|
|
851
940
|
switch (j) {
|
|
852
941
|
case 0:
|
|
853
|
-
return S.
|
|
942
|
+
return S.Record(S.String, S.String);
|
|
854
943
|
}
|
|
855
944
|
}
|
|
856
945
|
function __c13(j: number): any {
|
|
946
|
+
switch (j) {
|
|
947
|
+
case 0:
|
|
948
|
+
return S.Array(S.String);
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
function __c14(j: number): any {
|
|
857
952
|
switch (j) {
|
|
858
953
|
case 0:
|
|
859
954
|
return S.suspend(() =>
|
|
@@ -861,12 +956,13 @@ function __c13(j: number): any {
|
|
|
861
956
|
description: S.optional(S.String),
|
|
862
957
|
email: S.String,
|
|
863
958
|
id: S.String,
|
|
864
|
-
|
|
959
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
960
|
+
permissions: __S(52, __c13, 0),
|
|
865
961
|
}),
|
|
866
962
|
).annotate({ identifier: "AccessPolicy" });
|
|
867
963
|
}
|
|
868
964
|
}
|
|
869
|
-
function
|
|
965
|
+
function __c15(j: number): any {
|
|
870
966
|
switch (j) {
|
|
871
967
|
case 0:
|
|
872
968
|
return S.suspend(() =>
|
|
@@ -876,8 +972,9 @@ function __c14(j: number): any {
|
|
|
876
972
|
instanceId: S.String.pipe(T.Label()),
|
|
877
973
|
description: S.optional(S.String),
|
|
878
974
|
displayName: S.String,
|
|
975
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
879
976
|
lifetime: S.optional(S.Number),
|
|
880
|
-
permissions: __S(
|
|
977
|
+
permissions: __S(52, __c13, 0),
|
|
881
978
|
}).pipe(
|
|
882
979
|
T.Http({
|
|
883
980
|
method: "POST",
|
|
@@ -889,7 +986,7 @@ function __c14(j: number): any {
|
|
|
889
986
|
).annotate({ identifier: "CreateAccessTokenRequest" });
|
|
890
987
|
}
|
|
891
988
|
}
|
|
892
|
-
function
|
|
989
|
+
function __c16(j: number): any {
|
|
893
990
|
switch (j) {
|
|
894
991
|
case 0:
|
|
895
992
|
return S.suspend(() =>
|
|
@@ -900,23 +997,25 @@ function __c15(j: number): any {
|
|
|
900
997
|
displayName: S.String,
|
|
901
998
|
expires: S.Boolean,
|
|
902
999
|
id: S.String,
|
|
903
|
-
|
|
1000
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
1001
|
+
permissions: __S(52, __c13, 0),
|
|
904
1002
|
status: S.String,
|
|
905
1003
|
validUntil: S.optional(S.String),
|
|
906
1004
|
}),
|
|
907
1005
|
).annotate({ identifier: "AccessToken" });
|
|
908
1006
|
}
|
|
909
1007
|
}
|
|
910
|
-
function
|
|
1008
|
+
function __c17(j: number): any {
|
|
911
1009
|
switch (j) {
|
|
912
1010
|
case 0:
|
|
913
1011
|
return S.suspend(() =>
|
|
914
1012
|
S.Struct({
|
|
915
1013
|
projectId: S.String.pipe(T.Label()),
|
|
916
1014
|
regionId: S.String.pipe(T.Label()),
|
|
917
|
-
acl: S.optional(__S(
|
|
1015
|
+
acl: S.optional(__S(72, __c18, 0)),
|
|
918
1016
|
description: S.optional(S.String),
|
|
919
1017
|
displayName: S.String,
|
|
1018
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
920
1019
|
retentionDays: S.Number,
|
|
921
1020
|
}).pipe(
|
|
922
1021
|
T.Http({
|
|
@@ -929,14 +1028,14 @@ function __c16(j: number): any {
|
|
|
929
1028
|
).annotate({ identifier: "CreateLogsInstanceRequest" });
|
|
930
1029
|
}
|
|
931
1030
|
}
|
|
932
|
-
function
|
|
1031
|
+
function __c18(j: number): any {
|
|
933
1032
|
switch (j) {
|
|
934
1033
|
case 0:
|
|
935
1034
|
return S.Array(S.String);
|
|
936
1035
|
case 1:
|
|
937
1036
|
return S.suspend(() =>
|
|
938
1037
|
S.Struct({
|
|
939
|
-
acl: S.optional(__S(
|
|
1038
|
+
acl: S.optional(__S(72, __c18, 0)),
|
|
940
1039
|
created: S.String,
|
|
941
1040
|
datasourceUrl: S.optional(S.String),
|
|
942
1041
|
description: S.optional(S.String),
|
|
@@ -944,6 +1043,7 @@ function __c17(j: number): any {
|
|
|
944
1043
|
id: S.String,
|
|
945
1044
|
ingestOtlpUrl: S.optional(S.String),
|
|
946
1045
|
ingestUrl: S.optional(S.String),
|
|
1046
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
947
1047
|
queryRangeUrl: S.optional(S.String),
|
|
948
1048
|
queryUrl: S.optional(S.String),
|
|
949
1049
|
retentionDays: S.Number,
|
|
@@ -952,7 +1052,7 @@ function __c17(j: number): any {
|
|
|
952
1052
|
).annotate({ identifier: "LogsInstance" });
|
|
953
1053
|
}
|
|
954
1054
|
}
|
|
955
|
-
function
|
|
1055
|
+
function __c19(j: number): any {
|
|
956
1056
|
switch (j) {
|
|
957
1057
|
case 0:
|
|
958
1058
|
return S.suspend(() =>
|
|
@@ -972,13 +1072,13 @@ function __c18(j: number): any {
|
|
|
972
1072
|
).annotate({ identifier: "DeleteAccessPolicyRequest" });
|
|
973
1073
|
}
|
|
974
1074
|
}
|
|
975
|
-
function
|
|
1075
|
+
function __c20(j: number): any {
|
|
976
1076
|
switch (j) {
|
|
977
1077
|
case 0:
|
|
978
1078
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteAccessPolicyResponse" });
|
|
979
1079
|
}
|
|
980
1080
|
}
|
|
981
|
-
function
|
|
1081
|
+
function __c21(j: number): any {
|
|
982
1082
|
switch (j) {
|
|
983
1083
|
case 0:
|
|
984
1084
|
return S.suspend(() =>
|
|
@@ -998,7 +1098,7 @@ function __c20(j: number): any {
|
|
|
998
1098
|
).annotate({ identifier: "DeleteAccessTokenRequest" });
|
|
999
1099
|
}
|
|
1000
1100
|
}
|
|
1001
|
-
function
|
|
1101
|
+
function __c22(j: number): any {
|
|
1002
1102
|
switch (j) {
|
|
1003
1103
|
case 0:
|
|
1004
1104
|
return S.suspend(() =>
|
|
@@ -1017,19 +1117,19 @@ function __c21(j: number): any {
|
|
|
1017
1117
|
).annotate({ identifier: "DeleteAllAccessPoliciesRequest" });
|
|
1018
1118
|
}
|
|
1019
1119
|
}
|
|
1020
|
-
function
|
|
1120
|
+
function __c23(j: number): any {
|
|
1021
1121
|
switch (j) {
|
|
1022
1122
|
case 0:
|
|
1023
|
-
return S.Array(__S(
|
|
1123
|
+
return S.Array(__S(56, __c14, 0));
|
|
1024
1124
|
case 1:
|
|
1025
1125
|
return S.suspend(() =>
|
|
1026
1126
|
S.Struct({
|
|
1027
|
-
policies: __S(
|
|
1127
|
+
policies: __S(92, __c23, 0),
|
|
1028
1128
|
}),
|
|
1029
1129
|
).annotate({ identifier: "AccessPolicyList" });
|
|
1030
1130
|
}
|
|
1031
1131
|
}
|
|
1032
|
-
function
|
|
1132
|
+
function __c24(j: number): any {
|
|
1033
1133
|
switch (j) {
|
|
1034
1134
|
case 0:
|
|
1035
1135
|
return S.suspend(() =>
|
|
@@ -1048,14 +1148,14 @@ function __c23(j: number): any {
|
|
|
1048
1148
|
).annotate({ identifier: "DeleteAllAccessTokensRequest" });
|
|
1049
1149
|
}
|
|
1050
1150
|
}
|
|
1051
|
-
function
|
|
1151
|
+
function __c25(j: number): any {
|
|
1052
1152
|
switch (j) {
|
|
1053
1153
|
case 0:
|
|
1054
|
-
return S.Array(__S(
|
|
1154
|
+
return S.Array(__S(64, __c16, 0));
|
|
1055
1155
|
case 1:
|
|
1056
1156
|
return S.suspend(() =>
|
|
1057
1157
|
S.Struct({
|
|
1058
|
-
tokens: __S(
|
|
1158
|
+
tokens: __S(100, __c25, 0),
|
|
1059
1159
|
}),
|
|
1060
1160
|
).annotate({ identifier: "AccessTokenList" });
|
|
1061
1161
|
}
|