@distilled.cloud/stackit 0.0.0-placeholder → 1.0.0-rc.13
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/LICENSE +201 -0
- package/README.md +34 -0
- package/lib/credentials.d.ts +29 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +49 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +26 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +30 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +30 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +9 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +48 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +32 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +148 -0
- package/lib/protocol.js.map +1 -0
- package/lib/response-validation.test.d.ts +4 -0
- package/lib/response-validation.test.d.ts.map +1 -0
- package/lib/response-validation.test.js +31 -0
- package/lib/response-validation.test.js.map +1 -0
- package/lib/retry.d.ts +31 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +31 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/alb.d.ts +603 -0
- package/lib/services/alb.d.ts.map +1 -0
- package/lib/services/alb.js +562 -0
- package/lib/services/alb.js.map +1 -0
- package/lib/services/alb_waf.d.ts +526 -0
- package/lib/services/alb_waf.d.ts.map +1 -0
- package/lib/services/alb_waf.js +545 -0
- package/lib/services/alb_waf.js.map +1 -0
- package/lib/services/authorization.d.ts +251 -0
- package/lib/services/authorization.d.ts.map +1 -0
- package/lib/services/authorization.js +353 -0
- package/lib/services/authorization.js.map +1 -0
- package/lib/services/automation.d.ts +358 -0
- package/lib/services/automation.d.ts.map +1 -0
- package/lib/services/automation.js +426 -0
- package/lib/services/automation.js.map +1 -0
- package/lib/services/cdn.d.ts +1239 -0
- package/lib/services/cdn.d.ts.map +1 -0
- package/lib/services/cdn.js +992 -0
- package/lib/services/cdn.js.map +1 -0
- package/lib/services/certificates.d.ts +201 -0
- package/lib/services/certificates.d.ts.map +1 -0
- package/lib/services/certificates.js +197 -0
- package/lib/services/certificates.js.map +1 -0
- package/lib/services/cost.d.ts +222 -0
- package/lib/services/cost.d.ts.map +1 -0
- package/lib/services/cost.js +188 -0
- package/lib/services/cost.js.map +1 -0
- package/lib/services/dns.d.ts +875 -0
- package/lib/services/dns.d.ts.map +1 -0
- package/lib/services/dns.js +854 -0
- package/lib/services/dns.js.map +1 -0
- package/lib/services/dremio.d.ts +358 -0
- package/lib/services/dremio.d.ts.map +1 -0
- package/lib/services/dremio.js +339 -0
- package/lib/services/dremio.js.map +1 -0
- package/lib/services/edge.d.ts +312 -0
- package/lib/services/edge.d.ts.map +1 -0
- package/lib/services/edge.js +375 -0
- package/lib/services/edge.js.map +1 -0
- package/lib/services/functions.d.ts +409 -0
- package/lib/services/functions.d.ts.map +1 -0
- package/lib/services/functions.js +423 -0
- package/lib/services/functions.js.map +1 -0
- package/lib/services/git.d.ts +497 -0
- package/lib/services/git.d.ts.map +1 -0
- package/lib/services/git.js +552 -0
- package/lib/services/git.js.map +1 -0
- package/lib/services/iaas.d.ts +2965 -0
- package/lib/services/iaas.d.ts.map +1 -0
- package/lib/services/iaas.js +3768 -0
- package/lib/services/iaas.js.map +1 -0
- package/lib/services/index.d.ts +51 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +52 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/intake.d.ts +555 -0
- package/lib/services/intake.d.ts.map +1 -0
- package/lib/services/intake.js +513 -0
- package/lib/services/intake.js.map +1 -0
- package/lib/services/kms.d.ts +654 -0
- package/lib/services/kms.d.ts.map +1 -0
- package/lib/services/kms.js +703 -0
- package/lib/services/kms.js.map +1 -0
- package/lib/services/lb_ip_lists.d.ts +162 -0
- package/lib/services/lb_ip_lists.d.ts.map +1 -0
- package/lib/services/lb_ip_lists.js +173 -0
- package/lib/services/lb_ip_lists.js.map +1 -0
- package/lib/services/load_balancer.d.ts +563 -0
- package/lib/services/load_balancer.d.ts.map +1 -0
- package/lib/services/load_balancer.js +542 -0
- package/lib/services/load_balancer.js.map +1 -0
- package/lib/services/logme.d.ts +516 -0
- package/lib/services/logme.d.ts.map +1 -0
- package/lib/services/logme.js +636 -0
- package/lib/services/logme.js.map +1 -0
- package/lib/services/logs.d.ts +436 -0
- package/lib/services/logs.d.ts.map +1 -0
- package/lib/services/logs.js +498 -0
- package/lib/services/logs.js.map +1 -0
- package/lib/services/mariadb.d.ts +479 -0
- package/lib/services/mariadb.d.ts.map +1 -0
- package/lib/services/mariadb.js +611 -0
- package/lib/services/mariadb.js.map +1 -0
- package/lib/services/model_experiments.d.ts +306 -0
- package/lib/services/model_experiments.d.ts.map +1 -0
- package/lib/services/model_experiments.js +356 -0
- package/lib/services/model_experiments.js.map +1 -0
- package/lib/services/model_serving.d.ts +289 -0
- package/lib/services/model_serving.d.ts.map +1 -0
- package/lib/services/model_serving.js +319 -0
- package/lib/services/model_serving.js.map +1 -0
- package/lib/services/mongodb_flex.d.ts +826 -0
- package/lib/services/mongodb_flex.d.ts.map +1 -0
- package/lib/services/mongodb_flex.js +889 -0
- package/lib/services/mongodb_flex.js.map +1 -0
- package/lib/services/object_storage.d.ts +446 -0
- package/lib/services/object_storage.d.ts.map +1 -0
- package/lib/services/object_storage.js +577 -0
- package/lib/services/object_storage.js.map +1 -0
- package/lib/services/observability.d.ts +2750 -0
- package/lib/services/observability.d.ts.map +1 -0
- package/lib/services/observability.js +3407 -0
- package/lib/services/observability.js.map +1 -0
- package/lib/services/opensearch.d.ts +505 -0
- package/lib/services/opensearch.d.ts.map +1 -0
- package/lib/services/opensearch.js +623 -0
- package/lib/services/opensearch.js.map +1 -0
- package/lib/services/pim.d.ts +997 -0
- package/lib/services/pim.d.ts.map +1 -0
- package/lib/services/pim.js +789 -0
- package/lib/services/pim.js.map +1 -0
- package/lib/services/postgres_flex.d.ts +854 -0
- package/lib/services/postgres_flex.d.ts.map +1 -0
- package/lib/services/postgres_flex.js +1018 -0
- package/lib/services/postgres_flex.js.map +1 -0
- package/lib/services/pubsub.d.ts +489 -0
- package/lib/services/pubsub.d.ts.map +1 -0
- package/lib/services/pubsub.js +614 -0
- package/lib/services/pubsub.js.map +1 -0
- package/lib/services/rabbitmq.d.ts +523 -0
- package/lib/services/rabbitmq.d.ts.map +1 -0
- package/lib/services/rabbitmq.js +636 -0
- package/lib/services/rabbitmq.js.map +1 -0
- package/lib/services/registry.d.ts +212 -0
- package/lib/services/registry.d.ts.map +1 -0
- package/lib/services/registry.js +221 -0
- package/lib/services/registry.js.map +1 -0
- package/lib/services/resource_manager.d.ts +458 -0
- package/lib/services/resource_manager.d.ts.map +1 -0
- package/lib/services/resource_manager.js +503 -0
- package/lib/services/resource_manager.js.map +1 -0
- package/lib/services/run_command.d.ts +175 -0
- package/lib/services/run_command.d.ts.map +1 -0
- package/lib/services/run_command.js +203 -0
- package/lib/services/run_command.js.map +1 -0
- package/lib/services/sca.d.ts +541 -0
- package/lib/services/sca.d.ts.map +1 -0
- package/lib/services/sca.js +478 -0
- package/lib/services/sca.js.map +1 -0
- package/lib/services/scf.d.ts +498 -0
- package/lib/services/scf.d.ts.map +1 -0
- package/lib/services/scf.js +718 -0
- package/lib/services/scf.js.map +1 -0
- package/lib/services/secrets_manager.d.ts +505 -0
- package/lib/services/secrets_manager.d.ts.map +1 -0
- package/lib/services/secrets_manager.js +659 -0
- package/lib/services/secrets_manager.js.map +1 -0
- package/lib/services/server_backup.d.ts +380 -0
- package/lib/services/server_backup.d.ts.map +1 -0
- package/lib/services/server_backup.js +474 -0
- package/lib/services/server_backup.js.map +1 -0
- package/lib/services/server_update.d.ts +292 -0
- package/lib/services/server_update.d.ts.map +1 -0
- package/lib/services/server_update.js +364 -0
- package/lib/services/server_update.js.map +1 -0
- package/lib/services/service_account.d.ts +465 -0
- package/lib/services/service_account.d.ts.map +1 -0
- package/lib/services/service_account.js +523 -0
- package/lib/services/service_account.js.map +1 -0
- package/lib/services/service_enablement.d.ts +149 -0
- package/lib/services/service_enablement.d.ts.map +1 -0
- package/lib/services/service_enablement.js +159 -0
- package/lib/services/service_enablement.js.map +1 -0
- package/lib/services/sfs.d.ts +721 -0
- package/lib/services/sfs.d.ts.map +1 -0
- package/lib/services/sfs.js +845 -0
- package/lib/services/sfs.js.map +1 -0
- package/lib/services/ske.d.ts +536 -0
- package/lib/services/ske.d.ts.map +1 -0
- package/lib/services/ske.js +598 -0
- package/lib/services/ske.js.map +1 -0
- package/lib/services/sqlserverflex.d.ts +956 -0
- package/lib/services/sqlserverflex.d.ts.map +1 -0
- package/lib/services/sqlserverflex.js +1087 -0
- package/lib/services/sqlserverflex.js.map +1 -0
- package/lib/services/stackit_marketplace.d.ts +288 -0
- package/lib/services/stackit_marketplace.d.ts.map +1 -0
- package/lib/services/stackit_marketplace.js +393 -0
- package/lib/services/stackit_marketplace.js.map +1 -0
- package/lib/services/telemetry_link.d.ts +443 -0
- package/lib/services/telemetry_link.d.ts.map +1 -0
- package/lib/services/telemetry_link.js +550 -0
- package/lib/services/telemetry_link.js.map +1 -0
- package/lib/services/telemetry_router.d.ts +493 -0
- package/lib/services/telemetry_router.d.ts.map +1 -0
- package/lib/services/telemetry_router.js +523 -0
- package/lib/services/telemetry_router.js.map +1 -0
- package/lib/services/ufw.d.ts +295 -0
- package/lib/services/ufw.d.ts.map +1 -0
- package/lib/services/ufw.js +301 -0
- package/lib/services/ufw.js.map +1 -0
- package/lib/services/valkey.d.ts +505 -0
- package/lib/services/valkey.d.ts.map +1 -0
- package/lib/services/valkey.js +627 -0
- package/lib/services/valkey.js.map +1 -0
- package/lib/services/vpn.d.ts +1024 -0
- package/lib/services/vpn.d.ts.map +1 -0
- package/lib/services/vpn.js +1013 -0
- package/lib/services/vpn.js.map +1 -0
- package/lib/services/workflows.d.ts +600 -0
- package/lib/services/workflows.d.ts.map +1 -0
- package/lib/services/workflows.js +556 -0
- package/lib/services/workflows.js.map +1 -0
- package/lib/traits.d.ts +24 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +15 -0
- package/lib/traits.js.map +1 -0
- package/package.json +78 -7
- package/src/credentials.ts +90 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +34 -0
- package/src/pagination.ts +73 -0
- package/src/protocol.ts +243 -0
- package/src/response-validation.test.ts +45 -0
- package/src/retry.ts +53 -0
- package/src/services/alb.ts +1409 -0
- package/src/services/alb_waf.ts +1347 -0
- package/src/services/authorization.ts +740 -0
- package/src/services/automation.ts +966 -0
- package/src/services/cdn.ts +2736 -0
- package/src/services/certificates.ts +450 -0
- package/src/services/cost.ts +484 -0
- package/src/services/dns.ts +2271 -0
- package/src/services/dremio.ts +803 -0
- package/src/services/edge.ts +839 -0
- package/src/services/functions.ts +1010 -0
- package/src/services/git.ts +1275 -0
- package/src/services/iaas.ts +8670 -0
- package/src/services/index.ts +51 -0
- package/src/services/intake.ts +1233 -0
- package/src/services/kms.ts +1638 -0
- package/src/services/lb_ip_lists.ts +377 -0
- package/src/services/load_balancer.ts +1342 -0
- package/src/services/logme.ts +1379 -0
- package/src/services/logs.ts +1150 -0
- package/src/services/mariadb.ts +1293 -0
- package/src/services/model_experiments.ts +797 -0
- package/src/services/model_serving.ts +697 -0
- package/src/services/mongodb_flex.ts +2078 -0
- package/src/services/object_storage.ts +1248 -0
- package/src/services/observability.ts +7856 -0
- package/src/services/opensearch.ts +1354 -0
- package/src/services/pim.ts +2090 -0
- package/src/services/postgres_flex.ts +2326 -0
- package/src/services/pubsub.ts +1336 -0
- package/src/services/rabbitmq.ts +1402 -0
- package/src/services/registry.ts +494 -0
- package/src/services/resource_manager.ts +1155 -0
- package/src/services/run_command.ts +441 -0
- package/src/services/sca.ts +1222 -0
- package/src/services/scf.ts +1537 -0
- package/src/services/secrets_manager.ts +1399 -0
- package/src/services/server_backup.ts +1032 -0
- package/src/services/server_update.ts +767 -0
- package/src/services/service_account.ts +1208 -0
- package/src/services/service_enablement.ts +359 -0
- package/src/services/sfs.ts +1913 -0
- package/src/services/ske.ts +1408 -0
- package/src/services/sqlserverflex.ts +2543 -0
- package/src/services/stackit_marketplace.ts +853 -0
- package/src/services/telemetry_link.ts +1245 -0
- package/src/services/telemetry_router.ts +1205 -0
- package/src/services/ufw.ts +704 -0
- package/src/services/valkey.ts +1357 -0
- package/src/services/vpn.ts +2554 -0
- package/src/services/workflows.ts +1361 -0
- package/src/traits.ts +65 -0
|
@@ -0,0 +1,603 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as Redacted from "effect/Redacted";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import { type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
5
|
+
export type { StackitOpError, StackitOpContext };
|
|
6
|
+
declare const BadRequest_base: S.Class<BadRequest, S.TaggedStruct<"BadRequest", {
|
|
7
|
+
readonly code: any;
|
|
8
|
+
readonly message: any;
|
|
9
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
10
|
+
"@distilled.cloud/error/categories": {
|
|
11
|
+
BadRequestError: true;
|
|
12
|
+
};
|
|
13
|
+
});
|
|
14
|
+
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
15
|
+
}
|
|
16
|
+
declare const Conflict_base: S.Class<Conflict, S.TaggedStruct<"Conflict", {
|
|
17
|
+
readonly code: any;
|
|
18
|
+
readonly message: any;
|
|
19
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
20
|
+
"@distilled.cloud/error/categories": {
|
|
21
|
+
ConflictError: true;
|
|
22
|
+
};
|
|
23
|
+
});
|
|
24
|
+
export declare class Conflict extends /*@__PURE__*/ Conflict_base {
|
|
25
|
+
}
|
|
26
|
+
declare const Forbidden_base: S.Class<Forbidden, S.TaggedStruct<"Forbidden", {
|
|
27
|
+
readonly code: any;
|
|
28
|
+
readonly message: any;
|
|
29
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
30
|
+
"@distilled.cloud/error/categories": {
|
|
31
|
+
AuthError: true;
|
|
32
|
+
};
|
|
33
|
+
});
|
|
34
|
+
export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
|
|
35
|
+
}
|
|
36
|
+
declare const NotFound_base: S.Class<NotFound, S.TaggedStruct<"NotFound", {
|
|
37
|
+
readonly code: any;
|
|
38
|
+
readonly message: any;
|
|
39
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
40
|
+
"@distilled.cloud/error/categories": {
|
|
41
|
+
BadRequestError: true;
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
45
|
+
}
|
|
46
|
+
export interface CreateCredentialsRequest {
|
|
47
|
+
projectId: string;
|
|
48
|
+
region: string;
|
|
49
|
+
/** Credential name */
|
|
50
|
+
displayName?: string;
|
|
51
|
+
/** A valid password used for an existing STACKIT Observability instance, which is used during basic auth. */
|
|
52
|
+
password?: string | Redacted.Redacted<string>;
|
|
53
|
+
/** A valid username used for an existing STACKIT Observability instance, which is used during basic auth. */
|
|
54
|
+
username?: string;
|
|
55
|
+
}
|
|
56
|
+
export declare const CreateCredentialsRequest: S.Schema<CreateCredentialsRequest>;
|
|
57
|
+
export interface CredentialsResponse {
|
|
58
|
+
/** The credentials reference can be used for observability of the Application Load Balancer. */
|
|
59
|
+
credentialsRef?: string;
|
|
60
|
+
/** Credential name */
|
|
61
|
+
displayName?: string;
|
|
62
|
+
/** Region of the Credential */
|
|
63
|
+
region?: string;
|
|
64
|
+
/** The username used for the STACKIT Observability instance */
|
|
65
|
+
username?: string;
|
|
66
|
+
}
|
|
67
|
+
export declare const CredentialsResponse: S.Schema<CredentialsResponse>;
|
|
68
|
+
export interface CreateCredentialsResponse {
|
|
69
|
+
credential?: CredentialsResponse;
|
|
70
|
+
}
|
|
71
|
+
export declare const CreateCredentialsResponse: S.Schema<CreateCredentialsResponse>;
|
|
72
|
+
/** 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. */
|
|
73
|
+
export type CreateLoadBalancerRequestLabelsMap = {
|
|
74
|
+
[key: string]: string | undefined;
|
|
75
|
+
};
|
|
76
|
+
export declare const CreateLoadBalancerRequestLabelsMap: S.Schema<CreateLoadBalancerRequestLabelsMap>;
|
|
77
|
+
/** CookiePersistence contains the cookie-based session persistence configuration. */
|
|
78
|
+
export interface CookiePersistence {
|
|
79
|
+
/** Cookie is the name of the cookie to use. */
|
|
80
|
+
name?: string;
|
|
81
|
+
/** 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;
|
|
83
|
+
}
|
|
84
|
+
export declare const CookiePersistence: S.Schema<CookiePersistence>;
|
|
85
|
+
export interface HttpHeader {
|
|
86
|
+
/** Exact match for the header value. */
|
|
87
|
+
exactMatch?: string;
|
|
88
|
+
/** Header name. */
|
|
89
|
+
name?: string;
|
|
90
|
+
}
|
|
91
|
+
export declare const HttpHeader: S.Schema<HttpHeader>;
|
|
92
|
+
/** Headers for the rule. */
|
|
93
|
+
export type RuleHeadersList = Array<HttpHeader>;
|
|
94
|
+
export declare const RuleHeadersList: S.Schema<RuleHeadersList>;
|
|
95
|
+
/** 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'. */
|
|
96
|
+
export interface Path {
|
|
97
|
+
/** 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'. */
|
|
98
|
+
exactMatch?: string;
|
|
99
|
+
/** Prefix path match. Only matches on full segment boundaries, e.g. '/foo' matches '/foo' and '/foo/bar' but NOT '/foobar'. */
|
|
100
|
+
prefix?: string;
|
|
101
|
+
}
|
|
102
|
+
export declare const Path: S.Schema<Path>;
|
|
103
|
+
export interface QueryParameter {
|
|
104
|
+
/** Exact match for the parameter value. */
|
|
105
|
+
exactMatch?: string;
|
|
106
|
+
/** Parameter name. */
|
|
107
|
+
name?: string;
|
|
108
|
+
}
|
|
109
|
+
export declare const QueryParameter: S.Schema<QueryParameter>;
|
|
110
|
+
/** Query parameters for the rule. */
|
|
111
|
+
export type RuleQueryParametersList = Array<QueryParameter>;
|
|
112
|
+
export declare const RuleQueryParametersList: S.Schema<RuleQueryParametersList>;
|
|
113
|
+
export interface Rule {
|
|
114
|
+
cookiePersistence?: CookiePersistence;
|
|
115
|
+
/** Headers for the rule. */
|
|
116
|
+
headers?: RuleHeadersList;
|
|
117
|
+
path?: Path;
|
|
118
|
+
/** Query parameters for the rule. */
|
|
119
|
+
queryParameters?: RuleQueryParametersList;
|
|
120
|
+
/** Reference target pool by target pool name. */
|
|
121
|
+
targetPool?: string;
|
|
122
|
+
/** 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. */
|
|
123
|
+
webSocket?: boolean;
|
|
124
|
+
}
|
|
125
|
+
export declare const Rule: S.Schema<Rule>;
|
|
126
|
+
/** Routing rules under the specified host, matched by path prefix. */
|
|
127
|
+
export type HostConfigRulesList = Array<Rule>;
|
|
128
|
+
export declare const HostConfigRulesList: S.Schema<HostConfigRulesList>;
|
|
129
|
+
export interface HostConfig {
|
|
130
|
+
/** Hostname to match. Supports wildcards (e.g. *.example.com). */
|
|
131
|
+
host?: string;
|
|
132
|
+
/** Routing rules under the specified host, matched by path prefix. */
|
|
133
|
+
rules?: HostConfigRulesList;
|
|
134
|
+
}
|
|
135
|
+
export declare const HostConfig: S.Schema<HostConfig>;
|
|
136
|
+
/** Defines routing rules grouped by hostname. */
|
|
137
|
+
export type ProtocolOptionsHTTPHostsList = Array<HostConfig>;
|
|
138
|
+
export declare const ProtocolOptionsHTTPHostsList: S.Schema<ProtocolOptionsHTTPHostsList>;
|
|
139
|
+
/** Configuration for handling HTTP traffic on this listener. */
|
|
140
|
+
export interface ProtocolOptionsHTTP {
|
|
141
|
+
/** Defines routing rules grouped by hostname. */
|
|
142
|
+
hosts?: ProtocolOptionsHTTPHostsList;
|
|
143
|
+
}
|
|
144
|
+
export declare const ProtocolOptionsHTTP: S.Schema<ProtocolOptionsHTTP>;
|
|
145
|
+
/** Certificate IDs for TLS termination. */
|
|
146
|
+
export type CertificateConfigCertificateIdsList = Array<string>;
|
|
147
|
+
export declare const CertificateConfigCertificateIdsList: S.Schema<CertificateConfigCertificateIdsList>;
|
|
148
|
+
/** TLS termination certificate configuration. */
|
|
149
|
+
export interface CertificateConfig {
|
|
150
|
+
/** Certificate IDs for TLS termination. */
|
|
151
|
+
certificateIds?: CertificateConfigCertificateIdsList;
|
|
152
|
+
}
|
|
153
|
+
export declare const CertificateConfig: S.Schema<CertificateConfig>;
|
|
154
|
+
/** Configuration for handling HTTPS traffic on this listener. */
|
|
155
|
+
export interface ProtocolOptionsHTTPS {
|
|
156
|
+
certificateConfig?: CertificateConfig;
|
|
157
|
+
}
|
|
158
|
+
export declare const ProtocolOptionsHTTPS: S.Schema<ProtocolOptionsHTTPS>;
|
|
159
|
+
/** Protocol is the highest network protocol we understand to load balance. Currently PROTOCOL_HTTP and PROTOCOL_HTTPS are supported. */
|
|
160
|
+
export type ListenerProtocol = "PROTOCOL_UNSPECIFIED" | "PROTOCOL_HTTP" | "PROTOCOL_HTTPS";
|
|
161
|
+
export declare const ListenerProtocol: any;
|
|
162
|
+
export interface Listener {
|
|
163
|
+
http?: ProtocolOptionsHTTP;
|
|
164
|
+
https?: ProtocolOptionsHTTPS;
|
|
165
|
+
/** A unique listener name. */
|
|
166
|
+
name?: string;
|
|
167
|
+
/** Port number on which the listener receives incoming traffic. */
|
|
168
|
+
port?: number;
|
|
169
|
+
/** Protocol is the highest network protocol we understand to load balance. Currently PROTOCOL_HTTP and PROTOCOL_HTTPS are supported. */
|
|
170
|
+
protocol?: ListenerProtocol | (string & {});
|
|
171
|
+
/** Enable Web Application Firewall (WAF), referenced by name. See "Application Load Balancer - Web Application Firewall API" for more information. */
|
|
172
|
+
wafConfigName?: string;
|
|
173
|
+
}
|
|
174
|
+
export declare const Listener: S.Schema<Listener>;
|
|
175
|
+
/** There is a maximum listener count of 20. */
|
|
176
|
+
export type CreateLoadBalancerRequestListenersList = Array<Listener>;
|
|
177
|
+
export declare const CreateLoadBalancerRequestListenersList: S.Schema<CreateLoadBalancerRequestListenersList>;
|
|
178
|
+
/** The role defines how the Application Load Balancer is using the network. Currently only ROLE_LISTENERS_AND_TARGETS is supported. */
|
|
179
|
+
export type NetworkRole = "ROLE_UNSPECIFIED" | "ROLE_LISTENERS_AND_TARGETS" | "ROLE_LISTENERS" | "ROLE_TARGETS";
|
|
180
|
+
export declare const NetworkRole: any;
|
|
181
|
+
export interface Network {
|
|
182
|
+
/** STACKIT network ID the Application Load Balancer and/or targets are in. */
|
|
183
|
+
networkId?: string;
|
|
184
|
+
/** The role defines how the Application Load Balancer is using the network. Currently only ROLE_LISTENERS_AND_TARGETS is supported. */
|
|
185
|
+
role?: NetworkRole | (string & {});
|
|
186
|
+
}
|
|
187
|
+
export declare const Network: S.Schema<Network>;
|
|
188
|
+
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
189
|
+
export type CreateLoadBalancerRequestNetworksList = Array<Network>;
|
|
190
|
+
export declare const CreateLoadBalancerRequestNetworksList: S.Schema<CreateLoadBalancerRequestNetworksList>;
|
|
191
|
+
/** Application Load Balancer is accessible only from an IP address in this range. May be combined with `ipBlockListName`; `allowedSourceRanges` is evaluated first, then `ipBlockListName`. */
|
|
192
|
+
export type LoadbalancerOptionAccessControlAllowedSourceRangesList = Array<string>;
|
|
193
|
+
export declare const LoadbalancerOptionAccessControlAllowedSourceRangesList: S.Schema<LoadbalancerOptionAccessControlAllowedSourceRangesList>;
|
|
194
|
+
/** 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. */
|
|
195
|
+
export interface LoadbalancerOptionAccessControl {
|
|
196
|
+
/** Application Load Balancer is accessible only from an IP address in this range. May be combined with `ipBlockListName`; `allowedSourceRanges` is evaluated first, then `ipBlockListName`. */
|
|
197
|
+
allowedSourceRanges?: LoadbalancerOptionAccessControlAllowedSourceRangesList;
|
|
198
|
+
/** 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`. */
|
|
199
|
+
ipBlockListName?: string;
|
|
200
|
+
}
|
|
201
|
+
export declare const LoadbalancerOptionAccessControl: S.Schema<LoadbalancerOptionAccessControl>;
|
|
202
|
+
/** Observability logs configuration. */
|
|
203
|
+
export interface LoadbalancerOptionLogs {
|
|
204
|
+
/** 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. */
|
|
205
|
+
credentialsRef?: string;
|
|
206
|
+
/** The Observability(Logs)/Loki remote write Push URL you want the logs to be shipped to. */
|
|
207
|
+
pushUrl?: string;
|
|
208
|
+
}
|
|
209
|
+
export declare const LoadbalancerOptionLogs: S.Schema<LoadbalancerOptionLogs>;
|
|
210
|
+
/** Observability metrics configuration. */
|
|
211
|
+
export interface LoadbalancerOptionMetrics {
|
|
212
|
+
/** 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. */
|
|
213
|
+
credentialsRef?: string;
|
|
214
|
+
/** The Observability(Metrics)/Prometheus remote write push URL you want the metrics to be shipped to. */
|
|
215
|
+
pushUrl?: string;
|
|
216
|
+
}
|
|
217
|
+
export declare const LoadbalancerOptionMetrics: S.Schema<LoadbalancerOptionMetrics>;
|
|
218
|
+
/** We offer Load Balancer observability via STACKIT Observability or external solutions. */
|
|
219
|
+
export interface LoadbalancerOptionObservability {
|
|
220
|
+
logs?: LoadbalancerOptionLogs;
|
|
221
|
+
metrics?: LoadbalancerOptionMetrics;
|
|
222
|
+
}
|
|
223
|
+
export declare const LoadbalancerOptionObservability: S.Schema<LoadbalancerOptionObservability>;
|
|
224
|
+
/** Defines any optional functionality you want to have enabled on your Application Load Balancer. */
|
|
225
|
+
export interface LoadBalancerOptions {
|
|
226
|
+
accessControl?: LoadbalancerOptionAccessControl;
|
|
227
|
+
/** 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. */
|
|
228
|
+
ephemeralAddress?: boolean;
|
|
229
|
+
observability?: LoadbalancerOptionObservability;
|
|
230
|
+
/** Application Load Balancer is accessible only via a private network ip address. Not changeable after creation. */
|
|
231
|
+
privateNetworkOnly?: boolean;
|
|
232
|
+
}
|
|
233
|
+
export declare const LoadBalancerOptions: S.Schema<LoadBalancerOptions>;
|
|
234
|
+
/** List of HTTP status codes that indicate a healthy response */
|
|
235
|
+
export type HttpHealthChecksOkStatusesList = Array<string>;
|
|
236
|
+
export declare const HttpHealthChecksOkStatusesList: S.Schema<HttpHealthChecksOkStatusesList>;
|
|
237
|
+
/** Set this to configure TLS settings. */
|
|
238
|
+
export interface TlsConfig {
|
|
239
|
+
/** 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. */
|
|
240
|
+
customCa?: string;
|
|
241
|
+
/** 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. */
|
|
242
|
+
enabled?: boolean;
|
|
243
|
+
/** 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! */
|
|
244
|
+
skipCertificateValidation?: boolean;
|
|
245
|
+
}
|
|
246
|
+
export declare const TlsConfig: S.Schema<TlsConfig>;
|
|
247
|
+
/** Options for the HTTP health checking. */
|
|
248
|
+
export interface HttpHealthChecks {
|
|
249
|
+
/** List of HTTP status codes that indicate a healthy response */
|
|
250
|
+
okStatuses?: HttpHealthChecksOkStatusesList;
|
|
251
|
+
/** Path to send the health check request to */
|
|
252
|
+
path?: string;
|
|
253
|
+
tls?: TlsConfig;
|
|
254
|
+
}
|
|
255
|
+
export declare const HttpHealthChecks: S.Schema<HttpHealthChecks>;
|
|
256
|
+
/** Set this to customize active health checks for targets in this pool. */
|
|
257
|
+
export interface ActiveHealthCheck {
|
|
258
|
+
/** Overrides the default port used for health check probes. */
|
|
259
|
+
altPort?: number;
|
|
260
|
+
/** Healthy threshold of the health checking */
|
|
261
|
+
healthyThreshold?: number;
|
|
262
|
+
httpHealthChecks?: HttpHealthChecks;
|
|
263
|
+
/** Interval duration of health checking in seconds */
|
|
264
|
+
interval?: string;
|
|
265
|
+
/** Interval duration threshold of the health checking in seconds */
|
|
266
|
+
intervalJitter?: string;
|
|
267
|
+
/** Active health checking timeout duration in seconds */
|
|
268
|
+
timeout?: string;
|
|
269
|
+
/** Unhealthy threshold of the health checking */
|
|
270
|
+
unhealthyThreshold?: number;
|
|
271
|
+
}
|
|
272
|
+
export declare const ActiveHealthCheck: S.Schema<ActiveHealthCheck>;
|
|
273
|
+
export interface Target {
|
|
274
|
+
/** Target display name. */
|
|
275
|
+
displayName?: string;
|
|
276
|
+
/** Private target IP, which must by unique within a target pool. */
|
|
277
|
+
ip?: string;
|
|
278
|
+
}
|
|
279
|
+
export declare const Target: S.Schema<Target>;
|
|
280
|
+
/** List of all targets which will be used in the pool. Limited to 250. */
|
|
281
|
+
export type TargetPoolTargetsList = Array<Target>;
|
|
282
|
+
export declare const TargetPoolTargetsList: S.Schema<TargetPoolTargetsList>;
|
|
283
|
+
export interface TargetPool {
|
|
284
|
+
activeHealthCheck?: ActiveHealthCheck;
|
|
285
|
+
/** Target pool name */
|
|
286
|
+
name?: string;
|
|
287
|
+
/** The number identifying the port where each target listens for traffic. */
|
|
288
|
+
targetPort?: number;
|
|
289
|
+
/** List of all targets which will be used in the pool. Limited to 250. */
|
|
290
|
+
targets?: TargetPoolTargetsList;
|
|
291
|
+
tlsConfig?: TlsConfig;
|
|
292
|
+
}
|
|
293
|
+
export declare const TargetPool: S.Schema<TargetPool>;
|
|
294
|
+
/** List of all target pools which will be used in the Application Load Balancer. Limited to 20. */
|
|
295
|
+
export type CreateLoadBalancerRequestTargetPoolsList = Array<TargetPool>;
|
|
296
|
+
export declare const CreateLoadBalancerRequestTargetPoolsList: S.Schema<CreateLoadBalancerRequestTargetPoolsList>;
|
|
297
|
+
export interface CreateLoadBalancerRequest {
|
|
298
|
+
projectId: string;
|
|
299
|
+
region: string;
|
|
300
|
+
/** 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. */
|
|
301
|
+
disableTargetSecurityGroupAssignment?: boolean;
|
|
302
|
+
/** The external IP address where this Application Load Balancer is exposed. Not changeable after creation. */
|
|
303
|
+
externalAddress?: string;
|
|
304
|
+
/** 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. */
|
|
305
|
+
labels?: CreateLoadBalancerRequestLabelsMap;
|
|
306
|
+
/** There is a maximum listener count of 20. */
|
|
307
|
+
listeners?: CreateLoadBalancerRequestListenersList;
|
|
308
|
+
/** Application Load Balancer name. Not changeable after creation. */
|
|
309
|
+
name?: string;
|
|
310
|
+
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
311
|
+
networks?: CreateLoadBalancerRequestNetworksList;
|
|
312
|
+
options?: LoadBalancerOptions;
|
|
313
|
+
/** 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. */
|
|
314
|
+
planId?: string;
|
|
315
|
+
/** List of all target pools which will be used in the Application Load Balancer. Limited to 20. */
|
|
316
|
+
targetPools?: CreateLoadBalancerRequestTargetPoolsList;
|
|
317
|
+
}
|
|
318
|
+
export declare const CreateLoadBalancerRequest: S.Schema<CreateLoadBalancerRequest>;
|
|
319
|
+
/** 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. */
|
|
320
|
+
export type LoadBalancerErrorType = "TYPE_UNSPECIFIED" | "TYPE_INTERNAL" | "TYPE_QUOTA_SECGROUP_EXCEEDED" | "TYPE_QUOTA_SECGROUPRULE_EXCEEDED" | "TYPE_PORT_NOT_CONFIGURED" | "TYPE_FIP_NOT_CONFIGURED" | "TYPE_TARGET_NOT_ACTIVE" | "TYPE_METRICS_MISCONFIGURED" | "TYPE_LOGS_MISCONFIGURED" | "TYPE_FIP_NOT_FOUND" | "TYPE_IP_EXHAUSTED" | "TYPE_DNS_NOT_CONFIGURED" | "TYPE_VM_PORT_NOT_CONFIGURED";
|
|
321
|
+
export declare const LoadBalancerErrorType: any;
|
|
322
|
+
export interface LoadBalancerError {
|
|
323
|
+
/** 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. */
|
|
324
|
+
description?: string;
|
|
325
|
+
/** 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. */
|
|
326
|
+
type?: LoadBalancerErrorType;
|
|
327
|
+
}
|
|
328
|
+
export declare const LoadBalancerError: S.Schema<LoadBalancerError>;
|
|
329
|
+
/** Reports all errors a Application Load Balancer has. */
|
|
330
|
+
export type LoadBalancerErrorsList = Array<LoadBalancerError>;
|
|
331
|
+
export declare const LoadBalancerErrorsList: S.Schema<LoadBalancerErrorsList>;
|
|
332
|
+
/** 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. */
|
|
333
|
+
export type LoadBalancerLabelsMap = {
|
|
334
|
+
[key: string]: string | undefined;
|
|
335
|
+
};
|
|
336
|
+
export declare const LoadBalancerLabelsMap: S.Schema<LoadBalancerLabelsMap>;
|
|
337
|
+
/** There is a maximum listener count of 20. */
|
|
338
|
+
export type LoadBalancerListenersList = Array<Listener>;
|
|
339
|
+
export declare const LoadBalancerListenersList: S.Schema<LoadBalancerListenersList>;
|
|
340
|
+
export interface SecurityGroup {
|
|
341
|
+
/** ID of the security Group */
|
|
342
|
+
id?: string;
|
|
343
|
+
/** Name of the security Group */
|
|
344
|
+
name?: string;
|
|
345
|
+
}
|
|
346
|
+
export declare const SecurityGroup: S.Schema<SecurityGroup>;
|
|
347
|
+
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
348
|
+
export type LoadBalancerNetworksList = Array<Network>;
|
|
349
|
+
export declare const LoadBalancerNetworksList: S.Schema<LoadBalancerNetworksList>;
|
|
350
|
+
export type LoadBalancerStatus = "STATUS_UNSPECIFIED" | "STATUS_PENDING" | "STATUS_READY" | "STATUS_ERROR" | "STATUS_TERMINATING";
|
|
351
|
+
export declare const LoadBalancerStatus: any;
|
|
352
|
+
/** List of all target pools which will be used in the Application Load Balancer. Limited to 20. */
|
|
353
|
+
export type LoadBalancerTargetPoolsList = Array<TargetPool>;
|
|
354
|
+
export declare const LoadBalancerTargetPoolsList: S.Schema<LoadBalancerTargetPoolsList>;
|
|
355
|
+
export interface LoadBalancer {
|
|
356
|
+
/** 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. */
|
|
357
|
+
disableTargetSecurityGroupAssignment?: boolean;
|
|
358
|
+
/** Reports all errors a Application Load Balancer has. */
|
|
359
|
+
errors?: LoadBalancerErrorsList;
|
|
360
|
+
/** The external IP address where this Application Load Balancer is exposed. Not changeable after creation. */
|
|
361
|
+
externalAddress?: string;
|
|
362
|
+
/** 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. */
|
|
363
|
+
labels?: LoadBalancerLabelsMap;
|
|
364
|
+
/** There is a maximum listener count of 20. */
|
|
365
|
+
listeners?: LoadBalancerListenersList;
|
|
366
|
+
/** Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets. */
|
|
367
|
+
loadBalancerSecurityGroup?: SecurityGroup;
|
|
368
|
+
/** Application Load Balancer name. Not changeable after creation. */
|
|
369
|
+
name?: string;
|
|
370
|
+
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
371
|
+
networks?: LoadBalancerNetworksList;
|
|
372
|
+
options?: LoadBalancerOptions;
|
|
373
|
+
/** 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. */
|
|
374
|
+
planId?: string;
|
|
375
|
+
/** Transient private Application Load Balancer IP address that can change any time. */
|
|
376
|
+
privateAddress?: string;
|
|
377
|
+
/** Region of the LoadBalancer. */
|
|
378
|
+
region?: string;
|
|
379
|
+
status?: LoadBalancerStatus;
|
|
380
|
+
/** List of all target pools which will be used in the Application Load Balancer. Limited to 20. */
|
|
381
|
+
targetPools?: LoadBalancerTargetPoolsList;
|
|
382
|
+
/** Security Group that allows the targets to receive traffic from the LoadBalancer. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets. */
|
|
383
|
+
targetSecurityGroup?: SecurityGroup;
|
|
384
|
+
/** 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. */
|
|
385
|
+
version?: string;
|
|
386
|
+
}
|
|
387
|
+
export declare const LoadBalancer: S.Schema<LoadBalancer>;
|
|
388
|
+
export interface DeleteCredentialsRequest {
|
|
389
|
+
projectId: string;
|
|
390
|
+
region: string;
|
|
391
|
+
credentialsRef: string;
|
|
392
|
+
}
|
|
393
|
+
export declare const DeleteCredentialsRequest: S.Schema<DeleteCredentialsRequest>;
|
|
394
|
+
export type DeleteCredentialsResponse2 = unknown;
|
|
395
|
+
export declare const DeleteCredentialsResponse2: S.Schema<DeleteCredentialsResponse2>;
|
|
396
|
+
export interface DeleteLoadBalancerRequest {
|
|
397
|
+
projectId: string;
|
|
398
|
+
region: string;
|
|
399
|
+
name: string;
|
|
400
|
+
}
|
|
401
|
+
export declare const DeleteLoadBalancerRequest: S.Schema<DeleteLoadBalancerRequest>;
|
|
402
|
+
export type DeleteLoadBalancerResponse2 = unknown;
|
|
403
|
+
export declare const DeleteLoadBalancerResponse2: S.Schema<DeleteLoadBalancerResponse2>;
|
|
404
|
+
export interface GetCredentialsRequest {
|
|
405
|
+
projectId: string;
|
|
406
|
+
region: string;
|
|
407
|
+
credentialsRef: string;
|
|
408
|
+
}
|
|
409
|
+
export declare const GetCredentialsRequest: S.Schema<GetCredentialsRequest>;
|
|
410
|
+
export interface GetCredentialsResponse {
|
|
411
|
+
credential?: CredentialsResponse;
|
|
412
|
+
}
|
|
413
|
+
export declare const GetCredentialsResponse: S.Schema<GetCredentialsResponse>;
|
|
414
|
+
export interface GetLoadBalancerRequest {
|
|
415
|
+
projectId: string;
|
|
416
|
+
region: string;
|
|
417
|
+
name: string;
|
|
418
|
+
}
|
|
419
|
+
export declare const GetLoadBalancerRequest: S.Schema<GetLoadBalancerRequest>;
|
|
420
|
+
export interface GetQuotaRequest {
|
|
421
|
+
projectId: string;
|
|
422
|
+
region: string;
|
|
423
|
+
}
|
|
424
|
+
export declare const GetQuotaRequest: S.Schema<GetQuotaRequest>;
|
|
425
|
+
export interface GetQuotaResponse {
|
|
426
|
+
/** The maximum number of observability credentials that can be stored in this project. */
|
|
427
|
+
maxCredentials?: number;
|
|
428
|
+
/** The maximum number of load balancing servers in this project. */
|
|
429
|
+
maxLoadBalancers?: number;
|
|
430
|
+
/** Project identifier */
|
|
431
|
+
projectId?: string;
|
|
432
|
+
/** Region */
|
|
433
|
+
region?: string;
|
|
434
|
+
/** The number of observability credentials that are currently existing in this project. */
|
|
435
|
+
usedCredentials?: number;
|
|
436
|
+
/** The number of load balancing servers that are currently existing in this project. */
|
|
437
|
+
usedLoadBalancers?: number;
|
|
438
|
+
}
|
|
439
|
+
export declare const GetQuotaResponse: S.Schema<GetQuotaResponse>;
|
|
440
|
+
export interface ListCredentialsRequest {
|
|
441
|
+
projectId: string;
|
|
442
|
+
region: string;
|
|
443
|
+
}
|
|
444
|
+
export declare const ListCredentialsRequest: S.Schema<ListCredentialsRequest>;
|
|
445
|
+
export type ListCredentialsResponseCredentialsList = Array<CredentialsResponse>;
|
|
446
|
+
export declare const ListCredentialsResponseCredentialsList: S.Schema<ListCredentialsResponseCredentialsList>;
|
|
447
|
+
export interface ListCredentialsResponse {
|
|
448
|
+
credentials?: ListCredentialsResponseCredentialsList;
|
|
449
|
+
}
|
|
450
|
+
export declare const ListCredentialsResponse: S.Schema<ListCredentialsResponse>;
|
|
451
|
+
export interface ListLoadBalancersRequest {
|
|
452
|
+
projectId: string;
|
|
453
|
+
region: string;
|
|
454
|
+
/** page_size specifies how many Application Load Balancers should be returned on this page. Must be a positive number <= 1000 */
|
|
455
|
+
pageSize?: string;
|
|
456
|
+
/** page_id is a page identifier returned by the previous response and is used to request the next page */
|
|
457
|
+
pageId?: string;
|
|
458
|
+
}
|
|
459
|
+
export declare const ListLoadBalancersRequest: S.Schema<ListLoadBalancersRequest>;
|
|
460
|
+
export type ListLoadBalancersResponseLoadBalancersList = Array<LoadBalancer>;
|
|
461
|
+
export declare const ListLoadBalancersResponseLoadBalancersList: S.Schema<ListLoadBalancersResponseLoadBalancersList>;
|
|
462
|
+
export interface ListLoadBalancersResponse {
|
|
463
|
+
loadBalancers?: ListLoadBalancersResponseLoadBalancersList;
|
|
464
|
+
/** Continue token from the ListLoadBalancerResponse with Limit option */
|
|
465
|
+
nextPageId?: string;
|
|
466
|
+
}
|
|
467
|
+
export declare const ListLoadBalancersResponse: S.Schema<ListLoadBalancersResponse>;
|
|
468
|
+
export interface ListPlansRequest {
|
|
469
|
+
region: string;
|
|
470
|
+
}
|
|
471
|
+
export declare const ListPlansRequest: S.Schema<ListPlansRequest>;
|
|
472
|
+
export interface PlanDetails {
|
|
473
|
+
/** Description */
|
|
474
|
+
description?: string;
|
|
475
|
+
/** Flavor Name */
|
|
476
|
+
flavorName?: string;
|
|
477
|
+
/** Maximum number of concurrent connections per Application Load Balancer VM instance. */
|
|
478
|
+
maxConnections?: number;
|
|
479
|
+
/** Service Plan Name */
|
|
480
|
+
name?: string;
|
|
481
|
+
/** Service Plan Identifier */
|
|
482
|
+
planId?: string;
|
|
483
|
+
/** Region this Plan is available in */
|
|
484
|
+
region?: string;
|
|
485
|
+
}
|
|
486
|
+
export declare const PlanDetails: S.Schema<PlanDetails>;
|
|
487
|
+
/** List of available service plans. */
|
|
488
|
+
export type ListPlansResponseValidPlansList = Array<PlanDetails>;
|
|
489
|
+
export declare const ListPlansResponseValidPlansList: S.Schema<ListPlansResponseValidPlansList>;
|
|
490
|
+
export interface ListPlansResponse {
|
|
491
|
+
/** List of available service plans. */
|
|
492
|
+
validPlans?: ListPlansResponseValidPlansList;
|
|
493
|
+
}
|
|
494
|
+
export declare const ListPlansResponse: S.Schema<ListPlansResponse>;
|
|
495
|
+
export interface UpdateCredentialsRequest {
|
|
496
|
+
projectId: string;
|
|
497
|
+
region: string;
|
|
498
|
+
credentialsRef: string;
|
|
499
|
+
/** Credential name */
|
|
500
|
+
displayName?: string;
|
|
501
|
+
/** A valid password used for an existing STACKIT Observability instance, which is used during basic auth. */
|
|
502
|
+
password?: string | Redacted.Redacted<string>;
|
|
503
|
+
/** A valid username used for an existing STACKIT Observability instance, which is used during basic auth. */
|
|
504
|
+
username?: string;
|
|
505
|
+
}
|
|
506
|
+
export declare const UpdateCredentialsRequest: S.Schema<UpdateCredentialsRequest>;
|
|
507
|
+
export interface UpdateCredentialsResponse {
|
|
508
|
+
credential?: CredentialsResponse;
|
|
509
|
+
}
|
|
510
|
+
export declare const UpdateCredentialsResponse: S.Schema<UpdateCredentialsResponse>;
|
|
511
|
+
/** 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. */
|
|
512
|
+
export type UpdateLoadBalancerRequestLabelsMap = {
|
|
513
|
+
[key: string]: string | undefined;
|
|
514
|
+
};
|
|
515
|
+
export declare const UpdateLoadBalancerRequestLabelsMap: S.Schema<UpdateLoadBalancerRequestLabelsMap>;
|
|
516
|
+
/** There is a maximum listener count of 20. */
|
|
517
|
+
export type UpdateLoadBalancerRequestListenersList = Array<Listener>;
|
|
518
|
+
export declare const UpdateLoadBalancerRequestListenersList: S.Schema<UpdateLoadBalancerRequestListenersList>;
|
|
519
|
+
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
520
|
+
export type UpdateLoadBalancerRequestNetworksList = Array<Network>;
|
|
521
|
+
export declare const UpdateLoadBalancerRequestNetworksList: S.Schema<UpdateLoadBalancerRequestNetworksList>;
|
|
522
|
+
/** List of all target pools which will be used in the Application Load Balancer. Limited to 20. */
|
|
523
|
+
export type UpdateLoadBalancerRequestTargetPoolsList = Array<TargetPool>;
|
|
524
|
+
export declare const UpdateLoadBalancerRequestTargetPoolsList: S.Schema<UpdateLoadBalancerRequestTargetPoolsList>;
|
|
525
|
+
export interface UpdateLoadBalancerRequest {
|
|
526
|
+
projectId: string;
|
|
527
|
+
region: string;
|
|
528
|
+
name: string;
|
|
529
|
+
/** 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. */
|
|
530
|
+
disableTargetSecurityGroupAssignment?: boolean;
|
|
531
|
+
/** The external IP address where this Application Load Balancer is exposed. Not changeable after creation. */
|
|
532
|
+
externalAddress?: string;
|
|
533
|
+
/** 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. */
|
|
534
|
+
labels?: UpdateLoadBalancerRequestLabelsMap;
|
|
535
|
+
/** There is a maximum listener count of 20. */
|
|
536
|
+
listeners?: UpdateLoadBalancerRequestListenersList;
|
|
537
|
+
/** List of networks that listeners and targets reside in. Currently limited to one. Not changeable after creation. */
|
|
538
|
+
networks?: UpdateLoadBalancerRequestNetworksList;
|
|
539
|
+
options?: LoadBalancerOptions;
|
|
540
|
+
/** 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. */
|
|
541
|
+
planId?: string;
|
|
542
|
+
/** List of all target pools which will be used in the Application Load Balancer. Limited to 20. */
|
|
543
|
+
targetPools?: UpdateLoadBalancerRequestTargetPoolsList;
|
|
544
|
+
/** 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. */
|
|
545
|
+
version?: string;
|
|
546
|
+
}
|
|
547
|
+
export declare const UpdateLoadBalancerRequest: S.Schema<UpdateLoadBalancerRequest>;
|
|
548
|
+
/** List of all targets which will be used in the pool. Limited to 250. */
|
|
549
|
+
export type UpdateTargetPoolRequestTargetsList = Array<Target>;
|
|
550
|
+
export declare const UpdateTargetPoolRequestTargetsList: S.Schema<UpdateTargetPoolRequestTargetsList>;
|
|
551
|
+
export interface UpdateTargetPoolRequest {
|
|
552
|
+
projectId: string;
|
|
553
|
+
region: string;
|
|
554
|
+
name: string;
|
|
555
|
+
targetPoolName: string;
|
|
556
|
+
activeHealthCheck?: ActiveHealthCheck;
|
|
557
|
+
/** The number identifying the port where each target listens for traffic. */
|
|
558
|
+
targetPort?: number;
|
|
559
|
+
/** List of all targets which will be used in the pool. Limited to 250. */
|
|
560
|
+
targets?: UpdateTargetPoolRequestTargetsList;
|
|
561
|
+
tlsConfig?: TlsConfig;
|
|
562
|
+
}
|
|
563
|
+
export declare const UpdateTargetPoolRequest: S.Schema<UpdateTargetPoolRequest>;
|
|
564
|
+
export type CreateCredentialsError = BadRequest | Forbidden | StackitOpError;
|
|
565
|
+
/** 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. */
|
|
566
|
+
export declare const createCredentials: API.OperationMethod<CreateCredentialsRequest, CreateCredentialsResponse, CreateCredentialsError, StackitOpContext>;
|
|
567
|
+
export type CreateLoadBalancerError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
568
|
+
/** Create an Application Load Balancer in a project Creates an Application Load Balancer. The default load balancing algorithm is Maglev, and selecting a different algorithm is currently not supported. */
|
|
569
|
+
export declare const createLoadBalancer: API.OperationMethod<CreateLoadBalancerRequest, LoadBalancer, CreateLoadBalancerError, StackitOpContext>;
|
|
570
|
+
export type DeleteCredentialsError = BadRequest | Forbidden | StackitOpError;
|
|
571
|
+
/** Delete a single credential in a project. Deletes the stored Observability credentials. */
|
|
572
|
+
export declare const deleteCredentials: API.OperationMethod<DeleteCredentialsRequest, DeleteCredentialsResponse2, DeleteCredentialsError, StackitOpContext>;
|
|
573
|
+
export type DeleteLoadBalancerError = BadRequest | Forbidden | StackitOpError;
|
|
574
|
+
/** Delete a given load balancer in a project. Deletes the specified Application Load Balancer. */
|
|
575
|
+
export declare const deleteLoadBalancer: API.OperationMethod<DeleteLoadBalancerRequest, DeleteLoadBalancerResponse2, DeleteLoadBalancerError, StackitOpContext>;
|
|
576
|
+
export type GetCredentialsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
577
|
+
/** Get a single credential reference in a project. Gets the stored Observability credentials. */
|
|
578
|
+
export declare const getCredentials: API.OperationMethod<GetCredentialsRequest, GetCredentialsResponse, GetCredentialsError, StackitOpContext>;
|
|
579
|
+
export type GetLoadBalancerError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
580
|
+
/** Get a single Application Load Balancer in a project. Retrieves details of a specific Application Load Balancer in a project. Includes creation and update information, current status, and any error descriptions. */
|
|
581
|
+
export declare const getLoadBalancer: API.OperationMethod<GetLoadBalancerRequest, LoadBalancer, GetLoadBalancerError, StackitOpContext>;
|
|
582
|
+
export type GetQuotaError = BadRequest | Forbidden | StackitOpError;
|
|
583
|
+
/** Get the quota of Application Load Balancers in a project. Retrieves the configured Application Load Balancer quota for the project. Limit can be changed via service request. */
|
|
584
|
+
export declare const getQuota: API.OperationMethod<GetQuotaRequest, GetQuotaResponse, GetQuotaError, StackitOpContext>;
|
|
585
|
+
export type ListCredentialsError = BadRequest | Forbidden | StackitOpError;
|
|
586
|
+
/** List all credentials in a project. Lists the stored Observability credentials. */
|
|
587
|
+
export declare const listCredentials: API.OperationMethod<ListCredentialsRequest, ListCredentialsResponse, ListCredentialsError, StackitOpContext>;
|
|
588
|
+
export type ListLoadBalancersError = BadRequest | Forbidden | StackitOpError;
|
|
589
|
+
/** List Application Load Balancers in a project. Lists all Application Load Balancers in a project. Includes details from creation or updates, along with their status and any error descriptions. */
|
|
590
|
+
export declare const listLoadBalancers: API.OperationMethod<ListLoadBalancersRequest, ListLoadBalancersResponse, ListLoadBalancersError, StackitOpContext>;
|
|
591
|
+
export type ListPlansError = BadRequest | Forbidden | StackitOpError;
|
|
592
|
+
/** List available service plans. Lists the configured service plans for a project. */
|
|
593
|
+
export declare const listPlans: API.OperationMethod<ListPlansRequest, ListPlansResponse, ListPlansError, StackitOpContext>;
|
|
594
|
+
export type UpdateCredentialsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
595
|
+
/** Update credentials for observability in a project. Updates the stored Observability credentials. */
|
|
596
|
+
export declare const updateCredentials: API.OperationMethod<UpdateCredentialsRequest, UpdateCredentialsResponse, UpdateCredentialsError, StackitOpContext>;
|
|
597
|
+
export type UpdateLoadBalancerError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
598
|
+
/** Update a load balancer in a project. Updates an existing Application Load Balancer by modifying its listeners and target pools. Ensure the resource version is current to maintain concurrency safety. The default load balancing algorithm is Maglev, and selecting a different algorithm is currently not supported. */
|
|
599
|
+
export declare const updateLoadBalancer: API.OperationMethod<UpdateLoadBalancerRequest, LoadBalancer, UpdateLoadBalancerError, StackitOpContext>;
|
|
600
|
+
export type UpdateTargetPoolError = BadRequest | Forbidden | StackitOpError;
|
|
601
|
+
/** Update a single target pool of a load balancer in a project. Replaces the content of a specific target pool in the Application Load Balancer (useful for adding or removing target servers). Only updates the specified target pool, leaving others unchanged. Cannot be used to create or rename target pools. */
|
|
602
|
+
export declare const updateTargetPool: API.OperationMethod<UpdateTargetPoolRequest, TargetPool, UpdateTargetPoolError, StackitOpContext>;
|
|
603
|
+
//# sourceMappingURL=alb.d.ts.map
|