@distilled.cloud/stackit 1.0.0-rc.17 → 1.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +27 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +32 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +24 -1
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +30 -29
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -38
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +28 -1
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +27 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +38 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +180 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +28 -27
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +40 -39
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +28 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -32
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +41 -40
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +37 -36
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +158 -157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +30 -29
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -45
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +36 -35
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +35 -34
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +32 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +39 -38
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +41 -40
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -27
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +29 -28
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -44
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -24
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +45 -44
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +25 -24
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -32
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -27
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +42 -41
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +26 -25
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/pubsub.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/services.lazy/workflows.js +1 -1
- package/package.json +6 -5
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +22 -20
- package/src/services/alb.ts +174 -132
- package/src/services/alb_waf.ts +96 -51
- package/src/services/authorization.ts +50 -15
- package/src/services/automation.ts +86 -49
- package/src/services/cdn.ts +172 -129
- package/src/services/certificates.ts +63 -40
- package/src/services/cost.ts +34 -15
- package/src/services/dns.ts +552 -269
- package/src/services/dremio.ts +187 -118
- package/src/services/edge.ts +62 -21
- package/src/services/functions.ts +217 -170
- package/src/services/git.ts +407 -108
- package/src/services/iaas.ts +723 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +101 -58
- package/src/services/kms.ts +76 -13
- package/src/services/lb_ip_lists.ts +37 -14
- package/src/services/load_balancer.ts +168 -126
- package/src/services/logme.ts +345 -122
- package/src/services/logs.ts +172 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +328 -105
- package/src/services/model_experiments.ts +66 -33
- package/src/services/model_serving.ts +54 -25
- package/src/services/mongodb_flex.ts +205 -137
- package/src/services/object_storage.ts +61 -6
- package/src/services/observability.ts +594 -362
- package/src/services/opensearch.ts +337 -114
- package/src/services/pim.ts +403 -278
- package/src/services/postgres_flex.ts +258 -179
- package/src/services/pubsub.ts +85 -36
- package/src/services/rabbitmq.ts +348 -125
- package/src/services/registry.ts +55 -26
- package/src/services/resource_manager.ts +102 -57
- package/src/services/run_command.ts +65 -42
- package/src/services/sca.ts +769 -371
- package/src/services/scf.ts +83 -24
- package/src/services/secrets_manager.ts +87 -22
- package/src/services/server_backup.ts +76 -31
- package/src/services/server_update.ts +54 -17
- package/src/services/service_account.ts +75 -30
- package/src/services/service_enablement.ts +49 -24
- package/src/services/sfs.ts +469 -395
- package/src/services/ske.ts +299 -228
- package/src/services/sqlserverflex.ts +116 -47
- package/src/services/stackit_marketplace.ts +78 -39
- package/src/services/telemetry_link.ts +191 -81
- package/src/services/telemetry_router.ts +326 -94
- package/src/services/ufw.ts +85 -54
- package/src/services/valkey.ts +341 -118
- package/src/services/vpn.ts +213 -142
- package/src/services/workflows.ts +106 -65
package/src/services/ufw.ts
CHANGED
|
@@ -12,6 +12,19 @@ const __s: any[] = [];
|
|
|
12
12
|
|
|
13
13
|
export type { StackitOpError, StackitOpContext };
|
|
14
14
|
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "stackit-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "STACKIT",
|
|
23
|
+
service: "Ufw",
|
|
24
|
+
labels: "stackit",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
15
28
|
export class BadRequest
|
|
16
29
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -46,35 +59,35 @@ export interface CreateRuleRequest {
|
|
|
46
59
|
/** The STACKIT region name the resource is located in. */
|
|
47
60
|
regionId: CreateRuleRequestRegionId | (string & {});
|
|
48
61
|
/** A description for the rule. */
|
|
49
|
-
description?: string;
|
|
62
|
+
description?: string | undefined;
|
|
50
63
|
/** The direction of the traffic, typically "ingress" or "egress". */
|
|
51
|
-
direction?: string;
|
|
64
|
+
direction?: string | undefined;
|
|
52
65
|
/** Specifies the bound of the rule. */
|
|
53
|
-
etherType?: string;
|
|
66
|
+
etherType?: string | undefined;
|
|
54
67
|
/** The ID of the product, similar to a project ID. */
|
|
55
68
|
instanceId: string;
|
|
56
69
|
/** Position in the list. */
|
|
57
|
-
offset?: number;
|
|
70
|
+
offset?: number | undefined;
|
|
58
71
|
/** The Port range to which the rule applies. */
|
|
59
|
-
portRange?: string;
|
|
72
|
+
portRange?: string | undefined;
|
|
60
73
|
/** The source service (e.g., Load Balancer, Redis). */
|
|
61
74
|
product: string;
|
|
62
75
|
/** The network protocol (e.g., "TCP", "UDP", "ICMP"). */
|
|
63
|
-
protocol?: string;
|
|
76
|
+
protocol?: string | undefined;
|
|
64
77
|
/** The ID of the Group. */
|
|
65
|
-
remoteSecurityGroupId?: string;
|
|
78
|
+
remoteSecurityGroupId?: string | undefined;
|
|
66
79
|
/** The ID of the Group. */
|
|
67
|
-
securityGroupId?: string;
|
|
80
|
+
securityGroupId?: string | undefined;
|
|
68
81
|
/** The IP (CIDR) to which the rule applies. */
|
|
69
82
|
sourceIP: string;
|
|
70
83
|
/** Indicates whether the security group rule is stateful or stateless (used only for security groups, default value for them will be true). */
|
|
71
|
-
stateful?: boolean;
|
|
72
|
-
/** The type of the rule (e.g., "ACL", "
|
|
84
|
+
stateful?: boolean | undefined;
|
|
85
|
+
/** The type of the rule (e.g., "ACL", "SecurityRule"). */
|
|
73
86
|
type: string;
|
|
74
87
|
}
|
|
75
88
|
export interface CreateRuleResponse {
|
|
76
89
|
/** Represents the uuid of the created rule */
|
|
77
|
-
refId?: string;
|
|
90
|
+
refId?: string | undefined;
|
|
78
91
|
}
|
|
79
92
|
export type DeleteRuleRequestRegionId = "eu01" | "eu02";
|
|
80
93
|
export interface DeleteRuleRequest {
|
|
@@ -87,7 +100,7 @@ export interface DeleteRuleRequest {
|
|
|
87
100
|
}
|
|
88
101
|
export interface DeleteRuleResponse {
|
|
89
102
|
/** Represents if the call was successfully made */
|
|
90
|
-
success?: boolean;
|
|
103
|
+
success?: boolean | undefined;
|
|
91
104
|
}
|
|
92
105
|
export type GetRuleRequestRegionId = "eu01" | "eu02";
|
|
93
106
|
export interface GetRuleRequest {
|
|
@@ -106,39 +119,40 @@ export type RuleResponseStatus =
|
|
|
106
119
|
| "Updating"
|
|
107
120
|
| "Deleting"
|
|
108
121
|
| "Creating";
|
|
109
|
-
/** The type of the rule (e.g., "ACL", "
|
|
110
|
-
export type RuleResponseType = "ACL" | "
|
|
122
|
+
/** The type of the rule (e.g., "ACL", "SecurityRule"). */
|
|
123
|
+
export type RuleResponseType = "ACL" | "SecurityRule" | "SecurityGroup";
|
|
111
124
|
export interface RuleResponse {
|
|
112
|
-
description?: string;
|
|
125
|
+
description?: string | undefined;
|
|
113
126
|
destination: string;
|
|
114
|
-
direction?: string;
|
|
115
|
-
errorMessage?: string;
|
|
116
|
-
etherType?: string;
|
|
127
|
+
direction?: string | undefined;
|
|
128
|
+
errorMessage?: string | undefined;
|
|
129
|
+
etherType?: string | undefined;
|
|
117
130
|
instanceId: string;
|
|
118
|
-
instanceName?: string;
|
|
119
|
-
ipRange?: string;
|
|
120
|
-
offset?: number;
|
|
121
|
-
portRange?: string;
|
|
131
|
+
instanceName?: string | undefined;
|
|
132
|
+
ipRange?: string | undefined;
|
|
133
|
+
offset?: number | undefined;
|
|
134
|
+
portRange?: string | undefined;
|
|
122
135
|
product: string;
|
|
123
|
-
protocol?: string;
|
|
124
|
-
refId?: string;
|
|
125
|
-
region?: string;
|
|
126
|
-
remoteSecurityGroupId?: string;
|
|
127
|
-
|
|
136
|
+
protocol?: string | undefined;
|
|
137
|
+
refId?: string | undefined;
|
|
138
|
+
region?: string | undefined;
|
|
139
|
+
remoteSecurityGroupId?: string | undefined;
|
|
140
|
+
remoteSecurityGroupName?: string | undefined;
|
|
141
|
+
securityGroupId?: string | undefined;
|
|
128
142
|
sourceIP: string;
|
|
129
|
-
stateful?: boolean;
|
|
143
|
+
stateful?: boolean | undefined;
|
|
130
144
|
/** The current state of the resource. */
|
|
131
145
|
status: RuleResponseStatus;
|
|
132
|
-
/** The type of the rule (e.g., "ACL", "
|
|
146
|
+
/** The type of the rule (e.g., "ACL", "SecurityRule"). */
|
|
133
147
|
type: RuleResponseType;
|
|
134
148
|
}
|
|
135
149
|
export interface ListFolderContainersRequest {
|
|
136
150
|
/** The STACKIT portal folder UUID */
|
|
137
151
|
folderId: string;
|
|
138
152
|
/** The maximum number of items to return in the response. If maximum is exceeded, maximum is used. */
|
|
139
|
-
limit?: number;
|
|
153
|
+
limit?: number | undefined;
|
|
140
154
|
/** A pagination cursor that represents a position in the dataset. If given, results will be returned from the item after the cursor. If not given, results will be returned from the beginning. */
|
|
141
|
-
cursor?: string;
|
|
155
|
+
cursor?: string | undefined;
|
|
142
156
|
}
|
|
143
157
|
export interface ContainerResponse {
|
|
144
158
|
id: string;
|
|
@@ -155,9 +169,9 @@ export interface ListOrganizationContainersRequest {
|
|
|
155
169
|
/** The STACKIT portal organization UUID */
|
|
156
170
|
organizationId: string;
|
|
157
171
|
/** The maximum number of items to return in the response. If maximum is exceeded, maximum is used. */
|
|
158
|
-
limit?: number;
|
|
172
|
+
limit?: number | undefined;
|
|
159
173
|
/** A pagination cursor that represents a position in the dataset. If given, results will be returned from the item after the cursor. If not given, results will be returned from the beginning. */
|
|
160
|
-
cursor?: string;
|
|
174
|
+
cursor?: string | undefined;
|
|
161
175
|
}
|
|
162
176
|
export type ListProviderOptionsRequestRegionId = "eu01" | "eu02";
|
|
163
177
|
export interface ListProviderOptionsRequest {
|
|
@@ -189,36 +203,36 @@ export interface ListRulesRequest {
|
|
|
189
203
|
/** The STACKIT region name the resource is located in. */
|
|
190
204
|
regionId: ListRulesRequestRegionId | (string & {});
|
|
191
205
|
/** The UUID of the group. */
|
|
192
|
-
securityGroupId?: string;
|
|
206
|
+
securityGroupId?: string | undefined;
|
|
193
207
|
/** The product service (e.g., Load Balancer, Redis). */
|
|
194
|
-
product?: string;
|
|
208
|
+
product?: string | undefined;
|
|
195
209
|
/** The ID of the source, similar to a project ID but for the product service instance. */
|
|
196
|
-
instanceId?: string;
|
|
197
|
-
/** The type of the rule (e.g., "ACL", "
|
|
198
|
-
type?: string;
|
|
210
|
+
instanceId?: string | undefined;
|
|
211
|
+
/** The type of the rule (e.g., "ACL", "SecurityRule"). */
|
|
212
|
+
type?: string | undefined;
|
|
199
213
|
/** The IP for the rule. */
|
|
200
|
-
sourceIP?: string;
|
|
214
|
+
sourceIP?: string | undefined;
|
|
201
215
|
/** The port range for the rule. */
|
|
202
|
-
portRange?: string;
|
|
216
|
+
portRange?: string | undefined;
|
|
203
217
|
/** The protocol for the rule (e.g., "tcp", "udp"). */
|
|
204
|
-
protocol?: string;
|
|
218
|
+
protocol?: string | undefined;
|
|
205
219
|
/** The direction of the rule (e.g., "ingress", "egress"). */
|
|
206
|
-
direction?: ListRulesRequestDirection | (string & {});
|
|
220
|
+
direction?: ListRulesRequestDirection | (string & {}) | undefined;
|
|
207
221
|
/** The ether type for the rule. */
|
|
208
|
-
etherType?: string;
|
|
222
|
+
etherType?: string | undefined;
|
|
209
223
|
/** The field to sort the response by. */
|
|
210
|
-
sortBy?: string;
|
|
224
|
+
sortBy?: string | undefined;
|
|
211
225
|
/** The order to sort the response by. */
|
|
212
|
-
sortOrder?: ListRulesRequestSortOrder | (string & {});
|
|
226
|
+
sortOrder?: ListRulesRequestSortOrder | (string & {}) | undefined;
|
|
213
227
|
/** The maximum number of items to return in the response. If maximum is exceeded, maximum is used. */
|
|
214
|
-
limit?: number;
|
|
228
|
+
limit?: number | undefined;
|
|
215
229
|
/** A pagination cursor that represents a position in the dataset. If given, results will be returned from the item after the cursor. If not given, results will be returned from the beginning. */
|
|
216
|
-
cursor?: string;
|
|
230
|
+
cursor?: string | undefined;
|
|
217
231
|
}
|
|
218
232
|
export type ListRulesResponseErrorsList = Array<string>;
|
|
219
233
|
export type ListRulesResponseRulesList = Array<RuleResponse>;
|
|
220
234
|
export interface ListRulesResponse {
|
|
221
|
-
errors?: ListRulesResponseErrorsList;
|
|
235
|
+
errors?: ListRulesResponseErrorsList | undefined;
|
|
222
236
|
rules: ListRulesResponseRulesList;
|
|
223
237
|
}
|
|
224
238
|
export type UpdateRuleRequestRegionId = "eu01" | "eu02";
|
|
@@ -230,21 +244,21 @@ export interface UpdateRuleRequest {
|
|
|
230
244
|
/** The STACKIT security rule UUID. */
|
|
231
245
|
ruleId: string;
|
|
232
246
|
/** The direction of the traffic, typically "ingress" or "egress". */
|
|
233
|
-
direction?: string;
|
|
247
|
+
direction?: string | undefined;
|
|
234
248
|
/** Specifies the bound of the rule. */
|
|
235
|
-
etherType?: string;
|
|
249
|
+
etherType?: string | undefined;
|
|
236
250
|
/** The Port range to which the rule applies. */
|
|
237
|
-
portRange?: string;
|
|
251
|
+
portRange?: string | undefined;
|
|
238
252
|
/** The network protocol (e.g., "TCP", "UDP", "ICMP"). */
|
|
239
|
-
protocol?: string;
|
|
253
|
+
protocol?: string | undefined;
|
|
240
254
|
/** The ID of the Group. */
|
|
241
|
-
securityGroupId?: string;
|
|
255
|
+
securityGroupId?: string | undefined;
|
|
242
256
|
/** The IP (CIDR) to which the rule applies. */
|
|
243
257
|
sourceIP: string;
|
|
244
258
|
}
|
|
245
259
|
export interface UpdateRuleResponse {
|
|
246
260
|
/** Represents the uuid of the updated rule */
|
|
247
|
-
refId?: string;
|
|
261
|
+
refId?: string | undefined;
|
|
248
262
|
}
|
|
249
263
|
export type CreateRuleError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
250
264
|
/** Create rule for a project Returns the created rule for a specific project */
|
|
@@ -259,6 +273,8 @@ export const createRule: API.OperationMethod<
|
|
|
259
273
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
260
274
|
protocol: StackitProtocol,
|
|
261
275
|
retry: Retry.Retry,
|
|
276
|
+
telemetry: TELEMETRY,
|
|
277
|
+
span: "CreateRule",
|
|
262
278
|
}));
|
|
263
279
|
|
|
264
280
|
export type DeleteRuleError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -274,6 +290,8 @@ export const deleteRule: API.OperationMethod<
|
|
|
274
290
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
275
291
|
protocol: StackitProtocol,
|
|
276
292
|
retry: Retry.Retry,
|
|
293
|
+
telemetry: TELEMETRY,
|
|
294
|
+
span: "DeleteRule",
|
|
277
295
|
}));
|
|
278
296
|
|
|
279
297
|
export type GetRuleError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -289,6 +307,8 @@ export const getRule: API.OperationMethod<
|
|
|
289
307
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
290
308
|
protocol: StackitProtocol,
|
|
291
309
|
retry: Retry.Retry,
|
|
310
|
+
telemetry: TELEMETRY,
|
|
311
|
+
span: "GetRule",
|
|
292
312
|
}));
|
|
293
313
|
|
|
294
314
|
export type ListFolderContainersError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -304,6 +324,8 @@ export const listFolderContainers: API.OperationMethod<
|
|
|
304
324
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
305
325
|
protocol: StackitProtocol,
|
|
306
326
|
retry: Retry.Retry,
|
|
327
|
+
telemetry: TELEMETRY,
|
|
328
|
+
span: "ListFolderContainers",
|
|
307
329
|
}));
|
|
308
330
|
|
|
309
331
|
export type ListOrganizationContainersError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -319,6 +341,8 @@ export const listOrganizationContainers: API.OperationMethod<
|
|
|
319
341
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
320
342
|
protocol: StackitProtocol,
|
|
321
343
|
retry: Retry.Retry,
|
|
344
|
+
telemetry: TELEMETRY,
|
|
345
|
+
span: "ListOrganizationContainers",
|
|
322
346
|
}));
|
|
323
347
|
|
|
324
348
|
export type ListProviderOptionsError = BadRequest | StackitOpError;
|
|
@@ -334,6 +358,8 @@ export const listProviderOptions: API.OperationMethod<
|
|
|
334
358
|
errors: [BadRequest, UnknownStackitError],
|
|
335
359
|
protocol: StackitProtocol,
|
|
336
360
|
retry: Retry.Retry,
|
|
361
|
+
telemetry: TELEMETRY,
|
|
362
|
+
span: "ListProviderOptions",
|
|
337
363
|
}));
|
|
338
364
|
|
|
339
365
|
export type ListRulesError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -349,6 +375,8 @@ export const listRules: API.OperationMethod<
|
|
|
349
375
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
350
376
|
protocol: StackitProtocol,
|
|
351
377
|
retry: Retry.Retry,
|
|
378
|
+
telemetry: TELEMETRY,
|
|
379
|
+
span: "ListRules",
|
|
352
380
|
}));
|
|
353
381
|
|
|
354
382
|
export type UpdateRuleError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -364,6 +392,8 @@ export const updateRule: API.OperationMethod<
|
|
|
364
392
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
365
393
|
protocol: StackitProtocol,
|
|
366
394
|
retry: Retry.Retry,
|
|
395
|
+
telemetry: TELEMETRY,
|
|
396
|
+
span: "UpdateRule",
|
|
367
397
|
}));
|
|
368
398
|
|
|
369
399
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -497,6 +527,7 @@ function __c5(j: number): any {
|
|
|
497
527
|
refId: S.optional(S.String),
|
|
498
528
|
region: S.optional(S.String),
|
|
499
529
|
remoteSecurityGroupId: S.optional(S.String),
|
|
530
|
+
remoteSecurityGroupName: S.optional(S.String),
|
|
500
531
|
securityGroupId: S.optional(S.String),
|
|
501
532
|
sourceIP: S.String,
|
|
502
533
|
stateful: S.optional(S.Boolean),
|