@distilled.cloud/stackit 1.0.0-rc.17 → 1.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +27 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +32 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +24 -1
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +30 -29
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -38
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +28 -1
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +27 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +38 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +180 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +28 -27
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +40 -39
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +28 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -32
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +41 -40
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +37 -36
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +158 -157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +30 -29
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -45
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +36 -35
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +35 -34
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +32 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +39 -38
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +41 -40
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -27
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +29 -28
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -44
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -24
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +45 -44
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +25 -24
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -32
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -27
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +42 -41
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +26 -25
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/pubsub.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/services.lazy/workflows.js +1 -1
- package/package.json +6 -5
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +22 -20
- package/src/services/alb.ts +174 -132
- package/src/services/alb_waf.ts +96 -51
- package/src/services/authorization.ts +50 -15
- package/src/services/automation.ts +86 -49
- package/src/services/cdn.ts +172 -129
- package/src/services/certificates.ts +63 -40
- package/src/services/cost.ts +34 -15
- package/src/services/dns.ts +552 -269
- package/src/services/dremio.ts +187 -118
- package/src/services/edge.ts +62 -21
- package/src/services/functions.ts +217 -170
- package/src/services/git.ts +407 -108
- package/src/services/iaas.ts +723 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +101 -58
- package/src/services/kms.ts +76 -13
- package/src/services/lb_ip_lists.ts +37 -14
- package/src/services/load_balancer.ts +168 -126
- package/src/services/logme.ts +345 -122
- package/src/services/logs.ts +172 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +328 -105
- package/src/services/model_experiments.ts +66 -33
- package/src/services/model_serving.ts +54 -25
- package/src/services/mongodb_flex.ts +205 -137
- package/src/services/object_storage.ts +61 -6
- package/src/services/observability.ts +594 -362
- package/src/services/opensearch.ts +337 -114
- package/src/services/pim.ts +403 -278
- package/src/services/postgres_flex.ts +258 -179
- package/src/services/pubsub.ts +85 -36
- package/src/services/rabbitmq.ts +348 -125
- package/src/services/registry.ts +55 -26
- package/src/services/resource_manager.ts +102 -57
- package/src/services/run_command.ts +65 -42
- package/src/services/sca.ts +769 -371
- package/src/services/scf.ts +83 -24
- package/src/services/secrets_manager.ts +87 -22
- package/src/services/server_backup.ts +76 -31
- package/src/services/server_update.ts +54 -17
- package/src/services/service_account.ts +75 -30
- package/src/services/service_enablement.ts +49 -24
- package/src/services/sfs.ts +469 -395
- package/src/services/ske.ts +299 -228
- package/src/services/sqlserverflex.ts +116 -47
- package/src/services/stackit_marketplace.ts +78 -39
- package/src/services/telemetry_link.ts +191 -81
- package/src/services/telemetry_router.ts +326 -94
- package/src/services/ufw.ts +85 -54
- package/src/services/valkey.ts +341 -118
- package/src/services/vpn.ts +213 -142
- package/src/services/workflows.ts +106 -65
package/src/services/alb.ts
CHANGED
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "Alb",
|
|
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,108 +66,108 @@ 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 Application 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 ALB. **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 };
|
|
77
90
|
/** CookiePersistence contains the cookie-based session persistence configuration. */
|
|
78
91
|
export interface CookiePersistence {
|
|
79
92
|
/** Cookie is the name of the cookie to use. */
|
|
80
|
-
name?: string;
|
|
93
|
+
name?: string | undefined;
|
|
81
94
|
/** TTL specifies the time-to-live for the cookie. The default value is 0s, and it acts as a session cookie, expiring when the client session ends. */
|
|
82
|
-
ttl?: string;
|
|
95
|
+
ttl?: string | undefined;
|
|
83
96
|
}
|
|
84
97
|
export interface HttpHeader {
|
|
85
98
|
/** Exact match for the header value. */
|
|
86
|
-
exactMatch?: string;
|
|
99
|
+
exactMatch?: string | undefined;
|
|
87
100
|
/** Header name. */
|
|
88
|
-
name?: string;
|
|
101
|
+
name?: string | undefined;
|
|
89
102
|
}
|
|
90
103
|
/** Headers for the rule. */
|
|
91
104
|
export type RuleHeadersList = Array<HttpHeader>;
|
|
92
105
|
/** Path match. Optional. Contains either an exact or prefix match. If not set, defaults to root path '/' of prefix type. Cannot be set if 'path_prefix' is used. Prefer using this field over 'path_prefix'. */
|
|
93
106
|
export interface Path {
|
|
94
107
|
/** Exact path match. Only a request path exactly equal to the value will match, e.g. '/foo' matches only '/foo', not '/foo/bar' or '/foobar'. */
|
|
95
|
-
exactMatch?: string;
|
|
108
|
+
exactMatch?: string | undefined;
|
|
96
109
|
/** Prefix path match. Only matches on full segment boundaries, e.g. '/foo' matches '/foo' and '/foo/bar' but NOT '/foobar'. */
|
|
97
|
-
prefix?: string;
|
|
110
|
+
prefix?: string | undefined;
|
|
98
111
|
}
|
|
99
112
|
export interface QueryParameter {
|
|
100
113
|
/** Exact match for the parameter value. */
|
|
101
|
-
exactMatch?: string;
|
|
114
|
+
exactMatch?: string | undefined;
|
|
102
115
|
/** Parameter name. */
|
|
103
|
-
name?: string;
|
|
116
|
+
name?: string | undefined;
|
|
104
117
|
}
|
|
105
118
|
/** Query parameters for the rule. */
|
|
106
119
|
export type RuleQueryParametersList = Array<QueryParameter>;
|
|
107
120
|
export interface Rule {
|
|
108
|
-
cookiePersistence?: CookiePersistence;
|
|
121
|
+
cookiePersistence?: CookiePersistence | undefined;
|
|
109
122
|
/** Headers for the rule. */
|
|
110
|
-
headers?: RuleHeadersList;
|
|
111
|
-
path?: Path;
|
|
123
|
+
headers?: RuleHeadersList | undefined;
|
|
124
|
+
path?: Path | undefined;
|
|
112
125
|
/** Query parameters for the rule. */
|
|
113
|
-
queryParameters?: RuleQueryParametersList;
|
|
126
|
+
queryParameters?: RuleQueryParametersList | undefined;
|
|
114
127
|
/** Reference target pool by target pool name. */
|
|
115
|
-
targetPool?: string;
|
|
128
|
+
targetPool?: string | undefined;
|
|
116
129
|
/** If enabled, when client sends an HTTP request with and Upgrade header, indicating the desire to establish a Websocket connection, if backend server supports WebSocket, it responds with HTTP 101 status code, switching protocols from HTTP to WebSocket. Hence the client and the server can exchange data in real-time using one long-lived TCP connection. */
|
|
117
|
-
webSocket?: boolean;
|
|
130
|
+
webSocket?: boolean | undefined;
|
|
118
131
|
}
|
|
119
132
|
/** Routing rules under the specified host, matched by path prefix. */
|
|
120
133
|
export type HostConfigRulesList = Array<Rule>;
|
|
121
134
|
export interface HostConfig {
|
|
122
135
|
/** Hostname to match. Supports wildcards (e.g. *.example.com). */
|
|
123
|
-
host?: string;
|
|
136
|
+
host?: string | undefined;
|
|
124
137
|
/** Routing rules under the specified host, matched by path prefix. */
|
|
125
|
-
rules?: HostConfigRulesList;
|
|
138
|
+
rules?: HostConfigRulesList | undefined;
|
|
126
139
|
}
|
|
127
140
|
/** Defines routing rules grouped by hostname. */
|
|
128
141
|
export type ProtocolOptionsHTTPHostsList = Array<HostConfig>;
|
|
129
142
|
/** Configuration for handling HTTP traffic on this listener. */
|
|
130
143
|
export interface ProtocolOptionsHTTP {
|
|
131
144
|
/** Defines routing rules grouped by hostname. */
|
|
132
|
-
hosts?: ProtocolOptionsHTTPHostsList;
|
|
145
|
+
hosts?: ProtocolOptionsHTTPHostsList | undefined;
|
|
133
146
|
}
|
|
134
147
|
/** Certificate IDs for TLS termination. */
|
|
135
148
|
export type CertificateConfigCertificateIdsList = Array<string>;
|
|
136
149
|
/** TLS termination certificate configuration. */
|
|
137
150
|
export interface CertificateConfig {
|
|
138
151
|
/** Certificate IDs for TLS termination. */
|
|
139
|
-
certificateIds?: CertificateConfigCertificateIdsList;
|
|
152
|
+
certificateIds?: CertificateConfigCertificateIdsList | undefined;
|
|
140
153
|
}
|
|
141
154
|
/** Configuration for handling HTTPS traffic on this listener. */
|
|
142
155
|
export interface ProtocolOptionsHTTPS {
|
|
143
|
-
certificateConfig?: CertificateConfig;
|
|
156
|
+
certificateConfig?: CertificateConfig | undefined;
|
|
144
157
|
}
|
|
145
158
|
/** Protocol is the highest network protocol we understand to load balance. Currently PROTOCOL_HTTP and PROTOCOL_HTTPS are supported. */
|
|
146
159
|
export type ListenerProtocol = "PROTOCOL_UNSPECIFIED" | "PROTOCOL_HTTP" | "PROTOCOL_HTTPS";
|
|
147
160
|
export interface Listener {
|
|
148
|
-
http?: ProtocolOptionsHTTP;
|
|
149
|
-
https?: ProtocolOptionsHTTPS;
|
|
161
|
+
http?: ProtocolOptionsHTTP | undefined;
|
|
162
|
+
https?: ProtocolOptionsHTTPS | undefined;
|
|
150
163
|
/** A unique listener name. */
|
|
151
|
-
name?: string;
|
|
164
|
+
name?: string | undefined;
|
|
152
165
|
/** Port number on which the listener receives incoming traffic. */
|
|
153
|
-
port?: number;
|
|
166
|
+
port?: number | undefined;
|
|
154
167
|
/** Protocol is the highest network protocol we understand to load balance. Currently PROTOCOL_HTTP and PROTOCOL_HTTPS are supported. */
|
|
155
|
-
protocol?: ListenerProtocol | (string & {});
|
|
168
|
+
protocol?: ListenerProtocol | (string & {}) | undefined;
|
|
156
169
|
/** Enable Web Application Firewall (WAF), referenced by name. See "Application Load Balancer - Web Application Firewall API" for more information. */
|
|
157
|
-
wafConfigName?: string;
|
|
170
|
+
wafConfigName?: string | undefined;
|
|
158
171
|
}
|
|
159
172
|
/** There is a maximum listener count of 20. */
|
|
160
173
|
export type CreateLoadBalancerRequestListenersList = Array<Listener>;
|
|
@@ -166,9 +179,9 @@ export type NetworkRole =
|
|
|
166
179
|
| "ROLE_TARGETS";
|
|
167
180
|
export interface Network {
|
|
168
181
|
/** STACKIT network ID the Application Load Balancer and/or targets are in. */
|
|
169
|
-
networkId?: string;
|
|
182
|
+
networkId?: string | undefined;
|
|
170
183
|
/** The role defines how the Application Load Balancer is using the network. Currently only ROLE_LISTENERS_AND_TARGETS is supported. */
|
|
171
|
-
role?: NetworkRole | (string & {});
|
|
184
|
+
role?: NetworkRole | (string & {}) | undefined;
|
|
172
185
|
}
|
|
173
186
|
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
174
187
|
export type CreateLoadBalancerRequestNetworksList = Array<Network>;
|
|
@@ -177,90 +190,92 @@ export type LoadbalancerOptionAccessControlAllowedSourceRangesList = Array<strin
|
|
|
177
190
|
/** Use this option to limit the IP ranges that can use the Application Load Balancer. `allowed_source_ranges` and `ip_block_list_name` may be set together. When both are set, `allowed_source_ranges` is evaluated first, then `ip_block_list_name` is evaluated. */
|
|
178
191
|
export interface LoadbalancerOptionAccessControl {
|
|
179
192
|
/** Application Load Balancer is accessible only from an IP address in this range. May be combined with `ipBlockListName`; `allowedSourceRanges` is evaluated first, then `ipBlockListName`. */
|
|
180
|
-
allowedSourceRanges?: LoadbalancerOptionAccessControlAllowedSourceRangesList;
|
|
193
|
+
allowedSourceRanges?: LoadbalancerOptionAccessControlAllowedSourceRangesList | undefined;
|
|
181
194
|
/** Reference to an IP block list by name. Traffic originating from any IP in the referenced list is denied access to the Application Load Balancer. See "IP Lists API" for how to manage IP block lists. May be combined with `allowedSourceRanges`; `allowedSourceRanges` is evaluated first, then `ipBlockListName`. */
|
|
182
|
-
ipBlockListName?: string;
|
|
195
|
+
ipBlockListName?: string | undefined;
|
|
183
196
|
}
|
|
184
197
|
/** Observability logs configuration. */
|
|
185
198
|
export interface LoadbalancerOptionLogs {
|
|
186
199
|
/** 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 Application Load Balancer. */
|
|
187
|
-
credentialsRef?: string;
|
|
200
|
+
credentialsRef?: string | undefined;
|
|
188
201
|
/** The Observability(Logs)/Loki remote write Push URL you want the logs to be shipped to. */
|
|
189
|
-
pushUrl?: string;
|
|
202
|
+
pushUrl?: string | undefined;
|
|
190
203
|
}
|
|
191
204
|
/** Observability metrics configuration. */
|
|
192
205
|
export interface LoadbalancerOptionMetrics {
|
|
193
206
|
/** 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 Application Load Balancer. */
|
|
194
|
-
credentialsRef?: string;
|
|
207
|
+
credentialsRef?: string | undefined;
|
|
195
208
|
/** The Observability(Metrics)/Prometheus remote write push URL you want the metrics to be shipped to. */
|
|
196
|
-
pushUrl?: string;
|
|
209
|
+
pushUrl?: string | undefined;
|
|
197
210
|
}
|
|
198
211
|
/** We offer Load Balancer observability via STACKIT Observability or external solutions. */
|
|
199
212
|
export interface LoadbalancerOptionObservability {
|
|
200
|
-
logs?: LoadbalancerOptionLogs;
|
|
201
|
-
metrics?: LoadbalancerOptionMetrics;
|
|
213
|
+
logs?: LoadbalancerOptionLogs | undefined;
|
|
214
|
+
metrics?: LoadbalancerOptionMetrics | undefined;
|
|
202
215
|
}
|
|
203
216
|
/** Defines any optional functionality you want to have enabled on your Application Load Balancer. */
|
|
204
217
|
export interface LoadBalancerOptions {
|
|
205
|
-
accessControl?: LoadbalancerOptionAccessControl;
|
|
218
|
+
accessControl?: LoadbalancerOptionAccessControl | undefined;
|
|
219
|
+
/** Enable per-request access logs on the Application Load Balancer. Defaults to false. Enable only when the Application 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. */
|
|
220
|
+
accessLogs?: boolean | undefined;
|
|
206
221
|
/** This option automates the handling of the external IP address for an Application Load Balancer. If set to true a new IP address will be automatically created. It will also be automatically deleted when the Load Balancer is deleted. */
|
|
207
|
-
ephemeralAddress?: boolean;
|
|
208
|
-
observability?: LoadbalancerOptionObservability;
|
|
222
|
+
ephemeralAddress?: boolean | undefined;
|
|
223
|
+
observability?: LoadbalancerOptionObservability | undefined;
|
|
209
224
|
/** Application Load Balancer is accessible only via a private network ip address. Not changeable after creation. */
|
|
210
|
-
privateNetworkOnly?: boolean;
|
|
225
|
+
privateNetworkOnly?: boolean | undefined;
|
|
211
226
|
}
|
|
212
227
|
/** List of HTTP status codes that indicate a healthy response */
|
|
213
228
|
export type HttpHealthChecksOkStatusesList = Array<string>;
|
|
214
229
|
/** Set this to configure TLS settings. */
|
|
215
230
|
export interface TlsConfig {
|
|
216
231
|
/** 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. */
|
|
217
|
-
customCa?: string;
|
|
232
|
+
customCa?: string | undefined;
|
|
218
233
|
/** 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. */
|
|
219
|
-
enabled?: boolean;
|
|
234
|
+
enabled?: boolean | undefined;
|
|
220
235
|
/** 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! */
|
|
221
|
-
skipCertificateValidation?: boolean;
|
|
236
|
+
skipCertificateValidation?: boolean | undefined;
|
|
222
237
|
}
|
|
223
238
|
/** Options for the HTTP health checking. */
|
|
224
239
|
export interface HttpHealthChecks {
|
|
225
240
|
/** List of HTTP status codes that indicate a healthy response */
|
|
226
|
-
okStatuses?: HttpHealthChecksOkStatusesList;
|
|
241
|
+
okStatuses?: HttpHealthChecksOkStatusesList | undefined;
|
|
227
242
|
/** Path to send the health check request to */
|
|
228
|
-
path?: string;
|
|
229
|
-
tls?: TlsConfig;
|
|
243
|
+
path?: string | undefined;
|
|
244
|
+
tls?: TlsConfig | undefined;
|
|
230
245
|
}
|
|
231
246
|
/** Set this to customize active health checks for targets in this pool. */
|
|
232
247
|
export interface ActiveHealthCheck {
|
|
233
248
|
/** Overrides the default port used for health check probes. */
|
|
234
|
-
altPort?: number;
|
|
249
|
+
altPort?: number | undefined;
|
|
235
250
|
/** Healthy threshold of the health checking */
|
|
236
|
-
healthyThreshold?: number;
|
|
237
|
-
httpHealthChecks?: HttpHealthChecks;
|
|
251
|
+
healthyThreshold?: number | undefined;
|
|
252
|
+
httpHealthChecks?: HttpHealthChecks | undefined;
|
|
238
253
|
/** Interval duration of health checking in seconds */
|
|
239
|
-
interval?: string;
|
|
254
|
+
interval?: string | undefined;
|
|
240
255
|
/** Interval duration threshold of the health checking in seconds */
|
|
241
|
-
intervalJitter?: string;
|
|
256
|
+
intervalJitter?: string | undefined;
|
|
242
257
|
/** Active health checking timeout duration in seconds */
|
|
243
|
-
timeout?: string;
|
|
258
|
+
timeout?: string | undefined;
|
|
244
259
|
/** Unhealthy threshold of the health checking */
|
|
245
|
-
unhealthyThreshold?: number;
|
|
260
|
+
unhealthyThreshold?: number | undefined;
|
|
246
261
|
}
|
|
247
262
|
export interface Target {
|
|
248
263
|
/** Target display name. */
|
|
249
|
-
displayName?: string;
|
|
264
|
+
displayName?: string | undefined;
|
|
250
265
|
/** Private target IP, which must by unique within a target pool. */
|
|
251
|
-
ip?: string;
|
|
266
|
+
ip?: string | undefined;
|
|
252
267
|
}
|
|
253
268
|
/** List of all targets which will be used in the pool. Limited to 250. */
|
|
254
269
|
export type TargetPoolTargetsList = Array<Target>;
|
|
255
270
|
export interface TargetPool {
|
|
256
|
-
activeHealthCheck?: ActiveHealthCheck;
|
|
271
|
+
activeHealthCheck?: ActiveHealthCheck | undefined;
|
|
257
272
|
/** Target pool name */
|
|
258
|
-
name?: string;
|
|
273
|
+
name?: string | undefined;
|
|
259
274
|
/** The number identifying the port where each target listens for traffic. */
|
|
260
|
-
targetPort?: number;
|
|
275
|
+
targetPort?: number | undefined;
|
|
261
276
|
/** List of all targets which will be used in the pool. Limited to 250. */
|
|
262
|
-
targets?: TargetPoolTargetsList;
|
|
263
|
-
tlsConfig?: TlsConfig;
|
|
277
|
+
targets?: TargetPoolTargetsList | undefined;
|
|
278
|
+
tlsConfig?: TlsConfig | undefined;
|
|
264
279
|
}
|
|
265
280
|
/** List of all target pools which will be used in the Application Load Balancer. Limited to 20. */
|
|
266
281
|
export type CreateLoadBalancerRequestTargetPoolsList = Array<TargetPool>;
|
|
@@ -268,22 +283,22 @@ export interface CreateLoadBalancerRequest {
|
|
|
268
283
|
projectId: string;
|
|
269
284
|
region: string;
|
|
270
285
|
/** 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. */
|
|
271
|
-
disableTargetSecurityGroupAssignment?: boolean;
|
|
286
|
+
disableTargetSecurityGroupAssignment?: boolean | undefined;
|
|
272
287
|
/** The external IP address where this Application Load Balancer is exposed. Not changeable after creation. */
|
|
273
|
-
externalAddress?: string;
|
|
288
|
+
externalAddress?: string | undefined;
|
|
274
289
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per ALB. **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. */
|
|
275
|
-
labels?: CreateLoadBalancerRequestLabelsMap;
|
|
290
|
+
labels?: CreateLoadBalancerRequestLabelsMap | undefined;
|
|
276
291
|
/** There is a maximum listener count of 20. */
|
|
277
|
-
listeners?: CreateLoadBalancerRequestListenersList;
|
|
292
|
+
listeners?: CreateLoadBalancerRequestListenersList | undefined;
|
|
278
293
|
/** Application Load Balancer name. Not changeable after creation. */
|
|
279
|
-
name?: string;
|
|
294
|
+
name?: string | undefined;
|
|
280
295
|
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
281
|
-
networks?: CreateLoadBalancerRequestNetworksList;
|
|
282
|
-
options?: LoadBalancerOptions;
|
|
296
|
+
networks?: CreateLoadBalancerRequestNetworksList | undefined;
|
|
297
|
+
options?: LoadBalancerOptions | undefined;
|
|
283
298
|
/** Service Plan configures the size of the Application Load Balancer. Currently supported plan is p10. 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. */
|
|
284
|
-
planId?: string;
|
|
299
|
+
planId?: string | undefined;
|
|
285
300
|
/** List of all target pools which will be used in the Application Load Balancer. Limited to 20. */
|
|
286
|
-
targetPools?: CreateLoadBalancerRequestTargetPoolsList;
|
|
301
|
+
targetPools?: CreateLoadBalancerRequestTargetPoolsList | undefined;
|
|
287
302
|
}
|
|
288
303
|
/** The error type specifies which part of the Application 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 Application Load Balancer with try to use the provided IP and if not available reports TYPE_FIP_NOT_CONFIGURED error. */
|
|
289
304
|
export type LoadBalancerErrorType =
|
|
@@ -302,9 +317,9 @@ export type LoadBalancerErrorType =
|
|
|
302
317
|
| "TYPE_VM_PORT_NOT_CONFIGURED";
|
|
303
318
|
export interface LoadBalancerError {
|
|
304
319
|
/** The error description contains additional helpful user information to fix the error state of the Application 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. */
|
|
305
|
-
description?: string;
|
|
320
|
+
description?: string | undefined;
|
|
306
321
|
/** The error type specifies which part of the Application 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 Application Load Balancer with try to use the provided IP and if not available reports TYPE_FIP_NOT_CONFIGURED error. */
|
|
307
|
-
type?: LoadBalancerErrorType;
|
|
322
|
+
type?: LoadBalancerErrorType | undefined;
|
|
308
323
|
}
|
|
309
324
|
/** Reports all errors a Application Load Balancer has. */
|
|
310
325
|
export type LoadBalancerErrorsList = Array<LoadBalancerError>;
|
|
@@ -314,9 +329,9 @@ export type LoadBalancerLabelsMap = { [key: string]: string | undefined };
|
|
|
314
329
|
export type LoadBalancerListenersList = Array<Listener>;
|
|
315
330
|
export interface SecurityGroup {
|
|
316
331
|
/** ID of the security Group */
|
|
317
|
-
id?: string;
|
|
332
|
+
id?: string | undefined;
|
|
318
333
|
/** Name of the security Group */
|
|
319
|
-
name?: string;
|
|
334
|
+
name?: string | undefined;
|
|
320
335
|
}
|
|
321
336
|
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
322
337
|
export type LoadBalancerNetworksList = Array<Network>;
|
|
@@ -330,35 +345,35 @@ export type LoadBalancerStatus =
|
|
|
330
345
|
export type LoadBalancerTargetPoolsList = Array<TargetPool>;
|
|
331
346
|
export interface LoadBalancer {
|
|
332
347
|
/** 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. */
|
|
333
|
-
disableTargetSecurityGroupAssignment?: boolean;
|
|
348
|
+
disableTargetSecurityGroupAssignment?: boolean | undefined;
|
|
334
349
|
/** Reports all errors a Application Load Balancer has. */
|
|
335
|
-
errors?: LoadBalancerErrorsList;
|
|
350
|
+
errors?: LoadBalancerErrorsList | undefined;
|
|
336
351
|
/** The external IP address where this Application Load Balancer is exposed. Not changeable after creation. */
|
|
337
|
-
externalAddress?: string;
|
|
352
|
+
externalAddress?: string | undefined;
|
|
338
353
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per ALB. **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. */
|
|
339
|
-
labels?: LoadBalancerLabelsMap;
|
|
354
|
+
labels?: LoadBalancerLabelsMap | undefined;
|
|
340
355
|
/** There is a maximum listener count of 20. */
|
|
341
|
-
listeners?: LoadBalancerListenersList;
|
|
356
|
+
listeners?: LoadBalancerListenersList | undefined;
|
|
342
357
|
/** Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets. */
|
|
343
|
-
loadBalancerSecurityGroup?: SecurityGroup;
|
|
358
|
+
loadBalancerSecurityGroup?: SecurityGroup | undefined;
|
|
344
359
|
/** Application Load Balancer name. Not changeable after creation. */
|
|
345
|
-
name?: string;
|
|
360
|
+
name?: string | undefined;
|
|
346
361
|
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
347
|
-
networks?: LoadBalancerNetworksList;
|
|
348
|
-
options?: LoadBalancerOptions;
|
|
362
|
+
networks?: LoadBalancerNetworksList | undefined;
|
|
363
|
+
options?: LoadBalancerOptions | undefined;
|
|
349
364
|
/** Service Plan configures the size of the Application Load Balancer. Currently supported plan is p10. 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. */
|
|
350
|
-
planId?: string;
|
|
365
|
+
planId?: string | undefined;
|
|
351
366
|
/** Transient private Application Load Balancer IP address that can change any time. */
|
|
352
|
-
privateAddress?: string;
|
|
367
|
+
privateAddress?: string | undefined;
|
|
353
368
|
/** Region of the LoadBalancer. */
|
|
354
|
-
region?: string;
|
|
355
|
-
status?: LoadBalancerStatus;
|
|
369
|
+
region?: string | undefined;
|
|
370
|
+
status?: LoadBalancerStatus | undefined;
|
|
356
371
|
/** List of all target pools which will be used in the Application Load Balancer. Limited to 20. */
|
|
357
|
-
targetPools?: LoadBalancerTargetPoolsList;
|
|
372
|
+
targetPools?: LoadBalancerTargetPoolsList | undefined;
|
|
358
373
|
/** Security Group that allows the targets to receive traffic from the LoadBalancer. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets. */
|
|
359
|
-
targetSecurityGroup?: SecurityGroup;
|
|
374
|
+
targetSecurityGroup?: SecurityGroup | undefined;
|
|
360
375
|
/** Application Load Balancer resource version. Must be empty or unset for creating Application Load Balancers, non-empty for updating. Semantics: While retrieving, this is the current version of this Application Load Balancer resource that changes during updates. On updates this field specified the Application 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 Application 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 Application 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. */
|
|
361
|
-
version?: string;
|
|
376
|
+
version?: string | undefined;
|
|
362
377
|
}
|
|
363
378
|
export interface DeleteCredentialsRequest {
|
|
364
379
|
projectId: string;
|
|
@@ -378,7 +393,7 @@ export interface GetCredentialsRequest {
|
|
|
378
393
|
credentialsRef: string;
|
|
379
394
|
}
|
|
380
395
|
export interface GetCredentialsResponse {
|
|
381
|
-
credential?: CredentialsResponse;
|
|
396
|
+
credential?: CredentialsResponse | undefined;
|
|
382
397
|
}
|
|
383
398
|
export interface GetLoadBalancerRequest {
|
|
384
399
|
projectId: string;
|
|
@@ -391,17 +406,17 @@ export interface GetQuotaRequest {
|
|
|
391
406
|
}
|
|
392
407
|
export interface GetQuotaResponse {
|
|
393
408
|
/** The maximum number of observability credentials that can be stored in this project. */
|
|
394
|
-
maxCredentials?: number;
|
|
409
|
+
maxCredentials?: number | undefined;
|
|
395
410
|
/** The maximum number of load balancing servers in this project. */
|
|
396
|
-
maxLoadBalancers?: number;
|
|
411
|
+
maxLoadBalancers?: number | undefined;
|
|
397
412
|
/** Project identifier */
|
|
398
|
-
projectId?: string;
|
|
413
|
+
projectId?: string | undefined;
|
|
399
414
|
/** Region */
|
|
400
|
-
region?: string;
|
|
415
|
+
region?: string | undefined;
|
|
401
416
|
/** The number of observability credentials that are currently existing in this project. */
|
|
402
|
-
usedCredentials?: number;
|
|
417
|
+
usedCredentials?: number | undefined;
|
|
403
418
|
/** The number of load balancing servers that are currently existing in this project. */
|
|
404
|
-
usedLoadBalancers?: number;
|
|
419
|
+
usedLoadBalancers?: number | undefined;
|
|
405
420
|
}
|
|
406
421
|
export interface ListCredentialsRequest {
|
|
407
422
|
projectId: string;
|
|
@@ -409,58 +424,58 @@ export interface ListCredentialsRequest {
|
|
|
409
424
|
}
|
|
410
425
|
export type ListCredentialsResponseCredentialsList = Array<CredentialsResponse>;
|
|
411
426
|
export interface ListCredentialsResponse {
|
|
412
|
-
credentials?: ListCredentialsResponseCredentialsList;
|
|
427
|
+
credentials?: ListCredentialsResponseCredentialsList | undefined;
|
|
413
428
|
}
|
|
414
429
|
export interface ListLoadBalancersRequest {
|
|
415
430
|
projectId: string;
|
|
416
431
|
region: string;
|
|
417
432
|
/** page_size specifies how many Application Load Balancers should be returned on this page. Must be a positive number <= 1000 */
|
|
418
|
-
pageSize?: string;
|
|
433
|
+
pageSize?: string | undefined;
|
|
419
434
|
/** page_id is a page identifier returned by the previous response and is used to request the next page */
|
|
420
|
-
pageId?: string;
|
|
435
|
+
pageId?: string | undefined;
|
|
421
436
|
}
|
|
422
437
|
export type ListLoadBalancersResponseLoadBalancersList = Array<LoadBalancer>;
|
|
423
438
|
export interface ListLoadBalancersResponse {
|
|
424
|
-
loadBalancers?: ListLoadBalancersResponseLoadBalancersList;
|
|
439
|
+
loadBalancers?: ListLoadBalancersResponseLoadBalancersList | undefined;
|
|
425
440
|
/** Continue token from the ListLoadBalancerResponse with Limit option */
|
|
426
|
-
nextPageId?: string;
|
|
441
|
+
nextPageId?: string | undefined;
|
|
427
442
|
}
|
|
428
443
|
export interface ListPlansRequest {
|
|
429
444
|
region: string;
|
|
430
445
|
}
|
|
431
446
|
export interface PlanDetails {
|
|
432
447
|
/** Description */
|
|
433
|
-
description?: string;
|
|
448
|
+
description?: string | undefined;
|
|
434
449
|
/** Flavor Name */
|
|
435
|
-
flavorName?: string;
|
|
450
|
+
flavorName?: string | undefined;
|
|
436
451
|
/** Maximum number of concurrent connections per Application Load Balancer VM instance. */
|
|
437
|
-
maxConnections?: number;
|
|
452
|
+
maxConnections?: number | undefined;
|
|
438
453
|
/** Service Plan Name */
|
|
439
|
-
name?: string;
|
|
454
|
+
name?: string | undefined;
|
|
440
455
|
/** Service Plan Identifier */
|
|
441
|
-
planId?: string;
|
|
456
|
+
planId?: string | undefined;
|
|
442
457
|
/** Region this Plan is available in */
|
|
443
|
-
region?: string;
|
|
458
|
+
region?: string | undefined;
|
|
444
459
|
}
|
|
445
460
|
/** List of available service plans. */
|
|
446
461
|
export type ListPlansResponseValidPlansList = Array<PlanDetails>;
|
|
447
462
|
export interface ListPlansResponse {
|
|
448
463
|
/** List of available service plans. */
|
|
449
|
-
validPlans?: ListPlansResponseValidPlansList;
|
|
464
|
+
validPlans?: ListPlansResponseValidPlansList | undefined;
|
|
450
465
|
}
|
|
451
466
|
export interface UpdateCredentialsRequest {
|
|
452
467
|
projectId: string;
|
|
453
468
|
region: string;
|
|
454
469
|
credentialsRef: string;
|
|
455
470
|
/** Credential name */
|
|
456
|
-
displayName?: string;
|
|
471
|
+
displayName?: string | undefined;
|
|
457
472
|
/** A valid password used for an existing STACKIT Observability instance, which is used during basic auth. */
|
|
458
|
-
password?: string | Redacted.Redacted<string
|
|
473
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
459
474
|
/** A valid username used for an existing STACKIT Observability instance, which is used during basic auth. */
|
|
460
|
-
username?: string;
|
|
475
|
+
username?: string | undefined;
|
|
461
476
|
}
|
|
462
477
|
export interface UpdateCredentialsResponse {
|
|
463
|
-
credential?: CredentialsResponse;
|
|
478
|
+
credential?: CredentialsResponse | undefined;
|
|
464
479
|
}
|
|
465
480
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per ALB. **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. */
|
|
466
481
|
export type UpdateLoadBalancerRequestLabelsMap = { [key: string]: string | undefined };
|
|
@@ -475,22 +490,22 @@ export interface UpdateLoadBalancerRequest {
|
|
|
475
490
|
region: string;
|
|
476
491
|
name: string;
|
|
477
492
|
/** 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. */
|
|
478
|
-
disableTargetSecurityGroupAssignment?: boolean;
|
|
493
|
+
disableTargetSecurityGroupAssignment?: boolean | undefined;
|
|
479
494
|
/** The external IP address where this Application Load Balancer is exposed. Not changeable after creation. */
|
|
480
|
-
externalAddress?: string;
|
|
495
|
+
externalAddress?: string | undefined;
|
|
481
496
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per ALB. **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. */
|
|
482
|
-
labels?: UpdateLoadBalancerRequestLabelsMap;
|
|
497
|
+
labels?: UpdateLoadBalancerRequestLabelsMap | undefined;
|
|
483
498
|
/** There is a maximum listener count of 20. */
|
|
484
|
-
listeners?: UpdateLoadBalancerRequestListenersList;
|
|
499
|
+
listeners?: UpdateLoadBalancerRequestListenersList | undefined;
|
|
485
500
|
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
486
|
-
networks?: UpdateLoadBalancerRequestNetworksList;
|
|
487
|
-
options?: LoadBalancerOptions;
|
|
501
|
+
networks?: UpdateLoadBalancerRequestNetworksList | undefined;
|
|
502
|
+
options?: LoadBalancerOptions | undefined;
|
|
488
503
|
/** Service Plan configures the size of the Application Load Balancer. Currently supported plan is p10. 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. */
|
|
489
|
-
planId?: string;
|
|
504
|
+
planId?: string | undefined;
|
|
490
505
|
/** List of all target pools which will be used in the Application Load Balancer. Limited to 20. */
|
|
491
|
-
targetPools?: UpdateLoadBalancerRequestTargetPoolsList;
|
|
506
|
+
targetPools?: UpdateLoadBalancerRequestTargetPoolsList | undefined;
|
|
492
507
|
/** Application Load Balancer resource version. Must be empty or unset for creating Application Load Balancers, non-empty for updating. Semantics: While retrieving, this is the current version of this Application Load Balancer resource that changes during updates. On updates this field specified the Application 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 Application 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 Application 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. */
|
|
493
|
-
version?: string;
|
|
508
|
+
version?: string | undefined;
|
|
494
509
|
}
|
|
495
510
|
/** List of all targets which will be used in the pool. Limited to 250. */
|
|
496
511
|
export type UpdateTargetPoolRequestTargetsList = Array<Target>;
|
|
@@ -499,12 +514,12 @@ export interface UpdateTargetPoolRequest {
|
|
|
499
514
|
region: string;
|
|
500
515
|
name: string;
|
|
501
516
|
targetPoolName: string;
|
|
502
|
-
activeHealthCheck?: ActiveHealthCheck;
|
|
517
|
+
activeHealthCheck?: ActiveHealthCheck | undefined;
|
|
503
518
|
/** The number identifying the port where each target listens for traffic. */
|
|
504
|
-
targetPort?: number;
|
|
519
|
+
targetPort?: number | undefined;
|
|
505
520
|
/** List of all targets which will be used in the pool. Limited to 250. */
|
|
506
|
-
targets?: UpdateTargetPoolRequestTargetsList;
|
|
507
|
-
tlsConfig?: TlsConfig;
|
|
521
|
+
targets?: UpdateTargetPoolRequestTargetsList | undefined;
|
|
522
|
+
tlsConfig?: TlsConfig | undefined;
|
|
508
523
|
}
|
|
509
524
|
export type CreateCredentialsError = BadRequest | Forbidden | StackitOpError;
|
|
510
525
|
/** Create credentials for observability of the Application 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. */
|
|
@@ -519,6 +534,8 @@ export const createCredentials: API.OperationMethod<
|
|
|
519
534
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
520
535
|
protocol: StackitProtocol,
|
|
521
536
|
retry: Retry.Retry,
|
|
537
|
+
telemetry: TELEMETRY,
|
|
538
|
+
span: "CreateCredentials",
|
|
522
539
|
}));
|
|
523
540
|
|
|
524
541
|
export type CreateLoadBalancerError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
@@ -534,6 +551,8 @@ export const createLoadBalancer: API.OperationMethod<
|
|
|
534
551
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
535
552
|
protocol: StackitProtocol,
|
|
536
553
|
retry: Retry.Retry,
|
|
554
|
+
telemetry: TELEMETRY,
|
|
555
|
+
span: "CreateLoadBalancer",
|
|
537
556
|
}));
|
|
538
557
|
|
|
539
558
|
export type DeleteCredentialsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -549,6 +568,8 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
549
568
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
550
569
|
protocol: StackitProtocol,
|
|
551
570
|
retry: Retry.Retry,
|
|
571
|
+
telemetry: TELEMETRY,
|
|
572
|
+
span: "DeleteCredentials",
|
|
552
573
|
}));
|
|
553
574
|
|
|
554
575
|
export type DeleteLoadBalancerError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -564,6 +585,8 @@ export const deleteLoadBalancer: API.OperationMethod<
|
|
|
564
585
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
565
586
|
protocol: StackitProtocol,
|
|
566
587
|
retry: Retry.Retry,
|
|
588
|
+
telemetry: TELEMETRY,
|
|
589
|
+
span: "DeleteLoadBalancer",
|
|
567
590
|
}));
|
|
568
591
|
|
|
569
592
|
export type GetCredentialsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -579,6 +602,8 @@ export const getCredentials: API.OperationMethod<
|
|
|
579
602
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
580
603
|
protocol: StackitProtocol,
|
|
581
604
|
retry: Retry.Retry,
|
|
605
|
+
telemetry: TELEMETRY,
|
|
606
|
+
span: "GetCredentials",
|
|
582
607
|
}));
|
|
583
608
|
|
|
584
609
|
export type GetLoadBalancerError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -594,6 +619,8 @@ export const getLoadBalancer: API.OperationMethod<
|
|
|
594
619
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
595
620
|
protocol: StackitProtocol,
|
|
596
621
|
retry: Retry.Retry,
|
|
622
|
+
telemetry: TELEMETRY,
|
|
623
|
+
span: "GetLoadBalancer",
|
|
597
624
|
}));
|
|
598
625
|
|
|
599
626
|
export type GetQuotaError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -609,6 +636,8 @@ export const getQuota: API.OperationMethod<
|
|
|
609
636
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
610
637
|
protocol: StackitProtocol,
|
|
611
638
|
retry: Retry.Retry,
|
|
639
|
+
telemetry: TELEMETRY,
|
|
640
|
+
span: "GetQuota",
|
|
612
641
|
}));
|
|
613
642
|
|
|
614
643
|
export type ListCredentialsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -624,6 +653,8 @@ export const listCredentials: API.OperationMethod<
|
|
|
624
653
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
625
654
|
protocol: StackitProtocol,
|
|
626
655
|
retry: Retry.Retry,
|
|
656
|
+
telemetry: TELEMETRY,
|
|
657
|
+
span: "ListCredentials",
|
|
627
658
|
}));
|
|
628
659
|
|
|
629
660
|
export type ListLoadBalancersError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -639,6 +670,8 @@ export const listLoadBalancers: API.OperationMethod<
|
|
|
639
670
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
640
671
|
protocol: StackitProtocol,
|
|
641
672
|
retry: Retry.Retry,
|
|
673
|
+
telemetry: TELEMETRY,
|
|
674
|
+
span: "ListLoadBalancers",
|
|
642
675
|
}));
|
|
643
676
|
|
|
644
677
|
export type ListPlansError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -654,6 +687,8 @@ export const listPlans: API.OperationMethod<
|
|
|
654
687
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
655
688
|
protocol: StackitProtocol,
|
|
656
689
|
retry: Retry.Retry,
|
|
690
|
+
telemetry: TELEMETRY,
|
|
691
|
+
span: "ListPlans",
|
|
657
692
|
}));
|
|
658
693
|
|
|
659
694
|
export type UpdateCredentialsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -669,6 +704,8 @@ export const updateCredentials: API.OperationMethod<
|
|
|
669
704
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
670
705
|
protocol: StackitProtocol,
|
|
671
706
|
retry: Retry.Retry,
|
|
707
|
+
telemetry: TELEMETRY,
|
|
708
|
+
span: "UpdateCredentials",
|
|
672
709
|
}));
|
|
673
710
|
|
|
674
711
|
export type UpdateLoadBalancerError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
@@ -684,6 +721,8 @@ export const updateLoadBalancer: API.OperationMethod<
|
|
|
684
721
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
685
722
|
protocol: StackitProtocol,
|
|
686
723
|
retry: Retry.Retry,
|
|
724
|
+
telemetry: TELEMETRY,
|
|
725
|
+
span: "UpdateLoadBalancer",
|
|
687
726
|
}));
|
|
688
727
|
|
|
689
728
|
export type UpdateTargetPoolError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -699,6 +738,8 @@ export const updateTargetPool: API.OperationMethod<
|
|
|
699
738
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
700
739
|
protocol: StackitProtocol,
|
|
701
740
|
retry: Retry.Retry,
|
|
741
|
+
telemetry: TELEMETRY,
|
|
742
|
+
span: "UpdateTargetPool",
|
|
702
743
|
}));
|
|
703
744
|
|
|
704
745
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -1081,6 +1122,7 @@ function __c11(j: number): any {
|
|
|
1081
1122
|
return S.suspend(() =>
|
|
1082
1123
|
S.Struct({
|
|
1083
1124
|
accessControl: S.optional(__S(368, __c11, 16)),
|
|
1125
|
+
accessLogs: S.optional(S.Boolean),
|
|
1084
1126
|
ephemeralAddress: S.optional(S.Boolean),
|
|
1085
1127
|
observability: S.optional(__S(370, __c11, 18)),
|
|
1086
1128
|
privateNetworkOnly: S.optional(S.Boolean),
|