@distilled.cloud/stackit 1.0.0-rc.18 → 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/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +2 -1
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +24 -24
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +29 -29
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +22 -22
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +22 -22
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -39
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +23 -23
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +24 -24
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +37 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +179 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +25 -25
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +37 -37
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +25 -25
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +34 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -33
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +35 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +38 -38
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +34 -34
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +147 -147
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +35 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +24 -24
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -46
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +33 -33
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +36 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +32 -32
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +31 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +33 -33
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +39 -39
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +25 -25
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +26 -26
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -45
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +21 -21
- 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 +36 -36
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +22 -22
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -33
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -28
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +35 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +40 -40
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +23 -23
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/automation.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/functions.js +2 -2
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/package.json +5 -5
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +10 -10
- package/src/services/alb.ts +135 -132
- package/src/services/alb_waf.ts +51 -51
- package/src/services/authorization.ts +15 -15
- package/src/services/automation.ts +53 -49
- package/src/services/cdn.ts +129 -129
- package/src/services/certificates.ts +40 -40
- package/src/services/cost.ts +15 -15
- package/src/services/dns.ts +497 -269
- package/src/services/dremio.ts +156 -118
- package/src/services/edge.ts +21 -21
- package/src/services/functions.ts +176 -172
- package/src/services/git.ts +354 -108
- package/src/services/iaas.ts +438 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +58 -58
- package/src/services/kms.ts +13 -13
- package/src/services/lb_ip_lists.ts +14 -14
- package/src/services/load_balancer.ts +129 -126
- package/src/services/logme.ts +294 -122
- package/src/services/logs.ts +123 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +277 -105
- package/src/services/model_experiments.ts +33 -33
- package/src/services/model_serving.ts +25 -25
- package/src/services/mongodb_flex.ts +142 -137
- package/src/services/object_storage.ts +6 -6
- package/src/services/observability.ts +369 -362
- package/src/services/opensearch.ts +286 -114
- package/src/services/pim.ts +362 -278
- package/src/services/postgres_flex.ts +191 -179
- package/src/services/pubsub.ts +36 -36
- package/src/services/rabbitmq.ts +297 -125
- package/src/services/registry.ts +30 -26
- package/src/services/resource_manager.ts +57 -57
- package/src/services/run_command.ts +42 -42
- package/src/services/sca.ts +732 -371
- package/src/services/scf.ts +24 -24
- package/src/services/secrets_manager.ts +22 -22
- package/src/services/server_backup.ts +31 -31
- package/src/services/server_update.ts +17 -17
- package/src/services/service_account.ts +32 -30
- package/src/services/service_enablement.ts +28 -24
- package/src/services/sfs.ts +404 -395
- package/src/services/ske.ts +258 -228
- package/src/services/sqlserverflex.ts +47 -47
- package/src/services/stackit_marketplace.ts +39 -39
- package/src/services/telemetry_link.ts +136 -81
- package/src/services/telemetry_router.ts +283 -94
- package/src/services/ufw.ts +56 -54
- package/src/services/valkey.ts +290 -118
- package/src/services/vpn.ts +152 -142
- package/src/services/workflows.ts +65 -65
package/src/services/logs.ts
CHANGED
|
@@ -54,6 +54,8 @@ export class NotFound
|
|
|
54
54
|
) {}
|
|
55
55
|
|
|
56
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 };
|
|
57
59
|
export type PermissionsItem = "read" | "write";
|
|
58
60
|
/** The access permissions granted to the access token or access policy. */
|
|
59
61
|
export type Permissions = Array<PermissionsItem | (string & {})>;
|
|
@@ -65,21 +67,29 @@ export interface CreateAccessPolicyRequest {
|
|
|
65
67
|
/** The Logs Instance UUID. */
|
|
66
68
|
instanceId: string;
|
|
67
69
|
/** The description of the access policy. */
|
|
68
|
-
description?: string | null;
|
|
70
|
+
description?: string | null | undefined;
|
|
69
71
|
/** The email address of the STACKIT IAM subject (user, group, or service account). */
|
|
70
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;
|
|
71
75
|
permissions: Permissions;
|
|
72
76
|
}
|
|
77
|
+
/** Labels as key-value pairs. */
|
|
78
|
+
export type AccessPolicyLabelsMap = { [key: string]: string | undefined };
|
|
73
79
|
export interface AccessPolicy {
|
|
74
80
|
/** The description of the access policy. */
|
|
75
|
-
description?: string;
|
|
81
|
+
description?: string | undefined;
|
|
76
82
|
/** The email address of the STACKIT IAM subject (user, group, or service account). */
|
|
77
83
|
email: string;
|
|
78
84
|
/** An auto generated unique id which identifies the access policy. */
|
|
79
85
|
id: string;
|
|
86
|
+
/** Labels as key-value pairs. */
|
|
87
|
+
labels?: AccessPolicyLabelsMap | undefined;
|
|
80
88
|
permissions: Permissions;
|
|
81
89
|
}
|
|
82
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 };
|
|
83
93
|
export interface CreateAccessTokenRequest {
|
|
84
94
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
85
95
|
projectId: string;
|
|
@@ -88,74 +98,88 @@ export interface CreateAccessTokenRequest {
|
|
|
88
98
|
/** The Logs Instance UUID. */
|
|
89
99
|
instanceId: string;
|
|
90
100
|
/** The description of the access token. */
|
|
91
|
-
description?: string;
|
|
101
|
+
description?: string | undefined;
|
|
92
102
|
/** The displayed name of the access token. */
|
|
93
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;
|
|
94
106
|
/** A lifetime period for an access token in days. If unset the token will not expire. */
|
|
95
|
-
lifetime?: number;
|
|
107
|
+
lifetime?: number | undefined;
|
|
96
108
|
permissions: Permissions;
|
|
97
109
|
}
|
|
110
|
+
/** Labels as key-value pairs. */
|
|
111
|
+
export type AccessTokenLabelsMap = { [key: string]: string | undefined };
|
|
98
112
|
export type AccessTokenStatus = "active" | "expired";
|
|
99
113
|
export interface AccessToken {
|
|
100
114
|
/** A generated access token. Only available on creation. */
|
|
101
|
-
accessToken?: string | Redacted.Redacted<string
|
|
115
|
+
accessToken?: string | Redacted.Redacted<string> | undefined;
|
|
102
116
|
/** The user who created the access token. */
|
|
103
117
|
creator: string;
|
|
104
118
|
/** The description of the access token. */
|
|
105
|
-
description?: string;
|
|
119
|
+
description?: string | undefined;
|
|
106
120
|
/** The displayed name of the access token. */
|
|
107
121
|
displayName: string;
|
|
108
122
|
/** Indicates if the access token can expire. */
|
|
109
123
|
expires: boolean;
|
|
110
124
|
/** An auto generated unique id which identifies the access token. */
|
|
111
125
|
id: string;
|
|
126
|
+
/** Labels as key-value pairs. */
|
|
127
|
+
labels?: AccessTokenLabelsMap | undefined;
|
|
112
128
|
permissions: Permissions;
|
|
113
129
|
status: AccessTokenStatus;
|
|
114
130
|
/** The date and time util an access token is valid to (inclusively). */
|
|
115
|
-
validUntil?: string;
|
|
131
|
+
validUntil?: string | undefined;
|
|
116
132
|
}
|
|
117
133
|
export type CreateLogsInstanceRequestRegionId = "eu01" | "eu02";
|
|
118
134
|
/** The access control list for the Logs instance. */
|
|
119
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 };
|
|
120
138
|
export interface CreateLogsInstanceRequest {
|
|
121
139
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
122
140
|
projectId: string;
|
|
123
141
|
/** The STACKIT region name the resource is located in. */
|
|
124
142
|
regionId: CreateLogsInstanceRequestRegionId | (string & {});
|
|
125
143
|
/** The access control list for the Logs instance. */
|
|
126
|
-
acl?: CreateLogsInstanceRequestAclList;
|
|
144
|
+
acl?: CreateLogsInstanceRequestAclList | undefined;
|
|
127
145
|
/** The description of the access token. */
|
|
128
|
-
description?: string;
|
|
146
|
+
description?: string | undefined;
|
|
129
147
|
/** The displayed name to distinguish multiple Logs instances. */
|
|
130
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;
|
|
131
151
|
/** The log retention time in days. */
|
|
132
152
|
retentionDays: number;
|
|
133
153
|
}
|
|
134
154
|
/** The access control list for the Logs instance. */
|
|
135
155
|
export type LogsInstanceAclList = Array<string>;
|
|
156
|
+
/** Labels as key-value pairs. */
|
|
157
|
+
export type LogsInstanceLabelsMap = { [key: string]: string | undefined };
|
|
136
158
|
/** The current status of the Logs instance. */
|
|
137
159
|
export type LogsInstanceStatus = "active" | "deleting" | "reconciling";
|
|
138
160
|
export interface LogsInstance {
|
|
139
161
|
/** The access control list for the Logs instance. */
|
|
140
|
-
acl?: LogsInstanceAclList;
|
|
162
|
+
acl?: LogsInstanceAclList | undefined;
|
|
141
163
|
/** The date and time the creation of the Logs instance was triggered. */
|
|
142
164
|
created: string;
|
|
143
165
|
/** The Logs instance's datasource URL, can be used in Grafana as a datasource URL */
|
|
144
|
-
datasourceUrl?: string;
|
|
166
|
+
datasourceUrl?: string | undefined;
|
|
145
167
|
/** The description of the Logs instance. */
|
|
146
|
-
description?: string;
|
|
168
|
+
description?: string | undefined;
|
|
147
169
|
/** The displayed name of the Logs instance. */
|
|
148
170
|
displayName: string;
|
|
149
171
|
/** A auto generated unique id which identifies the Logs instance. */
|
|
150
172
|
id: string;
|
|
151
173
|
/** The Logs instance's ingest logs via OTLP URL */
|
|
152
|
-
ingestOtlpUrl?: string;
|
|
174
|
+
ingestOtlpUrl?: string | undefined;
|
|
153
175
|
/** The Logs instance's ingest logs URL */
|
|
154
|
-
ingestUrl?: string;
|
|
176
|
+
ingestUrl?: string | undefined;
|
|
177
|
+
/** Labels as key-value pairs. */
|
|
178
|
+
labels?: LogsInstanceLabelsMap | undefined;
|
|
155
179
|
/** The Logs instance's query range URL */
|
|
156
|
-
queryRangeUrl?: string;
|
|
180
|
+
queryRangeUrl?: string | undefined;
|
|
157
181
|
/** The Logs instance's query URL */
|
|
158
|
-
queryUrl?: string;
|
|
182
|
+
queryUrl?: string | undefined;
|
|
159
183
|
/** The log retention time in days. */
|
|
160
184
|
retentionDays: number;
|
|
161
185
|
/** The current status of the Logs instance. */
|
|
@@ -291,6 +315,8 @@ export interface LogsInstancesList {
|
|
|
291
315
|
instances: LogsInstancesListInstancesList;
|
|
292
316
|
}
|
|
293
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 };
|
|
294
320
|
export interface UpdateAccessPolicyRequest {
|
|
295
321
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
296
322
|
projectId: string;
|
|
@@ -301,10 +327,14 @@ export interface UpdateAccessPolicyRequest {
|
|
|
301
327
|
/** The access policy unique id. */
|
|
302
328
|
pId: string;
|
|
303
329
|
/** The updated description of the access policy. If not present will be ignored in update. */
|
|
304
|
-
description?: string | null;
|
|
305
|
-
|
|
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;
|
|
306
334
|
}
|
|
307
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 };
|
|
308
338
|
export interface UpdateAccessTokenRequest {
|
|
309
339
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
310
340
|
projectId: string;
|
|
@@ -315,14 +345,18 @@ export interface UpdateAccessTokenRequest {
|
|
|
315
345
|
/** The access token UUID. */
|
|
316
346
|
tId: string;
|
|
317
347
|
/** The description of the access token. */
|
|
318
|
-
description?: string;
|
|
348
|
+
description?: string | undefined;
|
|
319
349
|
/** The displayed name of the access token. */
|
|
320
|
-
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;
|
|
321
353
|
}
|
|
322
354
|
export interface UpdateAccessTokenResponse {}
|
|
323
355
|
export type UpdateLogsInstanceRequestRegionId = "eu01" | "eu02";
|
|
324
356
|
/** The access control list for the Logs instance. */
|
|
325
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 };
|
|
326
360
|
export interface UpdateLogsInstanceRequest {
|
|
327
361
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
328
362
|
projectId: string;
|
|
@@ -331,13 +365,15 @@ export interface UpdateLogsInstanceRequest {
|
|
|
331
365
|
/** The Logs Instance UUID. */
|
|
332
366
|
instanceId: string;
|
|
333
367
|
/** The access control list for the Logs instance. */
|
|
334
|
-
acl?: UpdateLogsInstanceRequestAclList;
|
|
368
|
+
acl?: UpdateLogsInstanceRequestAclList | undefined;
|
|
335
369
|
/** The description of the Logs instance. */
|
|
336
|
-
description?: string;
|
|
370
|
+
description?: string | undefined;
|
|
337
371
|
/** The displayed name to distinguish multiple Logs instances. */
|
|
338
|
-
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;
|
|
339
375
|
/** The log retention time in days. */
|
|
340
|
-
retentionDays?: number;
|
|
376
|
+
retentionDays?: number | undefined;
|
|
341
377
|
}
|
|
342
378
|
export type CreateAccessPolicyError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
343
379
|
/** Create Access Policy Create a new access policy for Logs instance */
|
|
@@ -348,7 +384,7 @@ export const createAccessPolicy: API.OperationMethod<
|
|
|
348
384
|
StackitOpContext
|
|
349
385
|
> = /*@__PURE__*/ API.make(() => ({
|
|
350
386
|
input: __S(44, __c11, 0) as any as S.Schema<CreateAccessPolicyRequest>,
|
|
351
|
-
output: __S(
|
|
387
|
+
output: __S(56, __c14, 0) as any as S.Schema<AccessPolicy>,
|
|
352
388
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
353
389
|
protocol: StackitProtocol,
|
|
354
390
|
retry: Retry.Retry,
|
|
@@ -364,8 +400,8 @@ export const createAccessToken: API.OperationMethod<
|
|
|
364
400
|
CreateAccessTokenError,
|
|
365
401
|
StackitOpContext
|
|
366
402
|
> = /*@__PURE__*/ API.make(() => ({
|
|
367
|
-
input: __S(
|
|
368
|
-
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>,
|
|
369
405
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
370
406
|
protocol: StackitProtocol,
|
|
371
407
|
retry: Retry.Retry,
|
|
@@ -381,8 +417,8 @@ export const createLogsInstance: API.OperationMethod<
|
|
|
381
417
|
CreateLogsInstanceError,
|
|
382
418
|
StackitOpContext
|
|
383
419
|
> = /*@__PURE__*/ API.make(() => ({
|
|
384
|
-
input: __S(
|
|
385
|
-
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>,
|
|
386
422
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
387
423
|
protocol: StackitProtocol,
|
|
388
424
|
retry: Retry.Retry,
|
|
@@ -398,8 +434,8 @@ export const deleteAccessPolicy: API.OperationMethod<
|
|
|
398
434
|
DeleteAccessPolicyError,
|
|
399
435
|
StackitOpContext
|
|
400
436
|
> = /*@__PURE__*/ API.make(() => ({
|
|
401
|
-
input: __S(
|
|
402
|
-
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>,
|
|
403
439
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
404
440
|
protocol: StackitProtocol,
|
|
405
441
|
retry: Retry.Retry,
|
|
@@ -415,8 +451,8 @@ export const deleteAccessToken: API.OperationMethod<
|
|
|
415
451
|
DeleteAccessTokenError,
|
|
416
452
|
StackitOpContext
|
|
417
453
|
> = /*@__PURE__*/ API.make(() => ({
|
|
418
|
-
input: __S(
|
|
419
|
-
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>,
|
|
420
456
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
421
457
|
protocol: StackitProtocol,
|
|
422
458
|
retry: Retry.Retry,
|
|
@@ -432,8 +468,8 @@ export const deleteAllAccessPolicies: API.OperationMethod<
|
|
|
432
468
|
DeleteAllAccessPoliciesError,
|
|
433
469
|
StackitOpContext
|
|
434
470
|
> = /*@__PURE__*/ API.make(() => ({
|
|
435
|
-
input: __S(
|
|
436
|
-
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>,
|
|
437
473
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
438
474
|
protocol: StackitProtocol,
|
|
439
475
|
retry: Retry.Retry,
|
|
@@ -449,8 +485,8 @@ export const deleteAllAccessTokens: API.OperationMethod<
|
|
|
449
485
|
DeleteAllAccessTokensError,
|
|
450
486
|
StackitOpContext
|
|
451
487
|
> = /*@__PURE__*/ API.make(() => ({
|
|
452
|
-
input: __S(
|
|
453
|
-
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>,
|
|
454
490
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
455
491
|
protocol: StackitProtocol,
|
|
456
492
|
retry: Retry.Retry,
|
|
@@ -467,7 +503,7 @@ export const deleteAllExpiredAccessTokens: API.OperationMethod<
|
|
|
467
503
|
StackitOpContext
|
|
468
504
|
> = /*@__PURE__*/ API.make(() => ({
|
|
469
505
|
input: __S(0, __c0, 0) as any as S.Schema<DeleteAllExpiredAccessTokensRequest>,
|
|
470
|
-
output: __S(
|
|
506
|
+
output: __S(101, __c25, 1) as any as S.Schema<AccessTokenList>,
|
|
471
507
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
472
508
|
protocol: StackitProtocol,
|
|
473
509
|
retry: Retry.Retry,
|
|
@@ -484,7 +520,7 @@ export const deleteLogsInstance: API.OperationMethod<
|
|
|
484
520
|
StackitOpContext
|
|
485
521
|
> = /*@__PURE__*/ API.make(() => ({
|
|
486
522
|
input: __S(4, __c1, 0) as any as S.Schema<DeleteLogsInstanceRequest>,
|
|
487
|
-
output: __S(
|
|
523
|
+
output: __S(80, __c20, 0) as any as S.Schema<DeleteLogsInstanceResponse>,
|
|
488
524
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
489
525
|
protocol: StackitProtocol,
|
|
490
526
|
retry: Retry.Retry,
|
|
@@ -501,7 +537,7 @@ export const getAccessPolicy: API.OperationMethod<
|
|
|
501
537
|
StackitOpContext
|
|
502
538
|
> = /*@__PURE__*/ API.make(() => ({
|
|
503
539
|
input: __S(8, __c2, 0) as any as S.Schema<GetAccessPolicyRequest>,
|
|
504
|
-
output: __S(
|
|
540
|
+
output: __S(56, __c14, 0) as any as S.Schema<AccessPolicy>,
|
|
505
541
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
506
542
|
protocol: StackitProtocol,
|
|
507
543
|
retry: Retry.Retry,
|
|
@@ -518,7 +554,7 @@ export const getAccessToken: API.OperationMethod<
|
|
|
518
554
|
StackitOpContext
|
|
519
555
|
> = /*@__PURE__*/ API.make(() => ({
|
|
520
556
|
input: __S(12, __c3, 0) as any as S.Schema<GetAccessTokenRequest>,
|
|
521
|
-
output: __S(
|
|
557
|
+
output: __S(64, __c16, 0) as any as S.Schema<AccessToken>,
|
|
522
558
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
523
559
|
protocol: StackitProtocol,
|
|
524
560
|
retry: Retry.Retry,
|
|
@@ -535,7 +571,7 @@ export const getLogsInstance: API.OperationMethod<
|
|
|
535
571
|
StackitOpContext
|
|
536
572
|
> = /*@__PURE__*/ API.make(() => ({
|
|
537
573
|
input: __S(16, __c4, 0) as any as S.Schema<GetLogsInstanceRequest>,
|
|
538
|
-
output: __S(
|
|
574
|
+
output: __S(73, __c18, 1) as any as S.Schema<LogsInstance>,
|
|
539
575
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
540
576
|
protocol: StackitProtocol,
|
|
541
577
|
retry: Retry.Retry,
|
|
@@ -552,7 +588,7 @@ export const listAccessPolicies: API.OperationMethod<
|
|
|
552
588
|
StackitOpContext
|
|
553
589
|
> = /*@__PURE__*/ API.make(() => ({
|
|
554
590
|
input: __S(20, __c5, 0) as any as S.Schema<ListAccessPoliciesRequest>,
|
|
555
|
-
output: __S(
|
|
591
|
+
output: __S(93, __c23, 1) as any as S.Schema<AccessPolicyList>,
|
|
556
592
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
557
593
|
protocol: StackitProtocol,
|
|
558
594
|
retry: Retry.Retry,
|
|
@@ -569,7 +605,7 @@ export const listAccessTokens: API.OperationMethod<
|
|
|
569
605
|
StackitOpContext
|
|
570
606
|
> = /*@__PURE__*/ API.make(() => ({
|
|
571
607
|
input: __S(24, __c6, 0) as any as S.Schema<ListAccessTokensRequest>,
|
|
572
|
-
output: __S(
|
|
608
|
+
output: __S(101, __c25, 1) as any as S.Schema<AccessTokenList>,
|
|
573
609
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
574
610
|
protocol: StackitProtocol,
|
|
575
611
|
retry: Retry.Retry,
|
|
@@ -603,7 +639,7 @@ export const updateAccessPolicy: API.OperationMethod<
|
|
|
603
639
|
StackitOpContext
|
|
604
640
|
> = /*@__PURE__*/ API.make(() => ({
|
|
605
641
|
input: __S(32, __c8, 0) as any as S.Schema<UpdateAccessPolicyRequest>,
|
|
606
|
-
output: __S(
|
|
642
|
+
output: __S(56, __c14, 0) as any as S.Schema<AccessPolicy>,
|
|
607
643
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
608
644
|
protocol: StackitProtocol,
|
|
609
645
|
retry: Retry.Retry,
|
|
@@ -620,7 +656,7 @@ export const updateAccessToken: API.OperationMethod<
|
|
|
620
656
|
StackitOpContext
|
|
621
657
|
> = /*@__PURE__*/ API.make(() => ({
|
|
622
658
|
input: __S(36, __c9, 0) as any as S.Schema<UpdateAccessTokenRequest>,
|
|
623
|
-
output: __S(
|
|
659
|
+
output: __S(80, __c20, 0) as any as S.Schema<UpdateAccessTokenResponse>,
|
|
624
660
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
625
661
|
protocol: StackitProtocol,
|
|
626
662
|
retry: Retry.Retry,
|
|
@@ -637,7 +673,7 @@ export const updateLogsInstance: API.OperationMethod<
|
|
|
637
673
|
StackitOpContext
|
|
638
674
|
> = /*@__PURE__*/ API.make(() => ({
|
|
639
675
|
input: __S(40, __c10, 0) as any as S.Schema<UpdateLogsInstanceRequest>,
|
|
640
|
-
output: __S(
|
|
676
|
+
output: __S(73, __c18, 1) as any as S.Schema<LogsInstance>,
|
|
641
677
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
642
678
|
protocol: StackitProtocol,
|
|
643
679
|
retry: Retry.Retry,
|
|
@@ -798,7 +834,7 @@ function __c7(j: number): any {
|
|
|
798
834
|
),
|
|
799
835
|
).annotate({ identifier: "ListLogsInstancesRequest" });
|
|
800
836
|
case 1:
|
|
801
|
-
return S.Array(__S(
|
|
837
|
+
return S.Array(__S(73, __c18, 1));
|
|
802
838
|
case 2:
|
|
803
839
|
return S.suspend(() =>
|
|
804
840
|
S.Struct({
|
|
@@ -817,7 +853,8 @@ function __c8(j: number): any {
|
|
|
817
853
|
instanceId: S.String.pipe(T.Label()),
|
|
818
854
|
pId: S.String.pipe(T.Label()),
|
|
819
855
|
description: S.optional(S.NullOr(S.String)),
|
|
820
|
-
|
|
856
|
+
labels: S.optional(S.NullOr(__S(48, __c12, 0))),
|
|
857
|
+
permissions: S.optional(__S(52, __c13, 0)),
|
|
821
858
|
}).pipe(
|
|
822
859
|
T.Http({
|
|
823
860
|
method: "PATCH",
|
|
@@ -840,6 +877,7 @@ function __c9(j: number): any {
|
|
|
840
877
|
tId: S.String.pipe(T.Label()),
|
|
841
878
|
description: S.optional(S.String),
|
|
842
879
|
displayName: S.optional(S.String),
|
|
880
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
843
881
|
}).pipe(
|
|
844
882
|
T.Http({
|
|
845
883
|
method: "PUT",
|
|
@@ -859,9 +897,10 @@ function __c10(j: number): any {
|
|
|
859
897
|
projectId: S.String.pipe(T.Label()),
|
|
860
898
|
regionId: S.String.pipe(T.Label()),
|
|
861
899
|
instanceId: S.String.pipe(T.Label()),
|
|
862
|
-
acl: S.optional(__S(
|
|
900
|
+
acl: S.optional(__S(72, __c18, 0)),
|
|
863
901
|
description: S.optional(S.String),
|
|
864
902
|
displayName: S.optional(S.String),
|
|
903
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
865
904
|
retentionDays: S.optional(S.Number),
|
|
866
905
|
}).pipe(
|
|
867
906
|
T.Http({
|
|
@@ -884,7 +923,8 @@ function __c11(j: number): any {
|
|
|
884
923
|
instanceId: S.String.pipe(T.Label()),
|
|
885
924
|
description: S.optional(S.NullOr(S.String)),
|
|
886
925
|
email: S.String,
|
|
887
|
-
|
|
926
|
+
labels: S.optional(S.NullOr(__S(48, __c12, 0))),
|
|
927
|
+
permissions: __S(52, __c13, 0),
|
|
888
928
|
}).pipe(
|
|
889
929
|
T.Http({
|
|
890
930
|
method: "POST",
|
|
@@ -899,10 +939,16 @@ function __c11(j: number): any {
|
|
|
899
939
|
function __c12(j: number): any {
|
|
900
940
|
switch (j) {
|
|
901
941
|
case 0:
|
|
902
|
-
return S.
|
|
942
|
+
return S.Record(S.String, S.String);
|
|
903
943
|
}
|
|
904
944
|
}
|
|
905
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 {
|
|
906
952
|
switch (j) {
|
|
907
953
|
case 0:
|
|
908
954
|
return S.suspend(() =>
|
|
@@ -910,12 +956,13 @@ function __c13(j: number): any {
|
|
|
910
956
|
description: S.optional(S.String),
|
|
911
957
|
email: S.String,
|
|
912
958
|
id: S.String,
|
|
913
|
-
|
|
959
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
960
|
+
permissions: __S(52, __c13, 0),
|
|
914
961
|
}),
|
|
915
962
|
).annotate({ identifier: "AccessPolicy" });
|
|
916
963
|
}
|
|
917
964
|
}
|
|
918
|
-
function
|
|
965
|
+
function __c15(j: number): any {
|
|
919
966
|
switch (j) {
|
|
920
967
|
case 0:
|
|
921
968
|
return S.suspend(() =>
|
|
@@ -925,8 +972,9 @@ function __c14(j: number): any {
|
|
|
925
972
|
instanceId: S.String.pipe(T.Label()),
|
|
926
973
|
description: S.optional(S.String),
|
|
927
974
|
displayName: S.String,
|
|
975
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
928
976
|
lifetime: S.optional(S.Number),
|
|
929
|
-
permissions: __S(
|
|
977
|
+
permissions: __S(52, __c13, 0),
|
|
930
978
|
}).pipe(
|
|
931
979
|
T.Http({
|
|
932
980
|
method: "POST",
|
|
@@ -938,7 +986,7 @@ function __c14(j: number): any {
|
|
|
938
986
|
).annotate({ identifier: "CreateAccessTokenRequest" });
|
|
939
987
|
}
|
|
940
988
|
}
|
|
941
|
-
function
|
|
989
|
+
function __c16(j: number): any {
|
|
942
990
|
switch (j) {
|
|
943
991
|
case 0:
|
|
944
992
|
return S.suspend(() =>
|
|
@@ -949,23 +997,25 @@ function __c15(j: number): any {
|
|
|
949
997
|
displayName: S.String,
|
|
950
998
|
expires: S.Boolean,
|
|
951
999
|
id: S.String,
|
|
952
|
-
|
|
1000
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
1001
|
+
permissions: __S(52, __c13, 0),
|
|
953
1002
|
status: S.String,
|
|
954
1003
|
validUntil: S.optional(S.String),
|
|
955
1004
|
}),
|
|
956
1005
|
).annotate({ identifier: "AccessToken" });
|
|
957
1006
|
}
|
|
958
1007
|
}
|
|
959
|
-
function
|
|
1008
|
+
function __c17(j: number): any {
|
|
960
1009
|
switch (j) {
|
|
961
1010
|
case 0:
|
|
962
1011
|
return S.suspend(() =>
|
|
963
1012
|
S.Struct({
|
|
964
1013
|
projectId: S.String.pipe(T.Label()),
|
|
965
1014
|
regionId: S.String.pipe(T.Label()),
|
|
966
|
-
acl: S.optional(__S(
|
|
1015
|
+
acl: S.optional(__S(72, __c18, 0)),
|
|
967
1016
|
description: S.optional(S.String),
|
|
968
1017
|
displayName: S.String,
|
|
1018
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
969
1019
|
retentionDays: S.Number,
|
|
970
1020
|
}).pipe(
|
|
971
1021
|
T.Http({
|
|
@@ -978,14 +1028,14 @@ function __c16(j: number): any {
|
|
|
978
1028
|
).annotate({ identifier: "CreateLogsInstanceRequest" });
|
|
979
1029
|
}
|
|
980
1030
|
}
|
|
981
|
-
function
|
|
1031
|
+
function __c18(j: number): any {
|
|
982
1032
|
switch (j) {
|
|
983
1033
|
case 0:
|
|
984
1034
|
return S.Array(S.String);
|
|
985
1035
|
case 1:
|
|
986
1036
|
return S.suspend(() =>
|
|
987
1037
|
S.Struct({
|
|
988
|
-
acl: S.optional(__S(
|
|
1038
|
+
acl: S.optional(__S(72, __c18, 0)),
|
|
989
1039
|
created: S.String,
|
|
990
1040
|
datasourceUrl: S.optional(S.String),
|
|
991
1041
|
description: S.optional(S.String),
|
|
@@ -993,6 +1043,7 @@ function __c17(j: number): any {
|
|
|
993
1043
|
id: S.String,
|
|
994
1044
|
ingestOtlpUrl: S.optional(S.String),
|
|
995
1045
|
ingestUrl: S.optional(S.String),
|
|
1046
|
+
labels: S.optional(__S(48, __c12, 0)),
|
|
996
1047
|
queryRangeUrl: S.optional(S.String),
|
|
997
1048
|
queryUrl: S.optional(S.String),
|
|
998
1049
|
retentionDays: S.Number,
|
|
@@ -1001,7 +1052,7 @@ function __c17(j: number): any {
|
|
|
1001
1052
|
).annotate({ identifier: "LogsInstance" });
|
|
1002
1053
|
}
|
|
1003
1054
|
}
|
|
1004
|
-
function
|
|
1055
|
+
function __c19(j: number): any {
|
|
1005
1056
|
switch (j) {
|
|
1006
1057
|
case 0:
|
|
1007
1058
|
return S.suspend(() =>
|
|
@@ -1021,13 +1072,13 @@ function __c18(j: number): any {
|
|
|
1021
1072
|
).annotate({ identifier: "DeleteAccessPolicyRequest" });
|
|
1022
1073
|
}
|
|
1023
1074
|
}
|
|
1024
|
-
function
|
|
1075
|
+
function __c20(j: number): any {
|
|
1025
1076
|
switch (j) {
|
|
1026
1077
|
case 0:
|
|
1027
1078
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteAccessPolicyResponse" });
|
|
1028
1079
|
}
|
|
1029
1080
|
}
|
|
1030
|
-
function
|
|
1081
|
+
function __c21(j: number): any {
|
|
1031
1082
|
switch (j) {
|
|
1032
1083
|
case 0:
|
|
1033
1084
|
return S.suspend(() =>
|
|
@@ -1047,7 +1098,7 @@ function __c20(j: number): any {
|
|
|
1047
1098
|
).annotate({ identifier: "DeleteAccessTokenRequest" });
|
|
1048
1099
|
}
|
|
1049
1100
|
}
|
|
1050
|
-
function
|
|
1101
|
+
function __c22(j: number): any {
|
|
1051
1102
|
switch (j) {
|
|
1052
1103
|
case 0:
|
|
1053
1104
|
return S.suspend(() =>
|
|
@@ -1066,19 +1117,19 @@ function __c21(j: number): any {
|
|
|
1066
1117
|
).annotate({ identifier: "DeleteAllAccessPoliciesRequest" });
|
|
1067
1118
|
}
|
|
1068
1119
|
}
|
|
1069
|
-
function
|
|
1120
|
+
function __c23(j: number): any {
|
|
1070
1121
|
switch (j) {
|
|
1071
1122
|
case 0:
|
|
1072
|
-
return S.Array(__S(
|
|
1123
|
+
return S.Array(__S(56, __c14, 0));
|
|
1073
1124
|
case 1:
|
|
1074
1125
|
return S.suspend(() =>
|
|
1075
1126
|
S.Struct({
|
|
1076
|
-
policies: __S(
|
|
1127
|
+
policies: __S(92, __c23, 0),
|
|
1077
1128
|
}),
|
|
1078
1129
|
).annotate({ identifier: "AccessPolicyList" });
|
|
1079
1130
|
}
|
|
1080
1131
|
}
|
|
1081
|
-
function
|
|
1132
|
+
function __c24(j: number): any {
|
|
1082
1133
|
switch (j) {
|
|
1083
1134
|
case 0:
|
|
1084
1135
|
return S.suspend(() =>
|
|
@@ -1097,14 +1148,14 @@ function __c23(j: number): any {
|
|
|
1097
1148
|
).annotate({ identifier: "DeleteAllAccessTokensRequest" });
|
|
1098
1149
|
}
|
|
1099
1150
|
}
|
|
1100
|
-
function
|
|
1151
|
+
function __c25(j: number): any {
|
|
1101
1152
|
switch (j) {
|
|
1102
1153
|
case 0:
|
|
1103
|
-
return S.Array(__S(
|
|
1154
|
+
return S.Array(__S(64, __c16, 0));
|
|
1104
1155
|
case 1:
|
|
1105
1156
|
return S.suspend(() =>
|
|
1106
1157
|
S.Struct({
|
|
1107
|
-
tokens: __S(
|
|
1158
|
+
tokens: __S(100, __c25, 0),
|
|
1108
1159
|
}),
|
|
1109
1160
|
).annotate({ identifier: "AccessTokenList" });
|
|
1110
1161
|
}
|