@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.15
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 +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js +2 -5
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +9 -10
- package/lib/protocol.js.map +1 -1
- package/lib/protocol.test.d.ts +2 -0
- package/lib/protocol.test.d.ts.map +1 -0
- package/lib/protocol.test.js +181 -0
- package/lib/protocol.test.js.map +1 -0
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +1 -1
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +33 -82
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +1 -1
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +23 -47
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +1 -1
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +19 -49
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +21 -58
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +49 -112
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +2 -2
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +91 -177
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +1 -1
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +13 -31
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +1 -1
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +17 -28
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +22 -55
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +72 -200
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +1 -1
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +28 -50
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +1 -1
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +14 -32
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +19 -43
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +1 -1
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +25 -57
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +31 -10
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +151 -376
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/intake.d.ts +1 -1
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +45 -83
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +1 -1
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +63 -103
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +1 -3
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +18 -37
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +1 -1
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +32 -77
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +1 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +39 -101
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +36 -59
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +1 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -97
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +2 -2
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +27 -47
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +2 -2
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +29 -61
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +1 -1
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +76 -162
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +25 -1
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +52 -89
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +5 -5
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +170 -419
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +1 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +40 -100
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +1 -1
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +45 -98
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +2 -2
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +96 -261
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +2 -2
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +53 -148
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +2 -2
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +41 -103
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +1 -1
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +16 -39
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +5 -5
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +23 -53
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +1 -1
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +15 -33
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +18 -6
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +42 -75
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +1 -1
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +30 -78
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +1 -1
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +32 -78
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +1 -1
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +16 -36
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +1 -1
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +10 -22
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +1 -1
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +32 -49
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +1 -1
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +11 -13
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +17 -17
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +34 -89
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +27 -1
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +49 -89
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +2 -2
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +104 -255
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +4 -4
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +17 -31
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +1 -1
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -52
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +1 -1
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +49 -88
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +1 -1
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +25 -47
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +2 -2
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +40 -100
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +1 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +98 -180
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +40 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +1 -1
- package/lib/traits.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +10 -16
- package/src/errors.ts +1 -1
- package/src/pagination.ts +6 -22
- package/src/protocol.test.ts +304 -0
- package/src/protocol.ts +29 -47
- package/src/retry.ts +2 -8
- package/src/services/alb.ts +45 -128
- package/src/services/alb_waf.ts +35 -94
- package/src/services/authorization.ts +20 -56
- package/src/services/automation.ts +92 -262
- package/src/services/cdn.ts +191 -351
- package/src/services/certificates.ts +17 -49
- package/src/services/cost.ts +29 -64
- package/src/services/dns.ts +160 -495
- package/src/services/dremio.ts +35 -85
- package/src/services/edge.ts +37 -96
- package/src/services/functions.ts +31 -84
- package/src/services/git.ts +41 -122
- package/src/services/iaas.ts +392 -1184
- package/src/services/intake.ts +57 -124
- package/src/services/kms.ts +91 -192
- package/src/services/lb_ip_lists.ts +21 -56
- package/src/services/load_balancer.ts +43 -119
- package/src/services/logme.ts +55 -150
- package/src/services/logs.ts +57 -158
- package/src/services/mariadb.ts +45 -126
- package/src/services/model_experiments.ts +36 -92
- package/src/services/model_serving.ts +33 -76
- package/src/services/mongodb_flex.ts +113 -259
- package/src/services/object_storage.ts +101 -154
- package/src/services/observability.ts +635 -1127
- package/src/services/opensearch.ts +52 -141
- package/src/services/pim.ts +78 -183
- package/src/services/postgres_flex.ts +120 -366
- package/src/services/pubsub.ts +134 -277
- package/src/services/rabbitmq.ts +53 -145
- package/src/services/registry.ts +24 -72
- package/src/services/resource_manager.ts +46 -129
- package/src/services/run_command.ts +17 -45
- package/src/services/sca.ts +63 -98
- package/src/services/scf.ts +54 -195
- package/src/services/secrets_manager.ts +54 -136
- package/src/services/server_backup.ts +26 -75
- package/src/services/server_update.ts +15 -44
- package/src/services/service_account.ts +185 -272
- package/src/services/service_enablement.ts +18 -47
- package/src/services/sfs.ts +84 -166
- package/src/services/ske.ts +91 -113
- package/src/services/sqlserverflex.ts +147 -383
- package/src/services/stackit_marketplace.ts +184 -250
- package/src/services/telemetry_link.ts +199 -278
- package/src/services/telemetry_router.ts +73 -168
- package/src/services/ufw.ts +32 -82
- package/src/services/valkey.ts +54 -145
- package/src/services/vpn.ts +215 -404
- package/src/services/workflows.ts +57 -169
- package/src/traits.ts +2 -7
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -31
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -45
package/lib/services/iaas.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
1
|
import * as API from "@distilled.cloud/core/api";
|
|
4
2
|
import * as C from "@distilled.cloud/core/category";
|
|
5
|
-
|
|
6
|
-
import
|
|
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";
|
|
7
5
|
import { UnknownStackitError } from "../errors.js";
|
|
6
|
+
import { StackitProtocol } from "../protocol.js";
|
|
8
7
|
import * as Retry from "../retry.js";
|
|
8
|
+
import * as T from "../traits.js";
|
|
9
9
|
export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
10
10
|
/*@__PURE__*/ S.TaggedError()("BadRequest", {
|
|
11
11
|
code: S.Number,
|
|
@@ -56,9 +56,7 @@ export const AddNicToServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
56
56
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/nics/{nicId}",
|
|
57
57
|
code: 200,
|
|
58
58
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
59
|
-
}))).annotate({
|
|
60
|
-
identifier: "AddNicToServerRequest",
|
|
61
|
-
});
|
|
59
|
+
}))).annotate({ identifier: "AddNicToServerRequest" });
|
|
62
60
|
export const AddNicToServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
63
61
|
identifier: "AddNicToServerResponse",
|
|
64
62
|
});
|
|
@@ -78,36 +76,37 @@ export const AddPublicIpToServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
78
76
|
export const AddPublicIpToServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
79
77
|
identifier: "AddPublicIpToServerResponse",
|
|
80
78
|
});
|
|
79
|
+
export const DestinationCIDRv4Type = S.String;
|
|
81
80
|
export const DestinationCIDRv4 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
82
|
-
type:
|
|
81
|
+
type: DestinationCIDRv4Type,
|
|
83
82
|
value: S.String,
|
|
84
|
-
})).annotate({
|
|
85
|
-
|
|
86
|
-
});
|
|
83
|
+
})).annotate({ identifier: "DestinationCIDRv4" });
|
|
84
|
+
export const DestinationCIDRv6Type = S.String;
|
|
87
85
|
export const DestinationCIDRv6 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
88
|
-
type:
|
|
86
|
+
type: DestinationCIDRv6Type,
|
|
89
87
|
value: S.String,
|
|
90
|
-
})).annotate({
|
|
91
|
-
identifier: "DestinationCIDRv6",
|
|
92
|
-
});
|
|
88
|
+
})).annotate({ identifier: "DestinationCIDRv6" });
|
|
93
89
|
export const RouteInputDestination =
|
|
94
90
|
/*@__PURE__*/ S.Unknown;
|
|
91
|
+
export const NexthopIPv4Type = S.String;
|
|
95
92
|
export const NexthopIPv4 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
96
|
-
type:
|
|
93
|
+
type: NexthopIPv4Type,
|
|
97
94
|
value: S.String,
|
|
98
95
|
})).annotate({ identifier: "NexthopIPv4" });
|
|
96
|
+
export const NexthopIPv6Type = S.String;
|
|
99
97
|
export const NexthopIPv6 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
100
|
-
type:
|
|
98
|
+
type: NexthopIPv6Type,
|
|
101
99
|
value: S.String,
|
|
102
100
|
})).annotate({ identifier: "NexthopIPv6" });
|
|
101
|
+
export const NexthopInternetType = S.String;
|
|
103
102
|
export const NexthopInternet = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
104
|
-
type:
|
|
105
|
-
})).annotate({
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
/*@__PURE__*/ S.Unknown;
|
|
103
|
+
type: NexthopInternetType,
|
|
104
|
+
})).annotate({ identifier: "NexthopInternet" });
|
|
105
|
+
export const NexthopBlackholeType = S.String;
|
|
106
|
+
export const NexthopBlackhole = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
107
|
+
type: NexthopBlackholeType,
|
|
108
|
+
})).annotate({ identifier: "NexthopBlackhole" });
|
|
109
|
+
export const RouteInputNexthop = /*@__PURE__*/ S.Unknown;
|
|
111
110
|
export const RouteInput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
112
111
|
destination: RouteInputDestination,
|
|
113
112
|
labels: S.optional(S.Unknown),
|
|
@@ -128,10 +127,8 @@ export const AddRoutesToRoutingTableRequest = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
128
127
|
}))).annotate({
|
|
129
128
|
identifier: "AddRoutesToRoutingTableRequest",
|
|
130
129
|
});
|
|
131
|
-
export const RouteDestination =
|
|
132
|
-
/*@__PURE__*/ S.Unknown;
|
|
133
|
-
export const RouteNexthop =
|
|
134
|
-
/*@__PURE__*/ S.Unknown;
|
|
130
|
+
export const RouteDestination = /*@__PURE__*/ S.Unknown;
|
|
131
|
+
export const RouteNexthop = /*@__PURE__*/ S.Unknown;
|
|
135
132
|
export const Route = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
136
133
|
createdAt: S.optional(S.String),
|
|
137
134
|
destination: RouteDestination,
|
|
@@ -143,9 +140,7 @@ export const Route = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
143
140
|
export const RouteList = /*@__PURE__*/ S.Array(Route);
|
|
144
141
|
export const RouteListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
145
142
|
items: RouteList,
|
|
146
|
-
})).annotate({
|
|
147
|
-
identifier: "RouteListResponse",
|
|
148
|
-
});
|
|
143
|
+
})).annotate({ identifier: "RouteListResponse" });
|
|
149
144
|
export const AddRoutingTableToAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
150
145
|
organizationId: S.String.pipe(T.Label()),
|
|
151
146
|
areaId: S.String.pipe(T.Label()),
|
|
@@ -220,16 +215,12 @@ export const AddVolumeToServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
220
215
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/volume-attachments/{volumeId}",
|
|
221
216
|
code: 200,
|
|
222
217
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
223
|
-
}))).annotate({
|
|
224
|
-
identifier: "AddVolumeToServerRequest",
|
|
225
|
-
});
|
|
218
|
+
}))).annotate({ identifier: "AddVolumeToServerRequest" });
|
|
226
219
|
export const VolumeAttachment = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
227
220
|
deleteOnTermination: S.optional(S.Boolean),
|
|
228
221
|
serverId: S.optional(S.String),
|
|
229
222
|
volumeId: S.optional(S.String),
|
|
230
|
-
})).annotate({
|
|
231
|
-
identifier: "VolumeAttachment",
|
|
232
|
-
});
|
|
223
|
+
})).annotate({ identifier: "VolumeAttachment" });
|
|
233
224
|
export const CreateAffinityGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
234
225
|
projectId: S.String.pipe(T.Label()),
|
|
235
226
|
region: S.String.pipe(T.Label()),
|
|
@@ -266,9 +257,7 @@ export const CreateBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
266
257
|
uri: "/v2/projects/{projectId}/regions/{region}/backups",
|
|
267
258
|
code: 200,
|
|
268
259
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
269
|
-
}))).annotate({
|
|
270
|
-
identifier: "CreateBackupRequest",
|
|
271
|
-
});
|
|
260
|
+
}))).annotate({ identifier: "CreateBackupRequest" });
|
|
272
261
|
export const Backup = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
273
262
|
availabilityZone: S.optional(S.String),
|
|
274
263
|
createdAt: S.optional(S.String),
|
|
@@ -319,15 +308,11 @@ export const CreateImageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
319
308
|
uri: "/v2/projects/{projectId}/regions/{region}/images",
|
|
320
309
|
code: 200,
|
|
321
310
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
322
|
-
}))).annotate({
|
|
323
|
-
identifier: "CreateImageRequest",
|
|
324
|
-
});
|
|
311
|
+
}))).annotate({ identifier: "CreateImageRequest" });
|
|
325
312
|
export const ImageCreateResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
326
313
|
id: S.String,
|
|
327
314
|
uploadUrl: S.String,
|
|
328
|
-
})).annotate({
|
|
329
|
-
identifier: "ImageCreateResponse",
|
|
330
|
-
});
|
|
315
|
+
})).annotate({ identifier: "ImageCreateResponse" });
|
|
331
316
|
export const NameserversIPv4 = /*@__PURE__*/ S.Array(S.String);
|
|
332
317
|
export const CreateNetworkIPv4WithPrefix = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
333
318
|
gateway: S.optional(S.NullOr(S.String)),
|
|
@@ -344,8 +329,7 @@ export const CreateNetworkIPv4WithPrefixLength = /*@__PURE__*/ S.suspend(() => S
|
|
|
344
329
|
})).annotate({
|
|
345
330
|
identifier: "CreateNetworkIPv4WithPrefixLength",
|
|
346
331
|
});
|
|
347
|
-
export const CreateNetworkIPv4 =
|
|
348
|
-
/*@__PURE__*/ S.Unknown;
|
|
332
|
+
export const CreateNetworkIPv4 = /*@__PURE__*/ S.Unknown;
|
|
349
333
|
export const CreateIsolatedNetworkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
350
334
|
projectId: S.String.pipe(T.Label()),
|
|
351
335
|
region: S.String.pipe(T.Label()),
|
|
@@ -379,6 +363,7 @@ export const NetworkIPv6 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
379
363
|
})).annotate({ identifier: "NetworkIPv6" });
|
|
380
364
|
export const Network = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
381
365
|
createdAt: S.optional(S.String),
|
|
366
|
+
description: S.optional(S.String),
|
|
382
367
|
dhcp: S.optional(S.Boolean),
|
|
383
368
|
id: S.String,
|
|
384
369
|
ipv4: S.optional(NetworkIPv4),
|
|
@@ -400,9 +385,7 @@ export const CreateKeyPairRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
400
385
|
uri: "/v2/keypairs",
|
|
401
386
|
code: 200,
|
|
402
387
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
403
|
-
}))).annotate({
|
|
404
|
-
identifier: "CreateKeyPairRequest",
|
|
405
|
-
});
|
|
388
|
+
}))).annotate({ identifier: "CreateKeyPairRequest" });
|
|
406
389
|
export const Keypair = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
407
390
|
createdAt: S.optional(S.String),
|
|
408
391
|
fingerprint: S.optional(S.String),
|
|
@@ -426,11 +409,11 @@ export const CreateNetworkIPv6WithPrefixLength = /*@__PURE__*/ S.suspend(() => S
|
|
|
426
409
|
})).annotate({
|
|
427
410
|
identifier: "CreateNetworkIPv6WithPrefixLength",
|
|
428
411
|
});
|
|
429
|
-
export const CreateNetworkIPv6 =
|
|
430
|
-
/*@__PURE__*/ S.Unknown;
|
|
412
|
+
export const CreateNetworkIPv6 = /*@__PURE__*/ S.Unknown;
|
|
431
413
|
export const CreateNetworkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
432
414
|
projectId: S.String.pipe(T.Label()),
|
|
433
415
|
region: S.String.pipe(T.Label()),
|
|
416
|
+
description: S.optional(S.String),
|
|
434
417
|
dhcp: S.optional(S.Boolean),
|
|
435
418
|
ipv4: S.optional(CreateNetworkIPv4),
|
|
436
419
|
ipv6: S.optional(CreateNetworkIPv6),
|
|
@@ -444,9 +427,7 @@ export const CreateNetworkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
444
427
|
uri: "/v2/projects/{projectId}/regions/{region}/networks",
|
|
445
428
|
code: 200,
|
|
446
429
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
447
|
-
}))).annotate({
|
|
448
|
-
identifier: "CreateNetworkRequest",
|
|
449
|
-
});
|
|
430
|
+
}))).annotate({ identifier: "CreateNetworkRequest" });
|
|
450
431
|
export const CreateNetworkAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
451
432
|
organizationId: S.String.pipe(T.Label()),
|
|
452
433
|
labels: S.optional(S.Unknown),
|
|
@@ -456,9 +437,7 @@ export const CreateNetworkAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
456
437
|
uri: "/v2/organizations/{organizationId}/network-areas",
|
|
457
438
|
code: 200,
|
|
458
439
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
459
|
-
}))).annotate({
|
|
460
|
-
identifier: "CreateNetworkAreaRequest",
|
|
461
|
-
});
|
|
440
|
+
}))).annotate({ identifier: "CreateNetworkAreaRequest" });
|
|
462
441
|
export const NetworkArea = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
463
442
|
createdAt: S.optional(S.String),
|
|
464
443
|
id: S.optional(S.String),
|
|
@@ -469,9 +448,7 @@ export const NetworkArea = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
469
448
|
})).annotate({ identifier: "NetworkArea" });
|
|
470
449
|
export const NetworkRangeInput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
471
450
|
prefix: S.String,
|
|
472
|
-
})).annotate({
|
|
473
|
-
identifier: "NetworkRangeInput",
|
|
474
|
-
});
|
|
451
|
+
})).annotate({ identifier: "NetworkRangeInput" });
|
|
475
452
|
export const NetworkRangeListInput = /*@__PURE__*/ S.Array(NetworkRangeInput);
|
|
476
453
|
export const CreateNetworkAreaRangeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
477
454
|
organizationId: S.String.pipe(T.Label()),
|
|
@@ -495,11 +472,8 @@ export const NetworkRange = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
495
472
|
export const NetworkRangeList = /*@__PURE__*/ S.Array(NetworkRange);
|
|
496
473
|
export const NetworkRangeListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
497
474
|
items: NetworkRangeList,
|
|
498
|
-
})).annotate({
|
|
499
|
-
|
|
500
|
-
});
|
|
501
|
-
export const RegionalAreaIPv4InputDefaultNameserversList =
|
|
502
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
475
|
+
})).annotate({ identifier: "NetworkRangeListResponse" });
|
|
476
|
+
export const RegionalAreaIPv4InputDefaultNameserversList = /*@__PURE__*/ S.Array(S.String);
|
|
503
477
|
export const RegionalAreaIPv4Input = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
504
478
|
defaultNameservers: S.optional(RegionalAreaIPv4InputDefaultNameserversList),
|
|
505
479
|
defaultPrefixLen: S.Number,
|
|
@@ -507,9 +481,7 @@ export const RegionalAreaIPv4Input = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
507
481
|
minPrefixLen: S.Number,
|
|
508
482
|
networkRanges: NetworkRangeListInput,
|
|
509
483
|
transferNetwork: S.String,
|
|
510
|
-
})).annotate({
|
|
511
|
-
identifier: "RegionalAreaIPv4Input",
|
|
512
|
-
});
|
|
484
|
+
})).annotate({ identifier: "RegionalAreaIPv4Input" });
|
|
513
485
|
export const CreateNetworkAreaRegionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
514
486
|
organizationId: S.String.pipe(T.Label()),
|
|
515
487
|
areaId: S.String.pipe(T.Label()),
|
|
@@ -531,9 +503,7 @@ export const RegionalAreaIPv4 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
531
503
|
minPrefixLen: S.Number,
|
|
532
504
|
networkRanges: NetworkRangeList,
|
|
533
505
|
transferNetwork: S.String,
|
|
534
|
-
})).annotate({
|
|
535
|
-
identifier: "RegionalAreaIPv4",
|
|
536
|
-
});
|
|
506
|
+
})).annotate({ identifier: "RegionalAreaIPv4" });
|
|
537
507
|
export const RegionalArea = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
538
508
|
ipv4: S.optional(RegionalAreaIPv4),
|
|
539
509
|
status: S.optional(S.String),
|
|
@@ -570,9 +540,7 @@ export const CreateNicRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
570
540
|
uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}/nics",
|
|
571
541
|
code: 200,
|
|
572
542
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
573
|
-
}))).annotate({
|
|
574
|
-
identifier: "CreateNicRequest",
|
|
575
|
-
});
|
|
543
|
+
}))).annotate({ identifier: "CreateNicRequest" });
|
|
576
544
|
export const NIC = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
577
545
|
allowedAddresses: S.optional(AllowedAddresses),
|
|
578
546
|
description: S.optional(S.String),
|
|
@@ -599,9 +567,7 @@ export const CreatePublicIPRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
599
567
|
uri: "/v2/projects/{projectId}/regions/{region}/public-ips",
|
|
600
568
|
code: 200,
|
|
601
569
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
602
|
-
}))).annotate({
|
|
603
|
-
identifier: "CreatePublicIPRequest",
|
|
604
|
-
});
|
|
570
|
+
}))).annotate({ identifier: "CreatePublicIPRequest" });
|
|
605
571
|
export const PublicIp = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
606
572
|
id: S.optional(S.String),
|
|
607
573
|
ip: S.optional(S.String),
|
|
@@ -648,9 +614,7 @@ export const SecurityGroupRule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
648
614
|
securityGroupId: S.optional(S.String),
|
|
649
615
|
updatedAt: S.optional(S.String),
|
|
650
616
|
protocol: S.optional(Protocol),
|
|
651
|
-
})).annotate({
|
|
652
|
-
identifier: "SecurityGroupRule",
|
|
653
|
-
});
|
|
617
|
+
})).annotate({ identifier: "SecurityGroupRule" });
|
|
654
618
|
export const SecurityGroupRuleList = /*@__PURE__*/ S.Array(SecurityGroupRule);
|
|
655
619
|
export const SecurityGroup = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
656
620
|
createdAt: S.optional(S.String),
|
|
@@ -662,8 +626,7 @@ export const SecurityGroup = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
662
626
|
stateful: S.optional(S.Boolean),
|
|
663
627
|
updatedAt: S.optional(S.String),
|
|
664
628
|
})).annotate({ identifier: "SecurityGroup" });
|
|
665
|
-
export const CreateProtocol =
|
|
666
|
-
/*@__PURE__*/ S.Unknown;
|
|
629
|
+
export const CreateProtocol = /*@__PURE__*/ S.Unknown;
|
|
667
630
|
export const CreateSecurityGroupRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
668
631
|
projectId: S.String.pipe(T.Label()),
|
|
669
632
|
region: S.String.pipe(T.Label()),
|
|
@@ -709,14 +672,10 @@ export const BootVolumeInput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
709
672
|
performanceClass: S.optional(S.String),
|
|
710
673
|
size: S.optional(S.Number),
|
|
711
674
|
source: S.optional(BackupSource),
|
|
712
|
-
})).annotate({
|
|
713
|
-
identifier: "BootVolumeInput",
|
|
714
|
-
});
|
|
675
|
+
})).annotate({ identifier: "BootVolumeInput" });
|
|
715
676
|
export const CreateServerNetworking = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
716
677
|
networkId: S.optional(S.String),
|
|
717
|
-
})).annotate({
|
|
718
|
-
identifier: "CreateServerNetworking",
|
|
719
|
-
});
|
|
678
|
+
})).annotate({ identifier: "CreateServerNetworking" });
|
|
720
679
|
export const CreateServerNetworkingWithNics = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
721
680
|
nicIds: S.optional(UUIDList),
|
|
722
681
|
})).annotate({
|
|
@@ -749,23 +708,17 @@ export const CreateServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
749
708
|
uri: "/v2/projects/{projectId}/regions/{region}/servers",
|
|
750
709
|
code: 200,
|
|
751
710
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
752
|
-
}))).annotate({
|
|
753
|
-
identifier: "CreateServerRequest",
|
|
754
|
-
});
|
|
711
|
+
}))).annotate({ identifier: "CreateServerRequest" });
|
|
755
712
|
export const BootVolumeOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
756
713
|
deleteOnTermination: S.optional(S.Boolean),
|
|
757
714
|
id: S.optional(S.String),
|
|
758
|
-
})).annotate({
|
|
759
|
-
identifier: "BootVolumeOutput",
|
|
760
|
-
});
|
|
715
|
+
})).annotate({ identifier: "BootVolumeOutput" });
|
|
761
716
|
export const ServerMaintenance = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
762
717
|
details: S.optional(S.String),
|
|
763
718
|
endsAt: S.String,
|
|
764
719
|
startsAt: S.String,
|
|
765
720
|
status: S.String,
|
|
766
|
-
})).annotate({
|
|
767
|
-
identifier: "ServerMaintenance",
|
|
768
|
-
});
|
|
721
|
+
})).annotate({ identifier: "ServerMaintenance" });
|
|
769
722
|
export const ServerOutputNetworking =
|
|
770
723
|
/*@__PURE__*/ S.Unknown;
|
|
771
724
|
export const ServerNetwork = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -819,9 +772,7 @@ export const CreateSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
819
772
|
uri: "/v2/projects/{projectId}/regions/{region}/snapshots",
|
|
820
773
|
code: 200,
|
|
821
774
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
822
|
-
}))).annotate({
|
|
823
|
-
identifier: "CreateSnapshotRequest",
|
|
824
|
-
});
|
|
775
|
+
}))).annotate({ identifier: "CreateSnapshotRequest" });
|
|
825
776
|
export const Snapshot = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
826
777
|
availabilityZone: S.optional(S.String),
|
|
827
778
|
createdAt: S.optional(S.String),
|
|
@@ -862,9 +813,7 @@ export const CreateVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
862
813
|
uri: "/v2/projects/{projectId}/regions/{region}/volumes",
|
|
863
814
|
code: 200,
|
|
864
815
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
865
|
-
}))).annotate({
|
|
866
|
-
identifier: "CreateVolumeRequest",
|
|
867
|
-
});
|
|
816
|
+
}))).annotate({ identifier: "CreateVolumeRequest" });
|
|
868
817
|
export const Volume = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
869
818
|
availabilityZone: S.String,
|
|
870
819
|
bootable: S.optional(S.Boolean),
|
|
@@ -892,9 +841,7 @@ export const DeallocateServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
892
841
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/deallocate",
|
|
893
842
|
code: 200,
|
|
894
843
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
895
|
-
}))).annotate({
|
|
896
|
-
identifier: "DeallocateServerRequest",
|
|
897
|
-
});
|
|
844
|
+
}))).annotate({ identifier: "DeallocateServerRequest" });
|
|
898
845
|
export const DeallocateServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
899
846
|
identifier: "DeallocateServerResponse",
|
|
900
847
|
});
|
|
@@ -923,9 +870,7 @@ export const DeleteBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
923
870
|
uri: "/v2/projects/{projectId}/regions/{region}/backups/{backupId}",
|
|
924
871
|
code: 200,
|
|
925
872
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
926
|
-
}))).annotate({
|
|
927
|
-
identifier: "DeleteBackupRequest",
|
|
928
|
-
});
|
|
873
|
+
}))).annotate({ identifier: "DeleteBackupRequest" });
|
|
929
874
|
export const DeleteBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
930
875
|
identifier: "DeleteBackupResponse",
|
|
931
876
|
});
|
|
@@ -938,9 +883,7 @@ export const DeleteImageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
938
883
|
uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}",
|
|
939
884
|
code: 200,
|
|
940
885
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
941
|
-
}))).annotate({
|
|
942
|
-
identifier: "DeleteImageRequest",
|
|
943
|
-
});
|
|
886
|
+
}))).annotate({ identifier: "DeleteImageRequest" });
|
|
944
887
|
export const DeleteImageResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
945
888
|
identifier: "DeleteImageResponse",
|
|
946
889
|
});
|
|
@@ -953,9 +896,7 @@ export const DeleteImageShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
953
896
|
uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}/share",
|
|
954
897
|
code: 200,
|
|
955
898
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
956
|
-
}))).annotate({
|
|
957
|
-
identifier: "DeleteImageShareRequest",
|
|
958
|
-
});
|
|
899
|
+
}))).annotate({ identifier: "DeleteImageShareRequest" });
|
|
959
900
|
export const DeleteImageShareResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
960
901
|
identifier: "DeleteImageShareResponse",
|
|
961
902
|
});
|
|
@@ -982,9 +923,7 @@ export const DeleteKeyPairRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
982
923
|
uri: "/v2/keypairs/{keypairName}",
|
|
983
924
|
code: 200,
|
|
984
925
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
985
|
-
}))).annotate({
|
|
986
|
-
identifier: "DeleteKeyPairRequest",
|
|
987
|
-
});
|
|
926
|
+
}))).annotate({ identifier: "DeleteKeyPairRequest" });
|
|
988
927
|
export const DeleteKeyPairResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
989
928
|
identifier: "DeleteKeyPairResponse",
|
|
990
929
|
});
|
|
@@ -997,9 +936,7 @@ export const DeleteNetworkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
997
936
|
uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}",
|
|
998
937
|
code: 200,
|
|
999
938
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1000
|
-
}))).annotate({
|
|
1001
|
-
identifier: "DeleteNetworkRequest",
|
|
1002
|
-
});
|
|
939
|
+
}))).annotate({ identifier: "DeleteNetworkRequest" });
|
|
1003
940
|
export const DeleteNetworkResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1004
941
|
identifier: "DeleteNetworkResponse",
|
|
1005
942
|
});
|
|
@@ -1011,9 +948,7 @@ export const DeleteNetworkAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1011
948
|
uri: "/v2/organizations/{organizationId}/network-areas/{areaId}",
|
|
1012
949
|
code: 200,
|
|
1013
950
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1014
|
-
}))).annotate({
|
|
1015
|
-
identifier: "DeleteNetworkAreaRequest",
|
|
1016
|
-
});
|
|
951
|
+
}))).annotate({ identifier: "DeleteNetworkAreaRequest" });
|
|
1017
952
|
export const DeleteNetworkAreaResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1018
953
|
identifier: "DeleteNetworkAreaResponse",
|
|
1019
954
|
});
|
|
@@ -1045,9 +980,7 @@ export const DeleteNetworkAreaRegionRequest = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
1045
980
|
}))).annotate({
|
|
1046
981
|
identifier: "DeleteNetworkAreaRegionRequest",
|
|
1047
982
|
});
|
|
1048
|
-
export const DeleteNetworkAreaRegionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1049
|
-
identifier: "DeleteNetworkAreaRegionResponse",
|
|
1050
|
-
});
|
|
983
|
+
export const DeleteNetworkAreaRegionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteNetworkAreaRegionResponse" });
|
|
1051
984
|
export const DeleteNetworkAreaRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1052
985
|
organizationId: S.String.pipe(T.Label()),
|
|
1053
986
|
areaId: S.String.pipe(T.Label()),
|
|
@@ -1074,9 +1007,7 @@ export const DeleteNicRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1074
1007
|
uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}/nics/{nicId}",
|
|
1075
1008
|
code: 200,
|
|
1076
1009
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1077
|
-
}))).annotate({
|
|
1078
|
-
identifier: "DeleteNicRequest",
|
|
1079
|
-
});
|
|
1010
|
+
}))).annotate({ identifier: "DeleteNicRequest" });
|
|
1080
1011
|
export const DeleteNicResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1081
1012
|
identifier: "DeleteNicResponse",
|
|
1082
1013
|
});
|
|
@@ -1089,9 +1020,7 @@ export const DeletePublicIPRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1089
1020
|
uri: "/v2/projects/{projectId}/regions/{region}/public-ips/{publicIpId}",
|
|
1090
1021
|
code: 200,
|
|
1091
1022
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1092
|
-
}))).annotate({
|
|
1093
|
-
identifier: "DeletePublicIPRequest",
|
|
1094
|
-
});
|
|
1023
|
+
}))).annotate({ identifier: "DeletePublicIPRequest" });
|
|
1095
1024
|
export const DeletePublicIPResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1096
1025
|
identifier: "DeletePublicIPResponse",
|
|
1097
1026
|
});
|
|
@@ -1156,9 +1085,7 @@ export const DeleteSecurityGroupRuleRequest = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
1156
1085
|
}))).annotate({
|
|
1157
1086
|
identifier: "DeleteSecurityGroupRuleRequest",
|
|
1158
1087
|
});
|
|
1159
|
-
export const DeleteSecurityGroupRuleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1160
|
-
identifier: "DeleteSecurityGroupRuleResponse",
|
|
1161
|
-
});
|
|
1088
|
+
export const DeleteSecurityGroupRuleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteSecurityGroupRuleResponse" });
|
|
1162
1089
|
export const DeleteServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1163
1090
|
projectId: S.String.pipe(T.Label()),
|
|
1164
1091
|
region: S.String.pipe(T.Label()),
|
|
@@ -1168,9 +1095,7 @@ export const DeleteServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1168
1095
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}",
|
|
1169
1096
|
code: 200,
|
|
1170
1097
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1171
|
-
}))).annotate({
|
|
1172
|
-
identifier: "DeleteServerRequest",
|
|
1173
|
-
});
|
|
1098
|
+
}))).annotate({ identifier: "DeleteServerRequest" });
|
|
1174
1099
|
export const DeleteServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1175
1100
|
identifier: "DeleteServerResponse",
|
|
1176
1101
|
});
|
|
@@ -1183,9 +1108,7 @@ export const DeleteSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1183
1108
|
uri: "/v2/projects/{projectId}/regions/{region}/snapshots/{snapshotId}",
|
|
1184
1109
|
code: 200,
|
|
1185
1110
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1186
|
-
}))).annotate({
|
|
1187
|
-
identifier: "DeleteSnapshotRequest",
|
|
1188
|
-
});
|
|
1111
|
+
}))).annotate({ identifier: "DeleteSnapshotRequest" });
|
|
1189
1112
|
export const DeleteSnapshotResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1190
1113
|
identifier: "DeleteSnapshotResponse",
|
|
1191
1114
|
});
|
|
@@ -1199,9 +1122,7 @@ export const DeleteVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1199
1122
|
uri: "/v2/projects/{projectId}/regions/{region}/volumes/{volumeId}",
|
|
1200
1123
|
code: 200,
|
|
1201
1124
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1202
|
-
}))).annotate({
|
|
1203
|
-
identifier: "DeleteVolumeRequest",
|
|
1204
|
-
});
|
|
1125
|
+
}))).annotate({ identifier: "DeleteVolumeRequest" });
|
|
1205
1126
|
export const DeleteVolumeResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1206
1127
|
identifier: "DeleteVolumeResponse",
|
|
1207
1128
|
});
|
|
@@ -1214,9 +1135,7 @@ export const GetAffinityGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1214
1135
|
uri: "/v2/projects/{projectId}/regions/{region}/affinity-groups/{affinityGroupId}",
|
|
1215
1136
|
code: 200,
|
|
1216
1137
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1217
|
-
}))).annotate({
|
|
1218
|
-
identifier: "GetAffinityGroupRequest",
|
|
1219
|
-
});
|
|
1138
|
+
}))).annotate({ identifier: "GetAffinityGroupRequest" });
|
|
1220
1139
|
export const GetAttachedVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1221
1140
|
projectId: S.String.pipe(T.Label()),
|
|
1222
1141
|
region: S.String.pipe(T.Label()),
|
|
@@ -1227,9 +1146,7 @@ export const GetAttachedVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1227
1146
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/volume-attachments/{volumeId}",
|
|
1228
1147
|
code: 200,
|
|
1229
1148
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1230
|
-
}))).annotate({
|
|
1231
|
-
identifier: "GetAttachedVolumeRequest",
|
|
1232
|
-
});
|
|
1149
|
+
}))).annotate({ identifier: "GetAttachedVolumeRequest" });
|
|
1233
1150
|
export const GetBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1234
1151
|
projectId: S.String.pipe(T.Label()),
|
|
1235
1152
|
region: S.String.pipe(T.Label()),
|
|
@@ -1239,9 +1156,7 @@ export const GetBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1239
1156
|
uri: "/v2/projects/{projectId}/regions/{region}/backups/{backupId}",
|
|
1240
1157
|
code: 200,
|
|
1241
1158
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1242
|
-
}))).annotate({
|
|
1243
|
-
identifier: "GetBackupRequest",
|
|
1244
|
-
});
|
|
1159
|
+
}))).annotate({ identifier: "GetBackupRequest" });
|
|
1245
1160
|
export const GetImageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1246
1161
|
projectId: S.String.pipe(T.Label()),
|
|
1247
1162
|
region: S.String.pipe(T.Label()),
|
|
@@ -1251,9 +1166,7 @@ export const GetImageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1251
1166
|
uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}",
|
|
1252
1167
|
code: 200,
|
|
1253
1168
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1254
|
-
}))).annotate({
|
|
1255
|
-
identifier: "GetImageRequest",
|
|
1256
|
-
});
|
|
1169
|
+
}))).annotate({ identifier: "GetImageRequest" });
|
|
1257
1170
|
export const ImageChecksum = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1258
1171
|
algorithm: S.String,
|
|
1259
1172
|
digest: S.String,
|
|
@@ -1286,9 +1199,7 @@ export const GetImageShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1286
1199
|
uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}/share",
|
|
1287
1200
|
code: 200,
|
|
1288
1201
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1289
|
-
}))).annotate({
|
|
1290
|
-
identifier: "GetImageShareRequest",
|
|
1291
|
-
});
|
|
1202
|
+
}))).annotate({ identifier: "GetImageShareRequest" });
|
|
1292
1203
|
export const ImageShareProjectsList = /*@__PURE__*/ S.Array(S.String);
|
|
1293
1204
|
export const ImageShare = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1294
1205
|
parentOrganization: S.optional(S.Boolean),
|
|
@@ -1312,9 +1223,7 @@ export const ImageShareConsumer = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1312
1223
|
createdAt: S.optional(S.String),
|
|
1313
1224
|
imageId: S.optional(S.String),
|
|
1314
1225
|
updatedAt: S.optional(S.String),
|
|
1315
|
-
})).annotate({
|
|
1316
|
-
identifier: "ImageShareConsumer",
|
|
1317
|
-
});
|
|
1226
|
+
})).annotate({ identifier: "ImageShareConsumer" });
|
|
1318
1227
|
export const GetKeyPairRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1319
1228
|
keypairName: S.String.pipe(T.Label()),
|
|
1320
1229
|
}).pipe(T.Http({
|
|
@@ -1322,9 +1231,7 @@ export const GetKeyPairRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1322
1231
|
uri: "/v2/keypairs/{keypairName}",
|
|
1323
1232
|
code: 200,
|
|
1324
1233
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1325
|
-
}))).annotate({
|
|
1326
|
-
identifier: "GetKeyPairRequest",
|
|
1327
|
-
});
|
|
1234
|
+
}))).annotate({ identifier: "GetKeyPairRequest" });
|
|
1328
1235
|
export const GetMachineTypeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1329
1236
|
projectId: S.String.pipe(T.Label()),
|
|
1330
1237
|
region: S.String.pipe(T.Label()),
|
|
@@ -1334,9 +1241,7 @@ export const GetMachineTypeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1334
1241
|
uri: "/v2/projects/{projectId}/regions/{region}/machine-types/{machineType}",
|
|
1335
1242
|
code: 200,
|
|
1336
1243
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1337
|
-
}))).annotate({
|
|
1338
|
-
identifier: "GetMachineTypeRequest",
|
|
1339
|
-
});
|
|
1244
|
+
}))).annotate({ identifier: "GetMachineTypeRequest" });
|
|
1340
1245
|
export const MachineType = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1341
1246
|
description: S.optional(S.String),
|
|
1342
1247
|
disk: S.Number,
|
|
@@ -1354,9 +1259,7 @@ export const GetNetworkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1354
1259
|
uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}",
|
|
1355
1260
|
code: 200,
|
|
1356
1261
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1357
|
-
}))).annotate({
|
|
1358
|
-
identifier: "GetNetworkRequest",
|
|
1359
|
-
});
|
|
1262
|
+
}))).annotate({ identifier: "GetNetworkRequest" });
|
|
1360
1263
|
export const GetNetworkAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1361
1264
|
organizationId: S.String.pipe(T.Label()),
|
|
1362
1265
|
areaId: S.String.pipe(T.Label()),
|
|
@@ -1365,9 +1268,7 @@ export const GetNetworkAreaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1365
1268
|
uri: "/v2/organizations/{organizationId}/network-areas/{areaId}",
|
|
1366
1269
|
code: 200,
|
|
1367
1270
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1368
|
-
}))).annotate({
|
|
1369
|
-
identifier: "GetNetworkAreaRequest",
|
|
1370
|
-
});
|
|
1271
|
+
}))).annotate({ identifier: "GetNetworkAreaRequest" });
|
|
1371
1272
|
export const GetNetworkAreaRangeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1372
1273
|
organizationId: S.String.pipe(T.Label()),
|
|
1373
1274
|
areaId: S.String.pipe(T.Label()),
|
|
@@ -1432,9 +1333,7 @@ export const RequestResource = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1432
1333
|
id: S.String,
|
|
1433
1334
|
status: S.String,
|
|
1434
1335
|
type: S.String,
|
|
1435
|
-
})).annotate({
|
|
1436
|
-
identifier: "RequestResource",
|
|
1437
|
-
});
|
|
1336
|
+
})).annotate({ identifier: "RequestResource" });
|
|
1438
1337
|
export const RequestResourcesList = /*@__PURE__*/ S.Array(RequestResource);
|
|
1439
1338
|
export const Request = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1440
1339
|
details: S.optional(S.String),
|
|
@@ -1451,18 +1350,18 @@ export const GetProjectDetailsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1451
1350
|
uri: "/v2/projects/{projectId}",
|
|
1452
1351
|
code: 200,
|
|
1453
1352
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1454
|
-
}))).annotate({
|
|
1455
|
-
|
|
1456
|
-
});
|
|
1457
|
-
export const StaticAreaID = /*@__PURE__*/ S.String;
|
|
1353
|
+
}))).annotate({ identifier: "GetProjectDetailsRequest" });
|
|
1354
|
+
export const StaticAreaID = S.String;
|
|
1458
1355
|
export const AreaId = /*@__PURE__*/ S.Unknown;
|
|
1459
1356
|
export const Project = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1460
1357
|
areaId: AreaId,
|
|
1461
1358
|
createdAt: S.optional(S.String),
|
|
1462
1359
|
id: S.String,
|
|
1463
1360
|
internetAccess: S.optional(S.Boolean),
|
|
1361
|
+
projectType: S.optional(S.String),
|
|
1464
1362
|
status: S.String,
|
|
1465
1363
|
updatedAt: S.optional(S.String),
|
|
1364
|
+
vpcId: S.optional(S.String),
|
|
1466
1365
|
})).annotate({ identifier: "Project" });
|
|
1467
1366
|
export const GetProjectNICRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1468
1367
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -1473,9 +1372,7 @@ export const GetProjectNICRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1473
1372
|
uri: "/v2/projects/{projectId}/regions/{region}/nics/{nicId}",
|
|
1474
1373
|
code: 200,
|
|
1475
1374
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1476
|
-
}))).annotate({
|
|
1477
|
-
identifier: "GetProjectNICRequest",
|
|
1478
|
-
});
|
|
1375
|
+
}))).annotate({ identifier: "GetProjectNICRequest" });
|
|
1479
1376
|
export const GetProjectRequestRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1480
1377
|
projectId: S.String.pipe(T.Label()),
|
|
1481
1378
|
region: S.String.pipe(T.Label()),
|
|
@@ -1485,9 +1382,7 @@ export const GetProjectRequestRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1485
1382
|
uri: "/v2/projects/{projectId}/regions/{region}/requests/{requestId}",
|
|
1486
1383
|
code: 200,
|
|
1487
1384
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1488
|
-
}))).annotate({
|
|
1489
|
-
identifier: "GetProjectRequestRequest",
|
|
1490
|
-
});
|
|
1385
|
+
}))).annotate({ identifier: "GetProjectRequestRequest" });
|
|
1491
1386
|
export const GetPublicIPRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1492
1387
|
projectId: S.String.pipe(T.Label()),
|
|
1493
1388
|
region: S.String.pipe(T.Label()),
|
|
@@ -1497,9 +1392,7 @@ export const GetPublicIPRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1497
1392
|
uri: "/v2/projects/{projectId}/regions/{region}/public-ips/{publicIpId}",
|
|
1498
1393
|
code: 200,
|
|
1499
1394
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1500
|
-
}))).annotate({
|
|
1501
|
-
identifier: "GetPublicIPRequest",
|
|
1502
|
-
});
|
|
1395
|
+
}))).annotate({ identifier: "GetPublicIPRequest" });
|
|
1503
1396
|
export const GetRouteOfRoutingTableRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1504
1397
|
organizationId: S.String.pipe(T.Label()),
|
|
1505
1398
|
areaId: S.String.pipe(T.Label()),
|
|
@@ -1536,9 +1429,7 @@ export const GetSecurityGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1536
1429
|
uri: "/v2/projects/{projectId}/regions/{region}/security-groups/{securityGroupId}",
|
|
1537
1430
|
code: 200,
|
|
1538
1431
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1539
|
-
}))).annotate({
|
|
1540
|
-
identifier: "GetSecurityGroupRequest",
|
|
1541
|
-
});
|
|
1432
|
+
}))).annotate({ identifier: "GetSecurityGroupRequest" });
|
|
1542
1433
|
export const GetSecurityGroupRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1543
1434
|
projectId: S.String.pipe(T.Label()),
|
|
1544
1435
|
region: S.String.pipe(T.Label()),
|
|
@@ -1578,9 +1469,7 @@ export const GetServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1578
1469
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}",
|
|
1579
1470
|
code: 200,
|
|
1580
1471
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1581
|
-
}))).annotate({
|
|
1582
|
-
identifier: "GetServerRequest",
|
|
1583
|
-
});
|
|
1472
|
+
}))).annotate({ identifier: "GetServerRequest" });
|
|
1584
1473
|
export const GetServerConsoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1585
1474
|
projectId: S.String.pipe(T.Label()),
|
|
1586
1475
|
region: S.String.pipe(T.Label()),
|
|
@@ -1590,14 +1479,10 @@ export const GetServerConsoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1590
1479
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/console",
|
|
1591
1480
|
code: 200,
|
|
1592
1481
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1593
|
-
}))).annotate({
|
|
1594
|
-
identifier: "GetServerConsoleRequest",
|
|
1595
|
-
});
|
|
1482
|
+
}))).annotate({ identifier: "GetServerConsoleRequest" });
|
|
1596
1483
|
export const ServerConsoleUrl = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1597
1484
|
url: S.String,
|
|
1598
|
-
})).annotate({
|
|
1599
|
-
identifier: "ServerConsoleUrl",
|
|
1600
|
-
});
|
|
1485
|
+
})).annotate({ identifier: "ServerConsoleUrl" });
|
|
1601
1486
|
export const GetServerLogRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1602
1487
|
projectId: S.String.pipe(T.Label()),
|
|
1603
1488
|
region: S.String.pipe(T.Label()),
|
|
@@ -1608,14 +1493,10 @@ export const GetServerLogRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1608
1493
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/log",
|
|
1609
1494
|
code: 200,
|
|
1610
1495
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1611
|
-
}))).annotate({
|
|
1612
|
-
identifier: "GetServerLogRequest",
|
|
1613
|
-
});
|
|
1496
|
+
}))).annotate({ identifier: "GetServerLogRequest" });
|
|
1614
1497
|
export const GetServerLogResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1615
1498
|
output: S.optional(S.String),
|
|
1616
|
-
})).annotate({
|
|
1617
|
-
identifier: "GetServerLogResponse",
|
|
1618
|
-
});
|
|
1499
|
+
})).annotate({ identifier: "GetServerLogResponse" });
|
|
1619
1500
|
export const GetSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1620
1501
|
projectId: S.String.pipe(T.Label()),
|
|
1621
1502
|
region: S.String.pipe(T.Label()),
|
|
@@ -1625,9 +1506,7 @@ export const GetSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1625
1506
|
uri: "/v2/projects/{projectId}/regions/{region}/snapshots/{snapshotId}",
|
|
1626
1507
|
code: 200,
|
|
1627
1508
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1628
|
-
}))).annotate({
|
|
1629
|
-
identifier: "GetSnapshotRequest",
|
|
1630
|
-
});
|
|
1509
|
+
}))).annotate({ identifier: "GetSnapshotRequest" });
|
|
1631
1510
|
export const GetVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1632
1511
|
projectId: S.String.pipe(T.Label()),
|
|
1633
1512
|
region: S.String.pipe(T.Label()),
|
|
@@ -1637,9 +1516,7 @@ export const GetVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1637
1516
|
uri: "/v2/projects/{projectId}/regions/{region}/volumes/{volumeId}",
|
|
1638
1517
|
code: 200,
|
|
1639
1518
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1640
|
-
}))).annotate({
|
|
1641
|
-
identifier: "GetVolumeRequest",
|
|
1642
|
-
});
|
|
1519
|
+
}))).annotate({ identifier: "GetVolumeRequest" });
|
|
1643
1520
|
export const GetVolumePerformanceClassRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1644
1521
|
projectId: S.String.pipe(T.Label()),
|
|
1645
1522
|
region: S.String.pipe(T.Label()),
|
|
@@ -1658,14 +1535,13 @@ export const VolumePerformanceClass = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1658
1535
|
labels: S.optional(S.Unknown),
|
|
1659
1536
|
name: S.String,
|
|
1660
1537
|
throughput: S.optional(S.Number),
|
|
1661
|
-
})).annotate({
|
|
1662
|
-
identifier: "VolumePerformanceClass",
|
|
1663
|
-
});
|
|
1538
|
+
})).annotate({ identifier: "VolumePerformanceClass" });
|
|
1664
1539
|
export const ImageFromVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1665
1540
|
projectId: S.String.pipe(T.Label()),
|
|
1666
1541
|
region: S.String.pipe(T.Label()),
|
|
1667
1542
|
volumeId: S.String.pipe(T.Label()),
|
|
1668
1543
|
diskFormat: S.String,
|
|
1544
|
+
force: S.optional(S.Boolean),
|
|
1669
1545
|
name: S.String,
|
|
1670
1546
|
protected: S.optional(S.Boolean),
|
|
1671
1547
|
}).pipe(T.Http({
|
|
@@ -1673,9 +1549,7 @@ export const ImageFromVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1673
1549
|
uri: "/v2/projects/{projectId}/regions/{region}/volumes/{volumeId}/upload",
|
|
1674
1550
|
code: 200,
|
|
1675
1551
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1676
|
-
}))).annotate({
|
|
1677
|
-
identifier: "ImageFromVolumeRequest",
|
|
1678
|
-
});
|
|
1552
|
+
}))).annotate({ identifier: "ImageFromVolumeRequest" });
|
|
1679
1553
|
export const ListAffinityGroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1680
1554
|
projectId: S.String.pipe(T.Label()),
|
|
1681
1555
|
region: S.String.pipe(T.Label()),
|
|
@@ -1736,15 +1610,11 @@ export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1736
1610
|
uri: "/v2/projects/{projectId}/regions/{region}/backups",
|
|
1737
1611
|
code: 200,
|
|
1738
1612
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1739
|
-
}))).annotate({
|
|
1740
|
-
identifier: "ListBackupsRequest",
|
|
1741
|
-
});
|
|
1613
|
+
}))).annotate({ identifier: "ListBackupsRequest" });
|
|
1742
1614
|
export const BackupList = /*@__PURE__*/ S.Array(Backup);
|
|
1743
1615
|
export const BackupListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1744
1616
|
items: BackupList,
|
|
1745
|
-
})).annotate({
|
|
1746
|
-
identifier: "BackupListResponse",
|
|
1747
|
-
});
|
|
1617
|
+
})).annotate({ identifier: "BackupListResponse" });
|
|
1748
1618
|
export const ListImagesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1749
1619
|
projectId: S.String.pipe(T.Label()),
|
|
1750
1620
|
region: S.String.pipe(T.Label()),
|
|
@@ -1755,15 +1625,11 @@ export const ListImagesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1755
1625
|
uri: "/v2/projects/{projectId}/regions/{region}/images",
|
|
1756
1626
|
code: 200,
|
|
1757
1627
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1758
|
-
}))).annotate({
|
|
1759
|
-
identifier: "ListImagesRequest",
|
|
1760
|
-
});
|
|
1628
|
+
}))).annotate({ identifier: "ListImagesRequest" });
|
|
1761
1629
|
export const ImageList = /*@__PURE__*/ S.Array(Image);
|
|
1762
1630
|
export const ImageListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1763
1631
|
items: ImageList,
|
|
1764
|
-
})).annotate({
|
|
1765
|
-
identifier: "ImageListResponse",
|
|
1766
|
-
});
|
|
1632
|
+
})).annotate({ identifier: "ImageListResponse" });
|
|
1767
1633
|
export const ListKeyPairsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1768
1634
|
label_selector: S.optional(S.String.pipe(T.Query())),
|
|
1769
1635
|
}).pipe(T.Http({
|
|
@@ -1771,15 +1637,11 @@ export const ListKeyPairsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1771
1637
|
uri: "/v2/keypairs",
|
|
1772
1638
|
code: 200,
|
|
1773
1639
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1774
|
-
}))).annotate({
|
|
1775
|
-
identifier: "ListKeyPairsRequest",
|
|
1776
|
-
});
|
|
1640
|
+
}))).annotate({ identifier: "ListKeyPairsRequest" });
|
|
1777
1641
|
export const KeyPairList = /*@__PURE__*/ S.Array(Keypair);
|
|
1778
1642
|
export const KeyPairListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1779
1643
|
items: KeyPairList,
|
|
1780
|
-
})).annotate({
|
|
1781
|
-
identifier: "KeyPairListResponse",
|
|
1782
|
-
});
|
|
1644
|
+
})).annotate({ identifier: "KeyPairListResponse" });
|
|
1783
1645
|
export const ListMachineTypesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1784
1646
|
projectId: S.String.pipe(T.Label()),
|
|
1785
1647
|
region: S.String.pipe(T.Label()),
|
|
@@ -1789,15 +1651,11 @@ export const ListMachineTypesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1789
1651
|
uri: "/v2/projects/{projectId}/regions/{region}/machine-types",
|
|
1790
1652
|
code: 200,
|
|
1791
1653
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1792
|
-
}))).annotate({
|
|
1793
|
-
identifier: "ListMachineTypesRequest",
|
|
1794
|
-
});
|
|
1654
|
+
}))).annotate({ identifier: "ListMachineTypesRequest" });
|
|
1795
1655
|
export const MachineTypeList = /*@__PURE__*/ S.Array(MachineType);
|
|
1796
1656
|
export const MachineTypeListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1797
1657
|
items: MachineTypeList,
|
|
1798
|
-
})).annotate({
|
|
1799
|
-
identifier: "MachineTypeListResponse",
|
|
1800
|
-
});
|
|
1658
|
+
})).annotate({ identifier: "MachineTypeListResponse" });
|
|
1801
1659
|
export const ListNetworkAreaProjectsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1802
1660
|
organizationId: S.String.pipe(T.Label()),
|
|
1803
1661
|
areaId: S.String.pipe(T.Label()),
|
|
@@ -1812,9 +1670,7 @@ export const ListNetworkAreaProjectsRequest = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
1812
1670
|
export const ProjectList = /*@__PURE__*/ S.Array(S.String);
|
|
1813
1671
|
export const ProjectListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1814
1672
|
items: ProjectList,
|
|
1815
|
-
})).annotate({
|
|
1816
|
-
identifier: "ProjectListResponse",
|
|
1817
|
-
});
|
|
1673
|
+
})).annotate({ identifier: "ProjectListResponse" });
|
|
1818
1674
|
export const ListNetworkAreaRangesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1819
1675
|
organizationId: S.String.pipe(T.Label()),
|
|
1820
1676
|
areaId: S.String.pipe(T.Label()),
|
|
@@ -1841,9 +1697,7 @@ export const ListNetworkAreaRegionsRequest = /*@__PURE__*/ S.suspend(() => S.Str
|
|
|
1841
1697
|
export const RegionalAreaListResponseRegionsMap = /*@__PURE__*/ S.Record(S.String, RegionalArea);
|
|
1842
1698
|
export const RegionalAreaListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1843
1699
|
regions: RegionalAreaListResponseRegionsMap,
|
|
1844
|
-
})).annotate({
|
|
1845
|
-
identifier: "RegionalAreaListResponse",
|
|
1846
|
-
});
|
|
1700
|
+
})).annotate({ identifier: "RegionalAreaListResponse" });
|
|
1847
1701
|
export const ListNetworkAreaRoutesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1848
1702
|
organizationId: S.String.pipe(T.Label()),
|
|
1849
1703
|
areaId: S.String.pipe(T.Label()),
|
|
@@ -1865,15 +1719,11 @@ export const ListNetworkAreasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1865
1719
|
uri: "/v2/organizations/{organizationId}/network-areas",
|
|
1866
1720
|
code: 200,
|
|
1867
1721
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1868
|
-
}))).annotate({
|
|
1869
|
-
identifier: "ListNetworkAreasRequest",
|
|
1870
|
-
});
|
|
1722
|
+
}))).annotate({ identifier: "ListNetworkAreasRequest" });
|
|
1871
1723
|
export const NetworkAreaList = /*@__PURE__*/ S.Array(NetworkArea);
|
|
1872
1724
|
export const NetworkAreaListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1873
1725
|
items: NetworkAreaList,
|
|
1874
|
-
})).annotate({
|
|
1875
|
-
identifier: "NetworkAreaListResponse",
|
|
1876
|
-
});
|
|
1726
|
+
})).annotate({ identifier: "NetworkAreaListResponse" });
|
|
1877
1727
|
export const ListNetworksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1878
1728
|
projectId: S.String.pipe(T.Label()),
|
|
1879
1729
|
region: S.String.pipe(T.Label()),
|
|
@@ -1883,15 +1733,11 @@ export const ListNetworksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1883
1733
|
uri: "/v2/projects/{projectId}/regions/{region}/networks",
|
|
1884
1734
|
code: 200,
|
|
1885
1735
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1886
|
-
}))).annotate({
|
|
1887
|
-
identifier: "ListNetworksRequest",
|
|
1888
|
-
});
|
|
1736
|
+
}))).annotate({ identifier: "ListNetworksRequest" });
|
|
1889
1737
|
export const NetworkList = /*@__PURE__*/ S.Array(Network);
|
|
1890
1738
|
export const NetworkListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1891
1739
|
items: NetworkList,
|
|
1892
|
-
})).annotate({
|
|
1893
|
-
identifier: "NetworkListResponse",
|
|
1894
|
-
});
|
|
1740
|
+
})).annotate({ identifier: "NetworkListResponse" });
|
|
1895
1741
|
export const ListNicsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1896
1742
|
projectId: S.String.pipe(T.Label()),
|
|
1897
1743
|
region: S.String.pipe(T.Label()),
|
|
@@ -1902,15 +1748,11 @@ export const ListNicsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1902
1748
|
uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}/nics",
|
|
1903
1749
|
code: 200,
|
|
1904
1750
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1905
|
-
}))).annotate({
|
|
1906
|
-
identifier: "ListNicsRequest",
|
|
1907
|
-
});
|
|
1751
|
+
}))).annotate({ identifier: "ListNicsRequest" });
|
|
1908
1752
|
export const NICList = /*@__PURE__*/ S.Array(NIC);
|
|
1909
1753
|
export const NICListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1910
1754
|
items: NICList,
|
|
1911
|
-
})).annotate({
|
|
1912
|
-
identifier: "NICListResponse",
|
|
1913
|
-
});
|
|
1755
|
+
})).annotate({ identifier: "NICListResponse" });
|
|
1914
1756
|
export const ListProjectNICsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1915
1757
|
projectId: S.String.pipe(T.Label()),
|
|
1916
1758
|
region: S.String.pipe(T.Label()),
|
|
@@ -1920,9 +1762,7 @@ export const ListProjectNICsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1920
1762
|
uri: "/v2/projects/{projectId}/regions/{region}/nics",
|
|
1921
1763
|
code: 200,
|
|
1922
1764
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1923
|
-
}))).annotate({
|
|
1924
|
-
identifier: "ListProjectNICsRequest",
|
|
1925
|
-
});
|
|
1765
|
+
}))).annotate({ identifier: "ListProjectNICsRequest" });
|
|
1926
1766
|
export const ListPublicIPRangesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
|
|
1927
1767
|
method: "GET",
|
|
1928
1768
|
uri: "/v2/networks/public-ip-ranges",
|
|
@@ -1950,15 +1790,11 @@ export const ListPublicIPsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1950
1790
|
uri: "/v2/projects/{projectId}/regions/{region}/public-ips",
|
|
1951
1791
|
code: 200,
|
|
1952
1792
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1953
|
-
}))).annotate({
|
|
1954
|
-
identifier: "ListPublicIPsRequest",
|
|
1955
|
-
});
|
|
1793
|
+
}))).annotate({ identifier: "ListPublicIPsRequest" });
|
|
1956
1794
|
export const PublicIpList = /*@__PURE__*/ S.Array(PublicIp);
|
|
1957
1795
|
export const PublicIpListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1958
1796
|
items: PublicIpList,
|
|
1959
|
-
})).annotate({
|
|
1960
|
-
identifier: "PublicIpListResponse",
|
|
1961
|
-
});
|
|
1797
|
+
})).annotate({ identifier: "PublicIpListResponse" });
|
|
1962
1798
|
export const ListQuotasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1963
1799
|
projectId: S.String.pipe(T.Label()),
|
|
1964
1800
|
region: S.String.pipe(T.Label()),
|
|
@@ -1967,9 +1803,7 @@ export const ListQuotasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1967
1803
|
uri: "/v2/projects/{projectId}/regions/{region}/quotas",
|
|
1968
1804
|
code: 200,
|
|
1969
1805
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
1970
|
-
}))).annotate({
|
|
1971
|
-
identifier: "ListQuotasRequest",
|
|
1972
|
-
});
|
|
1806
|
+
}))).annotate({ identifier: "ListQuotasRequest" });
|
|
1973
1807
|
export const Quota = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1974
1808
|
limit: S.Number,
|
|
1975
1809
|
usage: S.Number,
|
|
@@ -1990,9 +1824,7 @@ export const QuotaList = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1990
1824
|
})).annotate({ identifier: "QuotaList" });
|
|
1991
1825
|
export const QuotaListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1992
1826
|
quotas: QuotaList,
|
|
1993
|
-
})).annotate({
|
|
1994
|
-
identifier: "QuotaListResponse",
|
|
1995
|
-
});
|
|
1827
|
+
})).annotate({ identifier: "QuotaListResponse" });
|
|
1996
1828
|
export const ListRoutesOfRoutingTableRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1997
1829
|
organizationId: S.String.pipe(T.Label()),
|
|
1998
1830
|
areaId: S.String.pipe(T.Label()),
|
|
@@ -2023,9 +1855,7 @@ export const ListRoutingTablesOfAreaRequest = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
2023
1855
|
export const RoutingTablesList = /*@__PURE__*/ S.Array(RoutingTable);
|
|
2024
1856
|
export const RoutingTableListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2025
1857
|
items: RoutingTablesList,
|
|
2026
|
-
})).annotate({
|
|
2027
|
-
identifier: "RoutingTableListResponse",
|
|
2028
|
-
});
|
|
1858
|
+
})).annotate({ identifier: "RoutingTableListResponse" });
|
|
2029
1859
|
export const ListSecurityGroupRulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2030
1860
|
projectId: S.String.pipe(T.Label()),
|
|
2031
1861
|
region: S.String.pipe(T.Label()),
|
|
@@ -2070,9 +1900,7 @@ export const ListServerNICsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2070
1900
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/nics",
|
|
2071
1901
|
code: 200,
|
|
2072
1902
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2073
|
-
}))).annotate({
|
|
2074
|
-
identifier: "ListServerNICsRequest",
|
|
2075
|
-
});
|
|
1903
|
+
}))).annotate({ identifier: "ListServerNICsRequest" });
|
|
2076
1904
|
export const ListServersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2077
1905
|
projectId: S.String.pipe(T.Label()),
|
|
2078
1906
|
region: S.String.pipe(T.Label()),
|
|
@@ -2083,15 +1911,11 @@ export const ListServersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2083
1911
|
uri: "/v2/projects/{projectId}/regions/{region}/servers",
|
|
2084
1912
|
code: 200,
|
|
2085
1913
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2086
|
-
}))).annotate({
|
|
2087
|
-
identifier: "ListServersRequest",
|
|
2088
|
-
});
|
|
1914
|
+
}))).annotate({ identifier: "ListServersRequest" });
|
|
2089
1915
|
export const ServerListOutput = /*@__PURE__*/ S.Array(ServerOutput);
|
|
2090
1916
|
export const ServerListResponseOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2091
1917
|
items: ServerListOutput,
|
|
2092
|
-
})).annotate({
|
|
2093
|
-
identifier: "ServerListResponseOutput",
|
|
2094
|
-
});
|
|
1918
|
+
})).annotate({ identifier: "ServerListResponseOutput" });
|
|
2095
1919
|
export const ListServerServiceAccountsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2096
1920
|
projectId: S.String.pipe(T.Label()),
|
|
2097
1921
|
region: S.String.pipe(T.Label()),
|
|
@@ -2119,9 +1943,7 @@ export const ListSnapshotsInProjectRequest = /*@__PURE__*/ S.suspend(() => S.Str
|
|
|
2119
1943
|
export const SnapshotList = /*@__PURE__*/ S.Array(Snapshot);
|
|
2120
1944
|
export const SnapshotListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2121
1945
|
items: SnapshotList,
|
|
2122
|
-
})).annotate({
|
|
2123
|
-
identifier: "SnapshotListResponse",
|
|
2124
|
-
});
|
|
1946
|
+
})).annotate({ identifier: "SnapshotListResponse" });
|
|
2125
1947
|
export const ListVolumePerformanceClassesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2126
1948
|
projectId: S.String.pipe(T.Label()),
|
|
2127
1949
|
region: S.String.pipe(T.Label()),
|
|
@@ -2149,31 +1971,24 @@ export const ListVolumesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2149
1971
|
uri: "/v2/projects/{projectId}/regions/{region}/volumes",
|
|
2150
1972
|
code: 200,
|
|
2151
1973
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2152
|
-
}))).annotate({
|
|
2153
|
-
identifier: "ListVolumesRequest",
|
|
2154
|
-
});
|
|
1974
|
+
}))).annotate({ identifier: "ListVolumesRequest" });
|
|
2155
1975
|
export const VolumeList = /*@__PURE__*/ S.Array(Volume);
|
|
2156
1976
|
export const VolumeListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2157
1977
|
items: VolumeList,
|
|
2158
|
-
})).annotate({
|
|
2159
|
-
identifier: "VolumeListResponse",
|
|
2160
|
-
});
|
|
1978
|
+
})).annotate({ identifier: "VolumeListResponse" });
|
|
2161
1979
|
export const UpdateNetworkIPv4Body = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2162
1980
|
gateway: S.optional(S.NullOr(S.String)),
|
|
2163
1981
|
nameservers: S.optional(NameserversIPv4),
|
|
2164
|
-
})).annotate({
|
|
2165
|
-
identifier: "UpdateNetworkIPv4Body",
|
|
2166
|
-
});
|
|
1982
|
+
})).annotate({ identifier: "UpdateNetworkIPv4Body" });
|
|
2167
1983
|
export const UpdateNetworkIPv6Body = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2168
1984
|
gateway: S.optional(S.NullOr(S.String)),
|
|
2169
1985
|
nameservers: S.optional(NameserversIPv6),
|
|
2170
|
-
})).annotate({
|
|
2171
|
-
identifier: "UpdateNetworkIPv6Body",
|
|
2172
|
-
});
|
|
1986
|
+
})).annotate({ identifier: "UpdateNetworkIPv6Body" });
|
|
2173
1987
|
export const PartialUpdateNetworkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2174
1988
|
projectId: S.String.pipe(T.Label()),
|
|
2175
1989
|
region: S.String.pipe(T.Label()),
|
|
2176
1990
|
networkId: S.String.pipe(T.Label()),
|
|
1991
|
+
description: S.optional(S.String),
|
|
2177
1992
|
dhcp: S.optional(S.Boolean),
|
|
2178
1993
|
ipv4: S.optional(UpdateNetworkIPv4Body),
|
|
2179
1994
|
ipv6: S.optional(UpdateNetworkIPv6Body),
|
|
@@ -2215,9 +2030,7 @@ export const RebootServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2215
2030
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/reboot",
|
|
2216
2031
|
code: 200,
|
|
2217
2032
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2218
|
-
}))).annotate({
|
|
2219
|
-
identifier: "RebootServerRequest",
|
|
2220
|
-
});
|
|
2033
|
+
}))).annotate({ identifier: "RebootServerRequest" });
|
|
2221
2034
|
export const RebootServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2222
2035
|
identifier: "RebootServerResponse",
|
|
2223
2036
|
});
|
|
@@ -2234,9 +2047,7 @@ export const RemoveNetworkFromServerRequest = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
2234
2047
|
}))).annotate({
|
|
2235
2048
|
identifier: "RemoveNetworkFromServerRequest",
|
|
2236
2049
|
});
|
|
2237
|
-
export const RemoveNetworkFromServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2238
|
-
identifier: "RemoveNetworkFromServerResponse",
|
|
2239
|
-
});
|
|
2050
|
+
export const RemoveNetworkFromServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "RemoveNetworkFromServerResponse" });
|
|
2240
2051
|
export const RemoveNicFromServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2241
2052
|
projectId: S.String.pipe(T.Label()),
|
|
2242
2053
|
region: S.String.pipe(T.Label()),
|
|
@@ -2324,9 +2135,7 @@ export const RescueServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2324
2135
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/rescue",
|
|
2325
2136
|
code: 200,
|
|
2326
2137
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2327
|
-
}))).annotate({
|
|
2328
|
-
identifier: "RescueServerRequest",
|
|
2329
|
-
});
|
|
2138
|
+
}))).annotate({ identifier: "RescueServerRequest" });
|
|
2330
2139
|
export const RescueServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2331
2140
|
identifier: "RescueServerResponse",
|
|
2332
2141
|
});
|
|
@@ -2340,9 +2149,7 @@ export const ResizeServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2340
2149
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/resize",
|
|
2341
2150
|
code: 200,
|
|
2342
2151
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2343
|
-
}))).annotate({
|
|
2344
|
-
identifier: "ResizeServerRequest",
|
|
2345
|
-
});
|
|
2152
|
+
}))).annotate({ identifier: "ResizeServerRequest" });
|
|
2346
2153
|
export const ResizeServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2347
2154
|
identifier: "ResizeServerResponse",
|
|
2348
2155
|
});
|
|
@@ -2356,9 +2163,7 @@ export const ResizeVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2356
2163
|
uri: "/v2/projects/{projectId}/regions/{region}/volumes/{volumeId}/resize",
|
|
2357
2164
|
code: 200,
|
|
2358
2165
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2359
|
-
}))).annotate({
|
|
2360
|
-
identifier: "ResizeVolumeRequest",
|
|
2361
|
-
});
|
|
2166
|
+
}))).annotate({ identifier: "ResizeVolumeRequest" });
|
|
2362
2167
|
export const ResizeVolumeResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2363
2168
|
identifier: "ResizeVolumeResponse",
|
|
2364
2169
|
});
|
|
@@ -2371,9 +2176,7 @@ export const RestoreBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2371
2176
|
uri: "/v2/projects/{projectId}/regions/{region}/backups/{backupId}/restore",
|
|
2372
2177
|
code: 200,
|
|
2373
2178
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2374
|
-
}))).annotate({
|
|
2375
|
-
identifier: "RestoreBackupRequest",
|
|
2376
|
-
});
|
|
2179
|
+
}))).annotate({ identifier: "RestoreBackupRequest" });
|
|
2377
2180
|
export const RestoreBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2378
2181
|
identifier: "RestoreBackupResponse",
|
|
2379
2182
|
});
|
|
@@ -2389,9 +2192,7 @@ export const SetImageShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2389
2192
|
uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}/share",
|
|
2390
2193
|
code: 200,
|
|
2391
2194
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2392
|
-
}))).annotate({
|
|
2393
|
-
identifier: "SetImageShareRequest",
|
|
2394
|
-
});
|
|
2195
|
+
}))).annotate({ identifier: "SetImageShareRequest" });
|
|
2395
2196
|
export const StartServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2396
2197
|
projectId: S.String.pipe(T.Label()),
|
|
2397
2198
|
region: S.String.pipe(T.Label()),
|
|
@@ -2401,9 +2202,7 @@ export const StartServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2401
2202
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/start",
|
|
2402
2203
|
code: 200,
|
|
2403
2204
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2404
|
-
}))).annotate({
|
|
2405
|
-
identifier: "StartServerRequest",
|
|
2406
|
-
});
|
|
2205
|
+
}))).annotate({ identifier: "StartServerRequest" });
|
|
2407
2206
|
export const StartServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2408
2207
|
identifier: "StartServerResponse",
|
|
2409
2208
|
});
|
|
@@ -2416,9 +2215,7 @@ export const StopServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2416
2215
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/stop",
|
|
2417
2216
|
code: 200,
|
|
2418
2217
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2419
|
-
}))).annotate({
|
|
2420
|
-
identifier: "StopServerRequest",
|
|
2421
|
-
});
|
|
2218
|
+
}))).annotate({ identifier: "StopServerRequest" });
|
|
2422
2219
|
export const StopServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2423
2220
|
identifier: "StopServerResponse",
|
|
2424
2221
|
});
|
|
@@ -2431,9 +2228,7 @@ export const UnrescueServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2431
2228
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/unrescue",
|
|
2432
2229
|
code: 200,
|
|
2433
2230
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2434
|
-
}))).annotate({
|
|
2435
|
-
identifier: "UnrescueServerRequest",
|
|
2436
|
-
});
|
|
2231
|
+
}))).annotate({ identifier: "UnrescueServerRequest" });
|
|
2437
2232
|
export const UnrescueServerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2438
2233
|
identifier: "UnrescueServerResponse",
|
|
2439
2234
|
});
|
|
@@ -2463,9 +2258,7 @@ export const UpdateBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2463
2258
|
uri: "/v2/projects/{projectId}/regions/{region}/backups/{backupId}",
|
|
2464
2259
|
code: 200,
|
|
2465
2260
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2466
|
-
}))).annotate({
|
|
2467
|
-
identifier: "UpdateBackupRequest",
|
|
2468
|
-
});
|
|
2261
|
+
}))).annotate({ identifier: "UpdateBackupRequest" });
|
|
2469
2262
|
export const UpdateImageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2470
2263
|
projectId: S.String.pipe(T.Label()),
|
|
2471
2264
|
region: S.String.pipe(T.Label()),
|
|
@@ -2483,9 +2276,7 @@ export const UpdateImageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2483
2276
|
uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}",
|
|
2484
2277
|
code: 200,
|
|
2485
2278
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2486
|
-
}))).annotate({
|
|
2487
|
-
identifier: "UpdateImageRequest",
|
|
2488
|
-
});
|
|
2279
|
+
}))).annotate({ identifier: "UpdateImageRequest" });
|
|
2489
2280
|
export const UpdateImageShareRequestProjectsList = /*@__PURE__*/ S.Array(S.String);
|
|
2490
2281
|
export const UpdateImageShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2491
2282
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -2498,9 +2289,7 @@ export const UpdateImageShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2498
2289
|
uri: "/v2/projects/{projectId}/regions/{region}/images/{imageId}/share",
|
|
2499
2290
|
code: 200,
|
|
2500
2291
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2501
|
-
}))).annotate({
|
|
2502
|
-
identifier: "UpdateImageShareRequest",
|
|
2503
|
-
});
|
|
2292
|
+
}))).annotate({ identifier: "UpdateImageShareRequest" });
|
|
2504
2293
|
export const UpdateKeyPairRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2505
2294
|
keypairName: S.String.pipe(T.Label()),
|
|
2506
2295
|
labels: S.optional(S.Unknown),
|
|
@@ -2509,19 +2298,14 @@ export const UpdateKeyPairRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2509
2298
|
uri: "/v2/keypairs/{keypairName}",
|
|
2510
2299
|
code: 200,
|
|
2511
2300
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2512
|
-
}))).annotate({
|
|
2513
|
-
|
|
2514
|
-
});
|
|
2515
|
-
export const UpdateRegionalAreaIPv4DefaultNameserversList =
|
|
2516
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
2301
|
+
}))).annotate({ identifier: "UpdateKeyPairRequest" });
|
|
2302
|
+
export const UpdateRegionalAreaIPv4DefaultNameserversList = /*@__PURE__*/ S.Array(S.String);
|
|
2517
2303
|
export const UpdateRegionalAreaIPv4 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2518
2304
|
defaultNameservers: S.optional(UpdateRegionalAreaIPv4DefaultNameserversList),
|
|
2519
2305
|
defaultPrefixLen: S.optional(S.Number),
|
|
2520
2306
|
maxPrefixLen: S.optional(S.Number),
|
|
2521
2307
|
minPrefixLen: S.optional(S.Number),
|
|
2522
|
-
})).annotate({
|
|
2523
|
-
identifier: "UpdateRegionalAreaIPv4",
|
|
2524
|
-
});
|
|
2308
|
+
})).annotate({ identifier: "UpdateRegionalAreaIPv4" });
|
|
2525
2309
|
export const UpdateNetworkAreaRegionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2526
2310
|
organizationId: S.String.pipe(T.Label()),
|
|
2527
2311
|
areaId: S.String.pipe(T.Label()),
|
|
@@ -2565,9 +2349,7 @@ export const UpdateNicRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2565
2349
|
uri: "/v2/projects/{projectId}/regions/{region}/networks/{networkId}/nics/{nicId}",
|
|
2566
2350
|
code: 200,
|
|
2567
2351
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2568
|
-
}))).annotate({
|
|
2569
|
-
identifier: "UpdateNicRequest",
|
|
2570
|
-
});
|
|
2352
|
+
}))).annotate({ identifier: "UpdateNicRequest" });
|
|
2571
2353
|
export const UpdatePublicIPRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2572
2354
|
projectId: S.String.pipe(T.Label()),
|
|
2573
2355
|
region: S.String.pipe(T.Label()),
|
|
@@ -2579,9 +2361,7 @@ export const UpdatePublicIPRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2579
2361
|
uri: "/v2/projects/{projectId}/regions/{region}/public-ips/{publicIpId}",
|
|
2580
2362
|
code: 200,
|
|
2581
2363
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2582
|
-
}))).annotate({
|
|
2583
|
-
identifier: "UpdatePublicIPRequest",
|
|
2584
|
-
});
|
|
2364
|
+
}))).annotate({ identifier: "UpdatePublicIPRequest" });
|
|
2585
2365
|
export const UpdateRouteOfRoutingTableRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2586
2366
|
organizationId: S.String.pipe(T.Label()),
|
|
2587
2367
|
areaId: S.String.pipe(T.Label()),
|
|
@@ -2642,9 +2422,7 @@ export const UpdateServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2642
2422
|
uri: "/v2/projects/{projectId}/regions/{region}/servers/{serverId}",
|
|
2643
2423
|
code: 200,
|
|
2644
2424
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2645
|
-
}))).annotate({
|
|
2646
|
-
identifier: "UpdateServerRequest",
|
|
2647
|
-
});
|
|
2425
|
+
}))).annotate({ identifier: "UpdateServerRequest" });
|
|
2648
2426
|
export const UpdateSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2649
2427
|
projectId: S.String.pipe(T.Label()),
|
|
2650
2428
|
region: S.String.pipe(T.Label()),
|
|
@@ -2657,9 +2435,7 @@ export const UpdateSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2657
2435
|
uri: "/v2/projects/{projectId}/regions/{region}/snapshots/{snapshotId}",
|
|
2658
2436
|
code: 200,
|
|
2659
2437
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2660
|
-
}))).annotate({
|
|
2661
|
-
identifier: "UpdateSnapshotRequest",
|
|
2662
|
-
});
|
|
2438
|
+
}))).annotate({ identifier: "UpdateSnapshotRequest" });
|
|
2663
2439
|
export const UpdateVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2664
2440
|
projectId: S.String.pipe(T.Label()),
|
|
2665
2441
|
region: S.String.pipe(T.Label()),
|
|
@@ -2674,9 +2450,7 @@ export const UpdateVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2674
2450
|
uri: "/v2/projects/{projectId}/regions/{region}/volumes/{volumeId}",
|
|
2675
2451
|
code: 200,
|
|
2676
2452
|
baseUrl: "https://iaas.api.stackit.cloud",
|
|
2677
|
-
}))).annotate({
|
|
2678
|
-
identifier: "UpdateVolumeRequest",
|
|
2679
|
-
});
|
|
2453
|
+
}))).annotate({ identifier: "UpdateVolumeRequest" });
|
|
2680
2454
|
/** Create and attach a network interface from the specified network. Create and attach a network interface from the specified network to the server. */
|
|
2681
2455
|
export const addNetworkToServer = /*@__PURE__*/ API.make(() => ({
|
|
2682
2456
|
input: AddNetworkToServerRequest,
|
|
@@ -3150,7 +2924,8 @@ export const getNetworkAreaRoute = /*@__PURE__*/ API.make(() => ({
|
|
|
3150
2924
|
retry: Retry.Retry,
|
|
3151
2925
|
}));
|
|
3152
2926
|
/** Get details about a network interface. Get details about a network interface inside a network. */
|
|
3153
|
-
export const getNic =
|
|
2927
|
+
export const getNic =
|
|
2928
|
+
/*@__PURE__*/ API.make(() => ({
|
|
3154
2929
|
input: GetNicRequest,
|
|
3155
2930
|
output: NIC,
|
|
3156
2931
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|