@distilled.cloud/stackit 1.0.0-rc.15 → 1.0.0-rc.16
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/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +32 -28
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +13 -13
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +16 -16
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +22 -22
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.js +15 -15
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +31 -29
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +24 -23
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +10 -87
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +73 -502
- package/lib/services/alb_waf.d.ts +9 -82
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +84 -510
- package/lib/services/authorization.d.ts +5 -47
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +67 -314
- package/lib/services/automation.d.ts +7 -47
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +58 -353
- package/lib/services/cdn.d.ts +8 -220
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +81 -896
- package/lib/services/certificates.d.ts +8 -27
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +45 -171
- package/lib/services/cost.d.ts +10 -37
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +39 -169
- package/lib/services/dns.d.ts +9 -104
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +98 -714
- package/lib/services/dremio.d.ts +8 -50
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +56 -307
- package/lib/services/edge.d.ts +7 -40
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +66 -347
- package/lib/services/functions.d.ts +1 -48
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +64 -393
- package/lib/services/git.d.ts +8 -61
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +87 -510
- package/lib/services/iaas.d.ts +9 -337
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +409 -3532
- package/lib/services/intake.d.ts +8 -75
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +74 -465
- package/lib/services/kms.d.ts +9 -92
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +95 -650
- package/lib/services/lb_ip_lists.d.ts +9 -25
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +45 -146
- package/lib/services/load_balancer.d.ts +10 -81
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +76 -486
- package/lib/services/logme.d.ts +8 -69
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +82 -564
- package/lib/services/logs.d.ts +8 -64
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +84 -465
- package/lib/services/mariadb.d.ts +8 -65
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +84 -541
- package/lib/services/model_experiments.d.ts +9 -48
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +66 -325
- package/lib/services/model_serving.d.ts +7 -47
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +55 -277
- package/lib/services/mongodb_flex.d.ts +8 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +102 -793
- package/lib/services/object_storage.d.ts +12 -59
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +93 -528
- package/lib/services/observability.d.ts +8 -407
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +375 -3148
- package/lib/services/opensearch.d.ts +8 -71
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +85 -553
- package/lib/services/pim.d.ts +12 -108
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +81 -726
- package/lib/services/postgres_flex.d.ts +14 -136
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +114 -841
- package/lib/services/pubsub.d.ts +11 -73
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +92 -507
- package/lib/services/rabbitmq.d.ts +8 -76
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +88 -564
- package/lib/services/registry.d.ts +10 -28
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +49 -189
- package/lib/services/resource_manager.d.ts +9 -61
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +92 -462
- package/lib/services/run_command.d.ts +5 -28
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +38 -176
- package/lib/services/sca.d.ts +8 -79
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +63 -435
- package/lib/services/scf.d.ts +8 -64
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +99 -660
- package/lib/services/secrets_manager.d.ts +8 -61
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +99 -601
- package/lib/services/server_backup.d.ts +7 -50
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +70 -444
- package/lib/services/server_update.d.ts +7 -35
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +58 -342
- package/lib/services/service_account.d.ts +10 -68
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +75 -495
- package/lib/services/service_enablement.d.ts +7 -29
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +40 -147
- package/lib/services/sfs.d.ts +4 -96
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +117 -782
- package/lib/services/ske.d.ts +9 -108
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +67 -549
- package/lib/services/sqlserverflex.d.ts +11 -152
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +112 -925
- package/lib/services/stackit_marketplace.d.ts +9 -38
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +64 -369
- package/lib/services/telemetry_link.d.ts +8 -61
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +81 -522
- package/lib/services/telemetry_router.d.ts +8 -72
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +73 -474
- package/lib/services/ufw.d.ts +7 -42
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +55 -269
- package/lib/services/valkey.d.ts +8 -68
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +85 -557
- package/lib/services/vpn.d.ts +21 -186
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +105 -920
- package/lib/services/workflows.d.ts +15 -84
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +67 -497
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +10 -10
- package/package.json +13 -9
- package/src/credentials.ts +21 -18
- package/src/errors.ts +10 -14
- package/src/index.ts +2 -2
- package/src/pagination.ts +2 -2
- package/src/protocol.ts +12 -9
- package/src/retry.ts +6 -4
- package/src/services/alb.ts +599 -655
- package/src/services/alb_waf.ts +597 -637
- package/src/services/authorization.ts +400 -383
- package/src/services/automation.ts +422 -405
- package/src/services/cdn.ts +817 -1375
- package/src/services/certificates.ts +209 -190
- package/src/services/cost.ts +100 -207
- package/src/services/dns.ts +793 -833
- package/src/services/dremio.ts +356 -349
- package/src/services/edge.ts +406 -366
- package/src/services/functions.ts +465 -463
- package/src/services/git.ts +602 -547
- package/src/services/iaas.ts +3931 -3821
- package/src/services/intake.ts +521 -549
- package/src/services/kms.ts +715 -692
- package/src/services/lb_ip_lists.ts +173 -152
- package/src/services/load_balancer.ts +576 -619
- package/src/services/logme.ts +696 -641
- package/src/services/logs.ts +510 -493
- package/src/services/mariadb.ts +671 -604
- package/src/services/model_experiments.ts +343 -356
- package/src/services/model_serving.ts +337 -328
- package/src/services/mongodb_flex.ts +955 -1007
- package/src/services/object_storage.ts +614 -557
- package/src/services/observability.ts +3469 -3866
- package/src/services/opensearch.ts +679 -628
- package/src/services/pim.ts +672 -909
- package/src/services/postgres_flex.ts +966 -986
- package/src/services/pubsub.ts +524 -546
- package/src/services/rabbitmq.ts +693 -654
- package/src/services/registry.ts +227 -194
- package/src/services/resource_manager.ts +520 -517
- package/src/services/run_command.ts +219 -211
- package/src/services/sca.ts +543 -570
- package/src/services/scf.ts +790 -716
- package/src/services/secrets_manager.ts +707 -622
- package/src/services/server_backup.ts +490 -475
- package/src/services/server_update.ts +353 -356
- package/src/services/service_account.ts +515 -553
- package/src/services/service_enablement.ts +162 -166
- package/src/services/sfs.ts +879 -958
- package/src/services/ske.ts +694 -769
- package/src/services/sqlserverflex.ts +1042 -1117
- package/src/services/stackit_marketplace.ts +377 -372
- package/src/services/telemetry_link.ts +530 -531
- package/src/services/telemetry_router.ts +509 -534
- package/src/services/ufw.ts +305 -307
- package/src/services/valkey.ts +684 -629
- package/src/services/vpn.ts +935 -1195
- package/src/services/workflows.ts +426 -586
- package/src/traits.ts +1 -1
- package/lib/protocol.test.d.ts +0 -2
- package/lib/protocol.test.d.ts.map +0 -1
- package/lib/protocol.test.js +0 -181
- package/lib/protocol.test.js.map +0 -1
- package/lib/services/alb.js.map +0 -1
- package/lib/services/alb_waf.js.map +0 -1
- package/lib/services/authorization.js.map +0 -1
- package/lib/services/automation.js.map +0 -1
- package/lib/services/cdn.js.map +0 -1
- package/lib/services/certificates.js.map +0 -1
- package/lib/services/cost.js.map +0 -1
- package/lib/services/dns.js.map +0 -1
- package/lib/services/dremio.js.map +0 -1
- package/lib/services/edge.js.map +0 -1
- package/lib/services/functions.js.map +0 -1
- package/lib/services/git.js.map +0 -1
- package/lib/services/iaas.js.map +0 -1
- package/lib/services/intake.js.map +0 -1
- package/lib/services/kms.js.map +0 -1
- package/lib/services/lb_ip_lists.js.map +0 -1
- package/lib/services/load_balancer.js.map +0 -1
- package/lib/services/logme.js.map +0 -1
- package/lib/services/logs.js.map +0 -1
- package/lib/services/mariadb.js.map +0 -1
- package/lib/services/model_experiments.js.map +0 -1
- package/lib/services/model_serving.js.map +0 -1
- package/lib/services/mongodb_flex.js.map +0 -1
- package/lib/services/object_storage.js.map +0 -1
- package/lib/services/observability.js.map +0 -1
- package/lib/services/opensearch.js.map +0 -1
- package/lib/services/pim.js.map +0 -1
- package/lib/services/postgres_flex.js.map +0 -1
- package/lib/services/pubsub.js.map +0 -1
- package/lib/services/rabbitmq.js.map +0 -1
- package/lib/services/registry.js.map +0 -1
- package/lib/services/resource_manager.js.map +0 -1
- package/lib/services/run_command.js.map +0 -1
- package/lib/services/sca.js.map +0 -1
- package/lib/services/scf.js.map +0 -1
- package/lib/services/secrets_manager.js.map +0 -1
- package/lib/services/server_backup.js.map +0 -1
- package/lib/services/server_update.js.map +0 -1
- package/lib/services/service_account.js.map +0 -1
- package/lib/services/service_enablement.js.map +0 -1
- package/lib/services/sfs.js.map +0 -1
- package/lib/services/ske.js.map +0 -1
- package/lib/services/sqlserverflex.js.map +0 -1
- package/lib/services/stackit_marketplace.js.map +0 -1
- package/lib/services/telemetry_link.js.map +0 -1
- package/lib/services/telemetry_router.js.map +0 -1
- package/lib/services/ufw.js.map +0 -1
- package/lib/services/valkey.js.map +0 -1
- package/lib/services/vpn.js.map +0 -1
- package/lib/services/workflows.js.map +0 -1
- package/src/protocol.test.ts +0 -304
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
3
3
|
import { type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
4
4
|
export type { StackitOpError, StackitOpContext };
|
|
5
|
-
declare const BadRequest_base: S.
|
|
5
|
+
declare const BadRequest_base: S.TaggedErrorClass<"BadRequest", {
|
|
6
6
|
readonly code: any;
|
|
7
7
|
readonly message: any;
|
|
8
|
-
}
|
|
8
|
+
}> & (new (...args: any[]) => {
|
|
9
9
|
"@distilled.cloud/error/categories": {
|
|
10
10
|
BadRequestError: true;
|
|
11
11
|
};
|
|
12
12
|
});
|
|
13
13
|
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
14
14
|
}
|
|
15
|
-
declare const Forbidden_base: S.
|
|
15
|
+
declare const Forbidden_base: S.TaggedErrorClass<"Forbidden", {
|
|
16
16
|
readonly code: any;
|
|
17
17
|
readonly message: any;
|
|
18
|
-
}
|
|
18
|
+
}> & (new (...args: any[]) => {
|
|
19
19
|
"@distilled.cloud/error/categories": {
|
|
20
20
|
AuthError: true;
|
|
21
21
|
};
|
|
22
22
|
});
|
|
23
23
|
export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
|
|
24
24
|
}
|
|
25
|
-
declare const NotFound_base: S.
|
|
25
|
+
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
26
26
|
readonly code: any;
|
|
27
27
|
readonly message: any;
|
|
28
|
-
}
|
|
28
|
+
}> & (new (...args: any[]) => {
|
|
29
29
|
"@distilled.cloud/error/categories": {
|
|
30
30
|
BadRequestError: true;
|
|
31
31
|
};
|
|
32
32
|
});
|
|
33
33
|
export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
34
34
|
}
|
|
35
|
-
declare const UnprocessableEntity_base: S.
|
|
35
|
+
declare const UnprocessableEntity_base: S.TaggedErrorClass<"UnprocessableEntity", {
|
|
36
36
|
readonly code: any;
|
|
37
37
|
readonly message: any;
|
|
38
|
-
}
|
|
38
|
+
}> & (new (...args: any[]) => {
|
|
39
39
|
"@distilled.cloud/error/categories": {
|
|
40
40
|
BadRequestError: true;
|
|
41
41
|
};
|
|
@@ -47,23 +47,18 @@ export interface DeleteIPListRequest {
|
|
|
47
47
|
region: string;
|
|
48
48
|
name: string;
|
|
49
49
|
}
|
|
50
|
-
export declare const DeleteIPListRequest: S.Schema<DeleteIPListRequest>;
|
|
51
50
|
export type DeleteIPListResponse2 = unknown;
|
|
52
|
-
export declare const DeleteIPListResponse2: S.Schema<DeleteIPListResponse2>;
|
|
53
51
|
export interface GetIPListRequest {
|
|
54
52
|
projectId: string;
|
|
55
53
|
region: string;
|
|
56
54
|
name: string;
|
|
57
55
|
}
|
|
58
|
-
export declare const GetIPListRequest: S.Schema<GetIPListRequest>;
|
|
59
56
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per IP list. **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. */
|
|
60
57
|
export type GetIPListResponseLabelsMap = {
|
|
61
58
|
[key: string]: string | undefined;
|
|
62
59
|
};
|
|
63
|
-
export declare const GetIPListResponseLabelsMap: S.Schema<GetIPListResponseLabelsMap>;
|
|
64
60
|
/** List of load balancers that reference this IP list. */
|
|
65
61
|
export type IPListUsageItemsList = Array<string>;
|
|
66
|
-
export declare const IPListUsageItemsList: S.Schema<IPListUsageItemsList>;
|
|
67
62
|
/** IPListUsage describes which NLB/ALB currently reference an IP list. */
|
|
68
63
|
export interface IPListUsage {
|
|
69
64
|
/** Number of load balancers currently using this IP list. */
|
|
@@ -71,7 +66,6 @@ export interface IPListUsage {
|
|
|
71
66
|
/** List of load balancers that reference this IP list. */
|
|
72
67
|
items?: IPListUsageItemsList;
|
|
73
68
|
}
|
|
74
|
-
export declare const IPListUsage: S.Schema<IPListUsage>;
|
|
75
69
|
/** GetIPListResponse returns IP list configuration without CIDR entries. */
|
|
76
70
|
export interface GetIPListResponse {
|
|
77
71
|
/** Unique SHA-256 hex fingerprint used to verify the stored IP list content. */
|
|
@@ -85,12 +79,10 @@ export interface GetIPListResponse {
|
|
|
85
79
|
/** Current use of this IP list in load balancers. */
|
|
86
80
|
usage?: IPListUsage;
|
|
87
81
|
}
|
|
88
|
-
export declare const GetIPListResponse: S.Schema<GetIPListResponse>;
|
|
89
82
|
export interface GetQuotaRequest {
|
|
90
83
|
projectId: string;
|
|
91
84
|
region: string;
|
|
92
85
|
}
|
|
93
|
-
export declare const GetQuotaRequest: S.Schema<GetQuotaRequest>;
|
|
94
86
|
/** IPListsQuota holds the limits and current usage for IP list resources. Defaults: limit=3 per project, max_entries_per_list=50000. */
|
|
95
87
|
export interface IPListsQuota {
|
|
96
88
|
/** The maximum number of IP lists allowed in this project. Defaults to 3. Use -1 to indicate unlimited. */
|
|
@@ -98,12 +90,10 @@ export interface IPListsQuota {
|
|
|
98
90
|
/** The number of IP lists that currently exist in this project. */
|
|
99
91
|
usage?: number;
|
|
100
92
|
}
|
|
101
|
-
export declare const IPListsQuota: S.Schema<IPListsQuota>;
|
|
102
93
|
/** Quotas holds the specific quota elements for resources managed by this API. */
|
|
103
94
|
export interface Quotas {
|
|
104
95
|
ipLists?: IPListsQuota;
|
|
105
96
|
}
|
|
106
|
-
export declare const Quotas: S.Schema<Quotas>;
|
|
107
97
|
/** GetQuotaResponse returns the configured IP list quota for the project and region. */
|
|
108
98
|
export interface GetQuotaResponse {
|
|
109
99
|
/** Project identifier */
|
|
@@ -112,26 +102,21 @@ export interface GetQuotaResponse {
|
|
|
112
102
|
/** Region */
|
|
113
103
|
region?: string;
|
|
114
104
|
}
|
|
115
|
-
export declare const GetQuotaResponse: S.Schema<GetQuotaResponse>;
|
|
116
105
|
export interface ListIPListsRequest {
|
|
117
106
|
projectId: string;
|
|
118
107
|
region: string;
|
|
119
108
|
}
|
|
120
|
-
export declare const ListIPListsRequest: S.Schema<ListIPListsRequest>;
|
|
121
109
|
/** Every IP list in the project and region. Never includes the CIDR entries themselves. */
|
|
122
110
|
export type ListIPListsResponseItemsList = Array<GetIPListResponse>;
|
|
123
|
-
export declare const ListIPListsResponseItemsList: S.Schema<ListIPListsResponseItemsList>;
|
|
124
111
|
/** ListIPListsResponse returns metadata for all IP lists in a project and region. The CIDR entries themselves are never returned. */
|
|
125
112
|
export interface ListIPListsResponse {
|
|
126
113
|
/** Every IP list in the project and region. Never includes the CIDR entries themselves. */
|
|
127
114
|
items?: ListIPListsResponseItemsList;
|
|
128
115
|
}
|
|
129
|
-
export declare const ListIPListsResponse: S.Schema<ListIPListsResponse>;
|
|
130
116
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per IP list. **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. */
|
|
131
117
|
export type UploadIPListRequestLabelsMap = {
|
|
132
118
|
[key: string]: string | undefined;
|
|
133
119
|
};
|
|
134
|
-
export declare const UploadIPListRequestLabelsMap: S.Schema<UploadIPListRequestLabelsMap>;
|
|
135
120
|
export interface UploadIPListRequest {
|
|
136
121
|
projectId: string;
|
|
137
122
|
region: string;
|
|
@@ -141,7 +126,6 @@ export interface UploadIPListRequest {
|
|
|
141
126
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per IP list. **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. */
|
|
142
127
|
labels?: UploadIPListRequestLabelsMap;
|
|
143
128
|
}
|
|
144
|
-
export declare const UploadIPListRequest: S.Schema<UploadIPListRequest>;
|
|
145
129
|
export type DeleteIPListError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
146
130
|
/** Delete an IP List configuration Removes the IP list configuration from the project. If the IP list is referenced by load balancers, clear or replace the reference first. */
|
|
147
131
|
export declare const deleteIPList: API.OperationMethod<DeleteIPListRequest, DeleteIPListResponse2, DeleteIPListError, StackitOpContext>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lb_ip_lists.d.ts","sourceRoot":"","sources":["../../src/services/lb_ip_lists.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,KAAK,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"lb_ip_lists.d.ts","sourceRoot":"","sources":["../../src/services/lb_ip_lists.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,154 +1,53 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
2
|
import * as C from "@distilled.cloud/core/category";
|
|
3
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
5
6
|
import { UnknownStackitError } from "../errors.js";
|
|
6
7
|
import { StackitProtocol } from "../protocol.js";
|
|
7
8
|
import * as Retry from "../retry.js";
|
|
8
9
|
import * as T from "../traits.js";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
const __0 = __L.at;
|
|
11
|
+
const __1 = T.Http;
|
|
12
|
+
const __2 = T.Label;
|
|
13
|
+
const __3 = S.String;
|
|
14
|
+
const __4 = S.Struct;
|
|
15
|
+
const __5 = S.suspend;
|
|
16
|
+
const __6 = T.RawResponseRoot;
|
|
17
|
+
const __7 = S.Unknown;
|
|
18
|
+
const __8 = S.Record;
|
|
19
|
+
const __9 = S.Array;
|
|
20
|
+
const __10 = S.Number;
|
|
21
|
+
const __11 = S.optional;
|
|
22
|
+
const __12 = S.TaggedError;
|
|
23
|
+
const __13 = T.applyErrorMatchers;
|
|
24
|
+
export const BadRequest = /*@__PURE__*/ API.error(function BadRequest(i) {
|
|
25
|
+
return API.newError(i, new.target, ['$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])', [__0, C.withBadRequestError, __10, __3, __12, __13]]);
|
|
26
|
+
});
|
|
27
|
+
export const Forbidden = /*@__PURE__*/ API.error(function Forbidden(i) {
|
|
28
|
+
return API.newError(i, new.target, ['$5($4()("Forbidden",{code:$2,message:$3}).pipe($1),[{status:403}])', [__0, C.withAuthError, __10, __3, __12, __13]]);
|
|
29
|
+
});
|
|
30
|
+
export const NotFound = /*@__PURE__*/ API.error(function NotFound(i) {
|
|
31
|
+
return API.newError(i, new.target, ['$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])', [__0, C.withBadRequestError, __10, __3, __12, __13]]);
|
|
32
|
+
});
|
|
33
|
+
export const UnprocessableEntity = /*@__PURE__*/ API.error(function UnprocessableEntity(i) {
|
|
34
|
+
return API.newError(i, new.target, ['$5($4()("UnprocessableEntity",{code:$2,message:$3}).pipe($1),[{status:422}])', [__0, C.withBadRequestError, __10, __3, __12, __13]]);
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export const deleteIPList = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$5(>3)@"DeleteIPListRequest";$5(>4)@"DeleteIPListResponse2";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),name:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1alpha/projects/{projectId}/regions/{region}/ip-lists/{name}",code:200,baseUrl:"https://lb-ip-lists.api.stackit.cloud"}));$7.pipe($6())', [__0, __1, __2, __3, __4, __5, __6, __7, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteIPList, i));
|
|
38
|
+
|
|
39
|
+
export const getIPList = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:3,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetIPListRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),name:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/projects/{projectId}/regions/{region}/ip-lists/{name}",code:200,baseUrl:"https://lb-ip-lists.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d0, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getIPList, i));
|
|
40
|
+
|
|
41
|
+
export const getQuota = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4,errors:[$8,$9,$10],protocol:$11,retry:$12};$5(>5)@"GetQuotaRequest";$5(>6)@"IPListsQuota";$5(>7)@"Quotas";$5(>8)@"GetQuotaResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/projects/{projectId}/regions/{region}/quotas",code:200,baseUrl:"https://lb-ip-lists.api.stackit.cloud"}));$4({limit:$7($6),usage:$7($6)});$4({ipLists:$7(#2)});$4({projectId:$7($3),quotas:$7(#3),region:$7($3)})', [__0, __1, __2, __3, __4, __5, __10, __11, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getQuota, i));
|
|
42
|
+
|
|
43
|
+
export const listIPLists = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$9,$10,$11],protocol:$12,retry:$13};$5(>4)@"ListIPListsRequest";$7(#6:3);$5(>5)@"ListIPListsResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/projects/{projectId}/regions/{region}/ip-lists",code:200,baseUrl:"https://lb-ip-lists.api.stackit.cloud"}));$4({items:$8(#2)})', [__0, __1, __2, __3, __4, __5, __d0, __9, __11, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listIPLists, i));
|
|
44
|
+
|
|
45
|
+
export const uploadIPList = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4:3,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"UploadIPListRequest";$6({projectId:$3.pipe($2()),region:$3.pipe($2()),name:$3.pipe($2()),fileContent:$3,labels:$5(#4:0)}).pipe($1({method:"PUT",uri:"/v1alpha/projects/{projectId}/regions/{region}/ip-lists/{name}",code:200,baseUrl:"https://lb-ip-lists.api.stackit.cloud"}))', [__0, __1, __2, __3, __d0, __11, __4, __5, BadRequest, Forbidden, UnprocessableEntity, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(uploadIPList, i));
|
|
46
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
47
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
// Shared schema data (see `op` in core/api).
|
|
51
|
+
function __d0() {
|
|
52
|
+
return ['$2($1,$1);$3($1);$7(>4)@"IPListUsage";$7(>5)@"GetIPListResponse";$6({count:$5($4),items:$5(#1)});$6({contentHash:$5($1),labels:$5(#0),name:$1,numberOfIps:$5($4),usage:$5(#2)})', [__0, __3, __8, __9, __10, __11, __4, __5]];
|
|
14
53
|
}
|
|
15
|
-
export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
16
|
-
/*@__PURE__*/ S.TaggedError()("Forbidden", {
|
|
17
|
-
code: S.Number,
|
|
18
|
-
message: S.String,
|
|
19
|
-
}).pipe(C.withAuthError), [{ status: 403 }]) {
|
|
20
|
-
}
|
|
21
|
-
export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
22
|
-
/*@__PURE__*/ S.TaggedError()("NotFound", {
|
|
23
|
-
code: S.Number,
|
|
24
|
-
message: S.String,
|
|
25
|
-
}).pipe(C.withBadRequestError), [{ status: 404 }]) {
|
|
26
|
-
}
|
|
27
|
-
export class UnprocessableEntity extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
28
|
-
/*@__PURE__*/ S.TaggedError()("UnprocessableEntity", {
|
|
29
|
-
code: S.Number,
|
|
30
|
-
message: S.String,
|
|
31
|
-
}).pipe(C.withBadRequestError), [{ status: 422 }]) {
|
|
32
|
-
}
|
|
33
|
-
export const DeleteIPListRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
34
|
-
projectId: S.String.pipe(T.Label()),
|
|
35
|
-
region: S.String.pipe(T.Label()),
|
|
36
|
-
name: S.String.pipe(T.Label()),
|
|
37
|
-
}).pipe(T.Http({
|
|
38
|
-
method: "DELETE",
|
|
39
|
-
uri: "/v1alpha/projects/{projectId}/regions/{region}/ip-lists/{name}",
|
|
40
|
-
code: 200,
|
|
41
|
-
baseUrl: "https://lb-ip-lists.api.stackit.cloud",
|
|
42
|
-
}))).annotate({ identifier: "DeleteIPListRequest" });
|
|
43
|
-
export const DeleteIPListResponse2 = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({ identifier: "DeleteIPListResponse2" });
|
|
44
|
-
export const GetIPListRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
45
|
-
projectId: S.String.pipe(T.Label()),
|
|
46
|
-
region: S.String.pipe(T.Label()),
|
|
47
|
-
name: S.String.pipe(T.Label()),
|
|
48
|
-
}).pipe(T.Http({
|
|
49
|
-
method: "GET",
|
|
50
|
-
uri: "/v1alpha/projects/{projectId}/regions/{region}/ip-lists/{name}",
|
|
51
|
-
code: 200,
|
|
52
|
-
baseUrl: "https://lb-ip-lists.api.stackit.cloud",
|
|
53
|
-
}))).annotate({ identifier: "GetIPListRequest" });
|
|
54
|
-
export const GetIPListResponseLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
55
|
-
export const IPListUsageItemsList = /*@__PURE__*/ S.Array(S.String);
|
|
56
|
-
export const IPListUsage = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
57
|
-
count: S.optional(S.Number),
|
|
58
|
-
items: S.optional(IPListUsageItemsList),
|
|
59
|
-
})).annotate({ identifier: "IPListUsage" });
|
|
60
|
-
export const GetIPListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
61
|
-
contentHash: S.optional(S.String),
|
|
62
|
-
labels: S.optional(GetIPListResponseLabelsMap),
|
|
63
|
-
name: S.String,
|
|
64
|
-
numberOfIps: S.optional(S.Number),
|
|
65
|
-
usage: S.optional(IPListUsage),
|
|
66
|
-
})).annotate({ identifier: "GetIPListResponse" });
|
|
67
|
-
export const GetQuotaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
68
|
-
projectId: S.String.pipe(T.Label()),
|
|
69
|
-
region: S.String.pipe(T.Label()),
|
|
70
|
-
}).pipe(T.Http({
|
|
71
|
-
method: "GET",
|
|
72
|
-
uri: "/v1alpha/projects/{projectId}/regions/{region}/quotas",
|
|
73
|
-
code: 200,
|
|
74
|
-
baseUrl: "https://lb-ip-lists.api.stackit.cloud",
|
|
75
|
-
}))).annotate({ identifier: "GetQuotaRequest" });
|
|
76
|
-
export const IPListsQuota = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
77
|
-
limit: S.optional(S.Number),
|
|
78
|
-
usage: S.optional(S.Number),
|
|
79
|
-
})).annotate({ identifier: "IPListsQuota" });
|
|
80
|
-
export const Quotas = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
81
|
-
ipLists: S.optional(IPListsQuota),
|
|
82
|
-
})).annotate({ identifier: "Quotas" });
|
|
83
|
-
export const GetQuotaResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
84
|
-
projectId: S.optional(S.String),
|
|
85
|
-
quotas: S.optional(Quotas),
|
|
86
|
-
region: S.optional(S.String),
|
|
87
|
-
})).annotate({ identifier: "GetQuotaResponse" });
|
|
88
|
-
export const ListIPListsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
89
|
-
projectId: S.String.pipe(T.Label()),
|
|
90
|
-
region: S.String.pipe(T.Label()),
|
|
91
|
-
}).pipe(T.Http({
|
|
92
|
-
method: "GET",
|
|
93
|
-
uri: "/v1alpha/projects/{projectId}/regions/{region}/ip-lists",
|
|
94
|
-
code: 200,
|
|
95
|
-
baseUrl: "https://lb-ip-lists.api.stackit.cloud",
|
|
96
|
-
}))).annotate({ identifier: "ListIPListsRequest" });
|
|
97
|
-
export const ListIPListsResponseItemsList = /*@__PURE__*/ S.Array(GetIPListResponse);
|
|
98
|
-
export const ListIPListsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
99
|
-
items: S.optional(ListIPListsResponseItemsList),
|
|
100
|
-
})).annotate({ identifier: "ListIPListsResponse" });
|
|
101
|
-
export const UploadIPListRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
102
|
-
export const UploadIPListRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
103
|
-
projectId: S.String.pipe(T.Label()),
|
|
104
|
-
region: S.String.pipe(T.Label()),
|
|
105
|
-
name: S.String.pipe(T.Label()),
|
|
106
|
-
fileContent: S.String,
|
|
107
|
-
labels: S.optional(UploadIPListRequestLabelsMap),
|
|
108
|
-
}).pipe(T.Http({
|
|
109
|
-
method: "PUT",
|
|
110
|
-
uri: "/v1alpha/projects/{projectId}/regions/{region}/ip-lists/{name}",
|
|
111
|
-
code: 200,
|
|
112
|
-
baseUrl: "https://lb-ip-lists.api.stackit.cloud",
|
|
113
|
-
}))).annotate({ identifier: "UploadIPListRequest" });
|
|
114
|
-
/** Delete an IP List configuration Removes the IP list configuration from the project. If the IP list is referenced by load balancers, clear or replace the reference first. */
|
|
115
|
-
export const deleteIPList = /*@__PURE__*/ API.make(() => ({
|
|
116
|
-
input: DeleteIPListRequest,
|
|
117
|
-
output: DeleteIPListResponse2,
|
|
118
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
119
|
-
protocol: StackitProtocol,
|
|
120
|
-
retry: Retry.Retry,
|
|
121
|
-
}));
|
|
122
|
-
/** Retrieve metadata of an existing IP list configuration in a project. GetIPList returns metadata of a single IP list by name, without CIDR entries. */
|
|
123
|
-
export const getIPList = /*@__PURE__*/ API.make(() => ({
|
|
124
|
-
input: GetIPListRequest,
|
|
125
|
-
output: GetIPListResponse,
|
|
126
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
127
|
-
protocol: StackitProtocol,
|
|
128
|
-
retry: Retry.Retry,
|
|
129
|
-
}));
|
|
130
|
-
/** Get the quota for IP lists in a project Retrieves the IP List resource quota for the project. */
|
|
131
|
-
export const getQuota = /*@__PURE__*/ API.make(() => ({
|
|
132
|
-
input: GetQuotaRequest,
|
|
133
|
-
output: GetQuotaResponse,
|
|
134
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
135
|
-
protocol: StackitProtocol,
|
|
136
|
-
retry: Retry.Retry,
|
|
137
|
-
}));
|
|
138
|
-
/** List metadata of all IP lists in a project ListIPLists returns every IP list in the project without CIDR entries. No pagination while the per-project limit is 3. */
|
|
139
|
-
export const listIPLists = /*@__PURE__*/ API.make(() => ({
|
|
140
|
-
input: ListIPListsRequest,
|
|
141
|
-
output: ListIPListsResponse,
|
|
142
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
143
|
-
protocol: StackitProtocol,
|
|
144
|
-
retry: Retry.Retry,
|
|
145
|
-
}));
|
|
146
|
-
/** Create/Replace an IP list UploadIPList creates the IP list or replaces its content. Raw upload is in `file_content`. */
|
|
147
|
-
export const uploadIPList = /*@__PURE__*/ API.make(() => ({
|
|
148
|
-
input: UploadIPListRequest,
|
|
149
|
-
output: GetIPListResponse,
|
|
150
|
-
errors: [BadRequest, Forbidden, UnprocessableEntity, UnknownStackitError],
|
|
151
|
-
protocol: StackitProtocol,
|
|
152
|
-
retry: Retry.Retry,
|
|
153
|
-
}));
|
|
154
|
-
//# sourceMappingURL=lb_ip_lists.js.map
|