@fractal_cloud/sdk 1.2.0 → 1.3.1

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/dist/index.cjs CHANGED
@@ -1167,6 +1167,60 @@ let BlueprintComponent;
1167
1167
  _BlueprintComponent.getBuilder = getBlueprintComponentBuilder;
1168
1168
  })(BlueprintComponent || (BlueprintComponent = {}));
1169
1169
 
1170
+ //#endregion
1171
+ //#region src/debug.ts
1172
+ /**
1173
+ * Debug logging for Fractal Cloud SDK HTTP calls.
1174
+ *
1175
+ * Enabled by setting the FRACTAL_DEBUG environment variable to "true".
1176
+ * When enabled, every outbound API request and every inbound response
1177
+ * (including error responses) is printed to stdout in the format:
1178
+ *
1179
+ * [ISO-8601] DEBUG → METHOD URL [label] body=<json>
1180
+ * [ISO-8601] DEBUG ← STATUS METHOD URL [label] body=<json>
1181
+ *
1182
+ * Authentication headers are never logged.
1183
+ * If the request body cannot be serialised to JSON (e.g. circular reference),
1184
+ * a <non-serialisable> marker is logged instead of crashing.
1185
+ */
1186
+ const isEnabled = () => process.env["FRACTAL_DEBUG"]?.toLowerCase() === "true";
1187
+ const trySerialise = (value) => {
1188
+ try {
1189
+ return JSON.stringify(value);
1190
+ } catch {
1191
+ return "<non-serialisable>";
1192
+ }
1193
+ };
1194
+ /**
1195
+ * Logs an outbound HTTP request when debug mode is active.
1196
+ * @param method HTTP method in uppercase, e.g. "GET"
1197
+ * @param url Full request URL
1198
+ * @param body Optional request body (JSON-serialised; not truncated)
1199
+ * @param label Optional context label shown in brackets, e.g. "existence check"
1200
+ */
1201
+ const debugRequest = (method, url, body, label) => {
1202
+ if (!isEnabled()) return;
1203
+ const ts = (/* @__PURE__ */ new Date()).toISOString();
1204
+ const labelStr = label ? ` [${label}]` : "";
1205
+ const bodyStr = body !== void 0 ? ` body=${trySerialise(body)}` : "";
1206
+ console.log(`[${ts}] DEBUG → ${method} ${url}${labelStr}${bodyStr}`);
1207
+ };
1208
+ /**
1209
+ * Logs an inbound HTTP response (or error response) when debug mode is active.
1210
+ * @param method HTTP method of the originating request
1211
+ * @param url Full request URL
1212
+ * @param status HTTP status code received
1213
+ * @param body Optional response body (JSON-serialised; not truncated)
1214
+ * @param label Optional context label shown in brackets
1215
+ */
1216
+ const debugResponse = (method, url, status, body, label) => {
1217
+ if (!isEnabled()) return;
1218
+ const ts = (/* @__PURE__ */ new Date()).toISOString();
1219
+ const labelStr = label ? ` [${label}]` : "";
1220
+ const bodyStr = body !== void 0 ? ` body=${trySerialise(body)}` : "";
1221
+ console.log(`[${ts}] DEBUG ← ${status} ${method} ${url}${labelStr}${bodyStr}`);
1222
+ };
1223
+
1170
1224
  //#endregion
1171
1225
  //#region src/fractal/service.ts
1172
1226
  const CLIENT_ID_HEADER$1 = "X-ClientID";
@@ -1192,39 +1246,57 @@ const deployFractal = async (credentials, fractal) => {
1192
1246
  const target = fractal.id.toString();
1193
1247
  const fractalUrl = `${FRACTAL_API_URL$1}/blueprints/${target.replace(":", "/")}`;
1194
1248
  let getFractalResponse;
1249
+ debugRequest("GET", fractalUrl, void 0, "existence check");
1195
1250
  try {
1196
1251
  getFractalResponse = await superagent.default.get(fractalUrl).ok((res) => res.status === 200 || res.status === 404).set(authHeaders$1(credentials)).send();
1252
+ debugResponse("GET", fractalUrl, getFractalResponse.status, getFractalResponse.body, "existence check");
1197
1253
  } catch (err) {
1254
+ const e = err;
1255
+ debugResponse("GET", fractalUrl, e.status ?? 0, e.response?.body, "existence check");
1198
1256
  throw toApiError$1("check fractal existence", target, err);
1199
1257
  }
1258
+ const method = getFractalResponse.status === 200 ? "PUT" : "POST";
1200
1259
  const request = getFractalResponse.status === 200 ? superagent.default.put(fractalUrl) : superagent.default.post(fractalUrl);
1260
+ const body = {
1261
+ description: fractal.description,
1262
+ isPrivate: fractal.isPrivate,
1263
+ components: fractal.components.map((c) => ({
1264
+ type: c.type.toString(),
1265
+ id: c.id.value.toString(),
1266
+ version: c.version.toString(),
1267
+ displayName: c.displayName,
1268
+ description: c.description,
1269
+ parameters: c.parameters.toMap(),
1270
+ dependencies: c.dependencies.map((d) => d.id.value.toString()),
1271
+ links: c.links.map((l) => ({
1272
+ componentId: l.id.value.toString(),
1273
+ settings: l.parameters.toMap()
1274
+ })),
1275
+ outputFields: Object.keys(c.outputFields.value),
1276
+ isLocked: c.isLocked,
1277
+ recreateOnFailure: c.recreateOnFailure
1278
+ }))
1279
+ };
1280
+ debugRequest(method, fractalUrl, body);
1201
1281
  try {
1202
- await request.set(authHeaders$1(credentials)).send({
1203
- description: fractal.description,
1204
- isPrivate: fractal.isPrivate,
1205
- components: fractal.components.map((c) => ({
1206
- ...c,
1207
- type: c.type.toString(),
1208
- id: c.id.value.toString(),
1209
- version: c.version.toString(),
1210
- parameters: c.parameters.toMap(),
1211
- dependencies: c.dependencies.map((d) => d.id.value.toString()),
1212
- links: c.links.map((l) => ({
1213
- componentId: l.id.value.toString(),
1214
- settings: l.parameters.toMap()
1215
- })),
1216
- outputFields: Object.keys(c.outputFields.value)
1217
- }))
1218
- });
1282
+ const response = await request.set(authHeaders$1(credentials)).send(body);
1283
+ debugResponse(method, fractalUrl, response.status, response.body);
1219
1284
  } catch (err) {
1285
+ const e = err;
1286
+ debugResponse(method, fractalUrl, e.status ?? 0, e.response?.body);
1220
1287
  throw toApiError$1(getFractalResponse.status === 200 ? "update fractal" : "create fractal", target, err);
1221
1288
  }
1222
1289
  };
1223
1290
  const destroyFractal = async (credentials, id) => {
1224
1291
  const target = id.toString();
1292
+ const url = `${FRACTAL_API_URL$1}/blueprints/${target.replace(":", "/")}`;
1293
+ debugRequest("DELETE", url);
1225
1294
  try {
1226
- await superagent.default.delete(`${FRACTAL_API_URL$1}/blueprints/${target.replace(":", "/")}`).set(authHeaders$1(credentials));
1295
+ const response = await superagent.default.delete(url).set(authHeaders$1(credentials));
1296
+ debugResponse("DELETE", url, response.status, response.body);
1227
1297
  } catch (err) {
1298
+ const e = err;
1299
+ debugResponse("DELETE", url, e.status ?? 0, e.response?.body);
1228
1300
  throw toApiError$1("destroy fractal", target, err);
1229
1301
  }
1230
1302
  };
