@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: "LoadBalancer",
|
|
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", {
|
|
@@ -53,24 +66,24 @@ export interface CreateCredentialsRequest {
|
|
|
53
66
|
projectId: string;
|
|
54
67
|
region: string;
|
|
55
68
|
/** Credential name */
|
|
56
|
-
displayName?: string;
|
|
69
|
+
displayName?: string | undefined;
|
|
57
70
|
/** A valid password used for an existing STACKIT Observability instance, which is used during basic auth. */
|
|
58
|
-
password?: string | Redacted.Redacted<string
|
|
71
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
59
72
|
/** A valid username used for an existing STACKIT Observability instance, which is used during basic auth. */
|
|
60
|
-
username?: string;
|
|
73
|
+
username?: string | undefined;
|
|
61
74
|
}
|
|
62
75
|
export interface CredentialsResponse {
|
|
63
76
|
/** The credentials reference can be used for observability of the Load Balancer. */
|
|
64
|
-
credentialsRef?: string;
|
|
77
|
+
credentialsRef?: string | undefined;
|
|
65
78
|
/** Credential name */
|
|
66
|
-
displayName?: string;
|
|
79
|
+
displayName?: string | undefined;
|
|
67
80
|
/** Region of the Credential */
|
|
68
|
-
region?: string;
|
|
81
|
+
region?: string | undefined;
|
|
69
82
|
/** The username used for the STACKIT Observability instance */
|
|
70
|
-
username?: string;
|
|
83
|
+
username?: string | undefined;
|
|
71
84
|
}
|
|
72
85
|
export interface CreateCredentialsResponse {
|
|
73
|
-
credential?: CredentialsResponse;
|
|
86
|
+
credential?: CredentialsResponse | undefined;
|
|
74
87
|
}
|
|
75
88
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per LB. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
76
89
|
export type CreateLoadBalancerRequestLabelsMap = { [key: string]: string | undefined };
|
|
@@ -83,32 +96,32 @@ export type ListenerInputProtocol =
|
|
|
83
96
|
| "PROTOCOL_TLS_PASSTHROUGH";
|
|
84
97
|
export interface ServerNameIndicator {
|
|
85
98
|
/** The domain name for this SNI config. */
|
|
86
|
-
name?: string;
|
|
99
|
+
name?: string | undefined;
|
|
87
100
|
}
|
|
88
101
|
/** Server Name Indicators config for domains to be routed to the desired target pool for this listener. */
|
|
89
102
|
export type ListenerInputServerNameIndicatorsList = Array<ServerNameIndicator>;
|
|
90
103
|
/** ProtocolOptionsTCP options to be configured for the PROTOCOL_TCP, PROTOCOL_TCP_PROXY, and PROTOCOL_TLS_PASSTHROUGH protocols. TCP options for the SNI listeners with the same port must be the same. */
|
|
91
104
|
export interface OptionsTCP {
|
|
92
105
|
/** The connection idle timeout to be used with the protocol. The default value is set to 5 minutes, and the maximum value is one hour. */
|
|
93
|
-
idleTimeout?: string;
|
|
106
|
+
idleTimeout?: string | undefined;
|
|
94
107
|
}
|
|
95
108
|
/** ProtocolOptionsUDP options to be configured for the PROTOCOL_UDP protocol. */
|
|
96
109
|
export interface OptionsUDP {
|
|
97
110
|
/** The connection idle timeout to be used with the protocol. The default value is set to 1 minute, and the maximum value is 2 minutes. */
|
|
98
|
-
idleTimeout?: string;
|
|
111
|
+
idleTimeout?: string | undefined;
|
|
99
112
|
}
|
|
100
113
|
export interface ListenerInput {
|
|
101
|
-
displayName?: string;
|
|
114
|
+
displayName?: string | undefined;
|
|
102
115
|
/** Port number where we listen for traffic */
|
|
103
|
-
port?: number;
|
|
116
|
+
port?: number | undefined;
|
|
104
117
|
/** Protocol is the highest network protocol we understand to load balance. Currently only PROTOCOL_TCP, PROTOCOL_TCP_PROXY and PROTOCOL_TLS_PASSTHROUGH are supported. */
|
|
105
|
-
protocol?: ListenerInputProtocol | (string & {});
|
|
118
|
+
protocol?: ListenerInputProtocol | (string & {}) | undefined;
|
|
106
119
|
/** Server Name Indicators config for domains to be routed to the desired target pool for this listener. */
|
|
107
|
-
serverNameIndicators?: ListenerInputServerNameIndicatorsList;
|
|
120
|
+
serverNameIndicators?: ListenerInputServerNameIndicatorsList | undefined;
|
|
108
121
|
/** Reference target pool by target pool name. */
|
|
109
|
-
targetPool?: string;
|
|
110
|
-
tcp?: OptionsTCP;
|
|
111
|
-
udp?: OptionsUDP;
|
|
122
|
+
targetPool?: string | undefined;
|
|
123
|
+
tcp?: OptionsTCP | undefined;
|
|
124
|
+
udp?: OptionsUDP | undefined;
|
|
112
125
|
}
|
|
113
126
|
/** There is a maximum listener count of 20. Port and protocol limitations: - UDP listeners cannot have the same port. - TCP-derived listeners cannot have the same port. A TCP-derived listener is any listener that listens on a TCP port. As of now those are: TCP, TCP_PROXY, and PROTOCOL_TLS_PASSTHROUGH. The only exception is, if all listeners for the same port are PROTOCOL_TLS_PASSTHROUGH. - PROTOCOL_TLS_PASSTHROUGH listeners cannot have the same port and at least one common domain name. - PROTOCOL_TLS_PASSTHROUGH listeners can have the same domain name and different ports though (e.g. ports 443 and 8443 for domain example.com). - PROTOCOL_TLS_PASSTHROUGH listeners without a domain name serve as a default listener and you can have only one default listener. */
|
|
114
127
|
export type CreateLoadBalancerRequestListenersList = Array<ListenerInput>;
|
|
@@ -120,9 +133,9 @@ export type NetworkRole =
|
|
|
120
133
|
| "ROLE_TARGETS";
|
|
121
134
|
export interface Network {
|
|
122
135
|
/** Openstack network ID */
|
|
123
|
-
networkId?: string;
|
|
136
|
+
networkId?: string | undefined;
|
|
124
137
|
/** The role defines how the load balancer is using the network. Currently only ROLE_LISTENERS_AND_TARGETS is supported. */
|
|
125
|
-
role?: NetworkRole | (string & {});
|
|
138
|
+
role?: NetworkRole | (string & {}) | undefined;
|
|
126
139
|
}
|
|
127
140
|
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
128
141
|
export type CreateLoadBalancerRequestNetworksList = Array<Network>;
|
|
@@ -131,88 +144,90 @@ export type LoadbalancerOptionAccessControlAllowedSourceRangesList = Array<strin
|
|
|
131
144
|
/** Use this option to limit the IP ranges that can use the load balancer. */
|
|
132
145
|
export interface LoadbalancerOptionAccessControl {
|
|
133
146
|
/** Load Balancer is accessible only from an IP address in this range */
|
|
134
|
-
allowedSourceRanges?: LoadbalancerOptionAccessControlAllowedSourceRangesList;
|
|
147
|
+
allowedSourceRanges?: LoadbalancerOptionAccessControlAllowedSourceRangesList | undefined;
|
|
135
148
|
}
|
|
136
149
|
export interface LoadbalancerOptionLogs {
|
|
137
150
|
/** Credentials reference for logging. This reference is created via the observability create endpoint and the credential needs to contain the basic auth username and password for the logging solution the push URL points to. Then this enables monitoring via remote write for the Load Balancer. */
|
|
138
|
-
credentialsRef?: string;
|
|
151
|
+
credentialsRef?: string | undefined;
|
|
139
152
|
/** The Observability(Logs)/Loki remote write Push URL you want the logs to be shipped to. */
|
|
140
|
-
pushUrl?: string;
|
|
153
|
+
pushUrl?: string | undefined;
|
|
141
154
|
}
|
|
142
155
|
export interface LoadbalancerOptionMetrics {
|
|
143
156
|
/** Credentials reference for metrics. This reference is created via the observability create endpoint and the credential needs to contain the basic auth username and password for the metrics solution the push URL points to. Then this enables monitoring via remote write for the Load Balancer. */
|
|
144
|
-
credentialsRef?: string;
|
|
157
|
+
credentialsRef?: string | undefined;
|
|
145
158
|
/** The Observability(Metrics)/Prometheus remote write push URL you want the metrics to be shipped to. */
|
|
146
|
-
pushUrl?: string;
|
|
159
|
+
pushUrl?: string | undefined;
|
|
147
160
|
}
|
|
148
161
|
/** We offer Load Balancer observability via STACKIT Observability or external solutions. */
|
|
149
162
|
export interface LoadbalancerOptionObservability {
|
|
150
|
-
logs?: LoadbalancerOptionLogs;
|
|
151
|
-
metrics?: LoadbalancerOptionMetrics;
|
|
163
|
+
logs?: LoadbalancerOptionLogs | undefined;
|
|
164
|
+
metrics?: LoadbalancerOptionMetrics | undefined;
|
|
152
165
|
}
|
|
153
166
|
/** Defines any optional functionality you want to have enabled on your load balancer. */
|
|
154
167
|
export interface LoadBalancerOptions {
|
|
155
|
-
accessControl?: LoadbalancerOptionAccessControl;
|
|
156
|
-
|
|
157
|
-
|
|
168
|
+
accessControl?: LoadbalancerOptionAccessControl | undefined;
|
|
169
|
+
/** Enable per-request access logs on the Load Balancer. Defaults to false. Enable only when the Load Balancer's expected traffic volume can be sustained by the downstream logging pipeline, as access-log volume scales linearly with request rate. Requires a STACKIT Telemetry Router to be set up for the logs to be viewable. */
|
|
170
|
+
accessLogs?: boolean | undefined;
|
|
171
|
+
ephemeralAddress?: boolean | undefined;
|
|
172
|
+
observability?: LoadbalancerOptionObservability | undefined;
|
|
158
173
|
/** Load Balancer is accessible only via a private network ip address. Not changeable after creation. */
|
|
159
|
-
privateNetworkOnly?: boolean;
|
|
174
|
+
privateNetworkOnly?: boolean | undefined;
|
|
160
175
|
}
|
|
161
176
|
/** List of HTTP status codes that indicate a healthy response */
|
|
162
177
|
export type HttpHealthChecksOkStatusesList = Array<string>;
|
|
163
178
|
/** Set this to configure TLS settings. */
|
|
164
179
|
export interface TlsConfig {
|
|
165
180
|
/** Specifies a custom Certificate Authority (CA). When provided, the target pool will trust certificates signed by this CA, in addition to any system-trusted CAs. This is useful for scenarios where the target pool needs to communicate with servers using self-signed or internally-issued certificates. Enabled needs to be set to true and skip validation to false for this option. */
|
|
166
|
-
customCa?: string;
|
|
181
|
+
customCa?: string | undefined;
|
|
167
182
|
/** Enable TLS (Transport Layer Security) bridging for the connection between Application Load Balancer and targets in this pool. When enabled, public CAs are trusted. Can be used in tandem with the options either custom CA or skip validation or alone. */
|
|
168
|
-
enabled?: boolean;
|
|
183
|
+
enabled?: boolean | undefined;
|
|
169
184
|
/** Bypass certificate validation for TLS bridging in this target pool. This option is insecure and can only be used with public CAs by setting enabled true. Meant to be used for testing purposes only! */
|
|
170
|
-
skipCertificateValidation?: boolean;
|
|
185
|
+
skipCertificateValidation?: boolean | undefined;
|
|
171
186
|
}
|
|
172
187
|
/** Options for the HTTP health checking. */
|
|
173
188
|
export interface HttpHealthChecks {
|
|
174
189
|
/** List of HTTP status codes that indicate a healthy response */
|
|
175
|
-
okStatuses?: HttpHealthChecksOkStatusesList;
|
|
190
|
+
okStatuses?: HttpHealthChecksOkStatusesList | undefined;
|
|
176
191
|
/** Path to send the health check request to */
|
|
177
|
-
path?: string;
|
|
178
|
-
tls?: TlsConfig;
|
|
192
|
+
path?: string | undefined;
|
|
193
|
+
tls?: TlsConfig | undefined;
|
|
179
194
|
}
|
|
180
195
|
export interface ActiveHealthCheck {
|
|
181
196
|
/** Overrides the default port used for health check probes. */
|
|
182
|
-
altPort?: number;
|
|
197
|
+
altPort?: number | undefined;
|
|
183
198
|
/** Healthy threshold of the health checking */
|
|
184
|
-
healthyThreshold?: number;
|
|
185
|
-
httpHealthChecks?: HttpHealthChecks;
|
|
199
|
+
healthyThreshold?: number | undefined;
|
|
200
|
+
httpHealthChecks?: HttpHealthChecks | undefined;
|
|
186
201
|
/** Interval duration of health checking in seconds */
|
|
187
|
-
interval?: string;
|
|
202
|
+
interval?: string | undefined;
|
|
188
203
|
/** Interval duration threshold of the health checking in seconds */
|
|
189
|
-
intervalJitter?: string;
|
|
204
|
+
intervalJitter?: string | undefined;
|
|
190
205
|
/** Active health checking timeout duration in seconds */
|
|
191
|
-
timeout?: string;
|
|
206
|
+
timeout?: string | undefined;
|
|
192
207
|
/** Unhealthy threshold of the health checking */
|
|
193
|
-
unhealthyThreshold?: number;
|
|
208
|
+
unhealthyThreshold?: number | undefined;
|
|
194
209
|
}
|
|
195
210
|
export interface SessionPersistence {
|
|
196
211
|
/** If enabled then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. */
|
|
197
|
-
useSourceIpAddress?: boolean;
|
|
212
|
+
useSourceIpAddress?: boolean | undefined;
|
|
198
213
|
}
|
|
199
214
|
export interface Target {
|
|
200
215
|
/** Target name */
|
|
201
|
-
displayName?: string;
|
|
216
|
+
displayName?: string | undefined;
|
|
202
217
|
/** Target IP. Must by unique within a target pool. */
|
|
203
|
-
ip?: string;
|
|
218
|
+
ip?: string | undefined;
|
|
204
219
|
}
|
|
205
220
|
/** List of all targets which will be used in the pool. Limited to 250. */
|
|
206
221
|
export type TargetPoolTargetsList = Array<Target>;
|
|
207
222
|
export interface TargetPool {
|
|
208
|
-
activeHealthCheck?: ActiveHealthCheck;
|
|
223
|
+
activeHealthCheck?: ActiveHealthCheck | undefined;
|
|
209
224
|
/** Target pool name */
|
|
210
|
-
name?: string;
|
|
211
|
-
sessionPersistence?: SessionPersistence;
|
|
225
|
+
name?: string | undefined;
|
|
226
|
+
sessionPersistence?: SessionPersistence | undefined;
|
|
212
227
|
/** The number identifying the port where each target listens for traffic. */
|
|
213
|
-
targetPort?: number;
|
|
228
|
+
targetPort?: number | undefined;
|
|
214
229
|
/** List of all targets which will be used in the pool. Limited to 250. */
|
|
215
|
-
targets?: TargetPoolTargetsList;
|
|
230
|
+
targets?: TargetPoolTargetsList | undefined;
|
|
216
231
|
}
|
|
217
232
|
/** List of all target pools which will be used in the load balancer. Limited to 20. */
|
|
218
233
|
export type CreateLoadBalancerRequestTargetPoolsList = Array<TargetPool>;
|
|
@@ -220,24 +235,24 @@ export interface CreateLoadBalancerRequest {
|
|
|
220
235
|
projectId: string;
|
|
221
236
|
region: string;
|
|
222
237
|
/** Disable target security group assignemt to allow targets outside of the given network. Connectivity to targets need to be ensured by the customer, including routing and Security Groups (targetSecurityGroup can be assigned). Not changeable after creation. */
|
|
223
|
-
disableTargetSecurityGroupAssignment?: boolean;
|
|
238
|
+
disableTargetSecurityGroupAssignment?: boolean | undefined;
|
|
224
239
|
/** External load balancer IP address where this load balancer is exposed. Not changeable after creation. */
|
|
225
|
-
externalAddress?: string;
|
|
240
|
+
externalAddress?: string | undefined;
|
|
226
241
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per LB. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
227
|
-
labels?: CreateLoadBalancerRequestLabelsMap;
|
|
242
|
+
labels?: CreateLoadBalancerRequestLabelsMap | undefined;
|
|
228
243
|
/** There is a maximum listener count of 20. Port and protocol limitations: - UDP listeners cannot have the same port. - TCP-derived listeners cannot have the same port. A TCP-derived listener is any listener that listens on a TCP port. As of now those are: TCP, TCP_PROXY, and PROTOCOL_TLS_PASSTHROUGH. The only exception is, if all listeners for the same port are PROTOCOL_TLS_PASSTHROUGH. - PROTOCOL_TLS_PASSTHROUGH listeners cannot have the same port and at least one common domain name. - PROTOCOL_TLS_PASSTHROUGH listeners can have the same domain name and different ports though (e.g. ports 443 and 8443 for domain example.com). - PROTOCOL_TLS_PASSTHROUGH listeners without a domain name serve as a default listener and you can have only one default listener. */
|
|
229
|
-
listeners?: CreateLoadBalancerRequestListenersList;
|
|
244
|
+
listeners?: CreateLoadBalancerRequestListenersList | undefined;
|
|
230
245
|
/** Load balancer name. Not changeable after creation. */
|
|
231
|
-
name?: string;
|
|
246
|
+
name?: string | undefined;
|
|
232
247
|
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
233
|
-
networks?: CreateLoadBalancerRequestNetworksList;
|
|
234
|
-
options?: LoadBalancerOptions;
|
|
248
|
+
networks?: CreateLoadBalancerRequestNetworksList | undefined;
|
|
249
|
+
options?: LoadBalancerOptions | undefined;
|
|
235
250
|
/** Service Plan configures the size of the Load Balancer. Currently supported plans are p10, p50, p250 and p750. This list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum. */
|
|
236
|
-
planId?: string;
|
|
251
|
+
planId?: string | undefined;
|
|
237
252
|
/** List of all target pools which will be used in the load balancer. Limited to 20. */
|
|
238
|
-
targetPools?: CreateLoadBalancerRequestTargetPoolsList;
|
|
253
|
+
targetPools?: CreateLoadBalancerRequestTargetPoolsList | undefined;
|
|
239
254
|
/** Load balancer resource version. Must be empty or unset for creating load balancers, non-empty for updating load balancers. Semantics: While retrieving load balancers, this is the current version of this load balancer resource that changes during updates of the load balancers. On updates this field specified the load balancer version you calculated your update for instead of the future version to enable concurrency safe updates. Update calls will then report the new version in their result as you would see with a load balancer retrieval call later. There exist no total order of the version, so you can only compare it for equality, but not for less/greater than another version. Since the creation of load balancer is always intended to create the first version of it, there should be no existing version. That's why this field must by empty of not present in that case. */
|
|
240
|
-
version?: string;
|
|
255
|
+
version?: string | undefined;
|
|
241
256
|
}
|
|
242
257
|
/** The error type specifies which part of the load balancer encountered the error. I.e. the API will not check if a provided public IP is actually available in the project. Instead the load balancer with try to use the provided IP and if not available reports TYPE_FIP_NOT_CONFIGURED error or TYPE_FIP_NOT_FOUND if the IP was deleted. */
|
|
243
258
|
export type LoadBalancerErrorType =
|
|
@@ -256,9 +271,9 @@ export type LoadBalancerErrorType =
|
|
|
256
271
|
| "TYPE_VM_PORT_NOT_CONFIGURED";
|
|
257
272
|
export interface LoadBalancerError {
|
|
258
273
|
/** The error description contains additional helpful user information to fix the error state of the load balancer. For example the IP 45.135.247.139 does not exist in the project, then the description will report: Floating IP "45.135.247.139" could not be found or if the IP was deleted then you will get a proper error message. */
|
|
259
|
-
description?: string;
|
|
274
|
+
description?: string | undefined;
|
|
260
275
|
/** The error type specifies which part of the load balancer encountered the error. I.e. the API will not check if a provided public IP is actually available in the project. Instead the load balancer with try to use the provided IP and if not available reports TYPE_FIP_NOT_CONFIGURED error or TYPE_FIP_NOT_FOUND if the IP was deleted. */
|
|
261
|
-
type?: LoadBalancerErrorType;
|
|
276
|
+
type?: LoadBalancerErrorType | undefined;
|
|
262
277
|
}
|
|
263
278
|
/** Reports all errors a load balancer has. */
|
|
264
279
|
export type LoadBalancerErrorsList = Array<LoadBalancerError>;
|
|
@@ -274,27 +289,27 @@ export type ListenerProtocol =
|
|
|
274
289
|
/** Server Name Indicators config for domains to be routed to the desired target pool for this listener. */
|
|
275
290
|
export type ListenerServerNameIndicatorsList = Array<ServerNameIndicator>;
|
|
276
291
|
export interface Listener {
|
|
277
|
-
displayName?: string;
|
|
292
|
+
displayName?: string | undefined;
|
|
278
293
|
/** Will be used to reference a listener and will replace display name in the future. Currently uses <protocol>-<port> as the name if no display name is given. */
|
|
279
|
-
name?: string;
|
|
294
|
+
name?: string | undefined;
|
|
280
295
|
/** Port number where we listen for traffic */
|
|
281
|
-
port?: number;
|
|
296
|
+
port?: number | undefined;
|
|
282
297
|
/** Protocol is the highest network protocol we understand to load balance. Currently only PROTOCOL_TCP, PROTOCOL_TCP_PROXY and PROTOCOL_TLS_PASSTHROUGH are supported. */
|
|
283
|
-
protocol?: ListenerProtocol;
|
|
298
|
+
protocol?: ListenerProtocol | undefined;
|
|
284
299
|
/** Server Name Indicators config for domains to be routed to the desired target pool for this listener. */
|
|
285
|
-
serverNameIndicators?: ListenerServerNameIndicatorsList;
|
|
300
|
+
serverNameIndicators?: ListenerServerNameIndicatorsList | undefined;
|
|
286
301
|
/** Reference target pool by target pool name. */
|
|
287
|
-
targetPool?: string;
|
|
288
|
-
tcp?: OptionsTCP;
|
|
289
|
-
udp?: OptionsUDP;
|
|
302
|
+
targetPool?: string | undefined;
|
|
303
|
+
tcp?: OptionsTCP | undefined;
|
|
304
|
+
udp?: OptionsUDP | undefined;
|
|
290
305
|
}
|
|
291
306
|
/** There is a maximum listener count of 20. Port and protocol limitations: - UDP listeners cannot have the same port. - TCP-derived listeners cannot have the same port. A TCP-derived listener is any listener that listens on a TCP port. As of now those are: TCP, TCP_PROXY, and PROTOCOL_TLS_PASSTHROUGH. The only exception is, if all listeners for the same port are PROTOCOL_TLS_PASSTHROUGH. - PROTOCOL_TLS_PASSTHROUGH listeners cannot have the same port and at least one common domain name. - PROTOCOL_TLS_PASSTHROUGH listeners can have the same domain name and different ports though (e.g. ports 443 and 8443 for domain example.com). - PROTOCOL_TLS_PASSTHROUGH listeners without a domain name serve as a default listener and you can have only one default listener. */
|
|
292
307
|
export type LoadBalancerListenersList = Array<Listener>;
|
|
293
308
|
export interface SecurityGroup {
|
|
294
309
|
/** ID of the security Group */
|
|
295
|
-
id?: string;
|
|
310
|
+
id?: string | undefined;
|
|
296
311
|
/** Name of the security Group */
|
|
297
|
-
name?: string;
|
|
312
|
+
name?: string | undefined;
|
|
298
313
|
}
|
|
299
314
|
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
300
315
|
export type LoadBalancerNetworksList = Array<Network>;
|
|
@@ -308,35 +323,35 @@ export type LoadBalancerStatus =
|
|
|
308
323
|
export type LoadBalancerTargetPoolsList = Array<TargetPool>;
|
|
309
324
|
export interface LoadBalancer2 {
|
|
310
325
|
/** Disable target security group assignemt to allow targets outside of the given network. Connectivity to targets need to be ensured by the customer, including routing and Security Groups (targetSecurityGroup can be assigned). Not changeable after creation. */
|
|
311
|
-
disableTargetSecurityGroupAssignment?: boolean;
|
|
326
|
+
disableTargetSecurityGroupAssignment?: boolean | undefined;
|
|
312
327
|
/** Reports all errors a load balancer has. */
|
|
313
|
-
errors?: LoadBalancerErrorsList;
|
|
328
|
+
errors?: LoadBalancerErrorsList | undefined;
|
|
314
329
|
/** External load balancer IP address where this load balancer is exposed. Not changeable after creation. */
|
|
315
|
-
externalAddress?: string;
|
|
330
|
+
externalAddress?: string | undefined;
|
|
316
331
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per LB. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
317
|
-
labels?: LoadBalancerLabelsMap;
|
|
332
|
+
labels?: LoadBalancerLabelsMap | undefined;
|
|
318
333
|
/** There is a maximum listener count of 20. Port and protocol limitations: - UDP listeners cannot have the same port. - TCP-derived listeners cannot have the same port. A TCP-derived listener is any listener that listens on a TCP port. As of now those are: TCP, TCP_PROXY, and PROTOCOL_TLS_PASSTHROUGH. The only exception is, if all listeners for the same port are PROTOCOL_TLS_PASSTHROUGH. - PROTOCOL_TLS_PASSTHROUGH listeners cannot have the same port and at least one common domain name. - PROTOCOL_TLS_PASSTHROUGH listeners can have the same domain name and different ports though (e.g. ports 443 and 8443 for domain example.com). - PROTOCOL_TLS_PASSTHROUGH listeners without a domain name serve as a default listener and you can have only one default listener. */
|
|
319
|
-
listeners?: LoadBalancerListenersList;
|
|
334
|
+
listeners?: LoadBalancerListenersList | undefined;
|
|
320
335
|
/** Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets. */
|
|
321
|
-
loadBalancerSecurityGroup?: SecurityGroup;
|
|
336
|
+
loadBalancerSecurityGroup?: SecurityGroup | undefined;
|
|
322
337
|
/** Load balancer name. Not changeable after creation. */
|
|
323
|
-
name?: string;
|
|
338
|
+
name?: string | undefined;
|
|
324
339
|
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
325
|
-
networks?: LoadBalancerNetworksList;
|
|
326
|
-
options?: LoadBalancerOptions;
|
|
340
|
+
networks?: LoadBalancerNetworksList | undefined;
|
|
341
|
+
options?: LoadBalancerOptions | undefined;
|
|
327
342
|
/** Service Plan configures the size of the Load Balancer. Currently supported plans are p10, p50, p250 and p750. This list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum. */
|
|
328
|
-
planId?: string;
|
|
343
|
+
planId?: string | undefined;
|
|
329
344
|
/** Transient private load balancer IP address that can change any time. */
|
|
330
|
-
privateAddress?: string;
|
|
345
|
+
privateAddress?: string | undefined;
|
|
331
346
|
/** Region of the LoadBalancer */
|
|
332
|
-
region?: string;
|
|
333
|
-
status?: LoadBalancerStatus;
|
|
347
|
+
region?: string | undefined;
|
|
348
|
+
status?: LoadBalancerStatus | undefined;
|
|
334
349
|
/** List of all target pools which will be used in the load balancer. Limited to 20. */
|
|
335
|
-
targetPools?: LoadBalancerTargetPoolsList;
|
|
350
|
+
targetPools?: LoadBalancerTargetPoolsList | undefined;
|
|
336
351
|
/** Security Group that allows the targets to receive traffic from the LoadBalancer. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets. */
|
|
337
|
-
targetSecurityGroup?: SecurityGroup;
|
|
352
|
+
targetSecurityGroup?: SecurityGroup | undefined;
|
|
338
353
|
/** Load balancer resource version. Must be empty or unset for creating load balancers, non-empty for updating load balancers. Semantics: While retrieving load balancers, this is the current version of this load balancer resource that changes during updates of the load balancers. On updates this field specified the load balancer version you calculated your update for instead of the future version to enable concurrency safe updates. Update calls will then report the new version in their result as you would see with a load balancer retrieval call later. There exist no total order of the version, so you can only compare it for equality, but not for less/greater than another version. Since the creation of load balancer is always intended to create the first version of it, there should be no existing version. That's why this field must by empty of not present in that case. */
|
|
339
|
-
version?: string;
|
|
354
|
+
version?: string | undefined;
|
|
340
355
|
}
|
|
341
356
|
export interface DeleteCredentialsRequest {
|
|
342
357
|
projectId: string;
|
|
@@ -356,7 +371,7 @@ export interface GetCredentialsRequest {
|
|
|
356
371
|
credentialsRef: string;
|
|
357
372
|
}
|
|
358
373
|
export interface GetCredentialsResponse {
|
|
359
|
-
credential?: CredentialsResponse;
|
|
374
|
+
credential?: CredentialsResponse | undefined;
|
|
360
375
|
}
|
|
361
376
|
export interface GetLoadBalancerRequest {
|
|
362
377
|
projectId: string;
|
|
@@ -369,17 +384,17 @@ export interface GetQuotaRequest {
|
|
|
369
384
|
}
|
|
370
385
|
export interface GetQuotaResponse {
|
|
371
386
|
/** The maximum number of observability credentials that can be stored in this project. */
|
|
372
|
-
maxCredentials?: number;
|
|
387
|
+
maxCredentials?: number | undefined;
|
|
373
388
|
/** The maximum number of load balancing servers in this project. */
|
|
374
|
-
maxLoadBalancers?: number;
|
|
389
|
+
maxLoadBalancers?: number | undefined;
|
|
375
390
|
/** Project identifier */
|
|
376
|
-
projectId?: string;
|
|
391
|
+
projectId?: string | undefined;
|
|
377
392
|
/** Region */
|
|
378
|
-
region?: string;
|
|
393
|
+
region?: string | undefined;
|
|
379
394
|
/** The number of observability credentials that are currently existing in this project. */
|
|
380
|
-
usedCredentials?: number;
|
|
395
|
+
usedCredentials?: number | undefined;
|
|
381
396
|
/** The number of load balancing servers that are currently existing in this project. */
|
|
382
|
-
usedLoadBalancers?: number;
|
|
397
|
+
usedLoadBalancers?: number | undefined;
|
|
383
398
|
}
|
|
384
399
|
export interface ListCredentialsRequest {
|
|
385
400
|
projectId: string;
|
|
@@ -387,56 +402,56 @@ export interface ListCredentialsRequest {
|
|
|
387
402
|
}
|
|
388
403
|
export type ListCredentialsResponseCredentialsList = Array<CredentialsResponse>;
|
|
389
404
|
export interface ListCredentialsResponse {
|
|
390
|
-
credentials?: ListCredentialsResponseCredentialsList;
|
|
405
|
+
credentials?: ListCredentialsResponseCredentialsList | undefined;
|
|
391
406
|
}
|
|
392
407
|
export interface ListLoadBalancersRequest {
|
|
393
408
|
projectId: string;
|
|
394
409
|
region: string;
|
|
395
410
|
/** page_size specifies how many load balancers should be returned on this page. Must be a positive number <= 1000 */
|
|
396
|
-
pageSize?: string;
|
|
411
|
+
pageSize?: string | undefined;
|
|
397
412
|
/** page_id is a page identifier returned by the previous response and is used to request the next page */
|
|
398
|
-
pageId?: string;
|
|
413
|
+
pageId?: string | undefined;
|
|
399
414
|
}
|
|
400
415
|
export type ListLoadBalancersResponseLoadBalancersList = Array<LoadBalancer2>;
|
|
401
416
|
export interface ListLoadBalancersResponse {
|
|
402
|
-
loadBalancers?: ListLoadBalancersResponseLoadBalancersList;
|
|
417
|
+
loadBalancers?: ListLoadBalancersResponseLoadBalancersList | undefined;
|
|
403
418
|
/** Continue token from the ListLoadBalancerResponse with Limit option */
|
|
404
|
-
nextPageId?: string;
|
|
419
|
+
nextPageId?: string | undefined;
|
|
405
420
|
}
|
|
406
421
|
export interface ListPlansRequest {
|
|
407
422
|
region: string;
|
|
408
423
|
}
|
|
409
424
|
export interface PlanDetails {
|
|
410
425
|
/** Description */
|
|
411
|
-
description?: string;
|
|
426
|
+
description?: string | undefined;
|
|
412
427
|
/** Flavor Name */
|
|
413
|
-
flavorName?: string;
|
|
428
|
+
flavorName?: string | undefined;
|
|
414
429
|
/** Maximum number of concurrent connections per load balancer VM instance. */
|
|
415
|
-
maxConnections?: number;
|
|
430
|
+
maxConnections?: number | undefined;
|
|
416
431
|
/** Service Plan Name */
|
|
417
|
-
name?: string;
|
|
432
|
+
name?: string | undefined;
|
|
418
433
|
/** Service Plan Identifier */
|
|
419
|
-
planId?: string;
|
|
434
|
+
planId?: string | undefined;
|
|
420
435
|
/** Region this Plan is available in */
|
|
421
|
-
region?: string;
|
|
436
|
+
region?: string | undefined;
|
|
422
437
|
}
|
|
423
438
|
export type ListPlansResponseValidPlansList = Array<PlanDetails>;
|
|
424
439
|
export interface ListPlansResponse {
|
|
425
|
-
validPlans?: ListPlansResponseValidPlansList;
|
|
440
|
+
validPlans?: ListPlansResponseValidPlansList | undefined;
|
|
426
441
|
}
|
|
427
442
|
export interface UpdateCredentialsRequest {
|
|
428
443
|
projectId: string;
|
|
429
444
|
region: string;
|
|
430
445
|
credentialsRef: string;
|
|
431
446
|
/** Credential name */
|
|
432
|
-
displayName?: string;
|
|
447
|
+
displayName?: string | undefined;
|
|
433
448
|
/** A valid password used for an existing STACKIT Observability instance, which is used during basic auth. */
|
|
434
|
-
password?: string | Redacted.Redacted<string
|
|
449
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
435
450
|
/** A valid username used for an existing STACKIT Observability instance, which is used during basic auth. */
|
|
436
|
-
username?: string;
|
|
451
|
+
username?: string | undefined;
|
|
437
452
|
}
|
|
438
453
|
export interface UpdateCredentialsResponse {
|
|
439
|
-
credential?: CredentialsResponse;
|
|
454
|
+
credential?: CredentialsResponse | undefined;
|
|
440
455
|
}
|
|
441
456
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per LB. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
442
457
|
export type UpdateLoadBalancerRequestLabelsMap = { [key: string]: string | undefined };
|
|
@@ -451,22 +466,22 @@ export interface UpdateLoadBalancerRequest {
|
|
|
451
466
|
region: string;
|
|
452
467
|
name: string;
|
|
453
468
|
/** Disable target security group assignemt to allow targets outside of the given network. Connectivity to targets need to be ensured by the customer, including routing and Security Groups (targetSecurityGroup can be assigned). Not changeable after creation. */
|
|
454
|
-
disableTargetSecurityGroupAssignment?: boolean;
|
|
469
|
+
disableTargetSecurityGroupAssignment?: boolean | undefined;
|
|
455
470
|
/** External load balancer IP address where this load balancer is exposed. Not changeable after creation. */
|
|
456
|
-
externalAddress?: string;
|
|
471
|
+
externalAddress?: string | undefined;
|
|
457
472
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per LB. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
458
|
-
labels?: UpdateLoadBalancerRequestLabelsMap;
|
|
473
|
+
labels?: UpdateLoadBalancerRequestLabelsMap | undefined;
|
|
459
474
|
/** There is a maximum listener count of 20. Port and protocol limitations: - UDP listeners cannot have the same port. - TCP-derived listeners cannot have the same port. A TCP-derived listener is any listener that listens on a TCP port. As of now those are: TCP, TCP_PROXY, and PROTOCOL_TLS_PASSTHROUGH. The only exception is, if all listeners for the same port are PROTOCOL_TLS_PASSTHROUGH. - PROTOCOL_TLS_PASSTHROUGH listeners cannot have the same port and at least one common domain name. - PROTOCOL_TLS_PASSTHROUGH listeners can have the same domain name and different ports though (e.g. ports 443 and 8443 for domain example.com). - PROTOCOL_TLS_PASSTHROUGH listeners without a domain name serve as a default listener and you can have only one default listener. */
|
|
460
|
-
listeners?: UpdateLoadBalancerRequestListenersList;
|
|
475
|
+
listeners?: UpdateLoadBalancerRequestListenersList | undefined;
|
|
461
476
|
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
462
|
-
networks?: UpdateLoadBalancerRequestNetworksList;
|
|
463
|
-
options?: LoadBalancerOptions;
|
|
477
|
+
networks?: UpdateLoadBalancerRequestNetworksList | undefined;
|
|
478
|
+
options?: LoadBalancerOptions | undefined;
|
|
464
479
|
/** Service Plan configures the size of the Load Balancer. Currently supported plans are p10, p50, p250 and p750. This list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum. */
|
|
465
|
-
planId?: string;
|
|
480
|
+
planId?: string | undefined;
|
|
466
481
|
/** List of all target pools which will be used in the load balancer. Limited to 20. */
|
|
467
|
-
targetPools?: UpdateLoadBalancerRequestTargetPoolsList;
|
|
482
|
+
targetPools?: UpdateLoadBalancerRequestTargetPoolsList | undefined;
|
|
468
483
|
/** Load balancer resource version. Must be empty or unset for creating load balancers, non-empty for updating load balancers. Semantics: While retrieving load balancers, this is the current version of this load balancer resource that changes during updates of the load balancers. On updates this field specified the load balancer version you calculated your update for instead of the future version to enable concurrency safe updates. Update calls will then report the new version in their result as you would see with a load balancer retrieval call later. There exist no total order of the version, so you can only compare it for equality, but not for less/greater than another version. Since the creation of load balancer is always intended to create the first version of it, there should be no existing version. That's why this field must by empty of not present in that case. */
|
|
469
|
-
version?: string;
|
|
484
|
+
version?: string | undefined;
|
|
470
485
|
}
|
|
471
486
|
/** List of all targets which will be used in the pool. Limited to 250. */
|
|
472
487
|
export type UpdateTargetPoolRequestTargetsList = Array<Target>;
|
|
@@ -475,12 +490,12 @@ export interface UpdateTargetPoolRequest {
|
|
|
475
490
|
region: string;
|
|
476
491
|
name: string;
|
|
477
492
|
targetPoolName: string;
|
|
478
|
-
activeHealthCheck?: ActiveHealthCheck;
|
|
479
|
-
sessionPersistence?: SessionPersistence;
|
|
493
|
+
activeHealthCheck?: ActiveHealthCheck | undefined;
|
|
494
|
+
sessionPersistence?: SessionPersistence | undefined;
|
|
480
495
|
/** The number identifying the port where each target listens for traffic. */
|
|
481
|
-
targetPort?: number;
|
|
496
|
+
targetPort?: number | undefined;
|
|
482
497
|
/** List of all targets which will be used in the pool. Limited to 250. */
|
|
483
|
-
targets?: UpdateTargetPoolRequestTargetsList;
|
|
498
|
+
targets?: UpdateTargetPoolRequestTargetsList | undefined;
|
|
484
499
|
}
|
|
485
500
|
export type CreateCredentialsError = BadRequest | Forbidden | StackitOpError;
|
|
486
501
|
/** Create credentials for observability of the Load Balancer Created credentials can be stored and used for the load balancer observability. For example, when using STACKIT Observability, credentials first must be created for that STACKIT Observability instance (by using their API or the STACKIT Portal) and then can be provided to the load balancer by storing them with this endpoint. */
|
|
@@ -495,6 +510,8 @@ export const createCredentials: API.OperationMethod<
|
|
|
495
510
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
496
511
|
protocol: StackitProtocol,
|
|
497
512
|
retry: Retry.Retry,
|
|
513
|
+
telemetry: TELEMETRY,
|
|
514
|
+
span: "CreateCredentials",
|
|
498
515
|
}));
|
|
499
516
|
|
|
500
517
|
export type CreateLoadBalancerError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
@@ -510,6 +527,8 @@ export const createLoadBalancer: API.OperationMethod<
|
|
|
510
527
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
511
528
|
protocol: StackitProtocol,
|
|
512
529
|
retry: Retry.Retry,
|
|
530
|
+
telemetry: TELEMETRY,
|
|
531
|
+
span: "CreateLoadBalancer",
|
|
513
532
|
}));
|
|
514
533
|
|
|
515
534
|
export type DeleteCredentialsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -525,6 +544,8 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
525
544
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
526
545
|
protocol: StackitProtocol,
|
|
527
546
|
retry: Retry.Retry,
|
|
547
|
+
telemetry: TELEMETRY,
|
|
548
|
+
span: "DeleteCredentials",
|
|
528
549
|
}));
|
|
529
550
|
|
|
530
551
|
export type DeleteLoadBalancerError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -540,6 +561,8 @@ export const deleteLoadBalancer: API.OperationMethod<
|
|
|
540
561
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
541
562
|
protocol: StackitProtocol,
|
|
542
563
|
retry: Retry.Retry,
|
|
564
|
+
telemetry: TELEMETRY,
|
|
565
|
+
span: "DeleteLoadBalancer",
|
|
543
566
|
}));
|
|
544
567
|
|
|
545
568
|
export type GetCredentialsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -555,6 +578,8 @@ export const getCredentials: API.OperationMethod<
|
|
|
555
578
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
556
579
|
protocol: StackitProtocol,
|
|
557
580
|
retry: Retry.Retry,
|
|
581
|
+
telemetry: TELEMETRY,
|
|
582
|
+
span: "GetCredentials",
|
|
558
583
|
}));
|
|
559
584
|
|
|
560
585
|
export type GetLoadBalancerError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -570,6 +595,8 @@ export const getLoadBalancer: API.OperationMethod<
|
|
|
570
595
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
571
596
|
protocol: StackitProtocol,
|
|
572
597
|
retry: Retry.Retry,
|
|
598
|
+
telemetry: TELEMETRY,
|
|
599
|
+
span: "GetLoadBalancer",
|
|
573
600
|
}));
|
|
574
601
|
|
|
575
602
|
export type GetQuotaError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -585,6 +612,8 @@ export const getQuota: API.OperationMethod<
|
|
|
585
612
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
586
613
|
protocol: StackitProtocol,
|
|
587
614
|
retry: Retry.Retry,
|
|
615
|
+
telemetry: TELEMETRY,
|
|
616
|
+
span: "GetQuota",
|
|
588
617
|
}));
|
|
589
618
|
|
|
590
619
|
export type ListCredentialsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -600,6 +629,8 @@ export const listCredentials: API.OperationMethod<
|
|
|
600
629
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
601
630
|
protocol: StackitProtocol,
|
|
602
631
|
retry: Retry.Retry,
|
|
632
|
+
telemetry: TELEMETRY,
|
|
633
|
+
span: "ListCredentials",
|
|
603
634
|
}));
|
|
604
635
|
|
|
605
636
|
export type ListLoadBalancersError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -615,6 +646,8 @@ export const listLoadBalancers: API.OperationMethod<
|
|
|
615
646
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
616
647
|
protocol: StackitProtocol,
|
|
617
648
|
retry: Retry.Retry,
|
|
649
|
+
telemetry: TELEMETRY,
|
|
650
|
+
span: "ListLoadBalancers",
|
|
618
651
|
}));
|
|
619
652
|
|
|
620
653
|
export type ListPlansError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -630,6 +663,8 @@ export const listPlans: API.OperationMethod<
|
|
|
630
663
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
631
664
|
protocol: StackitProtocol,
|
|
632
665
|
retry: Retry.Retry,
|
|
666
|
+
telemetry: TELEMETRY,
|
|
667
|
+
span: "ListPlans",
|
|
633
668
|
}));
|
|
634
669
|
|
|
635
670
|
export type UpdateCredentialsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -645,6 +680,8 @@ export const updateCredentials: API.OperationMethod<
|
|
|
645
680
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
646
681
|
protocol: StackitProtocol,
|
|
647
682
|
retry: Retry.Retry,
|
|
683
|
+
telemetry: TELEMETRY,
|
|
684
|
+
span: "UpdateCredentials",
|
|
648
685
|
}));
|
|
649
686
|
|
|
650
687
|
export type UpdateLoadBalancerError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
@@ -660,6 +697,8 @@ export const updateLoadBalancer: API.OperationMethod<
|
|
|
660
697
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
661
698
|
protocol: StackitProtocol,
|
|
662
699
|
retry: Retry.Retry,
|
|
700
|
+
telemetry: TELEMETRY,
|
|
701
|
+
span: "UpdateLoadBalancer",
|
|
663
702
|
}));
|
|
664
703
|
|
|
665
704
|
export type UpdateTargetPoolError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -675,6 +714,8 @@ export const updateTargetPool: API.OperationMethod<
|
|
|
675
714
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
676
715
|
protocol: StackitProtocol,
|
|
677
716
|
retry: Retry.Retry,
|
|
717
|
+
telemetry: TELEMETRY,
|
|
718
|
+
span: "UpdateTargetPool",
|
|
678
719
|
}));
|
|
679
720
|
|
|
680
721
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -1013,6 +1054,7 @@ function __c12(j: number): any {
|
|
|
1013
1054
|
return S.suspend(() =>
|
|
1014
1055
|
S.Struct({
|
|
1015
1056
|
accessControl: S.optional(__S(390, __c12, 6)),
|
|
1057
|
+
accessLogs: S.optional(S.Boolean),
|
|
1016
1058
|
ephemeralAddress: S.optional(S.Boolean),
|
|
1017
1059
|
observability: S.optional(__S(392, __c12, 8)),
|
|
1018
1060
|
privateNetworkOnly: S.optional(S.Boolean),
|