@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
|
@@ -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: "SecretsManager",
|
|
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", {
|
|
@@ -60,12 +73,12 @@ export interface CreateApproleRequest {
|
|
|
60
73
|
/** The Secrets Manager instance UUID. */
|
|
61
74
|
instanceId: string;
|
|
62
75
|
/** A user chosen description to differentiate between multiple approles. */
|
|
63
|
-
description?: string;
|
|
64
|
-
secret_id_num_uses?: number;
|
|
76
|
+
description?: string | undefined;
|
|
77
|
+
secret_id_num_uses?: number | undefined;
|
|
65
78
|
/** Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour). */
|
|
66
|
-
secret_id_ttl?: string;
|
|
79
|
+
secret_id_ttl?: string | undefined;
|
|
67
80
|
/** Is true if the approle has write access to the secrets engine. Is false for a read-only approle. */
|
|
68
|
-
write?: boolean;
|
|
81
|
+
write?: boolean | undefined;
|
|
69
82
|
}
|
|
70
83
|
export interface Approle {
|
|
71
84
|
/** A user chosen description to differentiate between multiple approles. */
|
|
@@ -86,14 +99,14 @@ export interface CreateApproleSecretIdRequest {
|
|
|
86
99
|
/** The approle with permissions on the Secrets Manager instance. */
|
|
87
100
|
roleId: string;
|
|
88
101
|
/** A user chosen description to differentiate between multiple approle secrets. */
|
|
89
|
-
description?: string;
|
|
102
|
+
description?: string | undefined;
|
|
90
103
|
}
|
|
91
104
|
export interface ApproleSecret {
|
|
92
105
|
/** A user chosen description to differentiate between multiple approle secrets. */
|
|
93
106
|
description: string;
|
|
94
107
|
num_uses: number;
|
|
95
108
|
/** Identifier used for authentication, returned only at creation */
|
|
96
|
-
secret_id?: string;
|
|
109
|
+
secret_id?: string | undefined;
|
|
97
110
|
/** Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour). */
|
|
98
111
|
ttl: string;
|
|
99
112
|
/** Accessor used for handling secrets */
|
|
@@ -113,7 +126,7 @@ export interface KmsKeyPayload {
|
|
|
113
126
|
export interface CreateInstanceRequest {
|
|
114
127
|
/** The STACKIT portal project UUID the Secrets Manager instance is part of. */
|
|
115
128
|
projectId: string;
|
|
116
|
-
kmsKey?: KmsKeyPayload;
|
|
129
|
+
kmsKey?: KmsKeyPayload | undefined;
|
|
117
130
|
/** A user chosen name to distinguish multiple secrets manager instances. */
|
|
118
131
|
name: string;
|
|
119
132
|
}
|
|
@@ -121,12 +134,12 @@ export interface Instance {
|
|
|
121
134
|
/** The API endpoint for connecting to the secrets engine. */
|
|
122
135
|
apiUrl: string;
|
|
123
136
|
/** The date and time the creation of the Secrets Manager instance was finished. */
|
|
124
|
-
creationFinishedDate?: string;
|
|
137
|
+
creationFinishedDate?: string | undefined;
|
|
125
138
|
/** The date and time the creation of the Secrets Manager instance was triggered. */
|
|
126
139
|
creationStartDate: string;
|
|
127
140
|
/** A auto generated unique id which identifies the secrets manager instances. */
|
|
128
141
|
id: string;
|
|
129
|
-
kmsKey?: KmsKeyPayload;
|
|
142
|
+
kmsKey?: KmsKeyPayload | undefined;
|
|
130
143
|
/** A user chosen name to distinguish multiple secrets manager instances. */
|
|
131
144
|
name: string;
|
|
132
145
|
/** The number of secrets currently stored inside of the instance. This value will be updated once per hour. */
|
|
@@ -135,8 +148,8 @@ export interface Instance {
|
|
|
135
148
|
secretsEngine: string;
|
|
136
149
|
/** The current state of the Secrets Manager instance. */
|
|
137
150
|
state: string;
|
|
138
|
-
updateFinishedDate?: string;
|
|
139
|
-
updateStartDate?: string;
|
|
151
|
+
updateFinishedDate?: string | undefined;
|
|
152
|
+
updateStartDate?: string | undefined;
|
|
140
153
|
}
|
|
141
154
|
export interface CreateUserRequest {
|
|
142
155
|
/** The STACKIT portal project UUID the Secrets Manager instance is part of. */
|
|
@@ -316,7 +329,7 @@ export interface UpdateACLsRequest {
|
|
|
316
329
|
projectId: string;
|
|
317
330
|
/** The Secrets Manager instance UUID. */
|
|
318
331
|
instanceId: string;
|
|
319
|
-
cidrs?: UpdateACLsRequestCidrsList;
|
|
332
|
+
cidrs?: UpdateACLsRequestCidrsList | undefined;
|
|
320
333
|
}
|
|
321
334
|
export interface UpdateACLsResponse {}
|
|
322
335
|
export interface UpdateApproleRequest {
|
|
@@ -327,12 +340,12 @@ export interface UpdateApproleRequest {
|
|
|
327
340
|
/** The approle with permissions on the Secrets Manager instance. */
|
|
328
341
|
roleId: string;
|
|
329
342
|
/** A user chosen description to differentiate between multiple approles. */
|
|
330
|
-
description?: string;
|
|
331
|
-
secret_id_num_uses?: number;
|
|
343
|
+
description?: string | undefined;
|
|
344
|
+
secret_id_num_uses?: number | undefined;
|
|
332
345
|
/** Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour). */
|
|
333
|
-
secret_id_ttl?: string;
|
|
346
|
+
secret_id_ttl?: string | undefined;
|
|
334
347
|
/** Is true if the approle has write access to the secrets engine. Is false for a read-only approle. */
|
|
335
|
-
write?: boolean;
|
|
348
|
+
write?: boolean | undefined;
|
|
336
349
|
}
|
|
337
350
|
export interface UpdateApproleSecretIdRequest {
|
|
338
351
|
/** The STACKIT portal project UUID the Secrets Manager instance is part of. */
|
|
@@ -344,14 +357,14 @@ export interface UpdateApproleSecretIdRequest {
|
|
|
344
357
|
/** The version of the secret id. */
|
|
345
358
|
secretIdVersion: number;
|
|
346
359
|
/** A user chosen description to differentiate between multiple approle secrets. */
|
|
347
|
-
description?: string;
|
|
360
|
+
description?: string | undefined;
|
|
348
361
|
}
|
|
349
362
|
export interface UpdateInstanceRequest {
|
|
350
363
|
/** The STACKIT portal project UUID the Secrets Manager instance is part of. */
|
|
351
364
|
projectId: string;
|
|
352
365
|
/** The Secrets Manager instance UUID. */
|
|
353
366
|
instanceId: string;
|
|
354
|
-
kmsKey?: KmsKeyPayload;
|
|
367
|
+
kmsKey?: KmsKeyPayload | undefined;
|
|
355
368
|
/** A user chosen name to distinguish multiple secrets manager instances. */
|
|
356
369
|
name: string;
|
|
357
370
|
}
|
|
@@ -364,9 +377,9 @@ export interface UpdateUserRequest {
|
|
|
364
377
|
/** The user UUID with permissions on the Secrets Manager instance. */
|
|
365
378
|
userId: string;
|
|
366
379
|
/** A user chosen description to differentiate between multiple users. */
|
|
367
|
-
description?: string;
|
|
380
|
+
description?: string | undefined;
|
|
368
381
|
/** Is true if the user has write access to the secrets engine. Is false for a read-only user. */
|
|
369
|
-
write?: boolean;
|
|
382
|
+
write?: boolean | undefined;
|
|
370
383
|
}
|
|
371
384
|
export interface UpdateUserResponse {}
|
|
372
385
|
export type CreateACLError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -382,6 +395,8 @@ export const createACL: API.OperationMethod<
|
|
|
382
395
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
383
396
|
protocol: StackitProtocol,
|
|
384
397
|
retry: Retry.Retry,
|
|
398
|
+
telemetry: TELEMETRY,
|
|
399
|
+
span: "CreateACL",
|
|
385
400
|
}));
|
|
386
401
|
|
|
387
402
|
export type CreateApproleError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -397,6 +412,8 @@ export const createApprole: API.OperationMethod<
|
|
|
397
412
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
398
413
|
protocol: StackitProtocol,
|
|
399
414
|
retry: Retry.Retry,
|
|
415
|
+
telemetry: TELEMETRY,
|
|
416
|
+
span: "CreateApprole",
|
|
400
417
|
}));
|
|
401
418
|
|
|
402
419
|
export type CreateApproleSecretIdError = BadRequest | NotFound | StackitOpError;
|
|
@@ -412,6 +429,8 @@ export const createApproleSecretId: API.OperationMethod<
|
|
|
412
429
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
413
430
|
protocol: StackitProtocol,
|
|
414
431
|
retry: Retry.Retry,
|
|
432
|
+
telemetry: TELEMETRY,
|
|
433
|
+
span: "CreateApproleSecretId",
|
|
415
434
|
}));
|
|
416
435
|
|
|
417
436
|
export type CreateInstanceError = BadRequest | StackitOpError;
|
|
@@ -427,6 +446,8 @@ export const createInstance: API.OperationMethod<
|
|
|
427
446
|
errors: [BadRequest, UnknownStackitError],
|
|
428
447
|
protocol: StackitProtocol,
|
|
429
448
|
retry: Retry.Retry,
|
|
449
|
+
telemetry: TELEMETRY,
|
|
450
|
+
span: "CreateInstance",
|
|
430
451
|
}));
|
|
431
452
|
|
|
432
453
|
export type CreateUserError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -442,6 +463,8 @@ export const createUser: API.OperationMethod<
|
|
|
442
463
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
443
464
|
protocol: StackitProtocol,
|
|
444
465
|
retry: Retry.Retry,
|
|
466
|
+
telemetry: TELEMETRY,
|
|
467
|
+
span: "CreateUser",
|
|
445
468
|
}));
|
|
446
469
|
|
|
447
470
|
export type DeleteACLError = BadRequest | NotFound | StackitOpError;
|
|
@@ -457,6 +480,8 @@ export const deleteACL: API.OperationMethod<
|
|
|
457
480
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
458
481
|
protocol: StackitProtocol,
|
|
459
482
|
retry: Retry.Retry,
|
|
483
|
+
telemetry: TELEMETRY,
|
|
484
|
+
span: "DeleteACL",
|
|
460
485
|
}));
|
|
461
486
|
|
|
462
487
|
export type DeleteApproleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -472,6 +497,8 @@ export const deleteApprole: API.OperationMethod<
|
|
|
472
497
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
473
498
|
protocol: StackitProtocol,
|
|
474
499
|
retry: Retry.Retry,
|
|
500
|
+
telemetry: TELEMETRY,
|
|
501
|
+
span: "DeleteApprole",
|
|
475
502
|
}));
|
|
476
503
|
|
|
477
504
|
export type DeleteApproleSecretIdError = BadRequest | NotFound | StackitOpError;
|
|
@@ -487,6 +514,8 @@ export const deleteApproleSecretId: API.OperationMethod<
|
|
|
487
514
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
488
515
|
protocol: StackitProtocol,
|
|
489
516
|
retry: Retry.Retry,
|
|
517
|
+
telemetry: TELEMETRY,
|
|
518
|
+
span: "DeleteApproleSecretId",
|
|
490
519
|
}));
|
|
491
520
|
|
|
492
521
|
export type DeleteInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -502,6 +531,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
502
531
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
503
532
|
protocol: StackitProtocol,
|
|
504
533
|
retry: Retry.Retry,
|
|
534
|
+
telemetry: TELEMETRY,
|
|
535
|
+
span: "DeleteInstance",
|
|
505
536
|
}));
|
|
506
537
|
|
|
507
538
|
export type DeleteUserError = BadRequest | NotFound | StackitOpError;
|
|
@@ -517,6 +548,8 @@ export const deleteUser: API.OperationMethod<
|
|
|
517
548
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
518
549
|
protocol: StackitProtocol,
|
|
519
550
|
retry: Retry.Retry,
|
|
551
|
+
telemetry: TELEMETRY,
|
|
552
|
+
span: "DeleteUser",
|
|
520
553
|
}));
|
|
521
554
|
|
|
522
555
|
export type GetACLError = BadRequest | NotFound | StackitOpError;
|
|
@@ -528,6 +561,8 @@ export const getACL: API.OperationMethod<GetACLRequest, ACL, GetACLError, Stacki
|
|
|
528
561
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
529
562
|
protocol: StackitProtocol,
|
|
530
563
|
retry: Retry.Retry,
|
|
564
|
+
telemetry: TELEMETRY,
|
|
565
|
+
span: "GetACL",
|
|
531
566
|
}));
|
|
532
567
|
|
|
533
568
|
export type GetApproleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -543,6 +578,8 @@ export const getApprole: API.OperationMethod<
|
|
|
543
578
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
544
579
|
protocol: StackitProtocol,
|
|
545
580
|
retry: Retry.Retry,
|
|
581
|
+
telemetry: TELEMETRY,
|
|
582
|
+
span: "GetApprole",
|
|
546
583
|
}));
|
|
547
584
|
|
|
548
585
|
export type GetApprolesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -558,6 +595,8 @@ export const getApproles: API.OperationMethod<
|
|
|
558
595
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
559
596
|
protocol: StackitProtocol,
|
|
560
597
|
retry: Retry.Retry,
|
|
598
|
+
telemetry: TELEMETRY,
|
|
599
|
+
span: "GetApproles",
|
|
561
600
|
}));
|
|
562
601
|
|
|
563
602
|
export type GetApproleSecretIdError = BadRequest | NotFound | StackitOpError;
|
|
@@ -573,6 +612,8 @@ export const getApproleSecretId: API.OperationMethod<
|
|
|
573
612
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
574
613
|
protocol: StackitProtocol,
|
|
575
614
|
retry: Retry.Retry,
|
|
615
|
+
telemetry: TELEMETRY,
|
|
616
|
+
span: "GetApproleSecretId",
|
|
576
617
|
}));
|
|
577
618
|
|
|
578
619
|
export type GetInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -588,6 +629,8 @@ export const getInstance: API.OperationMethod<
|
|
|
588
629
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
589
630
|
protocol: StackitProtocol,
|
|
590
631
|
retry: Retry.Retry,
|
|
632
|
+
telemetry: TELEMETRY,
|
|
633
|
+
span: "GetInstance",
|
|
591
634
|
}));
|
|
592
635
|
|
|
593
636
|
export type GetUserError = BadRequest | NotFound | StackitOpError;
|
|
@@ -599,6 +642,8 @@ export const getUser: API.OperationMethod<GetUserRequest, User, GetUserError, St
|
|
|
599
642
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
600
643
|
protocol: StackitProtocol,
|
|
601
644
|
retry: Retry.Retry,
|
|
645
|
+
telemetry: TELEMETRY,
|
|
646
|
+
span: "GetUser",
|
|
602
647
|
}));
|
|
603
648
|
|
|
604
649
|
export type ListACLsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -614,6 +659,8 @@ export const listACLs: API.OperationMethod<
|
|
|
614
659
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
615
660
|
protocol: StackitProtocol,
|
|
616
661
|
retry: Retry.Retry,
|
|
662
|
+
telemetry: TELEMETRY,
|
|
663
|
+
span: "ListACLs",
|
|
617
664
|
}));
|
|
618
665
|
|
|
619
666
|
export type ListApproleSecretIdsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -629,6 +676,8 @@ export const listApproleSecretIds: API.OperationMethod<
|
|
|
629
676
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
630
677
|
protocol: StackitProtocol,
|
|
631
678
|
retry: Retry.Retry,
|
|
679
|
+
telemetry: TELEMETRY,
|
|
680
|
+
span: "ListApproleSecretIds",
|
|
632
681
|
}));
|
|
633
682
|
|
|
634
683
|
export type ListInstancesError = BadRequest | StackitOpError;
|
|
@@ -644,6 +693,8 @@ export const listInstances: API.OperationMethod<
|
|
|
644
693
|
errors: [BadRequest, UnknownStackitError],
|
|
645
694
|
protocol: StackitProtocol,
|
|
646
695
|
retry: Retry.Retry,
|
|
696
|
+
telemetry: TELEMETRY,
|
|
697
|
+
span: "ListInstances",
|
|
647
698
|
}));
|
|
648
699
|
|
|
649
700
|
export type ListUsersError = BadRequest | NotFound | StackitOpError;
|
|
@@ -659,6 +710,8 @@ export const listUsers: API.OperationMethod<
|
|
|
659
710
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
660
711
|
protocol: StackitProtocol,
|
|
661
712
|
retry: Retry.Retry,
|
|
713
|
+
telemetry: TELEMETRY,
|
|
714
|
+
span: "ListUsers",
|
|
662
715
|
}));
|
|
663
716
|
|
|
664
717
|
export type UpdateACLError = BadRequest | NotFound | StackitOpError;
|
|
@@ -674,6 +727,8 @@ export const updateACL: API.OperationMethod<
|
|
|
674
727
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
675
728
|
protocol: StackitProtocol,
|
|
676
729
|
retry: Retry.Retry,
|
|
730
|
+
telemetry: TELEMETRY,
|
|
731
|
+
span: "UpdateACL",
|
|
677
732
|
}));
|
|
678
733
|
|
|
679
734
|
export type UpdateACLsError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -689,6 +744,8 @@ export const updateACLs: API.OperationMethod<
|
|
|
689
744
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
690
745
|
protocol: StackitProtocol,
|
|
691
746
|
retry: Retry.Retry,
|
|
747
|
+
telemetry: TELEMETRY,
|
|
748
|
+
span: "UpdateACLs",
|
|
692
749
|
}));
|
|
693
750
|
|
|
694
751
|
export type UpdateApproleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -704,6 +761,8 @@ export const updateApprole: API.OperationMethod<
|
|
|
704
761
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
705
762
|
protocol: StackitProtocol,
|
|
706
763
|
retry: Retry.Retry,
|
|
764
|
+
telemetry: TELEMETRY,
|
|
765
|
+
span: "UpdateApprole",
|
|
707
766
|
}));
|
|
708
767
|
|
|
709
768
|
export type UpdateApproleSecretIdError = BadRequest | NotFound | StackitOpError;
|
|
@@ -719,9 +778,11 @@ export const updateApproleSecretId: API.OperationMethod<
|
|
|
719
778
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
720
779
|
protocol: StackitProtocol,
|
|
721
780
|
retry: Retry.Retry,
|
|
781
|
+
telemetry: TELEMETRY,
|
|
782
|
+
span: "UpdateApproleSecretId",
|
|
722
783
|
}));
|
|
723
784
|
|
|
724
|
-
export type UpdateInstanceError = BadRequest | NotFound | StackitOpError;
|
|
785
|
+
export type UpdateInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
725
786
|
/** Updates the given Secrets Manager instance. */
|
|
726
787
|
export const updateInstance: API.OperationMethod<
|
|
727
788
|
UpdateInstanceRequest,
|
|
@@ -731,9 +792,11 @@ export const updateInstance: API.OperationMethod<
|
|
|
731
792
|
> = /*@__PURE__*/ API.make(() => ({
|
|
732
793
|
input: __S(68, __c17, 0) as any as S.Schema<UpdateInstanceRequest>,
|
|
733
794
|
output: __S(124, __c31, 0) as any as S.Schema<UpdateInstanceResponse>,
|
|
734
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
795
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
735
796
|
protocol: StackitProtocol,
|
|
736
797
|
retry: Retry.Retry,
|
|
798
|
+
telemetry: TELEMETRY,
|
|
799
|
+
span: "UpdateInstance",
|
|
737
800
|
}));
|
|
738
801
|
|
|
739
802
|
export type UpdateUserError = BadRequest | NotFound | StackitOpError;
|
|
@@ -749,6 +812,8 @@ export const updateUser: API.OperationMethod<
|
|
|
749
812
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
750
813
|
protocol: StackitProtocol,
|
|
751
814
|
retry: Retry.Retry,
|
|
815
|
+
telemetry: TELEMETRY,
|
|
816
|
+
span: "UpdateUser",
|
|
752
817
|
}));
|
|
753
818
|
|
|
754
819
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -12,6 +12,19 @@ const __s: any[] = [];
|
|
|
12
12
|
|
|
13
13
|
export type { StackitOpError, StackitOpContext };
|
|
14
14
|
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "stackit-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "STACKIT",
|
|
23
|
+
service: "ServerBackup",
|
|
24
|
+
labels: "stackit",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
15
28
|
export class BadRequest
|
|
16
29
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -51,7 +64,7 @@ export interface CreateBackupRequest {
|
|
|
51
64
|
name: string;
|
|
52
65
|
/** Values are set in days (1-36500) */
|
|
53
66
|
retentionPeriod: number;
|
|
54
|
-
volumeIds?: CreateBackupRequestVolumeIdsList;
|
|
67
|
+
volumeIds?: CreateBackupRequestVolumeIdsList | undefined;
|
|
55
68
|
}
|
|
56
69
|
export interface BackupJob {
|
|
57
70
|
id: string;
|
|
@@ -62,7 +75,7 @@ export interface BackupProperties {
|
|
|
62
75
|
name: string;
|
|
63
76
|
/** Values are set in days (1-36500) */
|
|
64
77
|
retentionPeriod: number;
|
|
65
|
-
volumeIds?: BackupPropertiesVolumeIdsList;
|
|
78
|
+
volumeIds?: BackupPropertiesVolumeIdsList | undefined;
|
|
66
79
|
}
|
|
67
80
|
export interface CreateBackupScheduleRequest {
|
|
68
81
|
/** project id */
|
|
@@ -71,7 +84,7 @@ export interface CreateBackupScheduleRequest {
|
|
|
71
84
|
region: string;
|
|
72
85
|
/** server id */
|
|
73
86
|
serverId: string;
|
|
74
|
-
backupProperties?: BackupProperties;
|
|
87
|
+
backupProperties?: BackupProperties | undefined;
|
|
75
88
|
enabled: boolean;
|
|
76
89
|
/** Max 255 characters */
|
|
77
90
|
name: string;
|
|
@@ -79,7 +92,7 @@ export interface CreateBackupScheduleRequest {
|
|
|
79
92
|
rrule: string;
|
|
80
93
|
}
|
|
81
94
|
export interface BackupSchedule {
|
|
82
|
-
backupProperties?: BackupProperties;
|
|
95
|
+
backupProperties?: BackupProperties | undefined;
|
|
83
96
|
enabled: boolean;
|
|
84
97
|
id: number;
|
|
85
98
|
name: string;
|
|
@@ -96,7 +109,7 @@ export interface DeleteBackupRequest {
|
|
|
96
109
|
/** id of the backup */
|
|
97
110
|
backupId: string;
|
|
98
111
|
/** force delete the backup */
|
|
99
|
-
force?: boolean;
|
|
112
|
+
force?: boolean | undefined;
|
|
100
113
|
}
|
|
101
114
|
export interface DeleteBackupResponse {}
|
|
102
115
|
export interface DeleteBackupScheduleRequest {
|
|
@@ -122,7 +135,7 @@ export interface DeleteVolumeBackupRequest {
|
|
|
122
135
|
/** id of the volume backup */
|
|
123
136
|
volumeBackupId: string;
|
|
124
137
|
/** Force delete the volume backup */
|
|
125
|
-
force?: boolean;
|
|
138
|
+
force?: boolean | undefined;
|
|
126
139
|
}
|
|
127
140
|
export interface DeleteVolumeBackupResponse {}
|
|
128
141
|
export interface DisableServiceResourceRequest {
|
|
@@ -141,7 +154,7 @@ export interface EnableServiceResourceRequest {
|
|
|
141
154
|
region: string;
|
|
142
155
|
/** server id */
|
|
143
156
|
serverId: string;
|
|
144
|
-
backupPolicyId?: string;
|
|
157
|
+
backupPolicyId?: string | undefined;
|
|
145
158
|
}
|
|
146
159
|
export interface EnableServiceResourceResponse {}
|
|
147
160
|
export interface GetBackupRequest {
|
|
@@ -174,23 +187,23 @@ export type BackupVolumeBackupsItemStatus =
|
|
|
174
187
|
| "error-creating"
|
|
175
188
|
| "unrecognized";
|
|
176
189
|
export interface BackupVolumeBackupsItem {
|
|
177
|
-
id?: string;
|
|
178
|
-
lastRestoredAt?: string;
|
|
179
|
-
lastRestoredVolumeId?: string;
|
|
180
|
-
size?: number;
|
|
181
|
-
status?: BackupVolumeBackupsItemStatus;
|
|
182
|
-
volumeId?: string;
|
|
190
|
+
id?: string | undefined;
|
|
191
|
+
lastRestoredAt?: string | undefined;
|
|
192
|
+
lastRestoredVolumeId?: string | undefined;
|
|
193
|
+
size?: number | undefined;
|
|
194
|
+
status?: BackupVolumeBackupsItemStatus | undefined;
|
|
195
|
+
volumeId?: string | undefined;
|
|
183
196
|
}
|
|
184
197
|
export type BackupVolumeBackupsList = Array<BackupVolumeBackupsItem>;
|
|
185
198
|
export interface Backup {
|
|
186
199
|
createdAt: string;
|
|
187
200
|
expireAt: string;
|
|
188
201
|
id: string;
|
|
189
|
-
lastRestoredAt?: string;
|
|
202
|
+
lastRestoredAt?: string | undefined;
|
|
190
203
|
name: string;
|
|
191
|
-
size?: number;
|
|
204
|
+
size?: number | undefined;
|
|
192
205
|
status: BackupStatus;
|
|
193
|
-
volumeBackups?: BackupVolumeBackupsList;
|
|
206
|
+
volumeBackups?: BackupVolumeBackupsList | undefined;
|
|
194
207
|
}
|
|
195
208
|
export interface GetBackupScheduleRequest {
|
|
196
209
|
/** project id */
|
|
@@ -211,29 +224,29 @@ export interface GetServiceResourceRequest {
|
|
|
211
224
|
serverId: string;
|
|
212
225
|
}
|
|
213
226
|
export interface GetBackupServiceResponse {
|
|
214
|
-
enabled?: boolean;
|
|
227
|
+
enabled?: boolean | undefined;
|
|
215
228
|
}
|
|
216
229
|
export interface ListBackupPoliciesRequest {
|
|
217
230
|
/** project id */
|
|
218
231
|
projectId: string;
|
|
219
232
|
}
|
|
220
233
|
export interface BackupPolicyBackupProperties {
|
|
221
|
-
name?: string;
|
|
222
|
-
retentionPeriod?: number;
|
|
234
|
+
name?: string | undefined;
|
|
235
|
+
retentionPeriod?: number | undefined;
|
|
223
236
|
}
|
|
224
237
|
export interface BackupPolicy {
|
|
225
|
-
backupProperties?: BackupPolicyBackupProperties;
|
|
226
|
-
default?: boolean;
|
|
227
|
-
description?: string;
|
|
228
|
-
enabled?: boolean;
|
|
229
|
-
id?: string;
|
|
230
|
-
name?: string;
|
|
238
|
+
backupProperties?: BackupPolicyBackupProperties | undefined;
|
|
239
|
+
default?: boolean | undefined;
|
|
240
|
+
description?: string | undefined;
|
|
241
|
+
enabled?: boolean | undefined;
|
|
242
|
+
id?: string | undefined;
|
|
243
|
+
name?: string | undefined;
|
|
231
244
|
/** An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates */
|
|
232
|
-
rrule?: string;
|
|
245
|
+
rrule?: string | undefined;
|
|
233
246
|
}
|
|
234
247
|
export type GetBackupPoliciesResponseItemsList = Array<BackupPolicy>;
|
|
235
248
|
export interface GetBackupPoliciesResponse {
|
|
236
|
-
items?: GetBackupPoliciesResponseItemsList;
|
|
249
|
+
items?: GetBackupPoliciesResponseItemsList | undefined;
|
|
237
250
|
}
|
|
238
251
|
export interface ListBackupsRequest {
|
|
239
252
|
/** project id */
|
|
@@ -245,7 +258,7 @@ export interface ListBackupsRequest {
|
|
|
245
258
|
}
|
|
246
259
|
export type GetBackupsListResponseItemsList = Array<Backup>;
|
|
247
260
|
export interface GetBackupsListResponse {
|
|
248
|
-
items?: GetBackupsListResponseItemsList;
|
|
261
|
+
items?: GetBackupsListResponseItemsList | undefined;
|
|
249
262
|
}
|
|
250
263
|
export interface ListBackupSchedulesRequest {
|
|
251
264
|
/** project id */
|
|
@@ -257,7 +270,7 @@ export interface ListBackupSchedulesRequest {
|
|
|
257
270
|
}
|
|
258
271
|
export type GetBackupSchedulesResponseItemsList = Array<BackupSchedule>;
|
|
259
272
|
export interface GetBackupSchedulesResponse {
|
|
260
|
-
items?: GetBackupSchedulesResponseItemsList;
|
|
273
|
+
items?: GetBackupSchedulesResponseItemsList | undefined;
|
|
261
274
|
}
|
|
262
275
|
export type RestoreBackupRequestVolumeIdsList = Array<string>;
|
|
263
276
|
export interface RestoreBackupRequest {
|
|
@@ -270,7 +283,7 @@ export interface RestoreBackupRequest {
|
|
|
270
283
|
/** id of the backup */
|
|
271
284
|
backupId: string;
|
|
272
285
|
startServerAfterRestore: boolean;
|
|
273
|
-
volumeIds?: RestoreBackupRequestVolumeIdsList;
|
|
286
|
+
volumeIds?: RestoreBackupRequestVolumeIdsList | undefined;
|
|
274
287
|
}
|
|
275
288
|
export interface RestoreBackupResponse {}
|
|
276
289
|
export interface RestoreVolumeBackupRequest {
|
|
@@ -296,7 +309,7 @@ export interface UpdateBackupScheduleRequest {
|
|
|
296
309
|
serverId: string;
|
|
297
310
|
/** backup schedule id */
|
|
298
311
|
backupScheduleId: string;
|
|
299
|
-
backupProperties?: BackupProperties;
|
|
312
|
+
backupProperties?: BackupProperties | undefined;
|
|
300
313
|
enabled: boolean;
|
|
301
314
|
/** Max 255 characters */
|
|
302
315
|
name: string;
|
|
@@ -316,6 +329,8 @@ export const createBackup: API.OperationMethod<
|
|
|
316
329
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
317
330
|
protocol: StackitProtocol,
|
|
318
331
|
retry: Retry.Retry,
|
|
332
|
+
telemetry: TELEMETRY,
|
|
333
|
+
span: "CreateBackup",
|
|
319
334
|
}));
|
|
320
335
|
|
|
321
336
|
export type CreateBackupScheduleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -331,6 +346,8 @@ export const createBackupSchedule: API.OperationMethod<
|
|
|
331
346
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
332
347
|
protocol: StackitProtocol,
|
|
333
348
|
retry: Retry.Retry,
|
|
349
|
+
telemetry: TELEMETRY,
|
|
350
|
+
span: "CreateBackupSchedule",
|
|
334
351
|
}));
|
|
335
352
|
|
|
336
353
|
export type DeleteBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -346,6 +363,8 @@ export const deleteBackup: API.OperationMethod<
|
|
|
346
363
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
347
364
|
protocol: StackitProtocol,
|
|
348
365
|
retry: Retry.Retry,
|
|
366
|
+
telemetry: TELEMETRY,
|
|
367
|
+
span: "DeleteBackup",
|
|
349
368
|
}));
|
|
350
369
|
|
|
351
370
|
export type DeleteBackupScheduleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -361,6 +380,8 @@ export const deleteBackupSchedule: API.OperationMethod<
|
|
|
361
380
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
362
381
|
protocol: StackitProtocol,
|
|
363
382
|
retry: Retry.Retry,
|
|
383
|
+
telemetry: TELEMETRY,
|
|
384
|
+
span: "DeleteBackupSchedule",
|
|
364
385
|
}));
|
|
365
386
|
|
|
366
387
|
export type DeleteVolumeBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -376,6 +397,8 @@ export const deleteVolumeBackup: API.OperationMethod<
|
|
|
376
397
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
377
398
|
protocol: StackitProtocol,
|
|
378
399
|
retry: Retry.Retry,
|
|
400
|
+
telemetry: TELEMETRY,
|
|
401
|
+
span: "DeleteVolumeBackup",
|
|
379
402
|
}));
|
|
380
403
|
|
|
381
404
|
export type DisableServiceResourceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -391,6 +414,8 @@ export const disableServiceResource: API.OperationMethod<
|
|
|
391
414
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
392
415
|
protocol: StackitProtocol,
|
|
393
416
|
retry: Retry.Retry,
|
|
417
|
+
telemetry: TELEMETRY,
|
|
418
|
+
span: "DisableServiceResource",
|
|
394
419
|
}));
|
|
395
420
|
|
|
396
421
|
export type EnableServiceResourceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -406,6 +431,8 @@ export const enableServiceResource: API.OperationMethod<
|
|
|
406
431
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
407
432
|
protocol: StackitProtocol,
|
|
408
433
|
retry: Retry.Retry,
|
|
434
|
+
telemetry: TELEMETRY,
|
|
435
|
+
span: "EnableServiceResource",
|
|
409
436
|
}));
|
|
410
437
|
|
|
411
438
|
export type GetBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -421,6 +448,8 @@ export const getBackup: API.OperationMethod<
|
|
|
421
448
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
422
449
|
protocol: StackitProtocol,
|
|
423
450
|
retry: Retry.Retry,
|
|
451
|
+
telemetry: TELEMETRY,
|
|
452
|
+
span: "GetBackup",
|
|
424
453
|
}));
|
|
425
454
|
|
|
426
455
|
export type GetBackupScheduleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -436,6 +465,8 @@ export const getBackupSchedule: API.OperationMethod<
|
|
|
436
465
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
437
466
|
protocol: StackitProtocol,
|
|
438
467
|
retry: Retry.Retry,
|
|
468
|
+
telemetry: TELEMETRY,
|
|
469
|
+
span: "GetBackupSchedule",
|
|
439
470
|
}));
|
|
440
471
|
|
|
441
472
|
export type GetServiceResourceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -451,6 +482,8 @@ export const getServiceResource: API.OperationMethod<
|
|
|
451
482
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
452
483
|
protocol: StackitProtocol,
|
|
453
484
|
retry: Retry.Retry,
|
|
485
|
+
telemetry: TELEMETRY,
|
|
486
|
+
span: "GetServiceResource",
|
|
454
487
|
}));
|
|
455
488
|
|
|
456
489
|
export type ListBackupPoliciesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -466,6 +499,8 @@ export const listBackupPolicies: API.OperationMethod<
|
|
|
466
499
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
467
500
|
protocol: StackitProtocol,
|
|
468
501
|
retry: Retry.Retry,
|
|
502
|
+
telemetry: TELEMETRY,
|
|
503
|
+
span: "ListBackupPolicies",
|
|
469
504
|
}));
|
|
470
505
|
|
|
471
506
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -481,6 +516,8 @@ export const listBackups: API.OperationMethod<
|
|
|
481
516
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
482
517
|
protocol: StackitProtocol,
|
|
483
518
|
retry: Retry.Retry,
|
|
519
|
+
telemetry: TELEMETRY,
|
|
520
|
+
span: "ListBackups",
|
|
484
521
|
}));
|
|
485
522
|
|
|
486
523
|
export type ListBackupSchedulesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -496,6 +533,8 @@ export const listBackupSchedules: API.OperationMethod<
|
|
|
496
533
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
497
534
|
protocol: StackitProtocol,
|
|
498
535
|
retry: Retry.Retry,
|
|
536
|
+
telemetry: TELEMETRY,
|
|
537
|
+
span: "ListBackupSchedules",
|
|
499
538
|
}));
|
|
500
539
|
|
|
501
540
|
export type RestoreBackupError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -511,6 +550,8 @@ export const restoreBackup: API.OperationMethod<
|
|
|
511
550
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
512
551
|
protocol: StackitProtocol,
|
|
513
552
|
retry: Retry.Retry,
|
|
553
|
+
telemetry: TELEMETRY,
|
|
554
|
+
span: "RestoreBackup",
|
|
514
555
|
}));
|
|
515
556
|
|
|
516
557
|
export type RestoreVolumeBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -526,6 +567,8 @@ export const restoreVolumeBackup: API.OperationMethod<
|
|
|
526
567
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
527
568
|
protocol: StackitProtocol,
|
|
528
569
|
retry: Retry.Retry,
|
|
570
|
+
telemetry: TELEMETRY,
|
|
571
|
+
span: "RestoreVolumeBackup",
|
|
529
572
|
}));
|
|
530
573
|
|
|
531
574
|
export type UpdateBackupScheduleError = BadRequest | NotFound | StackitOpError;
|
|
@@ -541,6 +584,8 @@ export const updateBackupSchedule: API.OperationMethod<
|
|
|
541
584
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
542
585
|
protocol: StackitProtocol,
|
|
543
586
|
retry: Retry.Retry,
|
|
587
|
+
telemetry: TELEMETRY,
|
|
588
|
+
span: "UpdateBackupSchedule",
|
|
544
589
|
}));
|
|
545
590
|
|
|
546
591
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|