@@ -1910,17 +1982,21 @@ const buildBody = (liveSystem) => ({
1910
1982
  provider: liveSystem.genericProvider,
1911
1983
  blueprintMap: liveSystem.components.reduce((acc, c) => {
1912
1984
  acc[c.id.value.toString()] = {
1913
- ...c,
1914
1985
  type: c.type.toString(),
1915
1986
  id: c.id.value.toString(),
1916
1987
  version: c.version.toString(),
1988
+ displayName: c.displayName,
1989
+ description: c.description,
1990
+ provider: c.provider,
1917
1991
  parameters: c.parameters.toMap(),
1918
1992
  dependencies: c.dependencies.map((d) => d.id.value.toString()),
1919
1993
  links: c.links.map((l) => ({
1920
1994
  componentId: l.id.value.toString(),
1921
1995
  settings: l.parameters.toMap()
1922
1996
  })),
1923
- outputFields: c.outputFields.value
1997
+ outputFields: c.outputFields.value,
1998
+ isLocked: c.isLocked,
1999
+ recreateOnFailure: c.recreateOnFailure
1924
2000
  };
1925
2001
  return acc;
1926
2002
  }, {}),
@@ -1938,22 +2014,39 @@ const submitDeploy = async (credentials, liveSystem) => {
1938
2014
  const target = liveSystem.id.toString();
1939
2015
  const liveSystemUrl = `${FRACTAL_API_URL}/livesystems/${target}`;
1940
2016
  let getResponse;
2017
+ debugRequest("GET", liveSystemUrl, void 0, "existence check");
1941
2018
  try {
1942
2019
  getResponse = await superagent.default.get(liveSystemUrl).ok((res) => res.status === 200 || res.status === 404).set(authHeaders(credentials)).send();
2020
+ debugResponse("GET", liveSystemUrl, getResponse.status, getResponse.body, "existence check");
1943
2021
  } catch (err) {
2022
+ const e = err;
2023
+ debugResponse("GET", liveSystemUrl, e.status ?? 0, e.response?.body, "existence check");
1944
2024
  throw toApiError("check live system existence", target, err);
1945
2025
  }
2026
+ const method = getResponse.status === 200 ? "PUT" : "POST";
2027
+ const submitUrl = getResponse.status === 200 ? liveSystemUrl : `${FRACTAL_API_URL}/livesystems`;
1946
2028
  const request = getResponse.status === 200 ? superagent.default.put(liveSystemUrl) : superagent.default.post(`${FRACTAL_API_URL}/livesystems`);
2029
+ const body = buildBody(liveSystem);
2030
+ debugRequest(method, submitUrl, body);
1947
2031
  try {
1948
- await request.set(authHeaders(credentials)).send(buildBody(liveSystem));
2032
+ const response = await request.set(authHeaders(credentials)).send(body);
2033
+ debugResponse(method, submitUrl, response.status, response.body);
1949
2034
  } catch (err) {
2035
+ const e = err;
2036
+ debugResponse(method, submitUrl, e.status ?? 0, e.response?.body);
1950
2037
  throw toApiError(getResponse.status === 200 ? "update live system" : "create live system", target, err);
1951
2038
  }
1952
2039
  };
1953
2040
  const getLiveSystemStatus = async (credentials, id) => {
2041
+ const url = `${FRACTAL_API_URL}/livesystems/${id.toString()}`;
2042
+ debugRequest("GET", url, void 0, "status poll");
1954
2043
  try {
1955
- return (await superagent.default.get(`${FRACTAL_API_URL}/livesystems/${id.toString()}`).set(authHeaders(credentials)).send()).body.status;
2044
+ const response = await superagent.default.get(url).set(authHeaders(credentials)).send();
2045
+ debugResponse("GET", url, response.status, response.body, "status poll");
2046
+ return response.body.status;
1956
2047
  } catch (err) {
2048
+ const e = err;
2049
+ debugResponse("GET", url, e.status ?? 0, e.response?.body, "status poll");
1957
2050
  throw toApiError("get live system status", id.toString(), err);
1958
2051
  }
1959
2052
  };
@@ -2035,9 +2128,14 @@ const deployLiveSystem = async (credentials, liveSystem, options = { mode: "fire
2035
2128
  });
2036
2129
  };
2037
2130
  const destroyLiveSystem = async (credentials, id) => {
2131
+ const url = `${FRACTAL_API_URL}/livesystems/${id.toString()}`;
2132
+ debugRequest("DELETE", url);
2038
2133
  try {
2039
- await superagent.default.delete(`${FRACTAL_API_URL}/livesystems/${id.toString()}`).set(authHeaders(credentials));
2134
+ const response = await superagent.default.delete(url).set(authHeaders(credentials));
2135
+ debugResponse("DELETE", url, response.status, response.body);
2040
2136
  } catch (err) {
2137
+ const e = err;
2138
+ debugResponse("DELETE", url, e.status ?? 0, e.response?.body);
2041
2139
  throw toApiError("destroy live system", id.toString(), err);
2042
2140
  }
2043
2141
  };
@@ -2167,6 +2265,7 @@ const getLiveSystemBuilder = () => {
2167
2265
  },
2168
2266
  reset: () => {
2169
2267
  internalState.id = DEFAULT_LIVE_SYSTEM.id;
2268
+ internalState.parameters = DEFAULT_LIVE_SYSTEM.parameters;
2170
2269
  internalState.requesterId = DEFAULT_LIVE_SYSTEM.requesterId;
2171
2270
  internalState.fractalId = DEFAULT_LIVE_SYSTEM.fractalId;
2172
2271
  internalState.description = DEFAULT_LIVE_SYSTEM.description;
@@ -2211,16 +2310,16 @@ let LiveSystem$1;
2211
2310
  //#region src/fractal/component/network_and_compute/iaas/virtual_network.ts
2212
2311
  const VIRTUAL_NETWORK_TYPE_NAME = "VirtualNetwork";
2213
2312
  const CIDR_BLOCK_PARAM$1 = "cidrBlock";
2214
- function buildId$28(id) {
2313
+ function buildId$36(id) {
2215
2314
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
2216
2315
  }
2217
- function buildVersion$28(major, minor, patch) {
2316
+ function buildVersion$36(major, minor, patch) {
2218
2317
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
2219
2318
  }
2220
2319
  function buildVirtualNetworkType() {
2221
2320
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(VIRTUAL_NETWORK_TYPE_NAME).build()).build();
2222
2321
  }
2223
- function pushParam$25(params, key, value) {
2322
+ function pushParam$33(params, key, value) {
2224
2323
  params.push(key, value);
2225
2324
  }
2226
2325
  function makeVirtualNetworkComponent(vpc, subnetNodes, sgs) {
@@ -2261,11 +2360,11 @@ let VirtualNetwork;
2261
2360
  const sgBuilders = [];
2262
2361
  const builder = {
2263
2362
  withId: (id) => {
2264
- inner.withId(buildId$28(id));
2363
+ inner.withId(buildId$36(id));
2265
2364
  return builder;
2266
2365
  },
2267
2366
  withVersion: (major, minor, patch) => {
2268
- inner.withVersion(buildVersion$28(major, minor, patch));
2367
+ inner.withVersion(buildVersion$36(major, minor, patch));
2269
2368
  return builder;
2270
2369
  },
2271
2370
  withDisplayName: (displayName) => {
@@ -2277,7 +2376,7 @@ let VirtualNetwork;
2277
2376
  return builder;
2278
2377
  },
2279
2378
  withCidrBlock: (value) => {
2280
- pushParam$25(params, CIDR_BLOCK_PARAM$1, value);
2379
+ pushParam$33(params, CIDR_BLOCK_PARAM$1, value);
2281
2380
  return builder;
2282
2381
  },
2283
2382
  withSubnet: (subnetBuilder) => {
@@ -2333,16 +2432,16 @@ let VirtualNetwork;
2333
2432
  //#region src/fractal/component/network_and_compute/iaas/subnet.ts
2334
2433
  const SUBNET_TYPE_NAME = "Subnet";
2335
2434
  const CIDR_BLOCK_PARAM = "cidrBlock";
2336
- function buildId$27(id) {
2435
+ function buildId$35(id) {
2337
2436
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
2338
2437
  }
2339
- function buildVersion$27(major, minor, patch) {
2438
+ function buildVersion$35(major, minor, patch) {
2340
2439
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
2341
2440
  }
2342
2441
  function buildSubnetType() {
2343
2442
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(SUBNET_TYPE_NAME).build()).build();
2344
2443
  }
2345
- function pushParam$24(params, key, value) {
2444
+ function pushParam$32(params, key, value) {
2346
2445
  params.push(key, value);
2347
2446
  }
2348
2447
  function makeSubnetComponent(subnet, vms, workloadNodes) {
@@ -2376,11 +2475,11 @@ let Subnet;
2376
2475
  const vmBuilders = [];
2377
2476
  const builder = {
2378
2477
  withId: (id) => {
2379
- inner.withId(buildId$27(id));
2478
+ inner.withId(buildId$35(id));
2380
2479
  return builder;
2381
2480
  },
2382
2481
  withVersion: (major, minor, patch) => {
2383
- inner.withVersion(buildVersion$27(major, minor, patch));
2482
+ inner.withVersion(buildVersion$35(major, minor, patch));
2384
2483
  return builder;
2385
2484
  },
2386
2485
  withDisplayName: (displayName) => {
@@ -2392,7 +2491,7 @@ let Subnet;
2392
2491
  return builder;
2393
2492
  },
2394
2493
  withCidrBlock: (value) => {
2395
- pushParam$24(params, CIDR_BLOCK_PARAM, value);
2494
+ pushParam$32(params, CIDR_BLOCK_PARAM, value);
2396
2495
  return builder;
2397
2496
  },
2398
2497
  withVirtualMachine: (vmBuilder) => {
@@ -2432,16 +2531,16 @@ let Subnet;
2432
2531
  const SECURITY_GROUP_TYPE_NAME = "SecurityGroup";
2433
2532
  const DESCRIPTION_PARAM = "description";
2434
2533
  const INGRESS_RULES_PARAM = "ingressRules";
2435
- function buildId$26(id) {
2534
+ function buildId$34(id) {
2436
2535
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
2437
2536
  }
2438
- function buildVersion$26(major, minor, patch) {
2537
+ function buildVersion$34(major, minor, patch) {
2439
2538
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
2440
2539
  }
2441
2540
  function buildSecurityGroupType() {
2442
2541
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(SECURITY_GROUP_TYPE_NAME).build()).build();
2443
2542
  }
2444
- function pushParam$23(params, key, value) {
2543
+ function pushParam$31(params, key, value) {
2445
2544
  params.push(key, value);
2446
2545
  }
2447
2546
  let SecurityGroup;
@@ -2451,11 +2550,11 @@ let SecurityGroup;
2451
2550
  const inner = getBlueprintComponentBuilder().withType(buildSecurityGroupType()).withParameters(params);
2452
2551
  const builder = {
2453
2552
  withId: (id) => {
2454
- inner.withId(buildId$26(id));
2553
+ inner.withId(buildId$34(id));
2455
2554
  return builder;
2456
2555
  },
2457
2556
  withVersion: (major, minor, patch) => {
2458
- inner.withVersion(buildVersion$26(major, minor, patch));
2557
+ inner.withVersion(buildVersion$34(major, minor, patch));
2459
2558
  return builder;
2460
2559
  },
2461
2560
  withDisplayName: (displayName) => {
@@ -2464,11 +2563,11 @@ let SecurityGroup;
2464
2563
  },
2465
2564
  withDescription: (description) => {
2466
2565
  inner.withDescription(description);
2467
- pushParam$23(params, DESCRIPTION_PARAM, description);
2566
+ pushParam$31(params, DESCRIPTION_PARAM, description);
2468
2567
  return builder;
2469
2568
  },
2470
2569
  withIngressRules: (rules) => {
2471
- pushParam$23(params, INGRESS_RULES_PARAM, rules);
2570
+ pushParam$31(params, INGRESS_RULES_PARAM, rules);
2472
2571
  return builder;
2473
2572
  },
2474
2573
  withLinks: (links) => {
@@ -2489,10 +2588,10 @@ let SecurityGroup;
2489
2588
  //#endregion
2490
2589
  //#region src/fractal/component/network_and_compute/iaas/vm.ts
2491
2590
  const VIRTUAL_MACHINE_TYPE_NAME = "VirtualMachine";
2492
- function buildId$25(id) {
2591
+ function buildId$33(id) {
2493
2592
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
2494
2593
  }
2495
- function buildVersion$25(major, minor, patch) {
2594
+ function buildVersion$33(major, minor, patch) {
2496
2595
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
2497
2596
  }
2498
2597
  function buildVirtualMachineType() {
@@ -2531,11 +2630,11 @@ let VirtualMachine;
2531
2630
  const inner = getBlueprintComponentBuilder().withType(buildVirtualMachineType()).withParameters(getParametersInstance());
2532
2631
  const builder = {
2533
2632
  withId: (id) => {
2534
- inner.withId(buildId$25(id));
2633
+ inner.withId(buildId$33(id));
2535
2634
  return builder;
2536
2635
  },
2537
2636
  withVersion: (major, minor, patch) => {
2538
- inner.withVersion(buildVersion$25(major, minor, patch));
2637
+ inner.withVersion(buildVersion$33(major, minor, patch));
2539
2638
  return builder;
2540
2639
  },
2541
2640
  withDisplayName: (displayName) => {
@@ -2567,16 +2666,16 @@ const AWS_VPC_TYPE_NAME = "AwsVpc";
2567
2666
  const INSTANCE_TENANCY_PARAM = "instanceTenancy";
2568
2667
  const ENABLE_DNS_SUPPORT_PARAM = "enableDnsSupport";
2569
2668
  const ENABLE_DNS_HOSTNAMES_PARAM = "enableDnsHostnames";
2570
- function buildId$24(id) {
2669
+ function buildId$32(id) {
2571
2670
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
2572
2671
  }
2573
- function buildVersion$24(major, minor, patch) {
2672
+ function buildVersion$32(major, minor, patch) {
2574
2673
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
2575
2674
  }
2576
2675
  function buildAwsVpcType() {
2577
2676
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(AWS_VPC_TYPE_NAME).build()).build();
2578
2677
  }
2579
- function pushParam$22(params, key, value) {
2678
+ function pushParam$30(params, key, value) {
2580
2679
  params.push(key, value);
2581
2680
  }
2582
2681
  let AwsVpc;
@@ -2586,11 +2685,11 @@ let AwsVpc;
2586
2685
  const inner = getLiveSystemComponentBuilder().withType(buildAwsVpcType()).withParameters(params).withProvider("AWS");
2587
2686
  const builder = {
2588
2687
  withId: (id) => {
2589
- inner.withId(buildId$24(id));
2688
+ inner.withId(buildId$32(id));
2590
2689
  return builder;
2591
2690
  },
2592
2691
  withVersion: (major, minor, patch) => {
2593
- inner.withVersion(buildVersion$24(major, minor, patch));
2692
+ inner.withVersion(buildVersion$32(major, minor, patch));
2594
2693
  return builder;
2595
2694
  },
2596
2695
  withDisplayName: (displayName) => {
@@ -2602,19 +2701,19 @@ let AwsVpc;
2602
2701
  return builder;
2603
2702
  },
2604
2703
  withCidrBlock: (value) => {
2605
- pushParam$22(params, CIDR_BLOCK_PARAM$1, value);
2704
+ pushParam$30(params, CIDR_BLOCK_PARAM$1, value);
2606
2705
  return builder;
2607
2706
  },
2608
2707
  withInstanceTenancy: (value) => {
2609
- pushParam$22(params, INSTANCE_TENANCY_PARAM, value);
2708
+ pushParam$30(params, INSTANCE_TENANCY_PARAM, value);
2610
2709
  return builder;
2611
2710
  },
2612
2711
  withEnableDnsSupport: (value) => {
2613
- pushParam$22(params, ENABLE_DNS_SUPPORT_PARAM, value);
2712
+ pushParam$30(params, ENABLE_DNS_SUPPORT_PARAM, value);
2614
2713
  return builder;
2615
2714
  },
2616
2715
  withEnableDnsHostnames: (value) => {
2617
- pushParam$22(params, ENABLE_DNS_HOSTNAMES_PARAM, value);
2716
+ pushParam$30(params, ENABLE_DNS_HOSTNAMES_PARAM, value);
2618
2717
  return builder;
2619
2718
  },
2620
2719
  build: () => inner.build()
@@ -2623,21 +2722,21 @@ let AwsVpc;
2623
2722
  };
2624
2723
  _AwsVpc.satisfy = (blueprint) => {
2625
2724
  const params = getParametersInstance();
2626
- const inner = getLiveSystemComponentBuilder().withType(buildAwsVpcType()).withParameters(params).withProvider("AWS").withId(buildId$24(blueprint.id.toString())).withVersion(buildVersion$24(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
2725
+ const inner = getLiveSystemComponentBuilder().withType(buildAwsVpcType()).withParameters(params).withProvider("AWS").withId(buildId$32(blueprint.id.toString())).withVersion(buildVersion$32(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
2627
2726
  if (blueprint.description) inner.withDescription(blueprint.description);
2628
2727
  const cidrBlock = blueprint.parameters.getOptionalFieldByName(CIDR_BLOCK_PARAM$1);
2629
- if (cidrBlock !== null) pushParam$22(params, CIDR_BLOCK_PARAM$1, String(cidrBlock));
2728
+ if (cidrBlock !== null) pushParam$30(params, CIDR_BLOCK_PARAM$1, String(cidrBlock));
2630
2729
  const satisfiedBuilder = {
2631
2730
  withInstanceTenancy: (value) => {
2632
- pushParam$22(params, INSTANCE_TENANCY_PARAM, value);
2731
+ pushParam$30(params, INSTANCE_TENANCY_PARAM, value);
2633
2732
  return satisfiedBuilder;
2634
2733
  },
2635
2734
  withEnableDnsSupport: (value) => {
2636
- pushParam$22(params, ENABLE_DNS_SUPPORT_PARAM, value);
2735
+ pushParam$30(params, ENABLE_DNS_SUPPORT_PARAM, value);
2637
2736
  return satisfiedBuilder;
2638
2737
  },
2639
2738
  withEnableDnsHostnames: (value) => {
2640
- pushParam$22(params, ENABLE_DNS_HOSTNAMES_PARAM, value);
2739
+ pushParam$30(params, ENABLE_DNS_HOSTNAMES_PARAM, value);
2641
2740
  return satisfiedBuilder;
2642
2741
  },
2643
2742
  build: () => inner.build()
@@ -2658,16 +2757,16 @@ let AwsVpc;
2658
2757
  //#region src/live_system/component/network_and_compute/iaas/subnet.ts
2659
2758
  const AWS_SUBNET_TYPE_NAME = "AwsSubnet";
2660
2759
  const AVAILABILITY_ZONE_PARAM = "availabilityZone";
2661
- function buildId$23(id) {
2760
+ function buildId$31(id) {
2662
2761
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
2663
2762
  }
2664
- function buildVersion$23(major, minor, patch) {
2763
+ function buildVersion$31(major, minor, patch) {
2665
2764
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
2666
2765
  }
2667
2766
  function buildAwsSubnetType() {
2668
2767
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(AWS_SUBNET_TYPE_NAME).build()).build();
2669
2768
  }
2670
- function pushParam$21(params, key, value) {
2769
+ function pushParam$29(params, key, value) {
2671
2770
  params.push(key, value);
2672
2771
  }
2673
2772
  let AwsSubnet;
@@ -2677,11 +2776,11 @@ let AwsSubnet;
2677
2776
  const inner = getLiveSystemComponentBuilder().withType(buildAwsSubnetType()).withParameters(params).withProvider("AWS");
2678
2777
  const builder = {
2679
2778
  withId: (id) => {
2680
- inner.withId(buildId$23(id));
2779
+ inner.withId(buildId$31(id));
2681
2780
  return builder;
2682
2781
  },
2683
2782
  withVersion: (major, minor, patch) => {
2684
- inner.withVersion(buildVersion$23(major, minor, patch));
2783
+ inner.withVersion(buildVersion$31(major, minor, patch));
2685
2784
  return builder;
2686
2785
  },
2687
2786
  withDisplayName: (displayName) => {
@@ -2693,11 +2792,11 @@ let AwsSubnet;
2693
2792
  return builder;
2694
2793
  },
2695
2794
  withCidrBlock: (value) => {
2696
- pushParam$21(params, CIDR_BLOCK_PARAM, value);
2795
+ pushParam$29(params, CIDR_BLOCK_PARAM, value);
2697
2796
  return builder;
2698
2797
  },
2699
2798
  withAvailabilityZone: (value) => {
2700
- pushParam$21(params, AVAILABILITY_ZONE_PARAM, value);
2799
+ pushParam$29(params, AVAILABILITY_ZONE_PARAM, value);
2701
2800
  return builder;
2702
2801
  },
2703
2802
  build: () => inner.build()
@@ -2706,13 +2805,13 @@ let AwsSubnet;
2706
2805
  };
2707
2806
  _AwsSubnet.satisfy = (blueprint) => {
2708
2807
  const params = getParametersInstance();
2709
- const inner = getLiveSystemComponentBuilder().withType(buildAwsSubnetType()).withParameters(params).withProvider("AWS").withId(buildId$23(blueprint.id.toString())).withVersion(buildVersion$23(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
2808
+ const inner = getLiveSystemComponentBuilder().withType(buildAwsSubnetType()).withParameters(params).withProvider("AWS").withId(buildId$31(blueprint.id.toString())).withVersion(buildVersion$31(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
2710
2809
  if (blueprint.description) inner.withDescription(blueprint.description);
2711
2810
  const cidrBlock = blueprint.parameters.getOptionalFieldByName(CIDR_BLOCK_PARAM);
2712
- if (cidrBlock !== null) pushParam$21(params, CIDR_BLOCK_PARAM, String(cidrBlock));
2811
+ if (cidrBlock !== null) pushParam$29(params, CIDR_BLOCK_PARAM, String(cidrBlock));
2713
2812
  const satisfiedBuilder = {
2714
2813
  withAvailabilityZone: (value) => {
2715
- pushParam$21(params, AVAILABILITY_ZONE_PARAM, value);
2814
+ pushParam$29(params, AVAILABILITY_ZONE_PARAM, value);
2716
2815
  return satisfiedBuilder;
2717
2816
  },
2718
2817
  build: () => inner.build()
@@ -2729,16 +2828,16 @@ let AwsSubnet;
2729
2828
  //#endregion
2730
2829
  //#region src/live_system/component/network_and_compute/iaas/security_group.ts
2731
2830
  const AWS_SG_TYPE_NAME = "SecurityGroup";
2732
- function buildId$22(id) {
2831
+ function buildId$30(id) {
2733
2832
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
2734
2833
  }
2735
- function buildVersion$22(major, minor, patch) {
2834
+ function buildVersion$30(major, minor, patch) {
2736
2835
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
2737
2836
  }
2738
2837
  function buildAwsSgType() {
2739
2838
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(AWS_SG_TYPE_NAME).build()).build();
2740
2839
  }
2741
- function pushParam$20(params, key, value) {
2840
+ function pushParam$28(params, key, value) {
2742
2841
  params.push(key, value);
2743
2842
  }
2744
2843
  let AwsSecurityGroup;
@@ -2748,11 +2847,11 @@ let AwsSecurityGroup;
2748
2847
  const inner = getLiveSystemComponentBuilder().withType(buildAwsSgType()).withParameters(params).withProvider("AWS");
2749
2848
  const builder = {
2750
2849
  withId: (id) => {
2751
- inner.withId(buildId$22(id));
2850
+ inner.withId(buildId$30(id));
2752
2851
  return builder;
2753
2852
  },
2754
2853
  withVersion: (major, minor, patch) => {
2755
- inner.withVersion(buildVersion$22(major, minor, patch));
2854
+ inner.withVersion(buildVersion$30(major, minor, patch));
2756
2855
  return builder;
2757
2856
  },
2758
2857
  withDisplayName: (displayName) => {
@@ -2761,11 +2860,11 @@ let AwsSecurityGroup;
2761
2860
  },
2762
2861
  withDescription: (description) => {
2763
2862
  inner.withDescription(description);
2764
- pushParam$20(params, DESCRIPTION_PARAM, description);
2863
+ pushParam$28(params, DESCRIPTION_PARAM, description);
2765
2864
  return builder;
2766
2865
  },
2767
2866
  withIngressRules: (rules) => {
2768
- pushParam$20(params, INGRESS_RULES_PARAM, rules);
2867
+ pushParam$28(params, INGRESS_RULES_PARAM, rules);
2769
2868
  return builder;
2770
2869
  },
2771
2870
  build: () => inner.build()
@@ -2774,14 +2873,14 @@ let AwsSecurityGroup;
2774
2873
  };
2775
2874
  _AwsSecurityGroup.satisfy = (blueprint) => {
2776
2875
  const params = getParametersInstance();
2777
- const inner = getLiveSystemComponentBuilder().withType(buildAwsSgType()).withParameters(params).withProvider("AWS").withId(buildId$22(blueprint.id.toString())).withVersion(buildVersion$22(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
2876
+ const inner = getLiveSystemComponentBuilder().withType(buildAwsSgType()).withParameters(params).withProvider("AWS").withId(buildId$30(blueprint.id.toString())).withVersion(buildVersion$30(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
2778
2877
  const description = blueprint.parameters.getOptionalFieldByName(DESCRIPTION_PARAM);
2779
2878
  if (description !== null) {
2780
2879
  inner.withDescription(String(description));
2781
- pushParam$20(params, DESCRIPTION_PARAM, String(description));
2880
+ pushParam$28(params, DESCRIPTION_PARAM, String(description));
2782
2881
  } else if (blueprint.description) inner.withDescription(blueprint.description);
2783
2882
  const ingressRules = blueprint.parameters.getOptionalFieldByName(INGRESS_RULES_PARAM);
2784
- if (ingressRules !== null) pushParam$20(params, INGRESS_RULES_PARAM, ingressRules);
2883
+ if (ingressRules !== null) pushParam$28(params, INGRESS_RULES_PARAM, ingressRules);
2785
2884
  return { build: () => inner.build() };
2786
2885
  };
2787
2886
  _AwsSecurityGroup.create = (config) => {
@@ -2800,16 +2899,16 @@ const KEY_NAME_PARAM = "keyName";
2800
2899
  const USER_DATA_PARAM$1 = "userData";
2801
2900
  const IAM_INSTANCE_PROFILE_PARAM = "iamInstanceProfile";
2802
2901
  const ASSOCIATE_PUBLIC_IP_PARAM = "associatePublicIp";
2803
- function buildId$21(id) {
2902
+ function buildId$29(id) {
2804
2903
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
2805
2904
  }
2806
- function buildVersion$21(major, minor, patch) {
2905
+ function buildVersion$29(major, minor, patch) {
2807
2906
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
2808
2907
  }
2809
2908
  function buildEc2Type() {
2810
2909
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(EC2_TYPE_NAME).build()).build();
2811
2910
  }
2812
- function pushParam$19(params, key, value) {
2911
+ function pushParam$27(params, key, value) {
2813
2912
  params.push(key, value);
2814
2913
  }
2815
2914
  let Ec2Instance;
@@ -2819,11 +2918,11 @@ let Ec2Instance;
2819
2918
  const inner = getLiveSystemComponentBuilder().withType(buildEc2Type()).withParameters(params).withProvider("AWS");
2820
2919
  const builder = {
2821
2920
  withId: (id) => {
2822
- inner.withId(buildId$21(id));
2921
+ inner.withId(buildId$29(id));
2823
2922
  return builder;
2824
2923
  },
2825
2924
  withVersion: (major, minor, patch) => {
2826
- inner.withVersion(buildVersion$21(major, minor, patch));
2925
+ inner.withVersion(buildVersion$29(major, minor, patch));
2827
2926
  return builder;
2828
2927
  },
2829
2928
  withDisplayName: (displayName) => {
@@ -2835,27 +2934,27 @@ let Ec2Instance;
2835
2934
  return builder;
2836
2935
  },
2837
2936
  withAmiId: (value) => {
2838
- pushParam$19(params, AMI_ID_PARAM, value);
2937
+ pushParam$27(params, AMI_ID_PARAM, value);
2839
2938
  return builder;
2840
2939
  },
2841
2940
  withInstanceType: (value) => {
2842
- pushParam$19(params, INSTANCE_TYPE_PARAM, value);
2941
+ pushParam$27(params, INSTANCE_TYPE_PARAM, value);
2843
2942
  return builder;
2844
2943
  },
2845
2944
  withKeyName: (value) => {
2846
- pushParam$19(params, KEY_NAME_PARAM, value);
2945
+ pushParam$27(params, KEY_NAME_PARAM, value);
2847
2946
  return builder;
2848
2947
  },
2849
2948
  withUserData: (value) => {
2850
- pushParam$19(params, USER_DATA_PARAM$1, value);
2949
+ pushParam$27(params, USER_DATA_PARAM$1, value);
2851
2950
  return builder;
2852
2951
  },
2853
2952
  withIamInstanceProfile: (value) => {
2854
- pushParam$19(params, IAM_INSTANCE_PROFILE_PARAM, value);
2953
+ pushParam$27(params, IAM_INSTANCE_PROFILE_PARAM, value);
2855
2954
  return builder;
2856
2955
  },
2857
2956
  withAssociatePublicIp: (value) => {
2858
- pushParam$19(params, ASSOCIATE_PUBLIC_IP_PARAM, value);
2957
+ pushParam$27(params, ASSOCIATE_PUBLIC_IP_PARAM, value);
2859
2958
  return builder;
2860
2959
  },
2861
2960
  build: () => inner.build()
@@ -2864,31 +2963,31 @@ let Ec2Instance;
2864
2963
  };
2865
2964
  _Ec2Instance.satisfy = (blueprint) => {
2866
2965
  const params = getParametersInstance();
2867
- const inner = getLiveSystemComponentBuilder().withType(buildEc2Type()).withParameters(params).withProvider("AWS").withId(buildId$21(blueprint.id.toString())).withVersion(buildVersion$21(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
2966
+ const inner = getLiveSystemComponentBuilder().withType(buildEc2Type()).withParameters(params).withProvider("AWS").withId(buildId$29(blueprint.id.toString())).withVersion(buildVersion$29(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
2868
2967
  if (blueprint.description) inner.withDescription(blueprint.description);
2869
2968
  const satisfiedBuilder = {
2870
2969
  withAmiId: (value) => {
2871
- pushParam$19(params, AMI_ID_PARAM, value);
2970
+ pushParam$27(params, AMI_ID_PARAM, value);
2872
2971
  return satisfiedBuilder;
2873
2972
  },
2874
2973
  withInstanceType: (value) => {
2875
- pushParam$19(params, INSTANCE_TYPE_PARAM, value);
2974
+ pushParam$27(params, INSTANCE_TYPE_PARAM, value);
2876
2975
  return satisfiedBuilder;
2877
2976
  },
2878
2977
  withKeyName: (value) => {
2879
- pushParam$19(params, KEY_NAME_PARAM, value);
2978
+ pushParam$27(params, KEY_NAME_PARAM, value);
2880
2979
  return satisfiedBuilder;
2881
2980
  },
2882
2981
  withUserData: (value) => {
2883
- pushParam$19(params, USER_DATA_PARAM$1, value);
2982
+ pushParam$27(params, USER_DATA_PARAM$1, value);
2884
2983
  return satisfiedBuilder;
2885
2984
  },
2886
2985
  withIamInstanceProfile: (value) => {
2887
- pushParam$19(params, IAM_INSTANCE_PROFILE_PARAM, value);
2986
+ pushParam$27(params, IAM_INSTANCE_PROFILE_PARAM, value);
2888
2987
  return satisfiedBuilder;
2889
2988
  },
2890
2989
  withAssociatePublicIp: (value) => {
2891
- pushParam$19(params, ASSOCIATE_PUBLIC_IP_PARAM, value);
2990
+ pushParam$27(params, ASSOCIATE_PUBLIC_IP_PARAM, value);
2892
2991
  return satisfiedBuilder;
2893
2992
  },
2894
2993
  build: () => inner.build()
@@ -2911,16 +3010,16 @@ let Ec2Instance;
2911
3010
  const AZURE_VNET_TYPE_NAME = "AzureVnet";
2912
3011
  const LOCATION_PARAM$3 = "location";
2913
3012
  const RESOURCE_GROUP_PARAM$3 = "resourceGroup";
2914
- function buildId$20(id) {
3013
+ function buildId$28(id) {
2915
3014
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
2916
3015
  }
2917
- function buildVersion$20(major, minor, patch) {
3016
+ function buildVersion$28(major, minor, patch) {
2918
3017
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
2919
3018
  }
2920
3019
  function buildAzureVnetType() {
2921
3020
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(AZURE_VNET_TYPE_NAME).build()).build();
2922
3021
  }
2923
- function pushParam$18(params, key, value) {
3022
+ function pushParam$26(params, key, value) {
2924
3023
  params.push(key, value);
2925
3024
  }
2926
3025
  let AzureVnet;
@@ -2930,11 +3029,11 @@ let AzureVnet;
2930
3029
  const inner = getLiveSystemComponentBuilder().withType(buildAzureVnetType()).withParameters(params).withProvider("Azure");
2931
3030
  const builder = {
2932
3031
  withId: (id) => {
2933
- inner.withId(buildId$20(id));
3032
+ inner.withId(buildId$28(id));
2934
3033
  return builder;
2935
3034
  },
2936
3035
  withVersion: (major, minor, patch) => {
2937
- inner.withVersion(buildVersion$20(major, minor, patch));
3036
+ inner.withVersion(buildVersion$28(major, minor, patch));
2938
3037
  return builder;
2939
3038
  },
2940
3039
  withDisplayName: (displayName) => {
@@ -2946,15 +3045,15 @@ let AzureVnet;
2946
3045
  return builder;
2947
3046
  },
2948
3047
  withCidrBlock: (value) => {
2949
- pushParam$18(params, CIDR_BLOCK_PARAM$1, value);
3048
+ pushParam$26(params, CIDR_BLOCK_PARAM$1, value);
2950
3049
  return builder;
2951
3050
  },
2952
3051
  withLocation: (value) => {
2953
- pushParam$18(params, LOCATION_PARAM$3, value);
3052
+ pushParam$26(params, LOCATION_PARAM$3, value);
2954
3053
  return builder;
2955
3054
  },
2956
3055
  withResourceGroup: (value) => {
2957
- pushParam$18(params, RESOURCE_GROUP_PARAM$3, value);
3056
+ pushParam$26(params, RESOURCE_GROUP_PARAM$3, value);
2958
3057
  return builder;
2959
3058
  },
2960
3059
  build: () => inner.build()
@@ -2963,17 +3062,17 @@ let AzureVnet;
2963
3062
  };
2964
3063
  _AzureVnet.satisfy = (blueprint) => {
2965
3064
  const params = getParametersInstance();
2966
- const inner = getLiveSystemComponentBuilder().withType(buildAzureVnetType()).withParameters(params).withProvider("Azure").withId(buildId$20(blueprint.id.toString())).withVersion(buildVersion$20(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3065
+ const inner = getLiveSystemComponentBuilder().withType(buildAzureVnetType()).withParameters(params).withProvider("Azure").withId(buildId$28(blueprint.id.toString())).withVersion(buildVersion$28(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
2967
3066
  if (blueprint.description) inner.withDescription(blueprint.description);
2968
3067
  const cidrBlock = blueprint.parameters.getOptionalFieldByName(CIDR_BLOCK_PARAM$1);
2969
- if (cidrBlock !== null) pushParam$18(params, CIDR_BLOCK_PARAM$1, String(cidrBlock));
3068
+ if (cidrBlock !== null) pushParam$26(params, CIDR_BLOCK_PARAM$1, String(cidrBlock));
2970
3069
  const satisfiedBuilder = {
2971
3070
  withLocation: (value) => {
2972
- pushParam$18(params, LOCATION_PARAM$3, value);
3071
+ pushParam$26(params, LOCATION_PARAM$3, value);
2973
3072
  return satisfiedBuilder;
2974
3073
  },
2975
3074
  withResourceGroup: (value) => {
2976
- pushParam$18(params, RESOURCE_GROUP_PARAM$3, value);
3075
+ pushParam$26(params, RESOURCE_GROUP_PARAM$3, value);
2977
3076
  return satisfiedBuilder;
2978
3077
  },
2979
3078
  build: () => inner.build()
@@ -2991,16 +3090,16 @@ let AzureVnet;
2991
3090
  //#region src/live_system/component/network_and_compute/iaas/azure_subnet.ts
2992
3091
  const AZURE_SUBNET_TYPE_NAME = "AzureSubnet";
2993
3092
  const RESOURCE_GROUP_PARAM$2 = "resourceGroup";
2994
- function buildId$19(id) {
3093
+ function buildId$27(id) {
2995
3094
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
2996
3095
  }
2997
- function buildVersion$19(major, minor, patch) {
3096
+ function buildVersion$27(major, minor, patch) {
2998
3097
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
2999
3098
  }
3000
3099
  function buildAzureSubnetType() {
3001
3100
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(AZURE_SUBNET_TYPE_NAME).build()).build();
3002
3101
  }
3003
- function pushParam$17(params, key, value) {
3102
+ function pushParam$25(params, key, value) {
3004
3103
  params.push(key, value);
3005
3104
  }
3006
3105
  let AzureSubnet;
@@ -3010,11 +3109,11 @@ let AzureSubnet;
3010
3109
  const inner = getLiveSystemComponentBuilder().withType(buildAzureSubnetType()).withParameters(params).withProvider("Azure");
3011
3110
  const builder = {
3012
3111
  withId: (id) => {
3013
- inner.withId(buildId$19(id));
3112
+ inner.withId(buildId$27(id));
3014
3113
  return builder;
3015
3114
  },
3016
3115
  withVersion: (major, minor, patch) => {
3017
- inner.withVersion(buildVersion$19(major, minor, patch));
3116
+ inner.withVersion(buildVersion$27(major, minor, patch));
3018
3117
  return builder;
3019
3118
  },
3020
3119
  withDisplayName: (displayName) => {
@@ -3026,11 +3125,11 @@ let AzureSubnet;
3026
3125
  return builder;
3027
3126
  },
3028
3127
  withCidrBlock: (value) => {
3029
- pushParam$17(params, CIDR_BLOCK_PARAM, value);
3128
+ pushParam$25(params, CIDR_BLOCK_PARAM, value);
3030
3129
  return builder;
3031
3130
  },
3032
3131
  withResourceGroup: (value) => {
3033
- pushParam$17(params, RESOURCE_GROUP_PARAM$2, value);
3132
+ pushParam$25(params, RESOURCE_GROUP_PARAM$2, value);
3034
3133
  return builder;
3035
3134
  },
3036
3135
  build: () => inner.build()
@@ -3039,13 +3138,13 @@ let AzureSubnet;
3039
3138
  };
3040
3139
  _AzureSubnet.satisfy = (blueprint) => {
3041
3140
  const params = getParametersInstance();
3042
- const inner = getLiveSystemComponentBuilder().withType(buildAzureSubnetType()).withParameters(params).withProvider("Azure").withId(buildId$19(blueprint.id.toString())).withVersion(buildVersion$19(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3141
+ const inner = getLiveSystemComponentBuilder().withType(buildAzureSubnetType()).withParameters(params).withProvider("Azure").withId(buildId$27(blueprint.id.toString())).withVersion(buildVersion$27(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3043
3142
  if (blueprint.description) inner.withDescription(blueprint.description);
3044
3143
  const cidrBlock = blueprint.parameters.getOptionalFieldByName(CIDR_BLOCK_PARAM);
3045
- if (cidrBlock !== null) pushParam$17(params, CIDR_BLOCK_PARAM, String(cidrBlock));
3144
+ if (cidrBlock !== null) pushParam$25(params, CIDR_BLOCK_PARAM, String(cidrBlock));
3046
3145
  const satisfiedBuilder = {
3047
3146
  withResourceGroup: (value) => {
3048
- pushParam$17(params, RESOURCE_GROUP_PARAM$2, value);
3147
+ pushParam$25(params, RESOURCE_GROUP_PARAM$2, value);
3049
3148
  return satisfiedBuilder;
3050
3149
  },
3051
3150
  build: () => inner.build()
@@ -3064,16 +3163,16 @@ let AzureSubnet;
3064
3163
  const AZURE_NSG_TYPE_NAME = "AzureNsg";
3065
3164
  const LOCATION_PARAM$2 = "location";
3066
3165
  const RESOURCE_GROUP_PARAM$1 = "resourceGroup";
3067
- function buildId$18(id) {
3166
+ function buildId$26(id) {
3068
3167
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
3069
3168
  }
3070
- function buildVersion$18(major, minor, patch) {
3169
+ function buildVersion$26(major, minor, patch) {
3071
3170
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
3072
3171
  }
3073
3172
  function buildAzureNsgType() {
3074
3173
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(AZURE_NSG_TYPE_NAME).build()).build();
3075
3174
  }
3076
- function pushParam$16(params, key, value) {
3175
+ function pushParam$24(params, key, value) {
3077
3176
  params.push(key, value);
3078
3177
  }
3079
3178
  let AzureNsg;
@@ -3083,11 +3182,11 @@ let AzureNsg;
3083
3182
  const inner = getLiveSystemComponentBuilder().withType(buildAzureNsgType()).withParameters(params).withProvider("Azure");
3084
3183
  const builder = {
3085
3184
  withId: (id) => {
3086
- inner.withId(buildId$18(id));
3185
+ inner.withId(buildId$26(id));
3087
3186
  return builder;
3088
3187
  },
3089
3188
  withVersion: (major, minor, patch) => {
3090
- inner.withVersion(buildVersion$18(major, minor, patch));
3189
+ inner.withVersion(buildVersion$26(major, minor, patch));
3091
3190
  return builder;
3092
3191
  },
3093
3192
  withDisplayName: (displayName) => {
@@ -3096,19 +3195,19 @@ let AzureNsg;
3096
3195
  },
3097
3196
  withDescription: (description) => {
3098
3197
  inner.withDescription(description);
3099
- pushParam$16(params, DESCRIPTION_PARAM, description);
3198
+ pushParam$24(params, DESCRIPTION_PARAM, description);
3100
3199
  return builder;
3101
3200
  },
3102
3201
  withIngressRules: (rules) => {
3103
- pushParam$16(params, INGRESS_RULES_PARAM, rules);
3202
+ pushParam$24(params, INGRESS_RULES_PARAM, rules);
3104
3203
  return builder;
3105
3204
  },
3106
3205
  withLocation: (value) => {
3107
- pushParam$16(params, LOCATION_PARAM$2, value);
3206
+ pushParam$24(params, LOCATION_PARAM$2, value);
3108
3207
  return builder;
3109
3208
  },
3110
3209
  withResourceGroup: (value) => {
3111
- pushParam$16(params, RESOURCE_GROUP_PARAM$1, value);
3210
+ pushParam$24(params, RESOURCE_GROUP_PARAM$1, value);
3112
3211
  return builder;
3113
3212
  },
3114
3213
  build: () => inner.build()
@@ -3117,21 +3216,21 @@ let AzureNsg;
3117
3216
  };
3118
3217
  _AzureNsg.satisfy = (blueprint) => {
3119
3218
  const params = getParametersInstance();
3120
- const inner = getLiveSystemComponentBuilder().withType(buildAzureNsgType()).withParameters(params).withProvider("Azure").withId(buildId$18(blueprint.id.toString())).withVersion(buildVersion$18(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3219
+ const inner = getLiveSystemComponentBuilder().withType(buildAzureNsgType()).withParameters(params).withProvider("Azure").withId(buildId$26(blueprint.id.toString())).withVersion(buildVersion$26(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3121
3220
  const description = blueprint.parameters.getOptionalFieldByName(DESCRIPTION_PARAM);
3122
3221
  if (description !== null) {
3123
3222
  inner.withDescription(String(description));
3124
- pushParam$16(params, DESCRIPTION_PARAM, String(description));
3223
+ pushParam$24(params, DESCRIPTION_PARAM, String(description));
3125
3224
  } else if (blueprint.description) inner.withDescription(blueprint.description);
3126
3225
  const ingressRules = blueprint.parameters.getOptionalFieldByName(INGRESS_RULES_PARAM);
3127
- if (ingressRules !== null) pushParam$16(params, INGRESS_RULES_PARAM, ingressRules);
3226
+ if (ingressRules !== null) pushParam$24(params, INGRESS_RULES_PARAM, ingressRules);
3128
3227
  const satisfiedBuilder = {
3129
3228
  withLocation: (value) => {
3130
- pushParam$16(params, LOCATION_PARAM$2, value);
3229
+ pushParam$24(params, LOCATION_PARAM$2, value);
3131
3230
  return satisfiedBuilder;
3132
3231
  },
3133
3232
  withResourceGroup: (value) => {
3134
- pushParam$16(params, RESOURCE_GROUP_PARAM$1, value);
3233
+ pushParam$24(params, RESOURCE_GROUP_PARAM$1, value);
3135
3234
  return satisfiedBuilder;
3136
3235
  },
3137
3236
  build: () => inner.build()
@@ -3158,16 +3257,16 @@ const IMAGE_OFFER_PARAM = "imageOffer";
3158
3257
  const IMAGE_SKU_PARAM = "imageSku";
3159
3258
  const SSH_PUBLIC_KEY_PARAM$1 = "sshPublicKey";
3160
3259
  const OS_DISK_SIZE_GB_PARAM = "osDiskSizeGb";
3161
- function buildId$17(id) {
3260
+ function buildId$25(id) {
3162
3261
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
3163
3262
  }
3164
- function buildVersion$17(major, minor, patch) {
3263
+ function buildVersion$25(major, minor, patch) {
3165
3264
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
3166
3265
  }
3167
3266
  function buildAzureVmType() {
3168
3267
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(AZURE_VM_TYPE_NAME).build()).build();
3169
3268
  }
3170
- function pushParam$15(params, key, value) {
3269
+ function pushParam$23(params, key, value) {
3171
3270
  params.push(key, value);
3172
3271
  }
3173
3272
  let AzureVm;
@@ -3177,11 +3276,11 @@ let AzureVm;
3177
3276
  const inner = getLiveSystemComponentBuilder().withType(buildAzureVmType()).withParameters(params).withProvider("Azure");
3178
3277
  const builder = {
3179
3278
  withId: (id) => {
3180
- inner.withId(buildId$17(id));
3279
+ inner.withId(buildId$25(id));
3181
3280
  return builder;
3182
3281
  },
3183
3282
  withVersion: (major, minor, patch) => {
3184
- inner.withVersion(buildVersion$17(major, minor, patch));
3283
+ inner.withVersion(buildVersion$25(major, minor, patch));
3185
3284
  return builder;
3186
3285
  },
3187
3286
  withDisplayName: (displayName) => {
@@ -3193,39 +3292,39 @@ let AzureVm;
3193
3292
  return builder;
3194
3293
  },
3195
3294
  withVmSize: (value) => {
3196
- pushParam$15(params, VM_SIZE_PARAM, value);
3295
+ pushParam$23(params, VM_SIZE_PARAM, value);
3197
3296
  return builder;
3198
3297
  },
3199
3298
  withLocation: (value) => {
3200
- pushParam$15(params, LOCATION_PARAM$1, value);
3299
+ pushParam$23(params, LOCATION_PARAM$1, value);
3201
3300
  return builder;
3202
3301
  },
3203
3302
  withResourceGroup: (value) => {
3204
- pushParam$15(params, RESOURCE_GROUP_PARAM, value);
3303
+ pushParam$23(params, RESOURCE_GROUP_PARAM, value);
3205
3304
  return builder;
3206
3305
  },
3207
3306
  withAdminUsername: (value) => {
3208
- pushParam$15(params, ADMIN_USERNAME_PARAM, value);
3307
+ pushParam$23(params, ADMIN_USERNAME_PARAM, value);
3209
3308
  return builder;
3210
3309
  },
3211
3310
  withImagePublisher: (value) => {
3212
- pushParam$15(params, IMAGE_PUBLISHER_PARAM, value);
3311
+ pushParam$23(params, IMAGE_PUBLISHER_PARAM, value);
3213
3312
  return builder;
3214
3313
  },
3215
3314
  withImageOffer: (value) => {
3216
- pushParam$15(params, IMAGE_OFFER_PARAM, value);
3315
+ pushParam$23(params, IMAGE_OFFER_PARAM, value);
3217
3316
  return builder;
3218
3317
  },
3219
3318
  withImageSku: (value) => {
3220
- pushParam$15(params, IMAGE_SKU_PARAM, value);
3319
+ pushParam$23(params, IMAGE_SKU_PARAM, value);
3221
3320
  return builder;
3222
3321
  },
3223
3322
  withSshPublicKey: (value) => {
3224
- pushParam$15(params, SSH_PUBLIC_KEY_PARAM$1, value);
3323
+ pushParam$23(params, SSH_PUBLIC_KEY_PARAM$1, value);
3225
3324
  return builder;
3226
3325
  },
3227
3326
  withOsDiskSizeGb: (value) => {
3228
- pushParam$15(params, OS_DISK_SIZE_GB_PARAM, value);
3327
+ pushParam$23(params, OS_DISK_SIZE_GB_PARAM, value);
3229
3328
  return builder;
3230
3329
  },
3231
3330
  build: () => inner.build()
@@ -3234,43 +3333,43 @@ let AzureVm;
3234
3333
  };
3235
3334
  _AzureVm.satisfy = (blueprint) => {
3236
3335
  const params = getParametersInstance();
3237
- const inner = getLiveSystemComponentBuilder().withType(buildAzureVmType()).withParameters(params).withProvider("Azure").withId(buildId$17(blueprint.id.toString())).withVersion(buildVersion$17(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3336
+ const inner = getLiveSystemComponentBuilder().withType(buildAzureVmType()).withParameters(params).withProvider("Azure").withId(buildId$25(blueprint.id.toString())).withVersion(buildVersion$25(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3238
3337
  if (blueprint.description) inner.withDescription(blueprint.description);
3239
3338
  const satisfiedBuilder = {
3240
3339
  withVmSize: (value) => {
3241
- pushParam$15(params, VM_SIZE_PARAM, value);
3340
+ pushParam$23(params, VM_SIZE_PARAM, value);
3242
3341
  return satisfiedBuilder;
3243
3342
  },
3244
3343
  withLocation: (value) => {
3245
- pushParam$15(params, LOCATION_PARAM$1, value);
3344
+ pushParam$23(params, LOCATION_PARAM$1, value);
3246
3345
  return satisfiedBuilder;
3247
3346
  },
3248
3347
  withResourceGroup: (value) => {
3249
- pushParam$15(params, RESOURCE_GROUP_PARAM, value);
3348
+ pushParam$23(params, RESOURCE_GROUP_PARAM, value);
3250
3349
  return satisfiedBuilder;
3251
3350
  },
3252
3351
  withAdminUsername: (value) => {
3253
- pushParam$15(params, ADMIN_USERNAME_PARAM, value);
3352
+ pushParam$23(params, ADMIN_USERNAME_PARAM, value);
3254
3353
  return satisfiedBuilder;
3255
3354
  },
3256
3355
  withImagePublisher: (value) => {
3257
- pushParam$15(params, IMAGE_PUBLISHER_PARAM, value);
3356
+ pushParam$23(params, IMAGE_PUBLISHER_PARAM, value);
3258
3357
  return satisfiedBuilder;
3259
3358
  },
3260
3359
  withImageOffer: (value) => {
3261
- pushParam$15(params, IMAGE_OFFER_PARAM, value);
3360
+ pushParam$23(params, IMAGE_OFFER_PARAM, value);
3262
3361
  return satisfiedBuilder;
3263
3362
  },
3264
3363
  withImageSku: (value) => {
3265
- pushParam$15(params, IMAGE_SKU_PARAM, value);
3364
+ pushParam$23(params, IMAGE_SKU_PARAM, value);
3266
3365
  return satisfiedBuilder;
3267
3366
  },
3268
3367
  withSshPublicKey: (value) => {
3269
- pushParam$15(params, SSH_PUBLIC_KEY_PARAM$1, value);
3368
+ pushParam$23(params, SSH_PUBLIC_KEY_PARAM$1, value);
3270
3369
  return satisfiedBuilder;
3271
3370
  },
3272
3371
  withOsDiskSizeGb: (value) => {
3273
- pushParam$15(params, OS_DISK_SIZE_GB_PARAM, value);
3372
+ pushParam$23(params, OS_DISK_SIZE_GB_PARAM, value);
3274
3373
  return satisfiedBuilder;
3275
3374
  },
3276
3375
  build: () => inner.build()
@@ -3291,16 +3390,16 @@ let AzureVm;
3291
3390
  const GCP_VPC_TYPE_NAME = "GcpVpc";
3292
3391
  const AUTO_CREATE_SUBNETWORKS_PARAM = "autoCreateSubnetworks";
3293
3392
  const ROUTING_MODE_PARAM = "routingMode";
3294
- function buildId$16(id) {
3393
+ function buildId$24(id) {
3295
3394
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
3296
3395
  }
3297
- function buildVersion$16(major, minor, patch) {
3396
+ function buildVersion$24(major, minor, patch) {
3298
3397
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
3299
3398
  }
3300
3399
  function buildGcpVpcType() {
3301
3400
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(GCP_VPC_TYPE_NAME).build()).build();
3302
3401
  }
3303
- function pushParam$14(params, key, value) {
3402
+ function pushParam$22(params, key, value) {
3304
3403
  params.push(key, value);
3305
3404
  }
3306
3405
  let GcpVpc;
@@ -3310,11 +3409,11 @@ let GcpVpc;
3310
3409
  const inner = getLiveSystemComponentBuilder().withType(buildGcpVpcType()).withParameters(params).withProvider("GCP");
3311
3410
  const builder = {
3312
3411
  withId: (id) => {
3313
- inner.withId(buildId$16(id));
3412
+ inner.withId(buildId$24(id));
3314
3413
  return builder;
3315
3414
  },
3316
3415
  withVersion: (major, minor, patch) => {
3317
- inner.withVersion(buildVersion$16(major, minor, patch));
3416
+ inner.withVersion(buildVersion$24(major, minor, patch));
3318
3417
  return builder;
3319
3418
  },
3320
3419
  withDisplayName: (displayName) => {
@@ -3326,15 +3425,15 @@ let GcpVpc;
3326
3425
  return builder;
3327
3426
  },
3328
3427
  withCidrBlock: (value) => {
3329
- pushParam$14(params, CIDR_BLOCK_PARAM$1, value);
3428
+ pushParam$22(params, CIDR_BLOCK_PARAM$1, value);
3330
3429
  return builder;
3331
3430
  },
3332
3431
  withAutoCreateSubnetworks: (value) => {
3333
- pushParam$14(params, AUTO_CREATE_SUBNETWORKS_PARAM, value);
3432
+ pushParam$22(params, AUTO_CREATE_SUBNETWORKS_PARAM, value);
3334
3433
  return builder;
3335
3434
  },
3336
3435
  withRoutingMode: (value) => {
3337
- pushParam$14(params, ROUTING_MODE_PARAM, value);
3436
+ pushParam$22(params, ROUTING_MODE_PARAM, value);
3338
3437
  return builder;
3339
3438
  },
3340
3439
  build: () => inner.build()
@@ -3343,17 +3442,17 @@ let GcpVpc;
3343
3442
  };
3344
3443
  _GcpVpc.satisfy = (blueprint) => {
3345
3444
  const params = getParametersInstance();
3346
- const inner = getLiveSystemComponentBuilder().withType(buildGcpVpcType()).withParameters(params).withProvider("GCP").withId(buildId$16(blueprint.id.toString())).withVersion(buildVersion$16(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3445
+ const inner = getLiveSystemComponentBuilder().withType(buildGcpVpcType()).withParameters(params).withProvider("GCP").withId(buildId$24(blueprint.id.toString())).withVersion(buildVersion$24(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3347
3446
  if (blueprint.description) inner.withDescription(blueprint.description);
3348
3447
  const cidrBlock = blueprint.parameters.getOptionalFieldByName(CIDR_BLOCK_PARAM$1);
3349
- if (cidrBlock !== null) pushParam$14(params, CIDR_BLOCK_PARAM$1, String(cidrBlock));
3448
+ if (cidrBlock !== null) pushParam$22(params, CIDR_BLOCK_PARAM$1, String(cidrBlock));
3350
3449
  const satisfiedBuilder = {
3351
3450
  withAutoCreateSubnetworks: (value) => {
3352
- pushParam$14(params, AUTO_CREATE_SUBNETWORKS_PARAM, value);
3451
+ pushParam$22(params, AUTO_CREATE_SUBNETWORKS_PARAM, value);
3353
3452
  return satisfiedBuilder;
3354
3453
  },
3355
3454
  withRoutingMode: (value) => {
3356
- pushParam$14(params, ROUTING_MODE_PARAM, value);
3455
+ pushParam$22(params, ROUTING_MODE_PARAM, value);
3357
3456
  return satisfiedBuilder;
3358
3457
  },
3359
3458
  build: () => inner.build()
@@ -3374,16 +3473,16 @@ let GcpVpc;
3374
3473
  const GCP_SUBNET_TYPE_NAME = "GcpSubnet";
3375
3474
  const REGION_PARAM = "region";
3376
3475
  const PRIVATE_IP_GOOGLE_ACCESS_PARAM = "privateIpGoogleAccess";
3377
- function buildId$15(id) {
3476
+ function buildId$23(id) {
3378
3477
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
3379
3478
  }
3380
- function buildVersion$15(major, minor, patch) {
3479
+ function buildVersion$23(major, minor, patch) {
3381
3480
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
3382
3481
  }
3383
3482
  function buildGcpSubnetType() {
3384
3483
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(GCP_SUBNET_TYPE_NAME).build()).build();
3385
3484
  }
3386
- function pushParam$13(params, key, value) {
3485
+ function pushParam$21(params, key, value) {
3387
3486
  params.push(key, value);
3388
3487
  }
3389
3488
  let GcpSubnet;
@@ -3393,11 +3492,11 @@ let GcpSubnet;
3393
3492
  const inner = getLiveSystemComponentBuilder().withType(buildGcpSubnetType()).withParameters(params).withProvider("GCP");
3394
3493
  const builder = {
3395
3494
  withId: (id) => {
3396
- inner.withId(buildId$15(id));
3495
+ inner.withId(buildId$23(id));
3397
3496
  return builder;
3398
3497
  },
3399
3498
  withVersion: (major, minor, patch) => {
3400
- inner.withVersion(buildVersion$15(major, minor, patch));
3499
+ inner.withVersion(buildVersion$23(major, minor, patch));
3401
3500
  return builder;
3402
3501
  },
3403
3502
  withDisplayName: (displayName) => {
@@ -3409,15 +3508,15 @@ let GcpSubnet;
3409
3508
  return builder;
3410
3509
  },
3411
3510
  withCidrBlock: (value) => {
3412
- pushParam$13(params, CIDR_BLOCK_PARAM, value);
3511
+ pushParam$21(params, CIDR_BLOCK_PARAM, value);
3413
3512
  return builder;
3414
3513
  },
3415
3514
  withRegion: (value) => {
3416
- pushParam$13(params, REGION_PARAM, value);
3515
+ pushParam$21(params, REGION_PARAM, value);
3417
3516
  return builder;
3418
3517
  },
3419
3518
  withPrivateIpGoogleAccess: (value) => {
3420
- pushParam$13(params, PRIVATE_IP_GOOGLE_ACCESS_PARAM, value);
3519
+ pushParam$21(params, PRIVATE_IP_GOOGLE_ACCESS_PARAM, value);
3421
3520
  return builder;
3422
3521
  },
3423
3522
  build: () => inner.build()
@@ -3426,17 +3525,17 @@ let GcpSubnet;
3426
3525
  };
3427
3526
  _GcpSubnet.satisfy = (blueprint) => {
3428
3527
  const params = getParametersInstance();
3429
- const inner = getLiveSystemComponentBuilder().withType(buildGcpSubnetType()).withParameters(params).withProvider("GCP").withId(buildId$15(blueprint.id.toString())).withVersion(buildVersion$15(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3528
+ const inner = getLiveSystemComponentBuilder().withType(buildGcpSubnetType()).withParameters(params).withProvider("GCP").withId(buildId$23(blueprint.id.toString())).withVersion(buildVersion$23(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3430
3529
  if (blueprint.description) inner.withDescription(blueprint.description);
3431
3530
  const cidrBlock = blueprint.parameters.getOptionalFieldByName(CIDR_BLOCK_PARAM);
3432
- if (cidrBlock !== null) pushParam$13(params, CIDR_BLOCK_PARAM, String(cidrBlock));
3531
+ if (cidrBlock !== null) pushParam$21(params, CIDR_BLOCK_PARAM, String(cidrBlock));
3433
3532
  const satisfiedBuilder = {
3434
3533
  withRegion: (value) => {
3435
- pushParam$13(params, REGION_PARAM, value);
3534
+ pushParam$21(params, REGION_PARAM, value);
3436
3535
  return satisfiedBuilder;
3437
3536
  },
3438
3537
  withPrivateIpGoogleAccess: (value) => {
3439
- pushParam$13(params, PRIVATE_IP_GOOGLE_ACCESS_PARAM, value);
3538
+ pushParam$21(params, PRIVATE_IP_GOOGLE_ACCESS_PARAM, value);
3440
3539
  return satisfiedBuilder;
3441
3540
  },
3442
3541
  build: () => inner.build()
@@ -3454,16 +3553,16 @@ let GcpSubnet;
3454
3553
  //#endregion
3455
3554
  //#region src/live_system/component/network_and_compute/iaas/gcp_firewall.ts
3456
3555
  const GCP_FIREWALL_TYPE_NAME = "GcpFirewall";
3457
- function buildId$14(id) {
3556
+ function buildId$22(id) {
3458
3557
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
3459
3558
  }
3460
- function buildVersion$14(major, minor, patch) {
3559
+ function buildVersion$22(major, minor, patch) {
3461
3560
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
3462
3561
  }
3463
3562
  function buildGcpFirewallType() {
3464
3563
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(GCP_FIREWALL_TYPE_NAME).build()).build();
3465
3564
  }
3466
- function pushParam$12(params, key, value) {
3565
+ function pushParam$20(params, key, value) {
3467
3566
  params.push(key, value);
3468
3567
  }
3469
3568
  let GcpFirewall;
@@ -3473,11 +3572,11 @@ let GcpFirewall;
3473
3572
  const inner = getLiveSystemComponentBuilder().withType(buildGcpFirewallType()).withParameters(params).withProvider("GCP");
3474
3573
  const builder = {
3475
3574
  withId: (id) => {
3476
- inner.withId(buildId$14(id));
3575
+ inner.withId(buildId$22(id));
3477
3576
  return builder;
3478
3577
  },
3479
3578
  withVersion: (major, minor, patch) => {
3480
- inner.withVersion(buildVersion$14(major, minor, patch));
3579
+ inner.withVersion(buildVersion$22(major, minor, patch));
3481
3580
  return builder;
3482
3581
  },
3483
3582
  withDisplayName: (displayName) => {
@@ -3486,11 +3585,11 @@ let GcpFirewall;
3486
3585
  },
3487
3586
  withDescription: (description) => {
3488
3587
  inner.withDescription(description);
3489
- pushParam$12(params, DESCRIPTION_PARAM, description);
3588
+ pushParam$20(params, DESCRIPTION_PARAM, description);
3490
3589
  return builder;
3491
3590
  },
3492
3591
  withIngressRules: (rules) => {
3493
- pushParam$12(params, INGRESS_RULES_PARAM, rules);
3592
+ pushParam$20(params, INGRESS_RULES_PARAM, rules);
3494
3593
  return builder;
3495
3594
  },
3496
3595
  build: () => inner.build()
@@ -3499,14 +3598,14 @@ let GcpFirewall;
3499
3598
  };
3500
3599
  _GcpFirewall.satisfy = (blueprint) => {
3501
3600
  const params = getParametersInstance();
3502
- const inner = getLiveSystemComponentBuilder().withType(buildGcpFirewallType()).withParameters(params).withProvider("GCP").withId(buildId$14(blueprint.id.toString())).withVersion(buildVersion$14(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3601
+ const inner = getLiveSystemComponentBuilder().withType(buildGcpFirewallType()).withParameters(params).withProvider("GCP").withId(buildId$22(blueprint.id.toString())).withVersion(buildVersion$22(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3503
3602
  const description = blueprint.parameters.getOptionalFieldByName(DESCRIPTION_PARAM);
3504
3603
  if (description !== null) {
3505
3604
  inner.withDescription(String(description));
3506
- pushParam$12(params, DESCRIPTION_PARAM, String(description));
3605
+ pushParam$20(params, DESCRIPTION_PARAM, String(description));
3507
3606
  } else if (blueprint.description) inner.withDescription(blueprint.description);
3508
3607
  const ingressRules = blueprint.parameters.getOptionalFieldByName(INGRESS_RULES_PARAM);
3509
- if (ingressRules !== null) pushParam$12(params, INGRESS_RULES_PARAM, ingressRules);
3608
+ if (ingressRules !== null) pushParam$20(params, INGRESS_RULES_PARAM, ingressRules);
3510
3609
  return { build: () => inner.build() };
3511
3610
  };
3512
3611
  _GcpFirewall.create = (config) => {
@@ -3525,16 +3624,16 @@ const ZONE_PARAM = "zone";
3525
3624
  const IMAGE_PROJECT_PARAM = "imageProject";
3526
3625
  const IMAGE_FAMILY_PARAM = "imageFamily";
3527
3626
  const SERVICE_ACCOUNT_EMAIL_PARAM = "serviceAccountEmail";
3528
- function buildId$13(id) {
3627
+ function buildId$21(id) {
3529
3628
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
3530
3629
  }
3531
- function buildVersion$13(major, minor, patch) {
3630
+ function buildVersion$21(major, minor, patch) {
3532
3631
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
3533
3632
  }
3534
3633
  function buildGcpVmType() {
3535
3634
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(GCP_VM_TYPE_NAME).build()).build();
3536
3635
  }
3537
- function pushParam$11(params, key, value) {
3636
+ function pushParam$19(params, key, value) {
3538
3637
  params.push(key, value);
3539
3638
  }
3540
3639
  let GcpVm;
@@ -3544,11 +3643,11 @@ let GcpVm;
3544
3643
  const inner = getLiveSystemComponentBuilder().withType(buildGcpVmType()).withParameters(params).withProvider("GCP");
3545
3644
  const builder = {
3546
3645
  withId: (id) => {
3547
- inner.withId(buildId$13(id));
3646
+ inner.withId(buildId$21(id));
3548
3647
  return builder;
3549
3648
  },
3550
3649
  withVersion: (major, minor, patch) => {
3551
- inner.withVersion(buildVersion$13(major, minor, patch));
3650
+ inner.withVersion(buildVersion$21(major, minor, patch));
3552
3651
  return builder;
3553
3652
  },
3554
3653
  withDisplayName: (displayName) => {
@@ -3560,23 +3659,23 @@ let GcpVm;
3560
3659
  return builder;
3561
3660
  },
3562
3661
  withMachineType: (value) => {
3563
- pushParam$11(params, MACHINE_TYPE_PARAM, value);
3662
+ pushParam$19(params, MACHINE_TYPE_PARAM, value);
3564
3663
  return builder;
3565
3664
  },
3566
3665
  withZone: (value) => {
3567
- pushParam$11(params, ZONE_PARAM, value);
3666
+ pushParam$19(params, ZONE_PARAM, value);
3568
3667
  return builder;
3569
3668
  },
3570
3669
  withImageProject: (value) => {
3571
- pushParam$11(params, IMAGE_PROJECT_PARAM, value);
3670
+ pushParam$19(params, IMAGE_PROJECT_PARAM, value);
3572
3671
  return builder;
3573
3672
  },
3574
3673
  withImageFamily: (value) => {
3575
- pushParam$11(params, IMAGE_FAMILY_PARAM, value);
3674
+ pushParam$19(params, IMAGE_FAMILY_PARAM, value);
3576
3675
  return builder;
3577
3676
  },
3578
3677
  withServiceAccountEmail: (value) => {
3579
- pushParam$11(params, SERVICE_ACCOUNT_EMAIL_PARAM, value);
3678
+ pushParam$19(params, SERVICE_ACCOUNT_EMAIL_PARAM, value);
3580
3679
  return builder;
3581
3680
  },
3582
3681
  build: () => inner.build()
@@ -3585,27 +3684,27 @@ let GcpVm;
3585
3684
  };
3586
3685
  _GcpVm.satisfy = (blueprint) => {
3587
3686
  const params = getParametersInstance();
3588
- const inner = getLiveSystemComponentBuilder().withType(buildGcpVmType()).withParameters(params).withProvider("GCP").withId(buildId$13(blueprint.id.toString())).withVersion(buildVersion$13(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3687
+ const inner = getLiveSystemComponentBuilder().withType(buildGcpVmType()).withParameters(params).withProvider("GCP").withId(buildId$21(blueprint.id.toString())).withVersion(buildVersion$21(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3589
3688
  if (blueprint.description) inner.withDescription(blueprint.description);
3590
3689
  const satisfiedBuilder = {
3591
3690
  withMachineType: (value) => {
3592
- pushParam$11(params, MACHINE_TYPE_PARAM, value);
3691
+ pushParam$19(params, MACHINE_TYPE_PARAM, value);
3593
3692
  return satisfiedBuilder;
3594
3693
  },
3595
3694
  withZone: (value) => {
3596
- pushParam$11(params, ZONE_PARAM, value);
3695
+ pushParam$19(params, ZONE_PARAM, value);
3597
3696
  return satisfiedBuilder;
3598
3697
  },
3599
3698
  withImageProject: (value) => {
3600
- pushParam$11(params, IMAGE_PROJECT_PARAM, value);
3699
+ pushParam$19(params, IMAGE_PROJECT_PARAM, value);
3601
3700
  return satisfiedBuilder;
3602
3701
  },
3603
3702
  withImageFamily: (value) => {
3604
- pushParam$11(params, IMAGE_FAMILY_PARAM, value);
3703
+ pushParam$19(params, IMAGE_FAMILY_PARAM, value);
3605
3704
  return satisfiedBuilder;
3606
3705
  },
3607
3706
  withServiceAccountEmail: (value) => {
3608
- pushParam$11(params, SERVICE_ACCOUNT_EMAIL_PARAM, value);
3707
+ pushParam$19(params, SERVICE_ACCOUNT_EMAIL_PARAM, value);
3609
3708
  return satisfiedBuilder;
3610
3709
  },
3611
3710
  build: () => inner.build()
@@ -3625,16 +3724,16 @@ let GcpVm;
3625
3724
  //#region src/live_system/component/network_and_compute/iaas/oci_vcn.ts
3626
3725
  const OCI_VCN_TYPE_NAME = "OciVcn";
3627
3726
  const COMPARTMENT_ID_PARAM$3 = "compartmentId";
3628
- function buildId$12(id) {
3727
+ function buildId$20(id) {
3629
3728
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
3630
3729
  }
3631
- function buildVersion$12(major, minor, patch) {
3730
+ function buildVersion$20(major, minor, patch) {
3632
3731
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
3633
3732
  }
3634
3733
  function buildOciVcnType() {
3635
3734
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(OCI_VCN_TYPE_NAME).build()).build();
3636
3735
  }
3637
- function pushParam$10(params, key, value) {
3736
+ function pushParam$18(params, key, value) {
3638
3737
  params.push(key, value);
3639
3738
  }
3640
3739
  let OciVcn;
@@ -3644,11 +3743,11 @@ let OciVcn;
3644
3743
  const inner = getLiveSystemComponentBuilder().withType(buildOciVcnType()).withParameters(params).withProvider("OCI");
3645
3744
  const builder = {
3646
3745
  withId: (id) => {
3647
- inner.withId(buildId$12(id));
3746
+ inner.withId(buildId$20(id));
3648
3747
  return builder;
3649
3748
  },
3650
3749
  withVersion: (major, minor, patch) => {
3651
- inner.withVersion(buildVersion$12(major, minor, patch));
3750
+ inner.withVersion(buildVersion$20(major, minor, patch));
3652
3751
  return builder;
3653
3752
  },
3654
3753
  withDisplayName: (displayName) => {
@@ -3660,11 +3759,11 @@ let OciVcn;
3660
3759
  return builder;
3661
3760
  },
3662
3761
  withCidrBlock: (value) => {
3663
- pushParam$10(params, CIDR_BLOCK_PARAM$1, value);
3762
+ pushParam$18(params, CIDR_BLOCK_PARAM$1, value);
3664
3763
  return builder;
3665
3764
  },
3666
3765
  withCompartmentId: (value) => {
3667
- pushParam$10(params, COMPARTMENT_ID_PARAM$3, value);
3766
+ pushParam$18(params, COMPARTMENT_ID_PARAM$3, value);
3668
3767
  return builder;
3669
3768
  },
3670
3769
  build: () => inner.build()
@@ -3673,13 +3772,13 @@ let OciVcn;
3673
3772
  };
3674
3773
  _OciVcn.satisfy = (blueprint) => {
3675
3774
  const params = getParametersInstance();
3676
- const inner = getLiveSystemComponentBuilder().withType(buildOciVcnType()).withParameters(params).withProvider("OCI").withId(buildId$12(blueprint.id.toString())).withVersion(buildVersion$12(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3775
+ const inner = getLiveSystemComponentBuilder().withType(buildOciVcnType()).withParameters(params).withProvider("OCI").withId(buildId$20(blueprint.id.toString())).withVersion(buildVersion$20(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3677
3776
  if (blueprint.description) inner.withDescription(blueprint.description);
3678
3777
  const cidrBlock = blueprint.parameters.getOptionalFieldByName(CIDR_BLOCK_PARAM$1);
3679
- if (cidrBlock !== null) pushParam$10(params, CIDR_BLOCK_PARAM$1, String(cidrBlock));
3778
+ if (cidrBlock !== null) pushParam$18(params, CIDR_BLOCK_PARAM$1, String(cidrBlock));
3680
3779
  const satisfiedBuilder = {
3681
3780
  withCompartmentId: (value) => {
3682
- pushParam$10(params, COMPARTMENT_ID_PARAM$3, value);
3781
+ pushParam$18(params, COMPARTMENT_ID_PARAM$3, value);
3683
3782
  return satisfiedBuilder;
3684
3783
  },
3685
3784
  build: () => inner.build()
@@ -3699,16 +3798,16 @@ const OCI_SUBNET_TYPE_NAME = "OciSubnet";
3699
3798
  const COMPARTMENT_ID_PARAM$2 = "compartmentId";
3700
3799
  const AVAILABILITY_DOMAIN_PARAM$1 = "availabilityDomain";
3701
3800
  const PROHIBIT_PUBLIC_IP_PARAM = "prohibitPublicIpOnVnic";
3702
- function buildId$11(id) {
3801
+ function buildId$19(id) {
3703
3802
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
3704
3803
  }
3705
- function buildVersion$11(major, minor, patch) {
3804
+ function buildVersion$19(major, minor, patch) {
3706
3805
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
3707
3806
  }
3708
3807
  function buildOciSubnetType() {
3709
3808
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(OCI_SUBNET_TYPE_NAME).build()).build();
3710
3809
  }
3711
- function pushParam$9(params, key, value) {
3810
+ function pushParam$17(params, key, value) {
3712
3811
  params.push(key, value);
3713
3812
  }
3714
3813
  let OciSubnet;
@@ -3718,11 +3817,11 @@ let OciSubnet;
3718
3817
  const inner = getLiveSystemComponentBuilder().withType(buildOciSubnetType()).withParameters(params).withProvider("OCI");
3719
3818
  const builder = {
3720
3819
  withId: (id) => {
3721
- inner.withId(buildId$11(id));
3820
+ inner.withId(buildId$19(id));
3722
3821
  return builder;
3723
3822
  },
3724
3823
  withVersion: (major, minor, patch) => {
3725
- inner.withVersion(buildVersion$11(major, minor, patch));
3824
+ inner.withVersion(buildVersion$19(major, minor, patch));
3726
3825
  return builder;
3727
3826
  },
3728
3827
  withDisplayName: (displayName) => {
@@ -3734,19 +3833,19 @@ let OciSubnet;
3734
3833
  return builder;
3735
3834
  },
3736
3835
  withCidrBlock: (value) => {
3737
- pushParam$9(params, CIDR_BLOCK_PARAM, value);
3836
+ pushParam$17(params, CIDR_BLOCK_PARAM, value);
3738
3837
  return builder;
3739
3838
  },
3740
3839
  withCompartmentId: (value) => {
3741
- pushParam$9(params, COMPARTMENT_ID_PARAM$2, value);
3840
+ pushParam$17(params, COMPARTMENT_ID_PARAM$2, value);
3742
3841
  return builder;
3743
3842
  },
3744
3843
  withAvailabilityDomain: (value) => {
3745
- pushParam$9(params, AVAILABILITY_DOMAIN_PARAM$1, value);
3844
+ pushParam$17(params, AVAILABILITY_DOMAIN_PARAM$1, value);
3746
3845
  return builder;
3747
3846
  },
3748
3847
  withProhibitPublicIpOnVnic: (value) => {
3749
- pushParam$9(params, PROHIBIT_PUBLIC_IP_PARAM, value);
3848
+ pushParam$17(params, PROHIBIT_PUBLIC_IP_PARAM, value);
3750
3849
  return builder;
3751
3850
  },
3752
3851
  build: () => inner.build()
@@ -3755,21 +3854,21 @@ let OciSubnet;
3755
3854
  };
3756
3855
  _OciSubnet.satisfy = (blueprint) => {
3757
3856
  const params = getParametersInstance();
3758
- const inner = getLiveSystemComponentBuilder().withType(buildOciSubnetType()).withParameters(params).withProvider("OCI").withId(buildId$11(blueprint.id.toString())).withVersion(buildVersion$11(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3857
+ const inner = getLiveSystemComponentBuilder().withType(buildOciSubnetType()).withParameters(params).withProvider("OCI").withId(buildId$19(blueprint.id.toString())).withVersion(buildVersion$19(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3759
3858
  if (blueprint.description) inner.withDescription(blueprint.description);
3760
3859
  const cidrBlock = blueprint.parameters.getOptionalFieldByName(CIDR_BLOCK_PARAM);
3761
- if (cidrBlock !== null) pushParam$9(params, CIDR_BLOCK_PARAM, String(cidrBlock));
3860
+ if (cidrBlock !== null) pushParam$17(params, CIDR_BLOCK_PARAM, String(cidrBlock));
3762
3861
  const satisfiedBuilder = {
3763
3862
  withCompartmentId: (value) => {
3764
- pushParam$9(params, COMPARTMENT_ID_PARAM$2, value);
3863
+ pushParam$17(params, COMPARTMENT_ID_PARAM$2, value);
3765
3864
  return satisfiedBuilder;
3766
3865
  },
3767
3866
  withAvailabilityDomain: (value) => {
3768
- pushParam$9(params, AVAILABILITY_DOMAIN_PARAM$1, value);
3867
+ pushParam$17(params, AVAILABILITY_DOMAIN_PARAM$1, value);
3769
3868
  return satisfiedBuilder;
3770
3869
  },
3771
3870
  withProhibitPublicIpOnVnic: (value) => {
3772
- pushParam$9(params, PROHIBIT_PUBLIC_IP_PARAM, value);
3871
+ pushParam$17(params, PROHIBIT_PUBLIC_IP_PARAM, value);
3773
3872
  return satisfiedBuilder;
3774
3873
  },
3775
3874
  build: () => inner.build()
@@ -3789,16 +3888,16 @@ let OciSubnet;
3789
3888
  //#region src/live_system/component/network_and_compute/iaas/oci_security_list.ts
3790
3889
  const OCI_SECURITY_LIST_TYPE_NAME = "OciSecurityList";
3791
3890
  const COMPARTMENT_ID_PARAM$1 = "compartmentId";
3792
- function buildId$10(id) {
3891
+ function buildId$18(id) {
3793
3892
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
3794
3893
  }
3795
- function buildVersion$10(major, minor, patch) {
3894
+ function buildVersion$18(major, minor, patch) {
3796
3895
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
3797
3896
  }
3798
3897
  function buildOciSecurityListType() {
3799
3898
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(OCI_SECURITY_LIST_TYPE_NAME).build()).build();
3800
3899
  }
3801
- function pushParam$8(params, key, value) {
3900
+ function pushParam$16(params, key, value) {
3802
3901
  params.push(key, value);
3803
3902
  }
3804
3903
  let OciSecurityList;
@@ -3808,11 +3907,11 @@ let OciSecurityList;
3808
3907
  const inner = getLiveSystemComponentBuilder().withType(buildOciSecurityListType()).withParameters(params).withProvider("OCI");
3809
3908
  const builder = {
3810
3909
  withId: (id) => {
3811
- inner.withId(buildId$10(id));
3910
+ inner.withId(buildId$18(id));
3812
3911
  return builder;
3813
3912
  },
3814
3913
  withVersion: (major, minor, patch) => {
3815
- inner.withVersion(buildVersion$10(major, minor, patch));
3914
+ inner.withVersion(buildVersion$18(major, minor, patch));
3816
3915
  return builder;
3817
3916
  },
3818
3917
  withDisplayName: (displayName) => {
@@ -3821,15 +3920,15 @@ let OciSecurityList;
3821
3920
  },
3822
3921
  withDescription: (description) => {
3823
3922
  inner.withDescription(description);
3824
- pushParam$8(params, DESCRIPTION_PARAM, description);
3923
+ pushParam$16(params, DESCRIPTION_PARAM, description);
3825
3924
  return builder;
3826
3925
  },
3827
3926
  withIngressRules: (rules) => {
3828
- pushParam$8(params, INGRESS_RULES_PARAM, rules);
3927
+ pushParam$16(params, INGRESS_RULES_PARAM, rules);
3829
3928
  return builder;
3830
3929
  },
3831
3930
  withCompartmentId: (value) => {
3832
- pushParam$8(params, COMPARTMENT_ID_PARAM$1, value);
3931
+ pushParam$16(params, COMPARTMENT_ID_PARAM$1, value);
3833
3932
  return builder;
3834
3933
  },
3835
3934
  build: () => inner.build()
@@ -3838,17 +3937,17 @@ let OciSecurityList;
3838
3937
  };
3839
3938
  _OciSecurityList.satisfy = (blueprint) => {
3840
3939
  const params = getParametersInstance();
3841
- const inner = getLiveSystemComponentBuilder().withType(buildOciSecurityListType()).withParameters(params).withProvider("OCI").withId(buildId$10(blueprint.id.toString())).withVersion(buildVersion$10(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3940
+ const inner = getLiveSystemComponentBuilder().withType(buildOciSecurityListType()).withParameters(params).withProvider("OCI").withId(buildId$18(blueprint.id.toString())).withVersion(buildVersion$18(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3842
3941
  const description = blueprint.parameters.getOptionalFieldByName(DESCRIPTION_PARAM);
3843
3942
  if (description !== null) {
3844
3943
  inner.withDescription(String(description));
3845
- pushParam$8(params, DESCRIPTION_PARAM, String(description));
3944
+ pushParam$16(params, DESCRIPTION_PARAM, String(description));
3846
3945
  } else if (blueprint.description) inner.withDescription(blueprint.description);
3847
3946
  const ingressRules = blueprint.parameters.getOptionalFieldByName(INGRESS_RULES_PARAM);
3848
- if (ingressRules !== null) pushParam$8(params, INGRESS_RULES_PARAM, ingressRules);
3947
+ if (ingressRules !== null) pushParam$16(params, INGRESS_RULES_PARAM, ingressRules);
3849
3948
  const satisfiedBuilder = {
3850
3949
  withCompartmentId: (value) => {
3851
- pushParam$8(params, COMPARTMENT_ID_PARAM$1, value);
3950
+ pushParam$16(params, COMPARTMENT_ID_PARAM$1, value);
3852
3951
  return satisfiedBuilder;
3853
3952
  },
3854
3953
  build: () => inner.build()
@@ -3873,16 +3972,16 @@ const IMAGE_ID_PARAM = "imageId";
3873
3972
  const OCPUS_PARAM = "ocpus";
3874
3973
  const MEMORY_IN_GBS_PARAM = "memoryInGbs";
3875
3974
  const SSH_PUBLIC_KEY_PARAM = "sshPublicKey";
3876
- function buildId$9(id) {
3975
+ function buildId$17(id) {
3877
3976
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
3878
3977
  }
3879
- function buildVersion$9(major, minor, patch) {
3978
+ function buildVersion$17(major, minor, patch) {
3880
3979
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
3881
3980
  }
3882
3981
  function buildOciInstanceType() {
3883
3982
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(OCI_INSTANCE_TYPE_NAME).build()).build();
3884
3983
  }
3885
- function pushParam$7(params, key, value) {
3984
+ function pushParam$15(params, key, value) {
3886
3985
  params.push(key, value);
3887
3986
  }
3888
3987
  let OciInstance;
@@ -3892,11 +3991,11 @@ let OciInstance;
3892
3991
  const inner = getLiveSystemComponentBuilder().withType(buildOciInstanceType()).withParameters(params).withProvider("OCI");
3893
3992
  const builder = {
3894
3993
  withId: (id) => {
3895
- inner.withId(buildId$9(id));
3994
+ inner.withId(buildId$17(id));
3896
3995
  return builder;
3897
3996
  },
3898
3997
  withVersion: (major, minor, patch) => {
3899
- inner.withVersion(buildVersion$9(major, minor, patch));
3998
+ inner.withVersion(buildVersion$17(major, minor, patch));
3900
3999
  return builder;
3901
4000
  },
3902
4001
  withDisplayName: (displayName) => {
@@ -3908,31 +4007,31 @@ let OciInstance;
3908
4007
  return builder;
3909
4008
  },
3910
4009
  withCompartmentId: (value) => {
3911
- pushParam$7(params, COMPARTMENT_ID_PARAM, value);
4010
+ pushParam$15(params, COMPARTMENT_ID_PARAM, value);
3912
4011
  return builder;
3913
4012
  },
3914
4013
  withAvailabilityDomain: (value) => {
3915
- pushParam$7(params, AVAILABILITY_DOMAIN_PARAM, value);
4014
+ pushParam$15(params, AVAILABILITY_DOMAIN_PARAM, value);
3916
4015
  return builder;
3917
4016
  },
3918
4017
  withShape: (value) => {
3919
- pushParam$7(params, SHAPE_PARAM, value);
4018
+ pushParam$15(params, SHAPE_PARAM, value);
3920
4019
  return builder;
3921
4020
  },
3922
4021
  withImageId: (value) => {
3923
- pushParam$7(params, IMAGE_ID_PARAM, value);
4022
+ pushParam$15(params, IMAGE_ID_PARAM, value);
3924
4023
  return builder;
3925
4024
  },
3926
4025
  withOcpus: (value) => {
3927
- pushParam$7(params, OCPUS_PARAM, value);
4026
+ pushParam$15(params, OCPUS_PARAM, value);
3928
4027
  return builder;
3929
4028
  },
3930
4029
  withMemoryInGbs: (value) => {
3931
- pushParam$7(params, MEMORY_IN_GBS_PARAM, value);
4030
+ pushParam$15(params, MEMORY_IN_GBS_PARAM, value);
3932
4031
  return builder;
3933
4032
  },
3934
4033
  withSshPublicKey: (value) => {
3935
- pushParam$7(params, SSH_PUBLIC_KEY_PARAM, value);
4034
+ pushParam$15(params, SSH_PUBLIC_KEY_PARAM, value);
3936
4035
  return builder;
3937
4036
  },
3938
4037
  build: () => inner.build()
@@ -3941,35 +4040,35 @@ let OciInstance;
3941
4040
  };
3942
4041
  _OciInstance.satisfy = (blueprint) => {
3943
4042
  const params = getParametersInstance();
3944
- const inner = getLiveSystemComponentBuilder().withType(buildOciInstanceType()).withParameters(params).withProvider("OCI").withId(buildId$9(blueprint.id.toString())).withVersion(buildVersion$9(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
4043
+ const inner = getLiveSystemComponentBuilder().withType(buildOciInstanceType()).withParameters(params).withProvider("OCI").withId(buildId$17(blueprint.id.toString())).withVersion(buildVersion$17(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
3945
4044
  if (blueprint.description) inner.withDescription(blueprint.description);
3946
4045
  const satisfiedBuilder = {
3947
4046
  withCompartmentId: (value) => {
3948
- pushParam$7(params, COMPARTMENT_ID_PARAM, value);
4047
+ pushParam$15(params, COMPARTMENT_ID_PARAM, value);
3949
4048
  return satisfiedBuilder;
3950
4049
  },
3951
4050
  withAvailabilityDomain: (value) => {
3952
- pushParam$7(params, AVAILABILITY_DOMAIN_PARAM, value);
4051
+ pushParam$15(params, AVAILABILITY_DOMAIN_PARAM, value);
3953
4052
  return satisfiedBuilder;
3954
4053
  },
3955
4054
  withShape: (value) => {
3956
- pushParam$7(params, SHAPE_PARAM, value);
4055
+ pushParam$15(params, SHAPE_PARAM, value);
3957
4056
  return satisfiedBuilder;
3958
4057
  },
3959
4058
  withImageId: (value) => {
3960
- pushParam$7(params, IMAGE_ID_PARAM, value);
4059
+ pushParam$15(params, IMAGE_ID_PARAM, value);
3961
4060
  return satisfiedBuilder;
3962
4061
  },
3963
4062
  withOcpus: (value) => {
3964
- pushParam$7(params, OCPUS_PARAM, value);
4063
+ pushParam$15(params, OCPUS_PARAM, value);
3965
4064
  return satisfiedBuilder;
3966
4065
  },
3967
4066
  withMemoryInGbs: (value) => {
3968
- pushParam$7(params, MEMORY_IN_GBS_PARAM, value);
4067
+ pushParam$15(params, MEMORY_IN_GBS_PARAM, value);
3969
4068
  return satisfiedBuilder;
3970
4069
  },
3971
4070
  withSshPublicKey: (value) => {
3972
- pushParam$7(params, SSH_PUBLIC_KEY_PARAM, value);
4071
+ pushParam$15(params, SSH_PUBLIC_KEY_PARAM, value);
3973
4072
  return satisfiedBuilder;
3974
4073
  },
3975
4074
  build: () => inner.build()
@@ -3989,16 +4088,16 @@ let OciInstance;
3989
4088
  //#endregion
3990
4089
  //#region src/live_system/component/network_and_compute/iaas/hetzner_network.ts
3991
4090
  const HETZNER_NETWORK_TYPE_NAME = "HetznerNetwork";
3992
- function buildId$8(id) {
4091
+ function buildId$16(id) {
3993
4092
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
3994
4093
  }
3995
- function buildVersion$8(major, minor, patch) {
4094
+ function buildVersion$16(major, minor, patch) {
3996
4095
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
3997
4096
  }
3998
4097
  function buildHetznerNetworkType() {
3999
4098
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(HETZNER_NETWORK_TYPE_NAME).build()).build();
4000
4099
  }
4001
- function pushParam$6(params, key, value) {
4100
+ function pushParam$14(params, key, value) {
4002
4101
  params.push(key, value);
4003
4102
  }
4004
4103
  let HetznerNetwork;
@@ -4008,11 +4107,11 @@ let HetznerNetwork;
4008
4107
  const inner = getLiveSystemComponentBuilder().withType(buildHetznerNetworkType()).withParameters(params).withProvider("Hetzner");
4009
4108
  const builder = {
4010
4109
  withId: (id) => {
4011
- inner.withId(buildId$8(id));
4110
+ inner.withId(buildId$16(id));
4012
4111
  return builder;
4013
4112
  },
4014
4113
  withVersion: (major, minor, patch) => {
4015
- inner.withVersion(buildVersion$8(major, minor, patch));
4114
+ inner.withVersion(buildVersion$16(major, minor, patch));
4016
4115
  return builder;
4017
4116
  },
4018
4117
  withDisplayName: (displayName) => {
@@ -4024,7 +4123,7 @@ let HetznerNetwork;
4024
4123
  return builder;
4025
4124
  },
4026
4125
  withCidrBlock: (value) => {
4027
- pushParam$6(params, CIDR_BLOCK_PARAM$1, value);
4126
+ pushParam$14(params, CIDR_BLOCK_PARAM$1, value);
4028
4127
  return builder;
4029
4128
  },
4030
4129
  build: () => inner.build()
@@ -4033,10 +4132,10 @@ let HetznerNetwork;
4033
4132
  };
4034
4133
  _HetznerNetwork.satisfy = (blueprint) => {
4035
4134
  const params = getParametersInstance();
4036
- const inner = getLiveSystemComponentBuilder().withType(buildHetznerNetworkType()).withParameters(params).withProvider("Hetzner").withId(buildId$8(blueprint.id.toString())).withVersion(buildVersion$8(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
4135
+ const inner = getLiveSystemComponentBuilder().withType(buildHetznerNetworkType()).withParameters(params).withProvider("Hetzner").withId(buildId$16(blueprint.id.toString())).withVersion(buildVersion$16(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
4037
4136
  if (blueprint.description) inner.withDescription(blueprint.description);
4038
4137
  const cidrBlock = blueprint.parameters.getOptionalFieldByName(CIDR_BLOCK_PARAM$1);
4039
- if (cidrBlock !== null) pushParam$6(params, CIDR_BLOCK_PARAM$1, String(cidrBlock));
4138
+ if (cidrBlock !== null) pushParam$14(params, CIDR_BLOCK_PARAM$1, String(cidrBlock));
4040
4139
  return { build: () => inner.build() };
4041
4140
  };
4042
4141
  _HetznerNetwork.create = (config) => {
@@ -4051,16 +4150,16 @@ let HetznerNetwork;
4051
4150
  const HETZNER_SUBNET_TYPE_NAME = "HetznerSubnet";
4052
4151
  const NETWORK_ZONE_PARAM = "networkZone";
4053
4152
  const TYPE_PARAM = "type";
4054
- function buildId$7(id) {
4153
+ function buildId$15(id) {
4055
4154
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
4056
4155
  }
4057
- function buildVersion$7(major, minor, patch) {
4156
+ function buildVersion$15(major, minor, patch) {
4058
4157
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
4059
4158
  }
4060
4159
  function buildHetznerSubnetType() {
4061
4160
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(HETZNER_SUBNET_TYPE_NAME).build()).build();
4062
4161
  }
4063
- function pushParam$5(params, key, value) {
4162
+ function pushParam$13(params, key, value) {
4064
4163
  params.push(key, value);
4065
4164
  }
4066
4165
  let HetznerSubnet;
@@ -4070,11 +4169,11 @@ let HetznerSubnet;
4070
4169
  const inner = getLiveSystemComponentBuilder().withType(buildHetznerSubnetType()).withParameters(params).withProvider("Hetzner");
4071
4170
  const builder = {
4072
4171
  withId: (id) => {
4073
- inner.withId(buildId$7(id));
4172
+ inner.withId(buildId$15(id));
4074
4173
  return builder;
4075
4174
  },
4076
4175
  withVersion: (major, minor, patch) => {
4077
- inner.withVersion(buildVersion$7(major, minor, patch));
4176
+ inner.withVersion(buildVersion$15(major, minor, patch));
4078
4177
  return builder;
4079
4178
  },
4080
4179
  withDisplayName: (displayName) => {
@@ -4086,15 +4185,15 @@ let HetznerSubnet;
4086
4185
  return builder;
4087
4186
  },
4088
4187
  withCidrBlock: (value) => {
4089
- pushParam$5(params, CIDR_BLOCK_PARAM, value);
4188
+ pushParam$13(params, CIDR_BLOCK_PARAM, value);
4090
4189
  return builder;
4091
4190
  },
4092
4191
  withNetworkZone: (value) => {
4093
- pushParam$5(params, NETWORK_ZONE_PARAM, value);
4192
+ pushParam$13(params, NETWORK_ZONE_PARAM, value);
4094
4193
  return builder;
4095
4194
  },
4096
4195
  withType: (value) => {
4097
- pushParam$5(params, TYPE_PARAM, value);
4196
+ pushParam$13(params, TYPE_PARAM, value);
4098
4197
  return builder;
4099
4198
  },
4100
4199
  build: () => inner.build()
@@ -4103,17 +4202,17 @@ let HetznerSubnet;
4103
4202
  };
4104
4203
  _HetznerSubnet.satisfy = (blueprint) => {
4105
4204
  const params = getParametersInstance();
4106
- const inner = getLiveSystemComponentBuilder().withType(buildHetznerSubnetType()).withParameters(params).withProvider("Hetzner").withId(buildId$7(blueprint.id.toString())).withVersion(buildVersion$7(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
4205
+ const inner = getLiveSystemComponentBuilder().withType(buildHetznerSubnetType()).withParameters(params).withProvider("Hetzner").withId(buildId$15(blueprint.id.toString())).withVersion(buildVersion$15(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
4107
4206
  if (blueprint.description) inner.withDescription(blueprint.description);
4108
4207
  const cidrBlock = blueprint.parameters.getOptionalFieldByName(CIDR_BLOCK_PARAM);
4109
- if (cidrBlock !== null) pushParam$5(params, CIDR_BLOCK_PARAM, String(cidrBlock));
4208
+ if (cidrBlock !== null) pushParam$13(params, CIDR_BLOCK_PARAM, String(cidrBlock));
4110
4209
  const satisfiedBuilder = {
4111
4210
  withNetworkZone: (value) => {
4112
- pushParam$5(params, NETWORK_ZONE_PARAM, value);
4211
+ pushParam$13(params, NETWORK_ZONE_PARAM, value);
4113
4212
  return satisfiedBuilder;
4114
4213
  },
4115
4214
  withType: (value) => {
4116
- pushParam$5(params, TYPE_PARAM, value);
4215
+ pushParam$13(params, TYPE_PARAM, value);
4117
4216
  return satisfiedBuilder;
4118
4217
  },
4119
4218
  build: () => inner.build()
@@ -4131,16 +4230,16 @@ let HetznerSubnet;
4131
4230
  //#endregion
4132
4231
  //#region src/live_system/component/network_and_compute/iaas/hetzner_firewall.ts
4133
4232
  const HETZNER_FIREWALL_TYPE_NAME = "HetznerFirewall";
4134
- function buildId$6(id) {
4233
+ function buildId$14(id) {
4135
4234
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
4136
4235
  }
4137
- function buildVersion$6(major, minor, patch) {
4236
+ function buildVersion$14(major, minor, patch) {
4138
4237
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
4139
4238
  }
4140
4239
  function buildHetznerFirewallType() {
4141
4240
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(HETZNER_FIREWALL_TYPE_NAME).build()).build();
4142
4241
  }
4143
- function pushParam$4(params, key, value) {
4242
+ function pushParam$12(params, key, value) {
4144
4243
  params.push(key, value);
4145
4244
  }
4146
4245
  let HetznerFirewall;
@@ -4150,11 +4249,11 @@ let HetznerFirewall;
4150
4249
  const inner = getLiveSystemComponentBuilder().withType(buildHetznerFirewallType()).withParameters(params).withProvider("Hetzner");
4151
4250
  const builder = {
4152
4251
  withId: (id) => {
4153
- inner.withId(buildId$6(id));
4252
+ inner.withId(buildId$14(id));
4154
4253
  return builder;
4155
4254
  },
4156
4255
  withVersion: (major, minor, patch) => {
4157
- inner.withVersion(buildVersion$6(major, minor, patch));
4256
+ inner.withVersion(buildVersion$14(major, minor, patch));
4158
4257
  return builder;
4159
4258
  },
4160
4259
  withDisplayName: (displayName) => {
@@ -4163,11 +4262,11 @@ let HetznerFirewall;
4163
4262
  },
4164
4263
  withDescription: (description) => {
4165
4264
  inner.withDescription(description);
4166
- pushParam$4(params, DESCRIPTION_PARAM, description);
4265
+ pushParam$12(params, DESCRIPTION_PARAM, description);
4167
4266
  return builder;
4168
4267
  },
4169
4268
  withIngressRules: (rules) => {
4170
- pushParam$4(params, INGRESS_RULES_PARAM, rules);
4269
+ pushParam$12(params, INGRESS_RULES_PARAM, rules);
4171
4270
  return builder;
4172
4271
  },
4173
4272
  build: () => inner.build()
@@ -4176,14 +4275,14 @@ let HetznerFirewall;
4176
4275
  };
4177
4276
  _HetznerFirewall.satisfy = (blueprint) => {
4178
4277
  const params = getParametersInstance();
4179
- const inner = getLiveSystemComponentBuilder().withType(buildHetznerFirewallType()).withParameters(params).withProvider("Hetzner").withId(buildId$6(blueprint.id.toString())).withVersion(buildVersion$6(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
4278
+ const inner = getLiveSystemComponentBuilder().withType(buildHetznerFirewallType()).withParameters(params).withProvider("Hetzner").withId(buildId$14(blueprint.id.toString())).withVersion(buildVersion$14(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
4180
4279
  const description = blueprint.parameters.getOptionalFieldByName(DESCRIPTION_PARAM);
4181
4280
  if (description !== null) {
4182
4281
  inner.withDescription(String(description));
4183
- pushParam$4(params, DESCRIPTION_PARAM, String(description));
4282
+ pushParam$12(params, DESCRIPTION_PARAM, String(description));
4184
4283
  } else if (blueprint.description) inner.withDescription(blueprint.description);
4185
4284
  const ingressRules = blueprint.parameters.getOptionalFieldByName(INGRESS_RULES_PARAM);
4186
- if (ingressRules !== null) pushParam$4(params, INGRESS_RULES_PARAM, ingressRules);
4285
+ if (ingressRules !== null) pushParam$12(params, INGRESS_RULES_PARAM, ingressRules);
4187
4286
  return { build: () => inner.build() };
4188
4287
  };
4189
4288
  _HetznerFirewall.create = (config) => {
@@ -4202,16 +4301,16 @@ const LOCATION_PARAM = "location";
4202
4301
  const IMAGE_PARAM = "image";
4203
4302
  const SSH_KEYS_PARAM = "sshKeys";
4204
4303
  const USER_DATA_PARAM = "userData";
4205
- function buildId$5(id) {
4304
+ function buildId$13(id) {
4206
4305
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
4207
4306
  }
4208
- function buildVersion$5(major, minor, patch) {
4307
+ function buildVersion$13(major, minor, patch) {
4209
4308
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
4210
4309
  }
4211
4310
  function buildHetznerServerType() {
4212
4311
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.IaaS).withName(PascalCaseString$1.getBuilder().withValue(HETZNER_SERVER_TYPE_NAME).build()).build();
4213
4312
  }
4214
- function pushParam$3(params, key, value) {
4313
+ function pushParam$11(params, key, value) {
4215
4314
  params.push(key, value);
4216
4315
  }
4217
4316
  let HetznerServer;
@@ -4221,11 +4320,11 @@ let HetznerServer;
4221
4320
  const inner = getLiveSystemComponentBuilder().withType(buildHetznerServerType()).withParameters(params).withProvider("Hetzner");
4222
4321
  const builder = {
4223
4322
  withId: (id) => {
4224
- inner.withId(buildId$5(id));
4323
+ inner.withId(buildId$13(id));
4225
4324
  return builder;
4226
4325
  },
4227
4326
  withVersion: (major, minor, patch) => {
4228
- inner.withVersion(buildVersion$5(major, minor, patch));
4327
+ inner.withVersion(buildVersion$13(major, minor, patch));
4229
4328
  return builder;
4230
4329
  },
4231
4330
  withDisplayName: (displayName) => {
@@ -4237,23 +4336,23 @@ let HetznerServer;
4237
4336
  return builder;
4238
4337
  },
4239
4338
  withServerType: (value) => {
4240
- pushParam$3(params, SERVER_TYPE_PARAM, value);
4339
+ pushParam$11(params, SERVER_TYPE_PARAM, value);
4241
4340
  return builder;
4242
4341
  },
4243
4342
  withLocation: (value) => {
4244
- pushParam$3(params, LOCATION_PARAM, value);
4343
+ pushParam$11(params, LOCATION_PARAM, value);
4245
4344
  return builder;
4246
4345
  },
4247
4346
  withImage: (value) => {
4248
- pushParam$3(params, IMAGE_PARAM, value);
4347
+ pushParam$11(params, IMAGE_PARAM, value);
4249
4348
  return builder;
4250
4349
  },
4251
4350
  withSshKeys: (value) => {
4252
- pushParam$3(params, SSH_KEYS_PARAM, value);
4351
+ pushParam$11(params, SSH_KEYS_PARAM, value);
4253
4352
  return builder;
4254
4353
  },
4255
4354
  withUserData: (value) => {
4256
- pushParam$3(params, USER_DATA_PARAM, value);
4355
+ pushParam$11(params, USER_DATA_PARAM, value);
4257
4356
  return builder;
4258
4357
  },
4259
4358
  build: () => inner.build()
@@ -4262,27 +4361,27 @@ let HetznerServer;
4262
4361
  };
4263
4362
  _HetznerServer.satisfy = (blueprint) => {
4264
4363
  const params = getParametersInstance();
4265
- const inner = getLiveSystemComponentBuilder().withType(buildHetznerServerType()).withParameters(params).withProvider("Hetzner").withId(buildId$5(blueprint.id.toString())).withVersion(buildVersion$5(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
4364
+ const inner = getLiveSystemComponentBuilder().withType(buildHetznerServerType()).withParameters(params).withProvider("Hetzner").withId(buildId$13(blueprint.id.toString())).withVersion(buildVersion$13(blueprint.version.major, blueprint.version.minor, blueprint.version.patch)).withDisplayName(blueprint.displayName).withDependencies(blueprint.dependencies).withLinks(blueprint.links);
4266
4365
  if (blueprint.description) inner.withDescription(blueprint.description);
4267
4366
  const satisfiedBuilder = {
4268
4367
  withServerType: (value) => {
4269
- pushParam$3(params, SERVER_TYPE_PARAM, value);
4368
+ pushParam$11(params, SERVER_TYPE_PARAM, value);
4270
4369
  return satisfiedBuilder;
4271
4370
  },
4272
4371
  withLocation: (value) => {
4273
- pushParam$3(params, LOCATION_PARAM, value);
4372
+ pushParam$11(params, LOCATION_PARAM, value);
4274
4373
  return satisfiedBuilder;
4275
4374
  },
4276
4375
  withImage: (value) => {
4277
- pushParam$3(params, IMAGE_PARAM, value);
4376
+ pushParam$11(params, IMAGE_PARAM, value);
4278
4377
  return satisfiedBuilder;
4279
4378
  },
4280
4379
  withSshKeys: (value) => {
4281
- pushParam$3(params, SSH_KEYS_PARAM, value);
4380
+ pushParam$11(params, SSH_KEYS_PARAM, value);
4282
4381
  return satisfiedBuilder;
4283
4382
  },
4284
4383
  withUserData: (value) => {
4285
- pushParam$3(params, USER_DATA_PARAM, value);
4384
+ pushParam$11(params, USER_DATA_PARAM, value);
4286
4385
  return satisfiedBuilder;
4287
4386
  },
4288
4387
  build: () => inner.build()
@@ -4301,10 +4400,10 @@ let HetznerServer;
4301
4400
  //#endregion
4302
4401
  //#region src/fractal/component/network_and_compute/paas/container_platform.ts
4303
4402
  const CONTAINER_PLATFORM_TYPE_NAME = "ContainerPlatform";
4304
- function buildId$4(id) {
4403
+ function buildId$12(id) {
4305
4404
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
4306
4405
  }
4307
- function buildVersion$4(major, minor, patch) {
4406
+ function buildVersion$12(major, minor, patch) {
4308
4407
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
4309
4408
  }
4310
4409
  function buildContainerPlatformType() {
@@ -4331,11 +4430,11 @@ let ContainerPlatform;
4331
4430
  const inner = getBlueprintComponentBuilder().withType(buildContainerPlatformType()).withParameters(params);
4332
4431
  const builder = {
4333
4432
  withId: (id) => {
4334
- inner.withId(buildId$4(id));
4433
+ inner.withId(buildId$12(id));
4335
4434
  return builder;
4336
4435
  },
4337
4436
  withVersion: (major, minor, patch) => {
4338
- inner.withVersion(buildVersion$4(major, minor, patch));
4437
+ inner.withVersion(buildVersion$12(major, minor, patch));
4339
4438
  return builder;
4340
4439
  },
4341
4440
  withDisplayName: (displayName) => {
@@ -4366,16 +4465,16 @@ const CONTAINER_NAME_PARAM = "containerName";
4366
4465
  const CPU_PARAM = "cpu";
4367
4466
  const MEMORY_PARAM = "memory";
4368
4467
  const DESIRED_COUNT_PARAM = "desiredCount";
4369
- function buildId$3(id) {
4468
+ function buildId$11(id) {
4370
4469
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
4371
4470
  }
4372
- function buildVersion$3(major, minor, patch) {
4471
+ function buildVersion$11(major, minor, patch) {
4373
4472
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
4374
4473
  }
4375
4474
  function buildWorkloadType() {
4376
4475
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.CustomWorkloads).withServiceDeliveryModel(ServiceDeliveryModel$1.CaaS).withName(PascalCaseString$1.getBuilder().withValue(WORKLOAD_TYPE_NAME).build()).build();
4377
4476
  }
4378
- function pushParam$2(params, key, value) {
4477
+ function pushParam$10(params, key, value) {
4379
4478
  params.push(key, value);
4380
4479
  }
4381
4480
  function buildLinkParams(fromPort, toPort, protocol) {
@@ -4412,11 +4511,11 @@ let Workload;
4412
4511
  const inner = getBlueprintComponentBuilder().withType(buildWorkloadType()).withParameters(params);
4413
4512
  const builder = {
4414
4513
  withId: (id) => {
4415
- inner.withId(buildId$3(id));
4514
+ inner.withId(buildId$11(id));
4416
4515
  return builder;
4417
4516
  },
4418
4517
  withVersion: (major, minor, patch) => {
4419
- inner.withVersion(buildVersion$3(major, minor, patch));
4518
+ inner.withVersion(buildVersion$11(major, minor, patch));
4420
4519
  return builder;
4421
4520
  },
4422
4521
  withDisplayName: (displayName) => {
@@ -4428,27 +4527,27 @@ let Workload;
4428
4527
  return builder;
4429
4528
  },
4430
4529
  withContainerImage: (image) => {
4431
- pushParam$2(params, CONTAINER_IMAGE_PARAM, image);
4530
+ pushParam$10(params, CONTAINER_IMAGE_PARAM, image);
4432
4531
  return builder;
4433
4532
  },
4434
4533
  withContainerPort: (port) => {
4435
- pushParam$2(params, CONTAINER_PORT_PARAM, port);
4534
+ pushParam$10(params, CONTAINER_PORT_PARAM, port);
4436
4535
  return builder;
4437
4536
  },
4438
4537
  withContainerName: (name) => {
4439
- pushParam$2(params, CONTAINER_NAME_PARAM, name);
4538
+ pushParam$10(params, CONTAINER_NAME_PARAM, name);
4440
4539
  return builder;
4441
4540
  },
4442
4541
  withCpu: (cpu) => {
4443
- pushParam$2(params, CPU_PARAM, cpu);
4542
+ pushParam$10(params, CPU_PARAM, cpu);
4444
4543
  return builder;
4445
4544
  },
4446
4545
  withMemory: (memory) => {
4447
- pushParam$2(params, MEMORY_PARAM, memory);
4546
+ pushParam$10(params, MEMORY_PARAM, memory);
4448
4547
  return builder;
4449
4548
  },
4450
4549
  withDesiredCount: (count) => {
4451
- pushParam$2(params, DESIRED_COUNT_PARAM, count);
4550
+ pushParam$10(params, DESIRED_COUNT_PARAM, count);
4452
4551
  return builder;
4453
4552
  },
4454
4553
  build: () => inner.build()
@@ -4467,13 +4566,178 @@ let Workload;
4467
4566
  };
4468
4567
  })(Workload || (Workload = {}));
4469
4568
 
4569
+ //#endregion
4570
+ //#region src/live_system/component/network_and_compute/paas/eks_cluster.ts
4571
+ const EKS_CLUSTER_TYPE_NAME = "EKS";
4572
+ function buildId$10(id) {
4573
+ return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
4574
+ }
4575
+ function buildVersion$10(major, minor, patch) {
4576
+ return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
4577
+ }
4578
+ function buildAwsEksClusterType() {
4579
+ return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.PaaS).withName(PascalCaseString$1.getBuilder().withValue(EKS_CLUSTER_TYPE_NAME).build()).build();
4580
+ }
4581
+ function pushParam$9(params, key, value) {
4582
+ params.push(key, value);
4583
+ }
4584
+ let AwsEksCluster;
4585
+ (function(_AwsEksCluster) {
4586
+ const getBuilder = _AwsEksCluster.getBuilder = () => {
4587
+ const params = getParametersInstance();
4588
+ const inner = getLiveSystemComponentBuilder().withType(buildAwsEksClusterType()).withParameters(params).withProvider("AWS");
4589
+ const builder = {
4590
+ withId: (id) => {
4591
+ inner.withId(buildId$10(id));
4592
+ return builder;
4593
+ },
4594
+ withVersion: (major, minor, patch) => {
4595
+ inner.withVersion(buildVersion$10(major, minor, patch));
4596
+ return builder;
4597
+ },
4598
+ withDisplayName: (displayName) => {
4599
+ inner.withDisplayName(displayName);
4600
+ return builder;
4601
+ },
4602
+ withDescription: (description) => {
4603
+ inner.withDescription(description);
4604
+ return builder;
4605
+ },
4606
+ withKubernetesVersion: (v) => {
4607
+ pushParam$9(params, "kubernetesVersion", v);
4608
+ return builder;
4609
+ },
4610
+ withNetworkPolicyProvider: (p) => {
4611
+ pushParam$9(params, "networkPolicyProvider", p);
4612
+ return builder;
4613
+ },
4614
+ withMasterIpv4CidrBlock: (cidr) => {
4615
+ pushParam$9(params, "masterIpv4CidrBlock", cidr);
4616
+ return builder;
4617
+ },
4618
+ withVpcCidrBlock: (cidr) => {
4619
+ pushParam$9(params, "vpcCidrBlock", cidr);
4620
+ return builder;
4621
+ },
4622
+ withPrivateSubnetCidrs: (cidrs) => {
4623
+ pushParam$9(params, "privateSubnetCidrs", cidrs);
4624
+ return builder;
4625
+ },
4626
+ withDesiredAvailabilityZoneCount: (count) => {
4627
+ pushParam$9(params, "desiredAvailabilityZoneCount", count);
4628
+ return builder;
4629
+ },
4630
+ withNodePools: (nodePools) => {
4631
+ pushParam$9(params, "nodePools", nodePools);
4632
+ return builder;
4633
+ },
4634
+ withAddons: (addons) => {
4635
+ pushParam$9(params, "addons", addons);
4636
+ return builder;
4637
+ },
4638
+ withPriorityClasses: (classes) => {
4639
+ pushParam$9(params, "priorityClasses", classes);
4640
+ return builder;
4641
+ },
4642
+ withRoles: (roles) => {
4643
+ pushParam$9(params, "roles", roles);
4644
+ return builder;
4645
+ },
4646
+ withWorkloadIdentityEnabled: (enabled) => {
4647
+ pushParam$9(params, "workloadIdentityEnabled", enabled);
4648
+ return builder;
4649
+ },
4650
+ withPrivateClusterDisabled: (disabled) => {
4651
+ pushParam$9(params, "privateClusterDisabled", disabled);
4652
+ return builder;
4653
+ },
4654
+ build: () => inner.build()
4655
+ };
4656
+ return builder;
4657
+ };
4658
+ _AwsEksCluster.satisfy = (platform) => {
4659
+ const params = getParametersInstance();
4660
+ const inner = getLiveSystemComponentBuilder().withType(buildAwsEksClusterType()).withParameters(params).withProvider("AWS").withId(buildId$10(platform.id.toString())).withVersion(buildVersion$10(platform.version.major, platform.version.minor, platform.version.patch)).withDisplayName(platform.displayName);
4661
+ if (platform.description) inner.withDescription(platform.description);
4662
+ const satisfiedBuilder = {
4663
+ withKubernetesVersion: (v) => {
4664
+ pushParam$9(params, "kubernetesVersion", v);
4665
+ return satisfiedBuilder;
4666
+ },
4667
+ withNetworkPolicyProvider: (p) => {
4668
+ pushParam$9(params, "networkPolicyProvider", p);
4669
+ return satisfiedBuilder;
4670
+ },
4671
+ withMasterIpv4CidrBlock: (cidr) => {
4672
+ pushParam$9(params, "masterIpv4CidrBlock", cidr);
4673
+ return satisfiedBuilder;
4674
+ },
4675
+ withVpcCidrBlock: (cidr) => {
4676
+ pushParam$9(params, "vpcCidrBlock", cidr);
4677
+ return satisfiedBuilder;
4678
+ },
4679
+ withPrivateSubnetCidrs: (cidrs) => {
4680
+ pushParam$9(params, "privateSubnetCidrs", cidrs);
4681
+ return satisfiedBuilder;
4682
+ },
4683
+ withDesiredAvailabilityZoneCount: (count) => {
4684
+ pushParam$9(params, "desiredAvailabilityZoneCount", count);
4685
+ return satisfiedBuilder;
4686
+ },
4687
+ withNodePools: (nodePools) => {
4688
+ pushParam$9(params, "nodePools", nodePools);
4689
+ return satisfiedBuilder;
4690
+ },
4691
+ withAddons: (addons) => {
4692
+ pushParam$9(params, "addons", addons);
4693
+ return satisfiedBuilder;
4694
+ },
4695
+ withPriorityClasses: (classes) => {
4696
+ pushParam$9(params, "priorityClasses", classes);
4697
+ return satisfiedBuilder;
4698
+ },
4699
+ withRoles: (roles) => {
4700
+ pushParam$9(params, "roles", roles);
4701
+ return satisfiedBuilder;
4702
+ },
4703
+ withWorkloadIdentityEnabled: (enabled) => {
4704
+ pushParam$9(params, "workloadIdentityEnabled", enabled);
4705
+ return satisfiedBuilder;
4706
+ },
4707
+ withPrivateClusterDisabled: (disabled) => {
4708
+ pushParam$9(params, "privateClusterDisabled", disabled);
4709
+ return satisfiedBuilder;
4710
+ },
4711
+ build: () => inner.build()
4712
+ };
4713
+ return satisfiedBuilder;
4714
+ };
4715
+ _AwsEksCluster.create = (config) => {
4716
+ const b = getBuilder().withId(config.id).withVersion(config.version.major, config.version.minor, config.version.patch).withDisplayName(config.displayName);
4717
+ if (config.description) b.withDescription(config.description);
4718
+ if (config.kubernetesVersion) b.withKubernetesVersion(config.kubernetesVersion);
4719
+ if (config.networkPolicyProvider) b.withNetworkPolicyProvider(config.networkPolicyProvider);
4720
+ if (config.masterIpv4CidrBlock) b.withMasterIpv4CidrBlock(config.masterIpv4CidrBlock);
4721
+ if (config.vpcCidrBlock) b.withVpcCidrBlock(config.vpcCidrBlock);
4722
+ if (config.privateSubnetCidrs) b.withPrivateSubnetCidrs(config.privateSubnetCidrs);
4723
+ if (config.desiredAvailabilityZoneCount !== void 0) b.withDesiredAvailabilityZoneCount(config.desiredAvailabilityZoneCount);
4724
+ if (config.nodePools) b.withNodePools(config.nodePools);
4725
+ if (config.addons) b.withAddons(config.addons);
4726
+ if (config.priorityClasses) b.withPriorityClasses(config.priorityClasses);
4727
+ if (config.roles) b.withRoles(config.roles);
4728
+ if (config.workloadIdentityEnabled !== void 0) b.withWorkloadIdentityEnabled(config.workloadIdentityEnabled);
4729
+ if (config.privateClusterDisabled !== void 0) b.withPrivateClusterDisabled(config.privateClusterDisabled);
4730
+ return b.build();
4731
+ };
4732
+ })(AwsEksCluster || (AwsEksCluster = {}));
4733
+
4470
4734
  //#endregion
4471
4735
  //#region src/live_system/component/network_and_compute/paas/ecs_cluster.ts
4472
4736
  const ECS_CLUSTER_TYPE_NAME = "ECS";
4473
- function buildId$2(id) {
4737
+ function buildId$9(id) {
4474
4738
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
4475
4739
  }
4476
- function buildVersion$2(major, minor, patch) {
4740
+ function buildVersion$9(major, minor, patch) {
4477
4741
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
4478
4742
  }
4479
4743
  function buildAwsEcsClusterType() {
@@ -4486,11 +4750,11 @@ let AwsEcsCluster;
4486
4750
  const inner = getLiveSystemComponentBuilder().withType(buildAwsEcsClusterType()).withParameters(params).withProvider("AWS");
4487
4751
  const builder = {
4488
4752
  withId: (id) => {
4489
- inner.withId(buildId$2(id));
4753
+ inner.withId(buildId$9(id));
4490
4754
  return builder;
4491
4755
  },
4492
4756
  withVersion: (major, minor, patch) => {
4493
- inner.withVersion(buildVersion$2(major, minor, patch));
4757
+ inner.withVersion(buildVersion$9(major, minor, patch));
4494
4758
  return builder;
4495
4759
  },
4496
4760
  withDisplayName: (displayName) => {
@@ -4506,7 +4770,7 @@ let AwsEcsCluster;
4506
4770
  return builder;
4507
4771
  };
4508
4772
  _AwsEcsCluster.satisfy = (platform) => {
4509
- const inner = getLiveSystemComponentBuilder().withType(buildAwsEcsClusterType()).withParameters(getParametersInstance()).withProvider("AWS").withId(buildId$2(platform.id.toString())).withVersion(buildVersion$2(platform.version.major, platform.version.minor, platform.version.patch)).withDisplayName(platform.displayName);
4773
+ const inner = getLiveSystemComponentBuilder().withType(buildAwsEcsClusterType()).withParameters(getParametersInstance()).withProvider("AWS").withId(buildId$9(platform.id.toString())).withVersion(buildVersion$9(platform.version.major, platform.version.minor, platform.version.patch)).withDisplayName(platform.displayName);
4510
4774
  if (platform.description) inner.withDescription(platform.description);
4511
4775
  return { build: () => inner.build() };
4512
4776
  };
@@ -4523,16 +4787,16 @@ const ECS_TASK_DEF_TYPE_NAME = "ECSTaskDefinition";
4523
4787
  const NETWORK_MODE_PARAM = "networkMode";
4524
4788
  const EXECUTION_ROLE_ARN_PARAM = "executionRoleArn";
4525
4789
  const TASK_ROLE_ARN_PARAM = "taskRoleArn";
4526
- function buildId$1(id) {
4790
+ function buildId$8(id) {
4527
4791
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
4528
4792
  }
4529
- function buildVersion$1(major, minor, patch) {
4793
+ function buildVersion$8(major, minor, patch) {
4530
4794
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
4531
4795
  }
4532
4796
  function buildAwsEcsTaskDefType() {
4533
4797
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.PaaS).withName(PascalCaseString$1.getBuilder().withValue(ECS_TASK_DEF_TYPE_NAME).build()).build();
4534
4798
  }
4535
- function pushParam$1(params, key, value) {
4799
+ function pushParam$8(params, key, value) {
4536
4800
  params.push(key, value);
4537
4801
  }
4538
4802
  let AwsEcsTaskDefinition;
@@ -4542,11 +4806,11 @@ let AwsEcsTaskDefinition;
4542
4806
  const inner = getLiveSystemComponentBuilder().withType(buildAwsEcsTaskDefType()).withParameters(params).withProvider("AWS");
4543
4807
  const builder = {
4544
4808
  withId: (id) => {
4545
- inner.withId(buildId$1(id));
4809
+ inner.withId(buildId$8(id));
4546
4810
  return builder;
4547
4811
  },
4548
4812
  withVersion: (major, minor, patch) => {
4549
- inner.withVersion(buildVersion$1(major, minor, patch));
4813
+ inner.withVersion(buildVersion$8(major, minor, patch));
4550
4814
  return builder;
4551
4815
  },
4552
4816
  withDisplayName: (displayName) => {
@@ -4558,35 +4822,35 @@ let AwsEcsTaskDefinition;
4558
4822
  return builder;
4559
4823
  },
4560
4824
  withContainerImage: (image) => {
4561
- pushParam$1(params, CONTAINER_IMAGE_PARAM, image);
4825
+ pushParam$8(params, CONTAINER_IMAGE_PARAM, image);
4562
4826
  return builder;
4563
4827
  },
4564
4828
  withContainerPort: (port) => {
4565
- pushParam$1(params, CONTAINER_PORT_PARAM, port);
4829
+ pushParam$8(params, CONTAINER_PORT_PARAM, port);
4566
4830
  return builder;
4567
4831
  },
4568
4832
  withContainerName: (name) => {
4569
- pushParam$1(params, CONTAINER_NAME_PARAM, name);
4833
+ pushParam$8(params, CONTAINER_NAME_PARAM, name);
4570
4834
  return builder;
4571
4835
  },
4572
4836
  withCpu: (cpu) => {
4573
- pushParam$1(params, CPU_PARAM, cpu);
4837
+ pushParam$8(params, CPU_PARAM, cpu);
4574
4838
  return builder;
4575
4839
  },
4576
4840
  withMemory: (memory) => {
4577
- pushParam$1(params, MEMORY_PARAM, memory);
4841
+ pushParam$8(params, MEMORY_PARAM, memory);
4578
4842
  return builder;
4579
4843
  },
4580
4844
  withNetworkMode: (mode) => {
4581
- pushParam$1(params, NETWORK_MODE_PARAM, mode);
4845
+ pushParam$8(params, NETWORK_MODE_PARAM, mode);
4582
4846
  return builder;
4583
4847
  },
4584
4848
  withExecutionRoleArn: (arn) => {
4585
- pushParam$1(params, EXECUTION_ROLE_ARN_PARAM, arn);
4849
+ pushParam$8(params, EXECUTION_ROLE_ARN_PARAM, arn);
4586
4850
  return builder;
4587
4851
  },
4588
4852
  withTaskRoleArn: (arn) => {
4589
- pushParam$1(params, TASK_ROLE_ARN_PARAM, arn);
4853
+ pushParam$8(params, TASK_ROLE_ARN_PARAM, arn);
4590
4854
  return builder;
4591
4855
  },
4592
4856
  build: () => inner.build()
@@ -4596,7 +4860,7 @@ let AwsEcsTaskDefinition;
4596
4860
  _AwsEcsTaskDefinition.satisfy = (workload) => {
4597
4861
  const params = getParametersInstance();
4598
4862
  const taskId = `${workload.id.toString()}-task`;
4599
- const inner = getLiveSystemComponentBuilder().withType(buildAwsEcsTaskDefType()).withParameters(params).withProvider("AWS").withId(buildId$1(taskId)).withVersion(buildVersion$1(workload.version.major, workload.version.minor, workload.version.patch)).withDisplayName(workload.displayName);
4863
+ const inner = getLiveSystemComponentBuilder().withType(buildAwsEcsTaskDefType()).withParameters(params).withProvider("AWS").withId(buildId$8(taskId)).withVersion(buildVersion$8(workload.version.major, workload.version.minor, workload.version.patch)).withDisplayName(workload.displayName);
4600
4864
  if (workload.description) inner.withDescription(workload.description);
4601
4865
  for (const key of [
4602
4866
  CONTAINER_IMAGE_PARAM,
@@ -4606,19 +4870,19 @@ let AwsEcsTaskDefinition;
4606
4870
  MEMORY_PARAM
4607
4871
  ]) {
4608
4872
  const v = workload.parameters.getOptionalFieldByName(key);
4609
- if (v !== null) pushParam$1(params, key, v);
4873
+ if (v !== null) pushParam$8(params, key, v);
4610
4874
  }
4611
4875
  const satisfiedBuilder = {
4612
4876
  withNetworkMode: (mode) => {
4613
- pushParam$1(params, NETWORK_MODE_PARAM, mode);
4877
+ pushParam$8(params, NETWORK_MODE_PARAM, mode);
4614
4878
  return satisfiedBuilder;
4615
4879
  },
4616
4880
  withExecutionRoleArn: (arn) => {
4617
- pushParam$1(params, EXECUTION_ROLE_ARN_PARAM, arn);
4881
+ pushParam$8(params, EXECUTION_ROLE_ARN_PARAM, arn);
4618
4882
  return satisfiedBuilder;
4619
4883
  },
4620
4884
  withTaskRoleArn: (arn) => {
4621
- pushParam$1(params, TASK_ROLE_ARN_PARAM, arn);
4885
+ pushParam$8(params, TASK_ROLE_ARN_PARAM, arn);
4622
4886
  return satisfiedBuilder;
4623
4887
  },
4624
4888
  build: () => inner.build()
@@ -4644,16 +4908,16 @@ let AwsEcsTaskDefinition;
4644
4908
  const ECS_SERVICE_TYPE_NAME = "ECSService";
4645
4909
  const LAUNCH_TYPE_PARAM = "launchType";
4646
4910
  const ASSIGN_PUBLIC_IP_PARAM = "assignPublicIp";
4647
- function buildId(id) {
4911
+ function buildId$7(id) {
4648
4912
  return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
4649
4913
  }
4650
- function buildVersion(major, minor, patch) {
4914
+ function buildVersion$7(major, minor, patch) {
4651
4915
  return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
4652
4916
  }
4653
4917
  function buildAwsEcsServiceType() {
4654
4918
  return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.PaaS).withName(PascalCaseString$1.getBuilder().withValue(ECS_SERVICE_TYPE_NAME).build()).build();
4655
4919
  }
4656
- function pushParam(params, key, value) {
4920
+ function pushParam$7(params, key, value) {
4657
4921
  params.push(key, value);
4658
4922
  }
4659
4923
  let AwsEcsService;
@@ -4663,11 +4927,11 @@ let AwsEcsService;
4663
4927
  const inner = getLiveSystemComponentBuilder().withType(buildAwsEcsServiceType()).withParameters(params).withProvider("AWS");
4664
4928
  const builder = {
4665
4929
  withId: (id) => {
4666
- inner.withId(buildId(id));
4930
+ inner.withId(buildId$7(id));
4667
4931
  return builder;
4668
4932
  },
4669
4933
  withVersion: (major, minor, patch) => {
4670
- inner.withVersion(buildVersion(major, minor, patch));
4934
+ inner.withVersion(buildVersion$7(major, minor, patch));
4671
4935
  return builder;
4672
4936
  },
4673
4937
  withDisplayName: (displayName) => {
@@ -4679,15 +4943,15 @@ let AwsEcsService;
4679
4943
  return builder;
4680
4944
  },
4681
4945
  withDesiredCount: (count) => {
4682
- pushParam(params, DESIRED_COUNT_PARAM, count);
4946
+ pushParam$7(params, DESIRED_COUNT_PARAM, count);
4683
4947
  return builder;
4684
4948
  },
4685
4949
  withLaunchType: (type) => {
4686
- pushParam(params, LAUNCH_TYPE_PARAM, type);
4950
+ pushParam$7(params, LAUNCH_TYPE_PARAM, type);
4687
4951
  return builder;
4688
4952
  },
4689
4953
  withAssignPublicIp: (assign) => {
4690
- pushParam(params, ASSIGN_PUBLIC_IP_PARAM, assign);
4954
+ pushParam$7(params, ASSIGN_PUBLIC_IP_PARAM, assign);
4691
4955
  return builder;
4692
4956
  },
4693
4957
  build: () => inner.build()
@@ -4697,17 +4961,17 @@ let AwsEcsService;
4697
4961
  _AwsEcsService.satisfy = (workload) => {
4698
4962
  const params = getParametersInstance();
4699
4963
  const deps = [...workload.dependencies];
4700
- const inner = getLiveSystemComponentBuilder().withType(buildAwsEcsServiceType()).withParameters(params).withProvider("AWS").withId(buildId(workload.id.toString())).withVersion(buildVersion(workload.version.major, workload.version.minor, workload.version.patch)).withDisplayName(workload.displayName).withDependencies(deps).withLinks(workload.links);
4964
+ const inner = getLiveSystemComponentBuilder().withType(buildAwsEcsServiceType()).withParameters(params).withProvider("AWS").withId(buildId$7(workload.id.toString())).withVersion(buildVersion$7(workload.version.major, workload.version.minor, workload.version.patch)).withDisplayName(workload.displayName).withDependencies(deps).withLinks(workload.links);
4701
4965
  if (workload.description) inner.withDescription(workload.description);
4702
4966
  const desiredCount = workload.parameters.getOptionalFieldByName(DESIRED_COUNT_PARAM);
4703
- if (desiredCount !== null) pushParam(params, DESIRED_COUNT_PARAM, desiredCount);
4967
+ if (desiredCount !== null) pushParam$7(params, DESIRED_COUNT_PARAM, desiredCount);
4704
4968
  const satisfiedBuilder = {
4705
4969
  withLaunchType: (type) => {
4706
- pushParam(params, LAUNCH_TYPE_PARAM, type);
4970
+ pushParam$7(params, LAUNCH_TYPE_PARAM, type);
4707
4971
  return satisfiedBuilder;
4708
4972
  },
4709
4973
  withAssignPublicIp: (assign) => {
4710
- pushParam(params, ASSIGN_PUBLIC_IP_PARAM, assign);
4974
+ pushParam$7(params, ASSIGN_PUBLIC_IP_PARAM, assign);
4711
4975
  return satisfiedBuilder;
4712
4976
  },
4713
4977
  withTaskDefinition: (taskDef) => {
@@ -4730,104 +4994,1136 @@ let AwsEcsService;
4730
4994
  })(AwsEcsService || (AwsEcsService = {}));
4731
4995
 
4732
4996
  //#endregion
4733
- //#region src/index.ts
4734
- const BoundedContext = BoundedContext$1;
4735
- const Fractal = Fractal$1;
4736
- const InfrastructureDomain = InfrastructureDomain$1;
4737
- const KebabCaseString = KebabCaseString$1;
4738
- const OwnerId = OwnerId$1;
4739
- const OwnerType = OwnerType$1;
4740
- const PascalCaseString = PascalCaseString$1;
4741
- const ServiceAccountCredentials = ServiceAccountCredentials$1;
4742
- const ServiceAccountId = ServiceAccountId$1;
4743
- const ServiceDeliveryModel = ServiceDeliveryModel$1;
4744
- const Version = Version$1;
4745
- const Environment = Environment$1;
4746
- const LiveSystem = LiveSystem$1;
4747
-
4748
- //#endregion
4749
- Object.defineProperty(exports, 'AwsEcsCluster', {
4750
- enumerable: true,
4751
- get: function () {
4752
- return AwsEcsCluster;
4753
- }
4754
- });
4755
- Object.defineProperty(exports, 'AwsEcsService', {
4756
- enumerable: true,
4757
- get: function () {
4758
- return AwsEcsService;
4759
- }
4760
- });
4761
- Object.defineProperty(exports, 'AwsEcsTaskDefinition', {
4762
- enumerable: true,
4763
- get: function () {
4764
- return AwsEcsTaskDefinition;
4765
- }
4766
- });
4767
- Object.defineProperty(exports, 'AwsSecurityGroup', {
4768
- enumerable: true,
4769
- get: function () {
4770
- return AwsSecurityGroup;
4771
- }
4772
- });
4773
- Object.defineProperty(exports, 'AwsSubnet', {
4774
- enumerable: true,
4775
- get: function () {
4776
- return AwsSubnet;
4777
- }
4778
- });
4779
- Object.defineProperty(exports, 'AwsVpc', {
4780
- enumerable: true,
4781
- get: function () {
4782
- return AwsVpc;
4783
- }
4784
- });
4785
- Object.defineProperty(exports, 'AzureNsg', {
4786
- enumerable: true,
4787
- get: function () {
4788
- return AzureNsg;
4789
- }
4790
- });
4791
- Object.defineProperty(exports, 'AzureSubnet', {
4792
- enumerable: true,
4793
- get: function () {
4794
- return AzureSubnet;
4795
- }
4796
- });
4797
- Object.defineProperty(exports, 'AzureVm', {
4798
- enumerable: true,
4799
- get: function () {
4800
- return AzureVm;
4801
- }
4802
- });
4803
- Object.defineProperty(exports, 'AzureVnet', {
4804
- enumerable: true,
4805
- get: function () {
4806
- return AzureVnet;
4807
- }
4808
- });
4809
- exports.BoundedContext = BoundedContext;
4810
- Object.defineProperty(exports, 'ContainerPlatform', {
4811
- enumerable: true,
4812
- get: function () {
4813
- return ContainerPlatform;
4814
- }
4815
- });
4816
- Object.defineProperty(exports, 'Ec2Instance', {
4817
- enumerable: true,
4818
- get: function () {
4819
- return Ec2Instance;
4820
- }
4821
- });
4822
- exports.Environment = Environment;
4823
- exports.Fractal = Fractal;
4824
- Object.defineProperty(exports, 'GcpFirewall', {
4825
- enumerable: true,
4826
- get: function () {
4827
- return GcpFirewall;
4828
- }
4829
- });
4830
- Object.defineProperty(exports, 'GcpSubnet', {
4997
+ //#region src/live_system/component/network_and_compute/paas/azure_aks.ts
4998
+ const AKS_CLUSTER_TYPE_NAME = "AKS";
4999
+ function buildId$6(id) {
5000
+ return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
5001
+ }
5002
+ function buildVersion$6(major, minor, patch) {
5003
+ return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
5004
+ }
5005
+ function buildAzureAksClusterType() {
5006
+ return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.PaaS).withName(PascalCaseString$1.getBuilder().withValue(AKS_CLUSTER_TYPE_NAME).build()).build();
5007
+ }
5008
+ function pushParam$6(params, key, value) {
5009
+ params.push(key, value);
5010
+ }
5011
+ let AzureAksCluster;
5012
+ (function(_AzureAksCluster) {
5013
+ const getBuilder = _AzureAksCluster.getBuilder = () => {
5014
+ const params = getParametersInstance();
5015
+ const inner = getLiveSystemComponentBuilder().withType(buildAzureAksClusterType()).withParameters(params).withProvider("Azure");
5016
+ const builder = {
5017
+ withId: (id) => {
5018
+ inner.withId(buildId$6(id));
5019
+ return builder;
5020
+ },
5021
+ withVersion: (major, minor, patch) => {
5022
+ inner.withVersion(buildVersion$6(major, minor, patch));
5023
+ return builder;
5024
+ },
5025
+ withDisplayName: (displayName) => {
5026
+ inner.withDisplayName(displayName);
5027
+ return builder;
5028
+ },
5029
+ withDescription: (description) => {
5030
+ inner.withDescription(description);
5031
+ return builder;
5032
+ },
5033
+ withKubernetesVersion: (v) => {
5034
+ pushParam$6(params, "kubernetesVersion", v);
5035
+ return builder;
5036
+ },
5037
+ withNetworkPolicyProvider: (p) => {
5038
+ pushParam$6(params, "networkPolicyProvider", p);
5039
+ return builder;
5040
+ },
5041
+ withMasterIpv4CidrBlock: (cidr) => {
5042
+ pushParam$6(params, "masterIpv4CidrBlock", cidr);
5043
+ return builder;
5044
+ },
5045
+ withVnetSubnetAddressIpRange: (range) => {
5046
+ pushParam$6(params, "vnetSubnetAddressIpRange", range);
5047
+ return builder;
5048
+ },
5049
+ withManagedClusterSkuTier: (tier) => {
5050
+ pushParam$6(params, "managedClusterSkuTier", tier);
5051
+ return builder;
5052
+ },
5053
+ withWindowsAdminUsername: (username) => {
5054
+ pushParam$6(params, "windowsAdminUsername", username);
5055
+ return builder;
5056
+ },
5057
+ withExternalWorkspaceResourceId: (id) => {
5058
+ pushParam$6(params, "externalWorkspaceResourceId", id);
5059
+ return builder;
5060
+ },
5061
+ withNodePools: (nodePools) => {
5062
+ pushParam$6(params, "nodePools", nodePools);
5063
+ return builder;
5064
+ },
5065
+ withAzureActiveDirectoryProfile: (profile) => {
5066
+ pushParam$6(params, "azureActiveDirectoryProfile", profile);
5067
+ return builder;
5068
+ },
5069
+ withOutboundIps: (ips) => {
5070
+ pushParam$6(params, "outboundIps", ips);
5071
+ return builder;
5072
+ },
5073
+ withPriorityClasses: (classes) => {
5074
+ pushParam$6(params, "priorityClasses", classes);
5075
+ return builder;
5076
+ },
5077
+ withRoles: (roles) => {
5078
+ pushParam$6(params, "roles", roles);
5079
+ return builder;
5080
+ },
5081
+ withWorkloadIdentityEnabled: (enabled) => {
5082
+ pushParam$6(params, "workloadIdentityEnabled", enabled);
5083
+ return builder;
5084
+ },
5085
+ withPrivateClusterDisabled: (disabled) => {
5086
+ pushParam$6(params, "privateClusterDisabled", disabled);
5087
+ return builder;
5088
+ },
5089
+ build: () => inner.build()
5090
+ };
5091
+ return builder;
5092
+ };
5093
+ _AzureAksCluster.satisfy = (platform) => {
5094
+ const params = getParametersInstance();
5095
+ const inner = getLiveSystemComponentBuilder().withType(buildAzureAksClusterType()).withParameters(params).withProvider("Azure").withId(buildId$6(platform.id.toString())).withVersion(buildVersion$6(platform.version.major, platform.version.minor, platform.version.patch)).withDisplayName(platform.displayName);
5096
+ if (platform.description) inner.withDescription(platform.description);
5097
+ const satisfiedBuilder = {
5098
+ withKubernetesVersion: (v) => {
5099
+ pushParam$6(params, "kubernetesVersion", v);
5100
+ return satisfiedBuilder;
5101
+ },
5102
+ withNetworkPolicyProvider: (p) => {
5103
+ pushParam$6(params, "networkPolicyProvider", p);
5104
+ return satisfiedBuilder;
5105
+ },
5106
+ withMasterIpv4CidrBlock: (cidr) => {
5107
+ pushParam$6(params, "masterIpv4CidrBlock", cidr);
5108
+ return satisfiedBuilder;
5109
+ },
5110
+ withVnetSubnetAddressIpRange: (range) => {
5111
+ pushParam$6(params, "vnetSubnetAddressIpRange", range);
5112
+ return satisfiedBuilder;
5113
+ },
5114
+ withManagedClusterSkuTier: (tier) => {
5115
+ pushParam$6(params, "managedClusterSkuTier", tier);
5116
+ return satisfiedBuilder;
5117
+ },
5118
+ withWindowsAdminUsername: (username) => {
5119
+ pushParam$6(params, "windowsAdminUsername", username);
5120
+ return satisfiedBuilder;
5121
+ },
5122
+ withExternalWorkspaceResourceId: (id) => {
5123
+ pushParam$6(params, "externalWorkspaceResourceId", id);
5124
+ return satisfiedBuilder;
5125
+ },
5126
+ withNodePools: (nodePools) => {
5127
+ pushParam$6(params, "nodePools", nodePools);
5128
+ return satisfiedBuilder;
5129
+ },
5130
+ withAzureActiveDirectoryProfile: (profile) => {
5131
+ pushParam$6(params, "azureActiveDirectoryProfile", profile);
5132
+ return satisfiedBuilder;
5133
+ },
5134
+ withOutboundIps: (ips) => {
5135
+ pushParam$6(params, "outboundIps", ips);
5136
+ return satisfiedBuilder;
5137
+ },
5138
+ withPriorityClasses: (classes) => {
5139
+ pushParam$6(params, "priorityClasses", classes);
5140
+ return satisfiedBuilder;
5141
+ },
5142
+ withRoles: (roles) => {
5143
+ pushParam$6(params, "roles", roles);
5144
+ return satisfiedBuilder;
5145
+ },
5146
+ withWorkloadIdentityEnabled: (enabled) => {
5147
+ pushParam$6(params, "workloadIdentityEnabled", enabled);
5148
+ return satisfiedBuilder;
5149
+ },
5150
+ withPrivateClusterDisabled: (disabled) => {
5151
+ pushParam$6(params, "privateClusterDisabled", disabled);
5152
+ return satisfiedBuilder;
5153
+ },
5154
+ build: () => inner.build()
5155
+ };
5156
+ return satisfiedBuilder;
5157
+ };
5158
+ _AzureAksCluster.create = (config) => {
5159
+ const b = getBuilder().withId(config.id).withVersion(config.version.major, config.version.minor, config.version.patch).withDisplayName(config.displayName);
5160
+ if (config.description) b.withDescription(config.description);
5161
+ if (config.kubernetesVersion) b.withKubernetesVersion(config.kubernetesVersion);
5162
+ if (config.networkPolicyProvider) b.withNetworkPolicyProvider(config.networkPolicyProvider);
5163
+ if (config.masterIpv4CidrBlock) b.withMasterIpv4CidrBlock(config.masterIpv4CidrBlock);
5164
+ if (config.vnetSubnetAddressIpRange) b.withVnetSubnetAddressIpRange(config.vnetSubnetAddressIpRange);
5165
+ if (config.managedClusterSkuTier) b.withManagedClusterSkuTier(config.managedClusterSkuTier);
5166
+ if (config.windowsAdminUsername) b.withWindowsAdminUsername(config.windowsAdminUsername);
5167
+ if (config.externalWorkspaceResourceId) b.withExternalWorkspaceResourceId(config.externalWorkspaceResourceId);
5168
+ if (config.nodePools) b.withNodePools(config.nodePools);
5169
+ if (config.azureActiveDirectoryProfile) b.withAzureActiveDirectoryProfile(config.azureActiveDirectoryProfile);
5170
+ if (config.outboundIps) b.withOutboundIps(config.outboundIps);
5171
+ if (config.priorityClasses) b.withPriorityClasses(config.priorityClasses);
5172
+ if (config.roles) b.withRoles(config.roles);
5173
+ if (config.workloadIdentityEnabled !== void 0) b.withWorkloadIdentityEnabled(config.workloadIdentityEnabled);
5174
+ if (config.privateClusterDisabled !== void 0) b.withPrivateClusterDisabled(config.privateClusterDisabled);
5175
+ return b.build();
5176
+ };
5177
+ })(AzureAksCluster || (AzureAksCluster = {}));
5178
+
5179
+ //#endregion
5180
+ //#region src/live_system/component/network_and_compute/paas/azure_container_apps_environment.ts
5181
+ const AZURE_CONTAINER_APPS_ENV_TYPE_NAME = "AzureContainerAppsEnvironment";
5182
+ function buildId$5(id) {
5183
+ return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
5184
+ }
5185
+ function buildVersion$5(major, minor, patch) {
5186
+ return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
5187
+ }
5188
+ function buildAzureContainerAppsEnvType() {
5189
+ return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.PaaS).withName(PascalCaseString$1.getBuilder().withValue(AZURE_CONTAINER_APPS_ENV_TYPE_NAME).build()).build();
5190
+ }
5191
+ function pushParam$5(params, key, value) {
5192
+ params.push(key, value);
5193
+ }
5194
+ let AzureContainerAppsEnvironment;
5195
+ (function(_AzureContainerAppsEnvironment) {
5196
+ const getBuilder = _AzureContainerAppsEnvironment.getBuilder = () => {
5197
+ const params = getParametersInstance();
5198
+ const inner = getLiveSystemComponentBuilder().withType(buildAzureContainerAppsEnvType()).withParameters(params).withProvider("Azure");
5199
+ const builder = {
5200
+ withId: (id) => {
5201
+ inner.withId(buildId$5(id));
5202
+ return builder;
5203
+ },
5204
+ withVersion: (major, minor, patch) => {
5205
+ inner.withVersion(buildVersion$5(major, minor, patch));
5206
+ return builder;
5207
+ },
5208
+ withDisplayName: (displayName) => {
5209
+ inner.withDisplayName(displayName);
5210
+ return builder;
5211
+ },
5212
+ withDescription: (description) => {
5213
+ inner.withDescription(description);
5214
+ return builder;
5215
+ },
5216
+ withLocation: (location) => {
5217
+ pushParam$5(params, "location", location);
5218
+ return builder;
5219
+ },
5220
+ withResourceGroup: (resourceGroup) => {
5221
+ pushParam$5(params, "resourceGroup", resourceGroup);
5222
+ return builder;
5223
+ },
5224
+ withLogAnalyticsWorkspaceId: (id) => {
5225
+ pushParam$5(params, "logAnalyticsWorkspaceId", id);
5226
+ return builder;
5227
+ },
5228
+ withLogAnalyticsSharedKey: (key) => {
5229
+ pushParam$5(params, "logAnalyticsSharedKey", key);
5230
+ return builder;
5231
+ },
5232
+ build: () => inner.build()
5233
+ };
5234
+ return builder;
5235
+ };
5236
+ _AzureContainerAppsEnvironment.satisfy = (platform) => {
5237
+ const params = getParametersInstance();
5238
+ const inner = getLiveSystemComponentBuilder().withType(buildAzureContainerAppsEnvType()).withParameters(params).withProvider("Azure").withId(buildId$5(platform.id.toString())).withVersion(buildVersion$5(platform.version.major, platform.version.minor, platform.version.patch)).withDisplayName(platform.displayName).withDependencies(platform.dependencies);
5239
+ if (platform.description) inner.withDescription(platform.description);
5240
+ const satisfiedBuilder = {
5241
+ withLocation: (location) => {
5242
+ pushParam$5(params, "location", location);
5243
+ return satisfiedBuilder;
5244
+ },
5245
+ withResourceGroup: (resourceGroup) => {
5246
+ pushParam$5(params, "resourceGroup", resourceGroup);
5247
+ return satisfiedBuilder;
5248
+ },
5249
+ withLogAnalyticsWorkspaceId: (id) => {
5250
+ pushParam$5(params, "logAnalyticsWorkspaceId", id);
5251
+ return satisfiedBuilder;
5252
+ },
5253
+ withLogAnalyticsSharedKey: (key) => {
5254
+ pushParam$5(params, "logAnalyticsSharedKey", key);
5255
+ return satisfiedBuilder;
5256
+ },
5257
+ build: () => inner.build()
5258
+ };
5259
+ return satisfiedBuilder;
5260
+ };
5261
+ _AzureContainerAppsEnvironment.create = (config) => {
5262
+ const b = getBuilder().withId(config.id).withVersion(config.version.major, config.version.minor, config.version.patch).withDisplayName(config.displayName).withLocation(config.location).withResourceGroup(config.resourceGroup);
5263
+ if (config.description) b.withDescription(config.description);
5264
+ if (config.logAnalyticsWorkspaceId) b.withLogAnalyticsWorkspaceId(config.logAnalyticsWorkspaceId);
5265
+ if (config.logAnalyticsSharedKey) b.withLogAnalyticsSharedKey(config.logAnalyticsSharedKey);
5266
+ return b.build();
5267
+ };
5268
+ })(AzureContainerAppsEnvironment || (AzureContainerAppsEnvironment = {}));
5269
+
5270
+ //#endregion
5271
+ //#region src/live_system/component/network_and_compute/paas/azure_container_instance.ts
5272
+ const AZURE_CONTAINER_INSTANCE_TYPE_NAME = "AzureContainerInstance";
5273
+ function buildId$4(id) {
5274
+ return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
5275
+ }
5276
+ function buildVersion$4(major, minor, patch) {
5277
+ return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
5278
+ }
5279
+ function buildAzureContainerInstanceType() {
5280
+ return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.PaaS).withName(PascalCaseString$1.getBuilder().withValue(AZURE_CONTAINER_INSTANCE_TYPE_NAME).build()).build();
5281
+ }
5282
+ function pushParam$4(params, key, value) {
5283
+ params.push(key, value);
5284
+ }
5285
+ let AzureContainerInstance;
5286
+ (function(_AzureContainerInstance) {
5287
+ const getBuilder = _AzureContainerInstance.getBuilder = () => {
5288
+ const params = getParametersInstance();
5289
+ const inner = getLiveSystemComponentBuilder().withType(buildAzureContainerInstanceType()).withParameters(params).withProvider("Azure");
5290
+ const builder = {
5291
+ withId: (id) => {
5292
+ inner.withId(buildId$4(id));
5293
+ return builder;
5294
+ },
5295
+ withVersion: (major, minor, patch) => {
5296
+ inner.withVersion(buildVersion$4(major, minor, patch));
5297
+ return builder;
5298
+ },
5299
+ withDisplayName: (displayName) => {
5300
+ inner.withDisplayName(displayName);
5301
+ return builder;
5302
+ },
5303
+ withDescription: (description) => {
5304
+ inner.withDescription(description);
5305
+ return builder;
5306
+ },
5307
+ withImage: (image) => {
5308
+ pushParam$4(params, "image", image);
5309
+ return builder;
5310
+ },
5311
+ withPort: (port) => {
5312
+ pushParam$4(params, "port", port);
5313
+ return builder;
5314
+ },
5315
+ withLocation: (location) => {
5316
+ pushParam$4(params, "location", location);
5317
+ return builder;
5318
+ },
5319
+ withResourceGroup: (resourceGroup) => {
5320
+ pushParam$4(params, "resourceGroup", resourceGroup);
5321
+ return builder;
5322
+ },
5323
+ withCpu: (cpu) => {
5324
+ pushParam$4(params, "cpu", cpu);
5325
+ return builder;
5326
+ },
5327
+ withMemoryInGb: (memoryInGb) => {
5328
+ pushParam$4(params, "memoryInGB", memoryInGb);
5329
+ return builder;
5330
+ },
5331
+ withRestartPolicy: (policy) => {
5332
+ pushParam$4(params, "restartPolicy", policy);
5333
+ return builder;
5334
+ },
5335
+ withPublicIp: (publicIp) => {
5336
+ pushParam$4(params, "publicIp", publicIp);
5337
+ return builder;
5338
+ },
5339
+ withDnsNameLabel: (label) => {
5340
+ pushParam$4(params, "dnsNameLabel", label);
5341
+ return builder;
5342
+ },
5343
+ build: () => inner.build()
5344
+ };
5345
+ return builder;
5346
+ };
5347
+ _AzureContainerInstance.satisfy = (workload) => {
5348
+ const params = getParametersInstance();
5349
+ const inner = getLiveSystemComponentBuilder().withType(buildAzureContainerInstanceType()).withParameters(params).withProvider("Azure").withId(buildId$4(workload.id.toString())).withVersion(buildVersion$4(workload.version.major, workload.version.minor, workload.version.patch)).withDisplayName(workload.displayName).withDependencies(workload.dependencies).withLinks(workload.links);
5350
+ if (workload.description) inner.withDescription(workload.description);
5351
+ const image = workload.parameters.getOptionalFieldByName(CONTAINER_IMAGE_PARAM);
5352
+ if (image !== null) pushParam$4(params, "image", image);
5353
+ const port = workload.parameters.getOptionalFieldByName(CONTAINER_PORT_PARAM);
5354
+ if (port !== null) pushParam$4(params, "port", port);
5355
+ const satisfiedBuilder = {
5356
+ withLocation: (location) => {
5357
+ pushParam$4(params, "location", location);
5358
+ return satisfiedBuilder;
5359
+ },
5360
+ withResourceGroup: (resourceGroup) => {
5361
+ pushParam$4(params, "resourceGroup", resourceGroup);
5362
+ return satisfiedBuilder;
5363
+ },
5364
+ withCpu: (cpu) => {
5365
+ pushParam$4(params, "cpu", cpu);
5366
+ return satisfiedBuilder;
5367
+ },
5368
+ withMemoryInGb: (memoryInGb) => {
5369
+ pushParam$4(params, "memoryInGB", memoryInGb);
5370
+ return satisfiedBuilder;
5371
+ },
5372
+ withRestartPolicy: (policy) => {
5373
+ pushParam$4(params, "restartPolicy", policy);
5374
+ return satisfiedBuilder;
5375
+ },
5376
+ withPublicIp: (publicIp) => {
5377
+ pushParam$4(params, "publicIp", publicIp);
5378
+ return satisfiedBuilder;
5379
+ },
5380
+ withDnsNameLabel: (label) => {
5381
+ pushParam$4(params, "dnsNameLabel", label);
5382
+ return satisfiedBuilder;
5383
+ },
5384
+ build: () => inner.build()
5385
+ };
5386
+ return satisfiedBuilder;
5387
+ };
5388
+ _AzureContainerInstance.create = (config) => {
5389
+ const b = getBuilder().withId(config.id).withVersion(config.version.major, config.version.minor, config.version.patch).withDisplayName(config.displayName).withImage(config.image).withLocation(config.location).withResourceGroup(config.resourceGroup);
5390
+ if (config.description) b.withDescription(config.description);
5391
+ if (config.port !== void 0) b.withPort(config.port);
5392
+ if (config.cpu !== void 0) b.withCpu(config.cpu);
5393
+ if (config.memoryInGb !== void 0) b.withMemoryInGb(config.memoryInGb);
5394
+ if (config.restartPolicy) b.withRestartPolicy(config.restartPolicy);
5395
+ if (config.publicIp !== void 0) b.withPublicIp(config.publicIp);
5396
+ if (config.dnsNameLabel) b.withDnsNameLabel(config.dnsNameLabel);
5397
+ return b.build();
5398
+ };
5399
+ })(AzureContainerInstance || (AzureContainerInstance = {}));
5400
+
5401
+ //#endregion
5402
+ //#region src/live_system/component/network_and_compute/paas/azure_container_app.ts
5403
+ const AZURE_CONTAINER_APP_TYPE_NAME = "AzureContainerApp";
5404
+ function buildId$3(id) {
5405
+ return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
5406
+ }
5407
+ function buildVersion$3(major, minor, patch) {
5408
+ return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
5409
+ }
5410
+ function buildAzureContainerAppType() {
5411
+ return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.PaaS).withName(PascalCaseString$1.getBuilder().withValue(AZURE_CONTAINER_APP_TYPE_NAME).build()).build();
5412
+ }
5413
+ function pushParam$3(params, key, value) {
5414
+ params.push(key, value);
5415
+ }
5416
+ let AzureContainerApp;
5417
+ (function(_AzureContainerApp) {
5418
+ const getBuilder = _AzureContainerApp.getBuilder = () => {
5419
+ const params = getParametersInstance();
5420
+ const inner = getLiveSystemComponentBuilder().withType(buildAzureContainerAppType()).withParameters(params).withProvider("Azure");
5421
+ const builder = {
5422
+ withId: (id) => {
5423
+ inner.withId(buildId$3(id));
5424
+ return builder;
5425
+ },
5426
+ withVersion: (major, minor, patch) => {
5427
+ inner.withVersion(buildVersion$3(major, minor, patch));
5428
+ return builder;
5429
+ },
5430
+ withDisplayName: (displayName) => {
5431
+ inner.withDisplayName(displayName);
5432
+ return builder;
5433
+ },
5434
+ withDescription: (description) => {
5435
+ inner.withDescription(description);
5436
+ return builder;
5437
+ },
5438
+ withImage: (image) => {
5439
+ pushParam$3(params, "image", image);
5440
+ return builder;
5441
+ },
5442
+ withPort: (port) => {
5443
+ pushParam$3(params, "port", port);
5444
+ return builder;
5445
+ },
5446
+ withCpu: (cpu) => {
5447
+ pushParam$3(params, "cpu", cpu);
5448
+ return builder;
5449
+ },
5450
+ withMemory: (memory) => {
5451
+ pushParam$3(params, "memory", memory);
5452
+ return builder;
5453
+ },
5454
+ withLocation: (location) => {
5455
+ pushParam$3(params, "location", location);
5456
+ return builder;
5457
+ },
5458
+ withResourceGroup: (resourceGroup) => {
5459
+ pushParam$3(params, "resourceGroup", resourceGroup);
5460
+ return builder;
5461
+ },
5462
+ withExternalIngress: (external) => {
5463
+ pushParam$3(params, "externalIngress", external);
5464
+ return builder;
5465
+ },
5466
+ withMinReplicas: (min) => {
5467
+ pushParam$3(params, "minReplicas", min);
5468
+ return builder;
5469
+ },
5470
+ withMaxReplicas: (max) => {
5471
+ pushParam$3(params, "maxReplicas", max);
5472
+ return builder;
5473
+ },
5474
+ build: () => inner.build()
5475
+ };
5476
+ return builder;
5477
+ };
5478
+ _AzureContainerApp.satisfy = (workload) => {
5479
+ const params = getParametersInstance();
5480
+ const inner = getLiveSystemComponentBuilder().withType(buildAzureContainerAppType()).withParameters(params).withProvider("Azure").withId(buildId$3(workload.id.toString())).withVersion(buildVersion$3(workload.version.major, workload.version.minor, workload.version.patch)).withDisplayName(workload.displayName).withDependencies(workload.dependencies).withLinks(workload.links);
5481
+ if (workload.description) inner.withDescription(workload.description);
5482
+ const image = workload.parameters.getOptionalFieldByName(CONTAINER_IMAGE_PARAM);
5483
+ if (image !== null) pushParam$3(params, "image", image);
5484
+ const port = workload.parameters.getOptionalFieldByName(CONTAINER_PORT_PARAM);
5485
+ if (port !== null) pushParam$3(params, "port", port);
5486
+ const cpu = workload.parameters.getOptionalFieldByName(CPU_PARAM);
5487
+ if (cpu !== null) pushParam$3(params, "cpu", cpu);
5488
+ const memory = workload.parameters.getOptionalFieldByName(MEMORY_PARAM);
5489
+ if (memory !== null) pushParam$3(params, "memory", memory);
5490
+ const satisfiedBuilder = {
5491
+ withLocation: (location) => {
5492
+ pushParam$3(params, "location", location);
5493
+ return satisfiedBuilder;
5494
+ },
5495
+ withResourceGroup: (resourceGroup) => {
5496
+ pushParam$3(params, "resourceGroup", resourceGroup);
5497
+ return satisfiedBuilder;
5498
+ },
5499
+ withExternalIngress: (external) => {
5500
+ pushParam$3(params, "externalIngress", external);
5501
+ return satisfiedBuilder;
5502
+ },
5503
+ withMinReplicas: (min) => {
5504
+ pushParam$3(params, "minReplicas", min);
5505
+ return satisfiedBuilder;
5506
+ },
5507
+ withMaxReplicas: (max) => {
5508
+ pushParam$3(params, "maxReplicas", max);
5509
+ return satisfiedBuilder;
5510
+ },
5511
+ build: () => inner.build()
5512
+ };
5513
+ return satisfiedBuilder;
5514
+ };
5515
+ _AzureContainerApp.create = (config) => {
5516
+ const b = getBuilder().withId(config.id).withVersion(config.version.major, config.version.minor, config.version.patch).withDisplayName(config.displayName).withImage(config.image).withLocation(config.location).withResourceGroup(config.resourceGroup);
5517
+ if (config.description) b.withDescription(config.description);
5518
+ if (config.port !== void 0) b.withPort(config.port);
5519
+ if (config.cpu !== void 0) b.withCpu(config.cpu);
5520
+ if (config.memory) b.withMemory(config.memory);
5521
+ if (config.externalIngress !== void 0) b.withExternalIngress(config.externalIngress);
5522
+ if (config.minReplicas !== void 0) b.withMinReplicas(config.minReplicas);
5523
+ if (config.maxReplicas !== void 0) b.withMaxReplicas(config.maxReplicas);
5524
+ return b.build();
5525
+ };
5526
+ })(AzureContainerApp || (AzureContainerApp = {}));
5527
+
5528
+ //#endregion
5529
+ //#region src/live_system/component/network_and_compute/paas/gcp_gke.ts
5530
+ const GKE_CLUSTER_TYPE_NAME = "GKE";
5531
+ function buildId$2(id) {
5532
+ return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
5533
+ }
5534
+ function buildVersion$2(major, minor, patch) {
5535
+ return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
5536
+ }
5537
+ function buildGcpGkeClusterType() {
5538
+ return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.PaaS).withName(PascalCaseString$1.getBuilder().withValue(GKE_CLUSTER_TYPE_NAME).build()).build();
5539
+ }
5540
+ function pushParam$2(params, key, value) {
5541
+ params.push(key, value);
5542
+ }
5543
+ let GcpGkeCluster;
5544
+ (function(_GcpGkeCluster) {
5545
+ const getBuilder = _GcpGkeCluster.getBuilder = () => {
5546
+ const params = getParametersInstance();
5547
+ const inner = getLiveSystemComponentBuilder().withType(buildGcpGkeClusterType()).withParameters(params).withProvider("GCP");
5548
+ const builder = {
5549
+ withId: (id) => {
5550
+ inner.withId(buildId$2(id));
5551
+ return builder;
5552
+ },
5553
+ withVersion: (major, minor, patch) => {
5554
+ inner.withVersion(buildVersion$2(major, minor, patch));
5555
+ return builder;
5556
+ },
5557
+ withDisplayName: (displayName) => {
5558
+ inner.withDisplayName(displayName);
5559
+ return builder;
5560
+ },
5561
+ withDescription: (description) => {
5562
+ inner.withDescription(description);
5563
+ return builder;
5564
+ },
5565
+ withKubernetesVersion: (v) => {
5566
+ pushParam$2(params, "kubernetesVersion", v);
5567
+ return builder;
5568
+ },
5569
+ withNetworkPolicyProvider: (p) => {
5570
+ pushParam$2(params, "networkPolicyProvider", p);
5571
+ return builder;
5572
+ },
5573
+ withMasterIpv4CidrBlock: (cidr) => {
5574
+ pushParam$2(params, "masterIpv4CidrBlock", cidr);
5575
+ return builder;
5576
+ },
5577
+ withNetworkName: (name) => {
5578
+ pushParam$2(params, "networkName", name);
5579
+ return builder;
5580
+ },
5581
+ withSubnetworkName: (name) => {
5582
+ pushParam$2(params, "subnetworkName", name);
5583
+ return builder;
5584
+ },
5585
+ withSubnetworkIpRange: (range) => {
5586
+ pushParam$2(params, "subnetworkIpRange", range);
5587
+ return builder;
5588
+ },
5589
+ withServiceIpRange: (range) => {
5590
+ pushParam$2(params, "serviceIpRange", range);
5591
+ return builder;
5592
+ },
5593
+ withPodIpRange: (range) => {
5594
+ pushParam$2(params, "podIpRange", range);
5595
+ return builder;
5596
+ },
5597
+ withPodsRangeName: (name) => {
5598
+ pushParam$2(params, "podsRangeName", name);
5599
+ return builder;
5600
+ },
5601
+ withServicesRangeName: (name) => {
5602
+ pushParam$2(params, "servicesRangeName", name);
5603
+ return builder;
5604
+ },
5605
+ withNodePools: (nodePools) => {
5606
+ pushParam$2(params, "nodePools", nodePools);
5607
+ return builder;
5608
+ },
5609
+ withPriorityClasses: (classes) => {
5610
+ pushParam$2(params, "priorityClasses", classes);
5611
+ return builder;
5612
+ },
5613
+ withRoles: (roles) => {
5614
+ pushParam$2(params, "roles", roles);
5615
+ return builder;
5616
+ },
5617
+ withWorkloadIdentityEnabled: (enabled) => {
5618
+ pushParam$2(params, "workloadIdentityEnabled", enabled);
5619
+ return builder;
5620
+ },
5621
+ withPrivateClusterDisabled: (disabled) => {
5622
+ pushParam$2(params, "privateClusterDisabled", disabled);
5623
+ return builder;
5624
+ },
5625
+ build: () => inner.build()
5626
+ };
5627
+ return builder;
5628
+ };
5629
+ _GcpGkeCluster.satisfy = (platform) => {
5630
+ const params = getParametersInstance();
5631
+ const inner = getLiveSystemComponentBuilder().withType(buildGcpGkeClusterType()).withParameters(params).withProvider("GCP").withId(buildId$2(platform.id.toString())).withVersion(buildVersion$2(platform.version.major, platform.version.minor, platform.version.patch)).withDisplayName(platform.displayName);
5632
+ if (platform.description) inner.withDescription(platform.description);
5633
+ const satisfiedBuilder = {
5634
+ withKubernetesVersion: (v) => {
5635
+ pushParam$2(params, "kubernetesVersion", v);
5636
+ return satisfiedBuilder;
5637
+ },
5638
+ withNetworkPolicyProvider: (p) => {
5639
+ pushParam$2(params, "networkPolicyProvider", p);
5640
+ return satisfiedBuilder;
5641
+ },
5642
+ withMasterIpv4CidrBlock: (cidr) => {
5643
+ pushParam$2(params, "masterIpv4CidrBlock", cidr);
5644
+ return satisfiedBuilder;
5645
+ },
5646
+ withNetworkName: (name) => {
5647
+ pushParam$2(params, "networkName", name);
5648
+ return satisfiedBuilder;
5649
+ },
5650
+ withSubnetworkName: (name) => {
5651
+ pushParam$2(params, "subnetworkName", name);
5652
+ return satisfiedBuilder;
5653
+ },
5654
+ withSubnetworkIpRange: (range) => {
5655
+ pushParam$2(params, "subnetworkIpRange", range);
5656
+ return satisfiedBuilder;
5657
+ },
5658
+ withServiceIpRange: (range) => {
5659
+ pushParam$2(params, "serviceIpRange", range);
5660
+ return satisfiedBuilder;
5661
+ },
5662
+ withPodIpRange: (range) => {
5663
+ pushParam$2(params, "podIpRange", range);
5664
+ return satisfiedBuilder;
5665
+ },
5666
+ withPodsRangeName: (name) => {
5667
+ pushParam$2(params, "podsRangeName", name);
5668
+ return satisfiedBuilder;
5669
+ },
5670
+ withServicesRangeName: (name) => {
5671
+ pushParam$2(params, "servicesRangeName", name);
5672
+ return satisfiedBuilder;
5673
+ },
5674
+ withNodePools: (nodePools) => {
5675
+ pushParam$2(params, "nodePools", nodePools);
5676
+ return satisfiedBuilder;
5677
+ },
5678
+ withPriorityClasses: (classes) => {
5679
+ pushParam$2(params, "priorityClasses", classes);
5680
+ return satisfiedBuilder;
5681
+ },
5682
+ withRoles: (roles) => {
5683
+ pushParam$2(params, "roles", roles);
5684
+ return satisfiedBuilder;
5685
+ },
5686
+ withWorkloadIdentityEnabled: (enabled) => {
5687
+ pushParam$2(params, "workloadIdentityEnabled", enabled);
5688
+ return satisfiedBuilder;
5689
+ },
5690
+ withPrivateClusterDisabled: (disabled) => {
5691
+ pushParam$2(params, "privateClusterDisabled", disabled);
5692
+ return satisfiedBuilder;
5693
+ },
5694
+ build: () => inner.build()
5695
+ };
5696
+ return satisfiedBuilder;
5697
+ };
5698
+ _GcpGkeCluster.create = (config) => {
5699
+ const b = getBuilder().withId(config.id).withVersion(config.version.major, config.version.minor, config.version.patch).withDisplayName(config.displayName);
5700
+ if (config.description) b.withDescription(config.description);
5701
+ if (config.kubernetesVersion) b.withKubernetesVersion(config.kubernetesVersion);
5702
+ if (config.networkPolicyProvider) b.withNetworkPolicyProvider(config.networkPolicyProvider);
5703
+ if (config.masterIpv4CidrBlock) b.withMasterIpv4CidrBlock(config.masterIpv4CidrBlock);
5704
+ if (config.networkName) b.withNetworkName(config.networkName);
5705
+ if (config.subnetworkName) b.withSubnetworkName(config.subnetworkName);
5706
+ if (config.subnetworkIpRange) b.withSubnetworkIpRange(config.subnetworkIpRange);
5707
+ if (config.serviceIpRange) b.withServiceIpRange(config.serviceIpRange);
5708
+ if (config.podIpRange) b.withPodIpRange(config.podIpRange);
5709
+ if (config.podsRangeName) b.withPodsRangeName(config.podsRangeName);
5710
+ if (config.servicesRangeName) b.withServicesRangeName(config.servicesRangeName);
5711
+ if (config.nodePools) b.withNodePools(config.nodePools);
5712
+ if (config.priorityClasses) b.withPriorityClasses(config.priorityClasses);
5713
+ if (config.roles) b.withRoles(config.roles);
5714
+ if (config.workloadIdentityEnabled !== void 0) b.withWorkloadIdentityEnabled(config.workloadIdentityEnabled);
5715
+ if (config.privateClusterDisabled !== void 0) b.withPrivateClusterDisabled(config.privateClusterDisabled);
5716
+ return b.build();
5717
+ };
5718
+ })(GcpGkeCluster || (GcpGkeCluster = {}));
5719
+
5720
+ //#endregion
5721
+ //#region src/live_system/component/network_and_compute/paas/gcp_cloud_run_service.ts
5722
+ const CLOUD_RUN_SERVICE_TYPE_NAME = "CloudRunService";
5723
+ function buildId$1(id) {
5724
+ return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
5725
+ }
5726
+ function buildVersion$1(major, minor, patch) {
5727
+ return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
5728
+ }
5729
+ function buildGcpCloudRunServiceType() {
5730
+ return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.PaaS).withName(PascalCaseString$1.getBuilder().withValue(CLOUD_RUN_SERVICE_TYPE_NAME).build()).build();
5731
+ }
5732
+ function pushParam$1(params, key, value) {
5733
+ params.push(key, value);
5734
+ }
5735
+ let GcpCloudRunService;
5736
+ (function(_GcpCloudRunService) {
5737
+ const getBuilder = _GcpCloudRunService.getBuilder = () => {
5738
+ const params = getParametersInstance();
5739
+ const inner = getLiveSystemComponentBuilder().withType(buildGcpCloudRunServiceType()).withParameters(params).withProvider("GCP");
5740
+ const builder = {
5741
+ withId: (id) => {
5742
+ inner.withId(buildId$1(id));
5743
+ return builder;
5744
+ },
5745
+ withVersion: (major, minor, patch) => {
5746
+ inner.withVersion(buildVersion$1(major, minor, patch));
5747
+ return builder;
5748
+ },
5749
+ withDisplayName: (displayName) => {
5750
+ inner.withDisplayName(displayName);
5751
+ return builder;
5752
+ },
5753
+ withDescription: (description) => {
5754
+ inner.withDescription(description);
5755
+ return builder;
5756
+ },
5757
+ withImage: (image) => {
5758
+ pushParam$1(params, "image", image);
5759
+ return builder;
5760
+ },
5761
+ withPort: (port) => {
5762
+ pushParam$1(params, "port", port);
5763
+ return builder;
5764
+ },
5765
+ withCpu: (cpu) => {
5766
+ pushParam$1(params, "cpu", cpu);
5767
+ return builder;
5768
+ },
5769
+ withMemory: (memory) => {
5770
+ pushParam$1(params, "memory", memory);
5771
+ return builder;
5772
+ },
5773
+ withRegion: (region) => {
5774
+ pushParam$1(params, "region", region);
5775
+ return builder;
5776
+ },
5777
+ withMinInstances: (min) => {
5778
+ pushParam$1(params, "minInstances", min);
5779
+ return builder;
5780
+ },
5781
+ withMaxInstances: (max) => {
5782
+ pushParam$1(params, "maxInstances", max);
5783
+ return builder;
5784
+ },
5785
+ withConcurrency: (concurrency) => {
5786
+ pushParam$1(params, "concurrency", concurrency);
5787
+ return builder;
5788
+ },
5789
+ withServiceAccountEmail: (email) => {
5790
+ pushParam$1(params, "serviceAccountEmail", email);
5791
+ return builder;
5792
+ },
5793
+ withIngress: (ingress) => {
5794
+ pushParam$1(params, "ingress", ingress);
5795
+ return builder;
5796
+ },
5797
+ build: () => inner.build()
5798
+ };
5799
+ return builder;
5800
+ };
5801
+ _GcpCloudRunService.satisfy = (workload) => {
5802
+ const params = getParametersInstance();
5803
+ const inner = getLiveSystemComponentBuilder().withType(buildGcpCloudRunServiceType()).withParameters(params).withProvider("GCP").withId(buildId$1(workload.id.toString())).withVersion(buildVersion$1(workload.version.major, workload.version.minor, workload.version.patch)).withDisplayName(workload.displayName).withDependencies(workload.dependencies).withLinks(workload.links);
5804
+ if (workload.description) inner.withDescription(workload.description);
5805
+ const image = workload.parameters.getOptionalFieldByName(CONTAINER_IMAGE_PARAM);
5806
+ if (image !== null) pushParam$1(params, "image", image);
5807
+ const port = workload.parameters.getOptionalFieldByName(CONTAINER_PORT_PARAM);
5808
+ if (port !== null) pushParam$1(params, "port", port);
5809
+ const cpu = workload.parameters.getOptionalFieldByName(CPU_PARAM);
5810
+ if (cpu !== null) pushParam$1(params, "cpu", cpu);
5811
+ const memory = workload.parameters.getOptionalFieldByName(MEMORY_PARAM);
5812
+ if (memory !== null) pushParam$1(params, "memory", memory);
5813
+ const satisfiedBuilder = {
5814
+ withRegion: (region) => {
5815
+ pushParam$1(params, "region", region);
5816
+ return satisfiedBuilder;
5817
+ },
5818
+ withMinInstances: (min) => {
5819
+ pushParam$1(params, "minInstances", min);
5820
+ return satisfiedBuilder;
5821
+ },
5822
+ withMaxInstances: (max) => {
5823
+ pushParam$1(params, "maxInstances", max);
5824
+ return satisfiedBuilder;
5825
+ },
5826
+ withConcurrency: (concurrency) => {
5827
+ pushParam$1(params, "concurrency", concurrency);
5828
+ return satisfiedBuilder;
5829
+ },
5830
+ withServiceAccountEmail: (email) => {
5831
+ pushParam$1(params, "serviceAccountEmail", email);
5832
+ return satisfiedBuilder;
5833
+ },
5834
+ withIngress: (ingress) => {
5835
+ pushParam$1(params, "ingress", ingress);
5836
+ return satisfiedBuilder;
5837
+ },
5838
+ build: () => inner.build()
5839
+ };
5840
+ return satisfiedBuilder;
5841
+ };
5842
+ _GcpCloudRunService.create = (config) => {
5843
+ const b = getBuilder().withId(config.id).withVersion(config.version.major, config.version.minor, config.version.patch).withDisplayName(config.displayName).withImage(config.image).withRegion(config.region);
5844
+ if (config.description) b.withDescription(config.description);
5845
+ if (config.port !== void 0) b.withPort(config.port);
5846
+ if (config.cpu) b.withCpu(config.cpu);
5847
+ if (config.memory) b.withMemory(config.memory);
5848
+ if (config.minInstances !== void 0) b.withMinInstances(config.minInstances);
5849
+ if (config.maxInstances !== void 0) b.withMaxInstances(config.maxInstances);
5850
+ if (config.concurrency !== void 0) b.withConcurrency(config.concurrency);
5851
+ if (config.serviceAccountEmail) b.withServiceAccountEmail(config.serviceAccountEmail);
5852
+ if (config.ingress) b.withIngress(config.ingress);
5853
+ return b.build();
5854
+ };
5855
+ })(GcpCloudRunService || (GcpCloudRunService = {}));
5856
+
5857
+ //#endregion
5858
+ //#region src/live_system/component/network_and_compute/paas/oci_container_instance.ts
5859
+ const OCI_CONTAINER_INSTANCE_TYPE_NAME = "OciContainerInstance";
5860
+ function buildId(id) {
5861
+ return getComponentIdBuilder().withValue(KebabCaseString$1.getBuilder().withValue(id).build()).build();
5862
+ }
5863
+ function buildVersion(major, minor, patch) {
5864
+ return getVersionBuilder().withMajor(major).withMinor(minor).withPatch(patch).build();
5865
+ }
5866
+ function buildOciContainerInstanceType() {
5867
+ return getBlueprintComponentTypeBuilder().withInfrastructureDomain(InfrastructureDomain$1.NetworkAndCompute).withServiceDeliveryModel(ServiceDeliveryModel$1.PaaS).withName(PascalCaseString$1.getBuilder().withValue(OCI_CONTAINER_INSTANCE_TYPE_NAME).build()).build();
5868
+ }
5869
+ function pushParam(params, key, value) {
5870
+ params.push(key, value);
5871
+ }
5872
+ let OciContainerInstance;
5873
+ (function(_OciContainerInstance) {
5874
+ const getBuilder = _OciContainerInstance.getBuilder = () => {
5875
+ const params = getParametersInstance();
5876
+ const inner = getLiveSystemComponentBuilder().withType(buildOciContainerInstanceType()).withParameters(params).withProvider("OCI");
5877
+ const builder = {
5878
+ withId: (id) => {
5879
+ inner.withId(buildId(id));
5880
+ return builder;
5881
+ },
5882
+ withVersion: (major, minor, patch) => {
5883
+ inner.withVersion(buildVersion(major, minor, patch));
5884
+ return builder;
5885
+ },
5886
+ withDisplayName: (displayName) => {
5887
+ inner.withDisplayName(displayName);
5888
+ return builder;
5889
+ },
5890
+ withDescription: (description) => {
5891
+ inner.withDescription(description);
5892
+ return builder;
5893
+ },
5894
+ withImageUrl: (imageUrl) => {
5895
+ pushParam(params, "imageUrl", imageUrl);
5896
+ return builder;
5897
+ },
5898
+ withAvailabilityDomain: (domain) => {
5899
+ pushParam(params, "availabilityDomain", domain);
5900
+ return builder;
5901
+ },
5902
+ withCompartmentId: (compartmentId) => {
5903
+ pushParam(params, "compartmentId", compartmentId);
5904
+ return builder;
5905
+ },
5906
+ withOcpus: (ocpus) => {
5907
+ pushParam(params, "ocpus", ocpus);
5908
+ return builder;
5909
+ },
5910
+ withMemoryInGbs: (memoryInGbs) => {
5911
+ pushParam(params, "memoryInGBs", memoryInGbs);
5912
+ return builder;
5913
+ },
5914
+ withShape: (shape) => {
5915
+ pushParam(params, "shape", shape);
5916
+ return builder;
5917
+ },
5918
+ withPort: (port) => {
5919
+ pushParam(params, "port", port);
5920
+ return builder;
5921
+ },
5922
+ withAssignPublicIp: (assignPublicIp) => {
5923
+ pushParam(params, "assignPublicIp", assignPublicIp);
5924
+ return builder;
5925
+ },
5926
+ withContainerRestartPolicy: (policy) => {
5927
+ pushParam(params, "containerRestartPolicy", policy);
5928
+ return builder;
5929
+ },
5930
+ build: () => inner.build()
5931
+ };
5932
+ return builder;
5933
+ };
5934
+ _OciContainerInstance.satisfy = (workload) => {
5935
+ const params = getParametersInstance();
5936
+ const inner = getLiveSystemComponentBuilder().withType(buildOciContainerInstanceType()).withParameters(params).withProvider("OCI").withId(buildId(workload.id.toString())).withVersion(buildVersion(workload.version.major, workload.version.minor, workload.version.patch)).withDisplayName(workload.displayName).withDependencies(workload.dependencies).withLinks(workload.links);
5937
+ if (workload.description) inner.withDescription(workload.description);
5938
+ const image = workload.parameters.getOptionalFieldByName(CONTAINER_IMAGE_PARAM);
5939
+ if (image !== null) pushParam(params, "imageUrl", image);
5940
+ const satisfiedBuilder = {
5941
+ withAvailabilityDomain: (domain) => {
5942
+ pushParam(params, "availabilityDomain", domain);
5943
+ return satisfiedBuilder;
5944
+ },
5945
+ withCompartmentId: (compartmentId) => {
5946
+ pushParam(params, "compartmentId", compartmentId);
5947
+ return satisfiedBuilder;
5948
+ },
5949
+ withOcpus: (ocpus) => {
5950
+ pushParam(params, "ocpus", ocpus);
5951
+ return satisfiedBuilder;
5952
+ },
5953
+ withMemoryInGbs: (memoryInGbs) => {
5954
+ pushParam(params, "memoryInGBs", memoryInGbs);
5955
+ return satisfiedBuilder;
5956
+ },
5957
+ withShape: (shape) => {
5958
+ pushParam(params, "shape", shape);
5959
+ return satisfiedBuilder;
5960
+ },
5961
+ withAssignPublicIp: (assignPublicIp) => {
5962
+ pushParam(params, "assignPublicIp", assignPublicIp);
5963
+ return satisfiedBuilder;
5964
+ },
5965
+ withContainerRestartPolicy: (policy) => {
5966
+ pushParam(params, "containerRestartPolicy", policy);
5967
+ return satisfiedBuilder;
5968
+ },
5969
+ build: () => inner.build()
5970
+ };
5971
+ return satisfiedBuilder;
5972
+ };
5973
+ _OciContainerInstance.create = (config) => {
5974
+ const b = getBuilder().withId(config.id).withVersion(config.version.major, config.version.minor, config.version.patch).withDisplayName(config.displayName).withImageUrl(config.imageUrl).withAvailabilityDomain(config.availabilityDomain).withCompartmentId(config.compartmentId);
5975
+ if (config.description) b.withDescription(config.description);
5976
+ if (config.ocpus !== void 0) b.withOcpus(config.ocpus);
5977
+ if (config.memoryInGbs !== void 0) b.withMemoryInGbs(config.memoryInGbs);
5978
+ if (config.shape) b.withShape(config.shape);
5979
+ if (config.port !== void 0) b.withPort(config.port);
5980
+ if (config.assignPublicIp !== void 0) b.withAssignPublicIp(config.assignPublicIp);
5981
+ if (config.containerRestartPolicy) b.withContainerRestartPolicy(config.containerRestartPolicy);
5982
+ return b.build();
5983
+ };
5984
+ })(OciContainerInstance || (OciContainerInstance = {}));
5985
+
5986
+ //#endregion
5987
+ //#region src/index.ts
5988
+ const BoundedContext = BoundedContext$1;
5989
+ const Fractal = Fractal$1;
5990
+ const InfrastructureDomain = InfrastructureDomain$1;
5991
+ const KebabCaseString = KebabCaseString$1;
5992
+ const OwnerId = OwnerId$1;
5993
+ const OwnerType = OwnerType$1;
5994
+ const PascalCaseString = PascalCaseString$1;
5995
+ const ServiceAccountCredentials = ServiceAccountCredentials$1;
5996
+ const ServiceAccountId = ServiceAccountId$1;
5997
+ const ServiceDeliveryModel = ServiceDeliveryModel$1;
5998
+ const Version = Version$1;
5999
+ const Environment = Environment$1;
6000
+ const LiveSystem = LiveSystem$1;
6001
+
6002
+ //#endregion
6003
+ Object.defineProperty(exports, 'AwsEcsCluster', {
6004
+ enumerable: true,
6005
+ get: function () {
6006
+ return AwsEcsCluster;
6007
+ }
6008
+ });
6009
+ Object.defineProperty(exports, 'AwsEcsService', {
6010
+ enumerable: true,
6011
+ get: function () {
6012
+ return AwsEcsService;
6013
+ }
6014
+ });
6015
+ Object.defineProperty(exports, 'AwsEcsTaskDefinition', {
6016
+ enumerable: true,
6017
+ get: function () {
6018
+ return AwsEcsTaskDefinition;
6019
+ }
6020
+ });
6021
+ Object.defineProperty(exports, 'AwsEksCluster', {
6022
+ enumerable: true,
6023
+ get: function () {
6024
+ return AwsEksCluster;
6025
+ }
6026
+ });
6027
+ Object.defineProperty(exports, 'AwsSecurityGroup', {
6028
+ enumerable: true,
6029
+ get: function () {
6030
+ return AwsSecurityGroup;
6031
+ }
6032
+ });
6033
+ Object.defineProperty(exports, 'AwsSubnet', {
6034
+ enumerable: true,
6035
+ get: function () {
6036
+ return AwsSubnet;
6037
+ }
6038
+ });
6039
+ Object.defineProperty(exports, 'AwsVpc', {
6040
+ enumerable: true,
6041
+ get: function () {
6042
+ return AwsVpc;
6043
+ }
6044
+ });
6045
+ Object.defineProperty(exports, 'AzureAksCluster', {
6046
+ enumerable: true,
6047
+ get: function () {
6048
+ return AzureAksCluster;
6049
+ }
6050
+ });
6051
+ Object.defineProperty(exports, 'AzureContainerApp', {
6052
+ enumerable: true,
6053
+ get: function () {
6054
+ return AzureContainerApp;
6055
+ }
6056
+ });
6057
+ Object.defineProperty(exports, 'AzureContainerAppsEnvironment', {
6058
+ enumerable: true,
6059
+ get: function () {
6060
+ return AzureContainerAppsEnvironment;
6061
+ }
6062
+ });
6063
+ Object.defineProperty(exports, 'AzureContainerInstance', {
6064
+ enumerable: true,
6065
+ get: function () {
6066
+ return AzureContainerInstance;
6067
+ }
6068
+ });
6069
+ Object.defineProperty(exports, 'AzureNsg', {
6070
+ enumerable: true,
6071
+ get: function () {
6072
+ return AzureNsg;
6073
+ }
6074
+ });
6075
+ Object.defineProperty(exports, 'AzureSubnet', {
6076
+ enumerable: true,
6077
+ get: function () {
6078
+ return AzureSubnet;
6079
+ }
6080
+ });
6081
+ Object.defineProperty(exports, 'AzureVm', {
6082
+ enumerable: true,
6083
+ get: function () {
6084
+ return AzureVm;
6085
+ }
6086
+ });
6087
+ Object.defineProperty(exports, 'AzureVnet', {
6088
+ enumerable: true,
6089
+ get: function () {
6090
+ return AzureVnet;
6091
+ }
6092
+ });
6093
+ exports.BoundedContext = BoundedContext;
6094
+ Object.defineProperty(exports, 'ContainerPlatform', {
6095
+ enumerable: true,
6096
+ get: function () {
6097
+ return ContainerPlatform;
6098
+ }
6099
+ });
6100
+ Object.defineProperty(exports, 'Ec2Instance', {
6101
+ enumerable: true,
6102
+ get: function () {
6103
+ return Ec2Instance;
6104
+ }
6105
+ });
6106
+ exports.Environment = Environment;
6107
+ exports.Fractal = Fractal;
6108
+ Object.defineProperty(exports, 'GcpCloudRunService', {
6109
+ enumerable: true,
6110
+ get: function () {
6111
+ return GcpCloudRunService;
6112
+ }
6113
+ });
6114
+ Object.defineProperty(exports, 'GcpFirewall', {
6115
+ enumerable: true,
6116
+ get: function () {
6117
+ return GcpFirewall;
6118
+ }
6119
+ });
6120
+ Object.defineProperty(exports, 'GcpGkeCluster', {
6121
+ enumerable: true,
6122
+ get: function () {
6123
+ return GcpGkeCluster;
6124
+ }
6125
+ });
6126
+ Object.defineProperty(exports, 'GcpSubnet', {
4831
6127
  enumerable: true,
4832
6128
  get: function () {
4833
6129
  return GcpSubnet;
@@ -4872,6 +6168,12 @@ Object.defineProperty(exports, 'HetznerSubnet', {
4872
6168
  exports.InfrastructureDomain = InfrastructureDomain;
4873
6169
  exports.KebabCaseString = KebabCaseString;
4874
6170
  exports.LiveSystem = LiveSystem;
6171
+ Object.defineProperty(exports, 'OciContainerInstance', {
6172
+ enumerable: true,
6173
+ get: function () {
6174
+ return OciContainerInstance;
6175
+ }
6176
+ });
4875
6177
  Object.defineProperty(exports, 'OciInstance', {
4876
6178
  enumerable: true,
4877
6179
  get: function () {