@alienplatform/core 1.10.7 → 1.11.0

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.
Files changed (106) hide show
  1. package/.turbo/turbo-build.log +16 -17
  2. package/dist/index.d.ts +2024 -237
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +109 -2
  5. package/dist/index.js.map +1 -1
  6. package/dist/stack.js +422 -38
  7. package/dist/stack.js.map +1 -1
  8. package/dist/tests/index.d.ts +2 -2
  9. package/dist/tests/index.d.ts.map +1 -1
  10. package/dist/tests/index.js +1 -1
  11. package/package.json +1 -1
  12. package/src/__tests__/stack.test.ts +25 -0
  13. package/src/container.ts +10 -0
  14. package/src/daemon.ts +10 -0
  15. package/src/generated/index.ts +42 -0
  16. package/src/generated/schemas/alienEvent.json +1 -1
  17. package/src/generated/schemas/auroraPostgresHeartbeatData.json +1 -0
  18. package/src/generated/schemas/awsComputeClusterHeartbeatData.json +1 -1
  19. package/src/generated/schemas/awsDaemonHeartbeatData.json +1 -1
  20. package/src/generated/schemas/awsPostgresImportData.json +1 -0
  21. package/src/generated/schemas/azureComputeClusterHeartbeatData.json +1 -1
  22. package/src/generated/schemas/azureDaemonHeartbeatData.json +1 -1
  23. package/src/generated/schemas/azureFlexibleServerPostgresHeartbeatData.json +1 -0
  24. package/src/generated/schemas/azureFlexibleServerPostgresImportData.json +1 -0
  25. package/src/generated/schemas/azureVnetNetworkHeartbeatData.json +1 -1
  26. package/src/generated/schemas/computeCapacityGroupStatus.json +1 -1
  27. package/src/generated/schemas/computeClusterHeartbeatData.json +1 -1
  28. package/src/generated/schemas/computeDrainBlocker.json +1 -0
  29. package/src/generated/schemas/computeDrainProgress.json +1 -0
  30. package/src/generated/schemas/computeDrainProgressStatus.json +1 -0
  31. package/src/generated/schemas/container.json +1 -1
  32. package/src/generated/schemas/daemon.json +1 -1
  33. package/src/generated/schemas/daemonHeartbeatData.json +1 -1
  34. package/src/generated/schemas/deploymentStatus.json +1 -1
  35. package/src/generated/schemas/domainSettings.json +1 -1
  36. package/src/generated/schemas/eventChange.json +1 -1
  37. package/src/generated/schemas/gcpCloudSqlPostgresHeartbeatData.json +1 -0
  38. package/src/generated/schemas/gcpComputeClusterHeartbeatData.json +1 -1
  39. package/src/generated/schemas/gcpDaemonHeartbeatData.json +1 -1
  40. package/src/generated/schemas/gcpPostgresImportData.json +1 -0
  41. package/src/generated/schemas/localDaemonHeartbeatData.json +1 -1
  42. package/src/generated/schemas/localPostgresHeartbeatData.json +1 -0
  43. package/src/generated/schemas/machinesComputeClusterHeartbeatData.json +1 -0
  44. package/src/generated/schemas/machinesComputeMachineStatus.json +1 -0
  45. package/src/generated/schemas/machinesDaemonHeartbeatData.json +1 -0
  46. package/src/generated/schemas/networkHeartbeatData.json +1 -1
  47. package/src/generated/schemas/networkSettings.json +1 -1
  48. package/src/generated/schemas/observedInventoryBatch.json +1 -0
  49. package/src/generated/schemas/observedResourceSample.json +1 -0
  50. package/src/generated/schemas/platform.json +1 -1
  51. package/src/generated/schemas/postgres.json +1 -0
  52. package/src/generated/schemas/postgresBackend.json +1 -0
  53. package/src/generated/schemas/postgresHeartbeatData.json +1 -0
  54. package/src/generated/schemas/postgresHeartbeatStatus.json +1 -0
  55. package/src/generated/schemas/postgresOutputs.json +1 -0
  56. package/src/generated/schemas/publicEndpointTargetSettings.json +1 -0
  57. package/src/generated/schemas/resourceHeartbeat.json +1 -1
  58. package/src/generated/schemas/resourceHeartbeatData.json +1 -1
  59. package/src/generated/schemas/stack.json +1 -1
  60. package/src/generated/schemas/stackImportRequest.json +1 -1
  61. package/src/generated/schemas/stackImportResponse.json +1 -1
  62. package/src/generated/schemas/stackInputDefinition.json +1 -1
  63. package/src/generated/schemas/stackResourceState.json +1 -1
  64. package/src/generated/schemas/stackSettings.json +1 -1
  65. package/src/generated/schemas/stackState.json +1 -1
  66. package/src/generated/zod/agent-status-schema.ts +1 -1
  67. package/src/generated/zod/aurora-postgres-heartbeat-data-schema.ts +20 -0
  68. package/src/generated/zod/aws-daemon-heartbeat-data-schema.ts +1 -1
  69. package/src/generated/zod/aws-postgres-import-data-schema.ts +23 -0
  70. package/src/generated/zod/azure-daemon-heartbeat-data-schema.ts +1 -1
  71. package/src/generated/zod/azure-flexible-server-postgres-heartbeat-data-schema.ts +18 -0
  72. package/src/generated/zod/azure-flexible-server-postgres-import-data-schema.ts +25 -0
  73. package/src/generated/zod/azure-vnet-network-heartbeat-data-schema.ts +1 -0
  74. package/src/generated/zod/compute-capacity-group-status-schema.ts +4 -0
  75. package/src/generated/zod/compute-cluster-heartbeat-data-schema.ts +3 -0
  76. package/src/generated/zod/compute-drain-blocker-schema.ts +16 -0
  77. package/src/generated/zod/compute-drain-progress-schema.ts +26 -0
  78. package/src/generated/zod/compute-drain-progress-status-schema.ts +10 -0
  79. package/src/generated/zod/container-schema.ts +2 -1
  80. package/src/generated/zod/daemon-heartbeat-data-schema.ts +3 -0
  81. package/src/generated/zod/daemon-schema.ts +2 -1
  82. package/src/generated/zod/deployment-status-schema.ts +2 -2
  83. package/src/generated/zod/domain-settings-schema.ts +5 -1
  84. package/src/generated/zod/gcp-cloud-sql-postgres-heartbeat-data-schema.ts +18 -0
  85. package/src/generated/zod/gcp-daemon-heartbeat-data-schema.ts +1 -1
  86. package/src/generated/zod/gcp-postgres-import-data-schema.ts +23 -0
  87. package/src/generated/zod/index.ts +42 -0
  88. package/src/generated/zod/local-daemon-heartbeat-data-schema.ts +1 -1
  89. package/src/generated/zod/local-postgres-heartbeat-data-schema.ts +19 -0
  90. package/src/generated/zod/machines-compute-cluster-heartbeat-data-schema.ts +36 -0
  91. package/src/generated/zod/machines-compute-machine-status-schema.ts +30 -0
  92. package/src/generated/zod/machines-daemon-heartbeat-data-schema.ts +35 -0
  93. package/src/generated/zod/network-settings-schema.ts +1 -0
  94. package/src/generated/zod/observed-inventory-batch-schema.ts +27 -0
  95. package/src/generated/zod/observed-resource-sample-schema.ts +54 -0
  96. package/src/generated/zod/platform-schema.ts +1 -1
  97. package/src/generated/zod/postgres-backend-schema.ts +15 -0
  98. package/src/generated/zod/postgres-heartbeat-data-schema.ts +22 -0
  99. package/src/generated/zod/postgres-heartbeat-status-schema.ts +26 -0
  100. package/src/generated/zod/postgres-outputs-schema.ts +17 -0
  101. package/src/generated/zod/postgres-schema.ts +24 -0
  102. package/src/generated/zod/public-endpoint-target-settings-schema.ts +18 -0
  103. package/src/generated/zod/resource-heartbeat-data-schema.ts +6 -0
  104. package/src/generated/zod/resource-heartbeat-schema.ts +1 -1
  105. package/src/index.ts +5 -0
  106. package/src/postgres.ts +107 -0
@@ -1,6 +1,6 @@
1
1
  //#region src/tests/index.d.ts
2
2
  declare function getStackState(): {
3
- platform: "aws" | "gcp" | "azure" | "kubernetes" | "local" | "test";
3
+ platform: "aws" | "gcp" | "azure" | "kubernetes" | "machines" | "local" | "test";
4
4
  resourcePrefix: string;
5
5
  resources: {
6
6
  [x: string]: {
@@ -12,7 +12,7 @@ declare function getStackState(): {
12
12
  status: "pending" | "provisioning" | "provision-failed" | "running" | "updating" | "update-failed" | "deleting" | "delete-failed" | "teardown-required" | "deleted" | "refresh-failed";
13
13
  type: string;
14
14
  _internal?: any;
15
- controllerPlatform?: "aws" | "gcp" | "azure" | "kubernetes" | "local" | "test" | null | undefined;
15
+ controllerPlatform?: "aws" | "gcp" | "azure" | "kubernetes" | "machines" | "local" | "test" | null | undefined;
16
16
  dependencies?: {
17
17
  id: string;
18
18
  type: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/tests/index.ts"],"mappings":";iBAGgB,aAAA,CAAA;EAAA,QAAA,EAAA,KAAA,GAAa,KAAA,GAAA,OAAA,GAAA,YAAA,GAAA,OAAA,GAAA,MAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/tests/index.ts"],"mappings":";iBAGgB,aAAA,CAAA;EAAA,QAAA,EAAA,KAAA,GAAa,KAAA,GAAA,OAAA,GAAA,YAAA,GAAA,UAAA,GAAA,OAAA,GAAA,MAAA"}
@@ -1,4 +1,4 @@
1
- import { Ni as StackStateSchema } from "../stack.js";
1
+ import { Ii as StackStateSchema } from "../stack.js";
2
2
  //#region src/tests/index.ts
3
3
  function getStackState() {
4
4
  return StackStateSchema.parse(JSON.parse(process.env.ALIEN_STACK_STATE));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alienplatform/core",
3
- "version": "1.10.7",
3
+ "version": "1.11.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -30,10 +30,15 @@ describe("Stack builder validation", () => {
30
30
  cpu: "4",
31
31
  memoryBytes: 17179869184,
32
32
  ephemeralStorageBytes: 21474836480,
33
+ architecture: "x86_64",
33
34
  gpu: undefined,
34
35
  },
35
36
  minSize: 2,
36
37
  maxSize: 2,
38
+ scalePolicy: {
39
+ type: "fixed",
40
+ machines: { min: 2, max: 4, default: 2 },
41
+ },
37
42
  nestedVirtualization: true,
38
43
  },
39
44
  ])
@@ -148,6 +153,26 @@ describe("Stack builder validation", () => {
148
153
  })
149
154
  })
150
155
 
156
+ it("builds container and daemon stop grace periods", () => {
157
+ const container = new alien.Container("api")
158
+ .code({ type: "image", image: "nginx:latest" })
159
+ .cpu(0.25)
160
+ .memory("256Mi")
161
+ .permissions("execution")
162
+ .stopGracePeriod(21_600)
163
+ .build()
164
+
165
+ expect(container.config.stopGracePeriodSeconds).toBe(21_600)
166
+
167
+ const daemon = new alien.Daemon("log-forwarder")
168
+ .code({ type: "image", image: "registry.example.com/log-forwarder:latest" })
169
+ .permissions("execution")
170
+ .stopGracePeriod(21_600)
171
+ .build()
172
+
173
+ expect(daemon.config.stopGracePeriodSeconds).toBe(21_600)
174
+ })
175
+
151
176
  it("builds container and daemon wildcard public endpoint options", () => {
152
177
  const container = new alien.Container("router")
153
178
  .code({ type: "image", image: "nginx:latest" })
package/src/container.ts CHANGED
@@ -384,6 +384,16 @@ export class Container {
384
384
  return this
385
385
  }
386
386
 
387
+ /**
388
+ * Sets the grace period used when stopping replicas during updates, drains, and deletes.
389
+ *
390
+ * The value is expressed in seconds. Valid values are 1 through 86400.
391
+ */
392
+ public stopGracePeriod(seconds: number): this {
393
+ this._config.stopGracePeriodSeconds = seconds
394
+ return this
395
+ }
396
+
387
397
  /**
388
398
  * Links this container to another resource (Storage, Queue, KV, etc.).
389
399
  * @param resource The resource to link to.
package/src/daemon.ts CHANGED
@@ -123,6 +123,16 @@ export class Daemon {
123
123
  return this
124
124
  }
125
125
 
126
+ /**
127
+ * Sets the grace period used when stopping daemon instances during updates, drains, and deletes.
128
+ *
129
+ * The value is expressed in seconds. Valid values are 1 through 86400.
130
+ */
131
+ public stopGracePeriod(seconds: number): this {
132
+ this._config.stopGracePeriodSeconds = seconds
133
+ return this
134
+ }
135
+
126
136
  /**
127
137
  * Sets backend runtime options for trusted daemon infrastructure.
128
138
  *
@@ -6,6 +6,7 @@ export type { ArtifactRegistryHeartbeatData } from "./zod/artifact-registry-hear
6
6
  export type { ArtifactRegistryHeartbeatStatus } from "./zod/artifact-registry-heartbeat-status-schema.js";
7
7
  export type { ArtifactRegistryOutputs } from "./zod/artifact-registry-outputs-schema.js";
8
8
  export type { ArtifactRegistry } from "./zod/artifact-registry-schema.js";
9
+ export type { AuroraPostgresHeartbeatData } from "./zod/aurora-postgres-heartbeat-data-schema.js";
9
10
  export type { AwsArtifactRegistryImportData } from "./zod/aws-artifact-registry-import-data-schema.js";
10
11
  export type { AwsBuildImportData } from "./zod/aws-build-import-data-schema.js";
11
12
  export type { AwsCodeBuildHeartbeatData } from "./zod/aws-code-build-heartbeat-data-schema.js";
@@ -25,6 +26,7 @@ export type { AwsNetworkImportData } from "./zod/aws-network-import-data-schema.
25
26
  export type { AwsParameterStoreVaultHeartbeatData } from "./zod/aws-parameter-store-vault-heartbeat-data-schema.js";
26
27
  export type { AwsPermissionEffect } from "./zod/aws-permission-effect-schema.js";
27
28
  export type { AwsPlatformPermission } from "./zod/aws-platform-permission-schema.js";
29
+ export type { AwsPostgresImportData } from "./zod/aws-postgres-import-data-schema.js";
28
30
  export type { AwsQueueImportData } from "./zod/aws-queue-import-data-schema.js";
29
31
  export type { AwsRemoteStackManagementHeartbeatData } from "./zod/aws-remote-stack-management-heartbeat-data-schema.js";
30
32
  export type { AwsRemoteStackManagementImportData } from "./zod/aws-remote-stack-management-import-data-schema.js";
@@ -49,6 +51,8 @@ export type { AzureContainerAppsWorkerHeartbeatData } from "./zod/azure-containe
49
51
  export type { AzureContainerRegistryHeartbeatData } from "./zod/azure-container-registry-heartbeat-data-schema.js";
50
52
  export type { AzureCustomCertificateConfig } from "./zod/azure-custom-certificate-config-schema.js";
51
53
  export type { AzureDaemonHeartbeatData } from "./zod/azure-daemon-heartbeat-data-schema.js";
54
+ export type { AzureFlexibleServerPostgresHeartbeatData } from "./zod/azure-flexible-server-postgres-heartbeat-data-schema.js";
55
+ export type { AzureFlexibleServerPostgresImportData } from "./zod/azure-flexible-server-postgres-import-data-schema.js";
52
56
  export type { AzureKeyVaultHeartbeatData } from "./zod/azure-key-vault-heartbeat-data-schema.js";
53
57
  export type { AzureKvImportData } from "./zod/azure-kv-import-data-schema.js";
54
58
  export type { AzureManagedIdentityServiceAccountHeartbeatData } from "./zod/azure-managed-identity-service-account-heartbeat-data-schema.js";
@@ -100,6 +104,9 @@ export type { ComputeChoiceRange } from "./zod/compute-choice-range-schema.js";
100
104
  export type { ComputeClusterHeartbeatData } from "./zod/compute-cluster-heartbeat-data-schema.js";
101
105
  export type { ComputeClusterHeartbeatStatus } from "./zod/compute-cluster-heartbeat-status-schema.js";
102
106
  export type { ComputeCluster } from "./zod/compute-cluster-schema.js";
107
+ export type { ComputeDrainBlocker } from "./zod/compute-drain-blocker-schema.js";
108
+ export type { ComputeDrainProgress } from "./zod/compute-drain-progress-schema.js";
109
+ export type { ComputeDrainProgressStatus } from "./zod/compute-drain-progress-status-schema.js";
103
110
  export type { ComputePoolSelection } from "./zod/compute-pool-selection-schema.js";
104
111
  export type { ComputeSettings } from "./zod/compute-settings-schema.js";
105
112
  export type { ComputeType } from "./zod/compute-type-schema.js";
@@ -136,6 +143,7 @@ export type { GcpArtifactRegistryImportData } from "./zod/gcp-artifact-registry-
136
143
  export type { GcpBuildImportData } from "./zod/gcp-build-import-data-schema.js";
137
144
  export type { GcpCloudBuildHeartbeatData } from "./zod/gcp-cloud-build-heartbeat-data-schema.js";
138
145
  export type { GcpCloudRunWorkerHeartbeatData } from "./zod/gcp-cloud-run-worker-heartbeat-data-schema.js";
146
+ export type { GcpCloudSqlPostgresHeartbeatData } from "./zod/gcp-cloud-sql-postgres-heartbeat-data-schema.js";
139
147
  export type { GcpCloudStorageHeartbeatData } from "./zod/gcp-cloud-storage-heartbeat-data-schema.js";
140
148
  export type { GcpComputeClusterHeartbeatData } from "./zod/gcp-compute-cluster-heartbeat-data-schema.js";
141
149
  export type { GcpComputeClusterImportData } from "./zod/gcp-compute-cluster-import-data-schema.js";
@@ -147,6 +155,7 @@ export type { GcpKvImportData } from "./zod/gcp-kv-import-data-schema.js";
147
155
  export type { GcpManagementConfig } from "./zod/gcp-management-config-schema.js";
148
156
  export type { GcpNetworkImportData } from "./zod/gcp-network-import-data-schema.js";
149
157
  export type { GcpPlatformPermission } from "./zod/gcp-platform-permission-schema.js";
158
+ export type { GcpPostgresImportData } from "./zod/gcp-postgres-import-data-schema.js";
150
159
  export type { GcpPubSubQueueHeartbeatData } from "./zod/gcp-pub-sub-queue-heartbeat-data-schema.js";
151
160
  export type { GcpQueueImportData } from "./zod/gcp-queue-import-data-schema.js";
152
161
  export type { GcpRemoteStackManagementHeartbeatData } from "./zod/gcp-remote-stack-management-heartbeat-data-schema.js";
@@ -217,6 +226,7 @@ export type { LocalContainerHeartbeatData } from "./zod/local-container-heartbea
217
226
  export type { LocalDaemonHeartbeatData } from "./zod/local-daemon-heartbeat-data-schema.js";
218
227
  export type { LocalKvHeartbeatData } from "./zod/local-kv-heartbeat-data-schema.js";
219
228
  export type { LocalOperation } from "./zod/local-operation-schema.js";
229
+ export type { LocalPostgresHeartbeatData } from "./zod/local-postgres-heartbeat-data-schema.js";
220
230
  export type { LocalQueueHeartbeatData } from "./zod/local-queue-heartbeat-data-schema.js";
221
231
  export type { LocalRuntimeEventSnapshot } from "./zod/local-runtime-event-snapshot-schema.js";
222
232
  export type { LocalRuntimeEventSubject } from "./zod/local-runtime-event-subject-schema.js";
@@ -227,6 +237,9 @@ export type { LocalStorageHeartbeatData } from "./zod/local-storage-heartbeat-da
227
237
  export type { LocalVaultHeartbeatData } from "./zod/local-vault-heartbeat-data-schema.js";
228
238
  export type { LocalWorkerHeartbeatData } from "./zod/local-worker-heartbeat-data-schema.js";
229
239
  export type { MachineProfile } from "./zod/machine-profile-schema.js";
240
+ export type { MachinesComputeClusterHeartbeatData } from "./zod/machines-compute-cluster-heartbeat-data-schema.js";
241
+ export type { MachinesComputeMachineStatus } from "./zod/machines-compute-machine-status-schema.js";
242
+ export type { MachinesDaemonHeartbeatData } from "./zod/machines-daemon-heartbeat-data-schema.js";
230
243
  export type { ManagedRuntimeEventInvolvedObject } from "./zod/managed-runtime-event-involved-object-schema.js";
231
244
  export type { ManagedRuntimeEventSnapshot } from "./zod/managed-runtime-event-snapshot-schema.js";
232
245
  export type { ManagedRuntimeEventSource } from "./zod/managed-runtime-event-source-schema.js";
@@ -242,6 +255,8 @@ export type { NetworkHeartbeatStatus } from "./zod/network-heartbeat-status-sche
242
255
  export type { NetworkSettings } from "./zod/network-settings-schema.js";
243
256
  export type { ObservedCounts } from "./zod/observed-counts-schema.js";
244
257
  export type { ObservedHealth } from "./zod/observed-health-schema.js";
258
+ export type { ObservedInventoryBatch } from "./zod/observed-inventory-batch-schema.js";
259
+ export type { ObservedResourceSample } from "./zod/observed-resource-sample-schema.js";
245
260
  export type { PermissionGrant } from "./zod/permission-grant-schema.js";
246
261
  export type { PermissionProfile } from "./zod/permission-profile-schema.js";
247
262
  export type { PermissionSetReference } from "./zod/permission-set-reference-schema.js";
@@ -250,6 +265,11 @@ export type { PermissionsConfig } from "./zod/permissions-config-schema.js";
250
265
  export type { PersistentStorage } from "./zod/persistent-storage-schema.js";
251
266
  export type { PlatformPermissions } from "./zod/platform-permissions-schema.js";
252
267
  export type { Platform } from "./zod/platform-schema.js";
268
+ export type { PostgresBackend } from "./zod/postgres-backend-schema.js";
269
+ export type { PostgresHeartbeatData } from "./zod/postgres-heartbeat-data-schema.js";
270
+ export type { PostgresHeartbeatStatus } from "./zod/postgres-heartbeat-status-schema.js";
271
+ export type { PostgresOutputs } from "./zod/postgres-outputs-schema.js";
272
+ export type { Postgres } from "./zod/postgres-schema.js";
253
273
  export type { PresignedOperation } from "./zod/presigned-operation-schema.js";
254
274
  export type { PresignedRequestBackend } from "./zod/presigned-request-backend-schema.js";
255
275
  export type { PresignedRequest } from "./zod/presigned-request-schema.js";
@@ -257,6 +277,7 @@ export type { ProviderFleetStatus } from "./zod/provider-fleet-status-schema.js"
257
277
  export type { ProviderLifecycleState } from "./zod/provider-lifecycle-state-schema.js";
258
278
  export type { PublicEndpointOutput } from "./zod/public-endpoint-output-schema.js";
259
279
  export type { PublicEndpoint } from "./zod/public-endpoint-schema.js";
280
+ export type { PublicEndpointTargetSettings } from "./zod/public-endpoint-target-settings-schema.js";
260
281
  export type { PushProgress } from "./zod/push-progress-schema.js";
261
282
  export type { QueueHeartbeatData } from "./zod/queue-heartbeat-data-schema.js";
262
283
  export type { QueueHeartbeatStatus } from "./zod/queue-heartbeat-status-schema.js";
@@ -338,6 +359,7 @@ export { ArtifactRegistryHeartbeatDataSchema } from "./zod/artifact-registry-hea
338
359
  export { ArtifactRegistryHeartbeatStatusSchema } from "./zod/artifact-registry-heartbeat-status-schema.js";
339
360
  export { ArtifactRegistryOutputsSchema } from "./zod/artifact-registry-outputs-schema.js";
340
361
  export { ArtifactRegistrySchema } from "./zod/artifact-registry-schema.js";
362
+ export { AuroraPostgresHeartbeatDataSchema } from "./zod/aurora-postgres-heartbeat-data-schema.js";
341
363
  export { AwsArtifactRegistryImportDataSchema } from "./zod/aws-artifact-registry-import-data-schema.js";
342
364
  export { AwsBuildImportDataSchema } from "./zod/aws-build-import-data-schema.js";
343
365
  export { AwsCodeBuildHeartbeatDataSchema } from "./zod/aws-code-build-heartbeat-data-schema.js";
@@ -357,6 +379,7 @@ export { AwsNetworkImportDataSchema } from "./zod/aws-network-import-data-schema
357
379
  export { AwsParameterStoreVaultHeartbeatDataSchema } from "./zod/aws-parameter-store-vault-heartbeat-data-schema.js";
358
380
  export { AwsPermissionEffectSchema } from "./zod/aws-permission-effect-schema.js";
359
381
  export { AwsPlatformPermissionSchema } from "./zod/aws-platform-permission-schema.js";
382
+ export { AwsPostgresImportDataSchema } from "./zod/aws-postgres-import-data-schema.js";
360
383
  export { AwsQueueImportDataSchema } from "./zod/aws-queue-import-data-schema.js";
361
384
  export { AwsRemoteStackManagementHeartbeatDataSchema } from "./zod/aws-remote-stack-management-heartbeat-data-schema.js";
362
385
  export { AwsRemoteStackManagementImportDataSchema } from "./zod/aws-remote-stack-management-import-data-schema.js";
@@ -381,6 +404,8 @@ export { AzureContainerAppsWorkerHeartbeatDataSchema } from "./zod/azure-contain
381
404
  export { AzureContainerRegistryHeartbeatDataSchema } from "./zod/azure-container-registry-heartbeat-data-schema.js";
382
405
  export { AzureCustomCertificateConfigSchema } from "./zod/azure-custom-certificate-config-schema.js";
383
406
  export { AzureDaemonHeartbeatDataSchema } from "./zod/azure-daemon-heartbeat-data-schema.js";
407
+ export { AzureFlexibleServerPostgresHeartbeatDataSchema } from "./zod/azure-flexible-server-postgres-heartbeat-data-schema.js";
408
+ export { AzureFlexibleServerPostgresImportDataSchema } from "./zod/azure-flexible-server-postgres-import-data-schema.js";
384
409
  export { AzureKeyVaultHeartbeatDataSchema } from "./zod/azure-key-vault-heartbeat-data-schema.js";
385
410
  export { AzureKvImportDataSchema } from "./zod/azure-kv-import-data-schema.js";
386
411
  export { AzureManagedIdentityServiceAccountHeartbeatDataSchema } from "./zod/azure-managed-identity-service-account-heartbeat-data-schema.js";
@@ -432,6 +457,9 @@ export { ComputeChoiceRangeSchema } from "./zod/compute-choice-range-schema.js";
432
457
  export { ComputeClusterHeartbeatDataSchema } from "./zod/compute-cluster-heartbeat-data-schema.js";
433
458
  export { ComputeClusterHeartbeatStatusSchema } from "./zod/compute-cluster-heartbeat-status-schema.js";
434
459
  export { ComputeClusterSchema } from "./zod/compute-cluster-schema.js";
460
+ export { ComputeDrainBlockerSchema } from "./zod/compute-drain-blocker-schema.js";
461
+ export { ComputeDrainProgressSchema } from "./zod/compute-drain-progress-schema.js";
462
+ export { ComputeDrainProgressStatusSchema } from "./zod/compute-drain-progress-status-schema.js";
435
463
  export { ComputePoolSelectionSchema } from "./zod/compute-pool-selection-schema.js";
436
464
  export { ComputeSettingsSchema } from "./zod/compute-settings-schema.js";
437
465
  export { ComputeTypeSchema } from "./zod/compute-type-schema.js";
@@ -468,6 +496,7 @@ export { GcpArtifactRegistryImportDataSchema } from "./zod/gcp-artifact-registry
468
496
  export { GcpBuildImportDataSchema } from "./zod/gcp-build-import-data-schema.js";
469
497
  export { GcpCloudBuildHeartbeatDataSchema } from "./zod/gcp-cloud-build-heartbeat-data-schema.js";
470
498
  export { GcpCloudRunWorkerHeartbeatDataSchema } from "./zod/gcp-cloud-run-worker-heartbeat-data-schema.js";
499
+ export { GcpCloudSqlPostgresHeartbeatDataSchema } from "./zod/gcp-cloud-sql-postgres-heartbeat-data-schema.js";
471
500
  export { GcpCloudStorageHeartbeatDataSchema } from "./zod/gcp-cloud-storage-heartbeat-data-schema.js";
472
501
  export { GcpComputeClusterHeartbeatDataSchema } from "./zod/gcp-compute-cluster-heartbeat-data-schema.js";
473
502
  export { GcpComputeClusterImportDataSchema } from "./zod/gcp-compute-cluster-import-data-schema.js";
@@ -479,6 +508,7 @@ export { GcpKvImportDataSchema } from "./zod/gcp-kv-import-data-schema.js";
479
508
  export { GcpManagementConfigSchema } from "./zod/gcp-management-config-schema.js";
480
509
  export { GcpNetworkImportDataSchema } from "./zod/gcp-network-import-data-schema.js";
481
510
  export { GcpPlatformPermissionSchema } from "./zod/gcp-platform-permission-schema.js";
511
+ export { GcpPostgresImportDataSchema } from "./zod/gcp-postgres-import-data-schema.js";
482
512
  export { GcpPubSubQueueHeartbeatDataSchema } from "./zod/gcp-pub-sub-queue-heartbeat-data-schema.js";
483
513
  export { GcpQueueImportDataSchema } from "./zod/gcp-queue-import-data-schema.js";
484
514
  export { GcpRemoteStackManagementHeartbeatDataSchema } from "./zod/gcp-remote-stack-management-heartbeat-data-schema.js";
@@ -549,6 +579,7 @@ export { LocalContainerHeartbeatDataSchema } from "./zod/local-container-heartbe
549
579
  export { LocalDaemonHeartbeatDataSchema } from "./zod/local-daemon-heartbeat-data-schema.js";
550
580
  export { LocalKvHeartbeatDataSchema } from "./zod/local-kv-heartbeat-data-schema.js";
551
581
  export { LocalOperationSchema } from "./zod/local-operation-schema.js";
582
+ export { LocalPostgresHeartbeatDataSchema } from "./zod/local-postgres-heartbeat-data-schema.js";
552
583
  export { LocalQueueHeartbeatDataSchema } from "./zod/local-queue-heartbeat-data-schema.js";
553
584
  export { LocalRuntimeEventSnapshotSchema } from "./zod/local-runtime-event-snapshot-schema.js";
554
585
  export { LocalRuntimeEventSubjectSchema } from "./zod/local-runtime-event-subject-schema.js";
@@ -559,6 +590,9 @@ export { LocalStorageHeartbeatDataSchema } from "./zod/local-storage-heartbeat-d
559
590
  export { LocalVaultHeartbeatDataSchema } from "./zod/local-vault-heartbeat-data-schema.js";
560
591
  export { LocalWorkerHeartbeatDataSchema } from "./zod/local-worker-heartbeat-data-schema.js";
561
592
  export { MachineProfileSchema } from "./zod/machine-profile-schema.js";
593
+ export { MachinesComputeClusterHeartbeatDataSchema } from "./zod/machines-compute-cluster-heartbeat-data-schema.js";
594
+ export { MachinesComputeMachineStatusSchema } from "./zod/machines-compute-machine-status-schema.js";
595
+ export { MachinesDaemonHeartbeatDataSchema } from "./zod/machines-daemon-heartbeat-data-schema.js";
562
596
  export { ManagedRuntimeEventInvolvedObjectSchema } from "./zod/managed-runtime-event-involved-object-schema.js";
563
597
  export { ManagedRuntimeEventSnapshotSchema } from "./zod/managed-runtime-event-snapshot-schema.js";
564
598
  export { ManagedRuntimeEventSourceSchema } from "./zod/managed-runtime-event-source-schema.js";
@@ -574,6 +608,8 @@ export { NetworkHeartbeatStatusSchema } from "./zod/network-heartbeat-status-sch
574
608
  export { NetworkSettingsSchema } from "./zod/network-settings-schema.js";
575
609
  export { ObservedCountsSchema } from "./zod/observed-counts-schema.js";
576
610
  export { ObservedHealthSchema } from "./zod/observed-health-schema.js";
611
+ export { ObservedInventoryBatchSchema } from "./zod/observed-inventory-batch-schema.js";
612
+ export { ObservedResourceSampleSchema } from "./zod/observed-resource-sample-schema.js";
577
613
  export { PermissionGrantSchema } from "./zod/permission-grant-schema.js";
578
614
  export { PermissionProfileSchema } from "./zod/permission-profile-schema.js";
579
615
  export { PermissionSetReferenceSchema } from "./zod/permission-set-reference-schema.js";
@@ -582,6 +618,11 @@ export { PermissionsConfigSchema } from "./zod/permissions-config-schema.js";
582
618
  export { PersistentStorageSchema } from "./zod/persistent-storage-schema.js";
583
619
  export { PlatformPermissionsSchema } from "./zod/platform-permissions-schema.js";
584
620
  export { PlatformSchema } from "./zod/platform-schema.js";
621
+ export { PostgresBackendSchema } from "./zod/postgres-backend-schema.js";
622
+ export { PostgresHeartbeatDataSchema } from "./zod/postgres-heartbeat-data-schema.js";
623
+ export { PostgresHeartbeatStatusSchema } from "./zod/postgres-heartbeat-status-schema.js";
624
+ export { PostgresOutputsSchema } from "./zod/postgres-outputs-schema.js";
625
+ export { PostgresSchema } from "./zod/postgres-schema.js";
585
626
  export { PresignedOperationSchema } from "./zod/presigned-operation-schema.js";
586
627
  export { PresignedRequestBackendSchema } from "./zod/presigned-request-backend-schema.js";
587
628
  export { PresignedRequestSchema } from "./zod/presigned-request-schema.js";
@@ -589,6 +630,7 @@ export { ProviderFleetStatusSchema } from "./zod/provider-fleet-status-schema.js
589
630
  export { ProviderLifecycleStateSchema } from "./zod/provider-lifecycle-state-schema.js";
590
631
  export { PublicEndpointOutputSchema } from "./zod/public-endpoint-output-schema.js";
591
632
  export { PublicEndpointSchema } from "./zod/public-endpoint-schema.js";
633
+ export { PublicEndpointTargetSettingsSchema } from "./zod/public-endpoint-target-settings-schema.js";
592
634
  export { PushProgressSchema } from "./zod/push-progress-schema.js";
593
635
  export { QueueHeartbeatDataSchema } from "./zod/queue-heartbeat-data-schema.js";
594
636
  export { QueueHeartbeatStatusSchema } from "./zod/queue-heartbeat-status-schema.js";
@@ -1 +1 @@
1
- {"oneOf":[{"type":"object","description":"Loading configuration file","required":["type"],"properties":{"type":{"type":"string","enum":["LoadingConfiguration"]}}},{"type":"object","description":"Operation finished successfully","required":["type"],"properties":{"type":{"type":"string","enum":["Finished"]}}},{"type":"object","description":"Stack packaging event","required":["stack","type"],"properties":{"stack":{"type":"string","description":"Name of the stack being built"},"type":{"type":"string","enum":["BuildingStack"]}}},{"type":"object","description":"Running build-time preflight checks and mutations","required":["stack","platform","type"],"properties":{"platform":{"type":"string","description":"Platform being targeted"},"stack":{"type":"string","description":"Name of the stack being checked"},"type":{"type":"string","enum":["RunningPreflights"]}}},{"type":"object","description":"Downloading alien runtime event","required":["targetTriple","url","type"],"properties":{"targetTriple":{"type":"string","description":"Target triple for the runtime"},"type":{"type":"string","enum":["DownloadingAlienRuntime"]},"url":{"type":"string","description":"URL being downloaded from"}}},{"type":"object","description":"Resource build event (function, container, or worker)","required":["resourceName","resourceType","type"],"properties":{"relatedResources":{"type":"array","items":{"type":"string"},"description":"All resource names sharing this build (for deduped container groups)"},"resourceName":{"type":"string","description":"Name of the resource being built"},"resourceType":{"type":"string","description":"Type of the resource: \"worker\", \"container\""},"type":{"type":"string","enum":["BuildingResource"]}}},{"type":"object","description":"Image build event","required":["image","type"],"properties":{"image":{"type":"string","description":"Name of the image being built"},"type":{"type":"string","enum":["BuildingImage"]}}},{"type":"object","description":"Image push event","required":["image","type"],"properties":{"image":{"type":"string","description":"Name of the image being pushed"},"progress":{"oneOf":[{"type":"null"},{"description":"Progress information for the push operation","type":"object","required":["operation","layersUploaded","totalLayers","bytesUploaded","totalBytes"],"properties":{"bytesUploaded":{"type":"integer","format":"int64","description":"Bytes uploaded so far","minimum":0},"layersUploaded":{"type":"integer","description":"Number of layers uploaded so far","minimum":0},"operation":{"type":"string","description":"Current operation being performed"},"totalBytes":{"type":"integer","format":"int64","description":"Total bytes to upload","minimum":0},"totalLayers":{"type":"integer","description":"Total number of layers to upload","minimum":0}},"x-readme-ref-name":"PushProgress"}]},"type":{"type":"string","enum":["PushingImage"]}}},{"type":"object","description":"Pushing stack images to registry","required":["stack","platform","type"],"properties":{"destination":{"type":["string","null"],"description":"Human-readable destination for pushed images"},"platform":{"type":"string","description":"Target platform"},"stack":{"type":"string","description":"Name of the stack being pushed"},"type":{"type":"string","enum":["PushingStack"]}}},{"type":"object","description":"Pushing resource images to registry","required":["resourceName","resourceType","type"],"properties":{"resourceName":{"type":"string","description":"Name of the resource being pushed"},"resourceType":{"type":"string","description":"Type of the resource: \"worker\", \"container\""},"type":{"type":"string","enum":["PushingResource"]}}},{"type":"object","description":"Creating a release on the platform","required":["project","type"],"properties":{"project":{"type":"string","description":"Project name"},"type":{"type":"string","enum":["CreatingRelease"]}}},{"type":"object","description":"Code compilation event (rust, typescript, etc.)","required":["language","type"],"properties":{"language":{"type":"string","description":"Language being compiled (rust, typescript, etc.)"},"progress":{"type":["string","null"],"description":"Current progress/status line from the build output"},"type":{"type":"string","enum":["CompilingCode"]}}},{"type":"object","required":["nextState","type"],"properties":{"nextState":{"description":"The resulting state of the stack after the step.","type":"object","required":["platform","resources","resourcePrefix"],"properties":{"platform":{"description":"The target platform for this stack state.","type":"string","enum":["aws","gcp","azure","kubernetes","local","test"],"x-readme-ref-name":"Platform"},"resourcePrefix":{"type":"string","description":"A prefix used for resource naming to ensure uniqueness across deployments."},"resources":{"type":"object","description":"The state of individual resources, keyed by resource ID.","additionalProperties":{"type":"object","description":"Represents the state of a single resource within the stack for a specific platform.","required":["type","status","config"],"properties":{"_internal":{"description":"The platform-specific resource controller that manages this resource's lifecycle.\nThis is None when the resource status is Pending.\nStored as JSON to make the struct serializable and movable to alien-core."},"config":{"description":"The current resource configuration.","type":"object","required":["type","id"],"properties":{"id":{"type":"string","description":"The unique identifier for this specific resource instance. Must contain only alphanumeric characters, hyphens, and underscores ([A-Za-z0-9-_]). Maximum 64 characters."},"type":{"type":"string","description":"Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.","examples":["worker","storage","queue","redis","postgres"],"x-readme-ref-name":"ResourceType"}},"additionalProperties":true,"x-readme-ref-name":"BaseResource"},"controllerPlatform":{"oneOf":[{"type":"null"},{"description":"Platform whose controller owns this resource state. Defaults to the\ncontaining stack platform when absent.","type":"string","enum":["aws","gcp","azure","kubernetes","local","test"],"x-readme-ref-name":"Platform"}]},"dependencies":{"type":"array","items":{"type":"object","description":"New ResourceRef that works with any resource type.\nThis can eventually replace the enum-based ResourceRef for full extensibility.","required":["type","id"],"properties":{"id":{"type":"string"},"type":{"type":"string","description":"Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.","examples":["worker","storage","queue","redis","postgres"],"x-readme-ref-name":"ResourceType"}},"x-readme-ref-name":"ResourceRef"},"description":"Complete list of dependencies for this resource, including infrastructure dependencies.\nThis preserves the full dependency information from the stack definition."},"error":{"oneOf":[{"type":"null"},{"description":"Stores the last error encountered during a failed step transition.","type":"object","required":["code","message","retryable","internal"],"properties":{"code":{"type":"string","description":"A unique identifier for the type of error.\n\nThis should be a short, machine-readable string that can be used\nby clients to programmatically handle different error types.\nExamples: \"NOT_FOUND\", \"VALIDATION_ERROR\", \"TIMEOUT\"","example":"NOT_FOUND","maxLength":128},"context":{"description":"Additional diagnostic information about the error context.\n\nThis optional field can contain structured data providing more details\nabout the error, such as validation errors, request parameters that\ncaused the issue, or other relevant context information."},"hint":{"type":["string","null"],"description":"Optional human-facing remediation hint."},"httpStatusCode":{"type":["integer","null"],"format":"int32","description":"HTTP status code for this error.\n\nUsed when converting the error to an HTTP response. If None, falls back to\nthe error type's default status code or 500.","maximum":599,"minimum":100},"internal":{"type":"boolean","description":"Indicates if this is an internal error that should not be exposed to users.\n\nWhen `true`, this error contains sensitive information or implementation\ndetails that should not be shown to end-users. Such errors should be\nlogged for debugging but replaced with generic error messages in responses."},"message":{"type":"string","description":"Human-readable error message.\n\nThis message should be clear and actionable for developers or end-users,\nproviding context about what went wrong and potentially how to fix it.","example":"Item not found.","maxLength":16384},"retryable":{"type":"boolean","description":"Indicates whether the operation that caused the error should be retried.\n\nWhen `true`, the error is transient and the operation might succeed\nif attempted again. When `false`, retrying the same operation is\nunlikely to succeed without changes.","default":false},"source":{"description":"The underlying error that caused this error, creating an error chain.\n\nThis allows for proper error propagation and debugging by maintaining\nthe full context of how an error occurred through multiple layers\nof an application."}},"x-readme-ref-name":"AlienError"}]},"lastFailedState":{"description":"Stores the controller state that failed, used for manual retry operations.\nThis allows resuming from the exact point where the failure occurred.\nStored as JSON to make the struct serializable and movable to alien-core."},"lifecycle":{"oneOf":[{"type":"null"},{"description":"The lifecycle of the resource (Frozen or Live).\nDefaults to Live if not specified.","type":"string","enum":["frozen","live"],"x-readme-ref-name":"ResourceLifecycle"}]},"outputs":{"oneOf":[{"type":"null"},{"description":"Outputs generated by the resource (e.g., ARN, URL, Bucket Name).","type":"object","required":["type"],"properties":{"type":{"type":"string","description":"Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.","examples":["worker","storage","queue","redis","postgres"],"x-readme-ref-name":"ResourceType"}},"additionalProperties":true,"x-readme-ref-name":"BaseResourceOutputs"}]},"previousConfig":{"oneOf":[{"type":"null"},{"description":"The previous resource configuration during updates.\nThis is set when an update is initiated and cleared when the update completes or fails.","type":"object","required":["type","id"],"properties":{"id":{"type":"string","description":"The unique identifier for this specific resource instance. Must contain only alphanumeric characters, hyphens, and underscores ([A-Za-z0-9-_]). Maximum 64 characters."},"type":{"type":"string","description":"Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.","examples":["worker","storage","queue","redis","postgres"],"x-readme-ref-name":"ResourceType"}},"additionalProperties":true,"x-readme-ref-name":"BaseResource"}]},"remoteBindingParams":{"description":"Binding parameters for remote access.\nOnly populated when the resource has `remote_access: true` in its ResourceEntry.\nThis is the JSON serialization of the binding configuration (e.g., StorageBinding, VaultBinding).\nPopulated by controllers during provisioning using get_binding_params()."},"retryAttempt":{"type":"integer","format":"int32","description":"Tracks consecutive retry attempts for the current state transition.","minimum":0},"status":{"description":"High-level status derived from the internal state.","type":"string","enum":["pending","provisioning","provision-failed","running","updating","update-failed","deleting","delete-failed","teardown-required","deleted","refresh-failed"],"x-readme-ref-name":"ResourceStatus"},"type":{"type":"string","description":"The high-level type of the resource (e.g., Worker::RESOURCE_TYPE, Storage::RESOURCE_TYPE)."}},"x-readme-ref-name":"StackResourceState"},"propertyNames":{"type":"string"}}},"x-readme-ref-name":"StackState"},"suggestedDelayMs":{"type":["integer","null"],"format":"int64","description":"An suggested duration to wait before executing the next step.","minimum":0},"type":{"type":"string","enum":["StackStep"]}}},{"type":"object","description":"Generating CloudFormation template","required":["type"],"properties":{"type":{"type":"string","enum":["GeneratingCloudFormationTemplate"]}}},{"type":"object","description":"Generating infrastructure template","required":["platform","type"],"properties":{"platform":{"type":"string","description":"Platform for which the template is being generated"},"type":{"type":"string","enum":["GeneratingTemplate"]}}},{"type":"object","description":"Provisioning a new agent","required":["agentId","releaseId","type"],"properties":{"agentId":{"type":"string","description":"ID of the agent being provisioned"},"releaseId":{"type":"string","description":"ID of the release being deployed to the agent"},"type":{"type":"string","enum":["ProvisioningAgent"]}}},{"type":"object","description":"Updating an existing agent","required":["agentId","releaseId","type"],"properties":{"agentId":{"type":"string","description":"ID of the agent being updated"},"releaseId":{"type":"string","description":"ID of the new release being deployed to the agent"},"type":{"type":"string","enum":["UpdatingAgent"]}}},{"type":"object","description":"Deleting an agent","required":["agentId","releaseId","type"],"properties":{"agentId":{"type":"string","description":"ID of the agent being deleted"},"releaseId":{"type":"string","description":"ID of the release that was running on the agent"},"type":{"type":"string","enum":["DeletingAgent"]}}},{"type":"object","description":"Starting a debug session for an agent","required":["agentId","debugSessionId","type"],"properties":{"agentId":{"type":"string","description":"ID of the agent being debugged"},"debugSessionId":{"type":"string","description":"ID of the debug session"},"type":{"type":"string","enum":["DebuggingAgent"]}}},{"type":"object","description":"Preparing environment for deployment","required":["strategyName","type"],"properties":{"strategyName":{"type":"string","description":"Name of the deployment strategy being used"},"type":{"type":"string","enum":["PreparingEnvironment"]}}},{"type":"object","description":"Deploying stack with alien-infra","required":["stackName","type"],"properties":{"stackName":{"type":"string","description":"Name of the stack being deployed"},"type":{"type":"string","enum":["DeployingStack"]}}},{"type":"object","description":"Running test function after deployment","required":["stackName","type"],"properties":{"stackName":{"type":"string","description":"Name of the stack being tested"},"type":{"type":"string","enum":["RunningTestWorker"]}}},{"type":"object","description":"Cleaning up deployed stack resources","required":["stackName","strategyName","type"],"properties":{"stackName":{"type":"string","description":"Name of the stack being cleaned up"},"strategyName":{"type":"string","description":"Name of the deployment strategy being used for cleanup"},"type":{"type":"string","enum":["CleaningUpStack"]}}},{"type":"object","description":"Cleaning up deployment environment","required":["stackName","strategyName","type"],"properties":{"stackName":{"type":"string","description":"Name of the stack being cleaned up"},"strategyName":{"type":"string","description":"Name of the deployment strategy being used for cleanup"},"type":{"type":"string","enum":["CleaningUpEnvironment"]}}},{"type":"object","description":"Setting up platform context","required":["platformName","type"],"properties":{"platformName":{"type":"string","description":"Name of the platform (e.g., \"AWS\", \"GCP\")"},"type":{"type":"string","enum":["SettingUpPlatformContext"]}}},{"type":"object","description":"Ensuring docker repository exists","required":["repositoryName","type"],"properties":{"repositoryName":{"type":"string","description":"Name of the docker repository"},"type":{"type":"string","enum":["EnsuringDockerRepository"]}}},{"type":"object","description":"Deploying CloudFormation stack","required":["cfnStackName","currentStatus","type"],"properties":{"cfnStackName":{"type":"string","description":"Name of the CloudFormation stack"},"currentStatus":{"type":"string","description":"Current stack status"},"type":{"type":"string","enum":["DeployingCloudFormationStack"]}}},{"type":"object","description":"Assuming AWS IAM role","required":["roleArn","type"],"properties":{"roleArn":{"type":"string","description":"ARN of the role to assume"},"type":{"type":"string","enum":["AssumingRole"]}}},{"type":"object","description":"Importing stack state from CloudFormation","required":["cfnStackName","type"],"properties":{"cfnStackName":{"type":"string","description":"Name of the CloudFormation stack"},"type":{"type":"string","enum":["ImportingStackStateFromCloudFormation"]}}},{"type":"object","description":"Deleting CloudFormation stack","required":["cfnStackName","currentStatus","type"],"properties":{"cfnStackName":{"type":"string","description":"Name of the CloudFormation stack"},"currentStatus":{"type":"string","description":"Current stack status"},"type":{"type":"string","enum":["DeletingCloudFormationStack"]}}},{"type":"object","description":"Emptying S3 buckets before stack deletion","required":["bucketNames","type"],"properties":{"bucketNames":{"type":"array","items":{"type":"string"},"description":"Names of the S3 buckets being emptied"},"type":{"type":"string","enum":["EmptyingBuckets"]}}}],"description":"Represents all possible events in the Alien system","x-readme-ref-name":"AlienEvent"}
1
+ {"oneOf":[{"type":"object","description":"Loading configuration file","required":["type"],"properties":{"type":{"type":"string","enum":["LoadingConfiguration"]}}},{"type":"object","description":"Operation finished successfully","required":["type"],"properties":{"type":{"type":"string","enum":["Finished"]}}},{"type":"object","description":"Stack packaging event","required":["stack","type"],"properties":{"stack":{"type":"string","description":"Name of the stack being built"},"type":{"type":"string","enum":["BuildingStack"]}}},{"type":"object","description":"Running build-time preflight checks and mutations","required":["stack","platform","type"],"properties":{"platform":{"type":"string","description":"Platform being targeted"},"stack":{"type":"string","description":"Name of the stack being checked"},"type":{"type":"string","enum":["RunningPreflights"]}}},{"type":"object","description":"Downloading alien runtime event","required":["targetTriple","url","type"],"properties":{"targetTriple":{"type":"string","description":"Target triple for the runtime"},"type":{"type":"string","enum":["DownloadingAlienRuntime"]},"url":{"type":"string","description":"URL being downloaded from"}}},{"type":"object","description":"Resource build event (function, container, or worker)","required":["resourceName","resourceType","type"],"properties":{"relatedResources":{"type":"array","items":{"type":"string"},"description":"All resource names sharing this build (for deduped container groups)"},"resourceName":{"type":"string","description":"Name of the resource being built"},"resourceType":{"type":"string","description":"Type of the resource: \"worker\", \"container\""},"type":{"type":"string","enum":["BuildingResource"]}}},{"type":"object","description":"Image build event","required":["image","type"],"properties":{"image":{"type":"string","description":"Name of the image being built"},"type":{"type":"string","enum":["BuildingImage"]}}},{"type":"object","description":"Image push event","required":["image","type"],"properties":{"image":{"type":"string","description":"Name of the image being pushed"},"progress":{"oneOf":[{"type":"null"},{"description":"Progress information for the push operation","type":"object","required":["operation","layersUploaded","totalLayers","bytesUploaded","totalBytes"],"properties":{"bytesUploaded":{"type":"integer","format":"int64","description":"Bytes uploaded so far","minimum":0},"layersUploaded":{"type":"integer","description":"Number of layers uploaded so far","minimum":0},"operation":{"type":"string","description":"Current operation being performed"},"totalBytes":{"type":"integer","format":"int64","description":"Total bytes to upload","minimum":0},"totalLayers":{"type":"integer","description":"Total number of layers to upload","minimum":0}},"x-readme-ref-name":"PushProgress"}]},"type":{"type":"string","enum":["PushingImage"]}}},{"type":"object","description":"Pushing stack images to registry","required":["stack","platform","type"],"properties":{"destination":{"type":["string","null"],"description":"Human-readable destination for pushed images"},"platform":{"type":"string","description":"Target platform"},"stack":{"type":"string","description":"Name of the stack being pushed"},"type":{"type":"string","enum":["PushingStack"]}}},{"type":"object","description":"Pushing resource images to registry","required":["resourceName","resourceType","type"],"properties":{"resourceName":{"type":"string","description":"Name of the resource being pushed"},"resourceType":{"type":"string","description":"Type of the resource: \"worker\", \"container\""},"type":{"type":"string","enum":["PushingResource"]}}},{"type":"object","description":"Creating a release on the platform","required":["project","type"],"properties":{"project":{"type":"string","description":"Project name"},"type":{"type":"string","enum":["CreatingRelease"]}}},{"type":"object","description":"Code compilation event (rust, typescript, etc.)","required":["language","type"],"properties":{"language":{"type":"string","description":"Language being compiled (rust, typescript, etc.)"},"progress":{"type":["string","null"],"description":"Current progress/status line from the build output"},"type":{"type":"string","enum":["CompilingCode"]}}},{"type":"object","required":["nextState","type"],"properties":{"nextState":{"description":"The resulting state of the stack after the step.","type":"object","required":["platform","resources","resourcePrefix"],"properties":{"platform":{"description":"The target platform for this stack state.","type":"string","enum":["aws","gcp","azure","kubernetes","machines","local","test"],"x-readme-ref-name":"Platform"},"resourcePrefix":{"type":"string","description":"A prefix used for resource naming to ensure uniqueness across deployments."},"resources":{"type":"object","description":"The state of individual resources, keyed by resource ID.","additionalProperties":{"type":"object","description":"Represents the state of a single resource within the stack for a specific platform.","required":["type","status","config"],"properties":{"_internal":{"description":"The platform-specific resource controller that manages this resource's lifecycle.\nThis is None when the resource status is Pending.\nStored as JSON to make the struct serializable and movable to alien-core."},"config":{"description":"The current resource configuration.","type":"object","required":["type","id"],"properties":{"id":{"type":"string","description":"The unique identifier for this specific resource instance. Must contain only alphanumeric characters, hyphens, and underscores ([A-Za-z0-9-_]). Maximum 64 characters."},"type":{"type":"string","description":"Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.","examples":["worker","storage","queue","redis","postgres"],"x-readme-ref-name":"ResourceType"}},"additionalProperties":true,"x-readme-ref-name":"BaseResource"},"controllerPlatform":{"oneOf":[{"type":"null"},{"description":"Platform whose controller owns this resource state. Defaults to the\ncontaining stack platform when absent.","type":"string","enum":["aws","gcp","azure","kubernetes","machines","local","test"],"x-readme-ref-name":"Platform"}]},"dependencies":{"type":"array","items":{"type":"object","description":"New ResourceRef that works with any resource type.\nThis can eventually replace the enum-based ResourceRef for full extensibility.","required":["type","id"],"properties":{"id":{"type":"string"},"type":{"type":"string","description":"Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.","examples":["worker","storage","queue","redis","postgres"],"x-readme-ref-name":"ResourceType"}},"x-readme-ref-name":"ResourceRef"},"description":"Complete list of dependencies for this resource, including infrastructure dependencies.\nThis preserves the full dependency information from the stack definition."},"error":{"oneOf":[{"type":"null"},{"description":"Stores the last error encountered during a failed step transition.","type":"object","required":["code","message","retryable","internal"],"properties":{"code":{"type":"string","description":"A unique identifier for the type of error.\n\nThis should be a short, machine-readable string that can be used\nby clients to programmatically handle different error types.\nExamples: \"NOT_FOUND\", \"VALIDATION_ERROR\", \"TIMEOUT\"","example":"NOT_FOUND","maxLength":128},"context":{"description":"Additional diagnostic information about the error context.\n\nThis optional field can contain structured data providing more details\nabout the error, such as validation errors, request parameters that\ncaused the issue, or other relevant context information."},"hint":{"type":["string","null"],"description":"Optional human-facing remediation hint."},"httpStatusCode":{"type":["integer","null"],"format":"int32","description":"HTTP status code for this error.\n\nUsed when converting the error to an HTTP response. If None, falls back to\nthe error type's default status code or 500.","maximum":599,"minimum":100},"internal":{"type":"boolean","description":"Indicates if this is an internal error that should not be exposed to users.\n\nWhen `true`, this error contains sensitive information or implementation\ndetails that should not be shown to end-users. Such errors should be\nlogged for debugging but replaced with generic error messages in responses."},"message":{"type":"string","description":"Human-readable error message.\n\nThis message should be clear and actionable for developers or end-users,\nproviding context about what went wrong and potentially how to fix it.","example":"Item not found.","maxLength":16384},"retryable":{"type":"boolean","description":"Indicates whether the operation that caused the error should be retried.\n\nWhen `true`, the error is transient and the operation might succeed\nif attempted again. When `false`, retrying the same operation is\nunlikely to succeed without changes.","default":false},"source":{"description":"The underlying error that caused this error, creating an error chain.\n\nThis allows for proper error propagation and debugging by maintaining\nthe full context of how an error occurred through multiple layers\nof an application."}},"x-readme-ref-name":"AlienError"}]},"lastFailedState":{"description":"Stores the controller state that failed, used for manual retry operations.\nThis allows resuming from the exact point where the failure occurred.\nStored as JSON to make the struct serializable and movable to alien-core."},"lifecycle":{"oneOf":[{"type":"null"},{"description":"The lifecycle of the resource (Frozen or Live).\nDefaults to Live if not specified.","type":"string","enum":["frozen","live"],"x-readme-ref-name":"ResourceLifecycle"}]},"outputs":{"oneOf":[{"type":"null"},{"description":"Outputs generated by the resource (e.g., ARN, URL, Bucket Name).","type":"object","required":["type"],"properties":{"type":{"type":"string","description":"Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.","examples":["worker","storage","queue","redis","postgres"],"x-readme-ref-name":"ResourceType"}},"additionalProperties":true,"x-readme-ref-name":"BaseResourceOutputs"}]},"previousConfig":{"oneOf":[{"type":"null"},{"description":"The previous resource configuration during updates.\nThis is set when an update is initiated and cleared when the update completes or fails.","type":"object","required":["type","id"],"properties":{"id":{"type":"string","description":"The unique identifier for this specific resource instance. Must contain only alphanumeric characters, hyphens, and underscores ([A-Za-z0-9-_]). Maximum 64 characters."},"type":{"type":"string","description":"Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.","examples":["worker","storage","queue","redis","postgres"],"x-readme-ref-name":"ResourceType"}},"additionalProperties":true,"x-readme-ref-name":"BaseResource"}]},"remoteBindingParams":{"description":"Binding parameters for remote access.\nOnly populated when the resource has `remote_access: true` in its ResourceEntry.\nThis is the JSON serialization of the binding configuration (e.g., StorageBinding, VaultBinding).\nPopulated by controllers during provisioning using get_binding_params()."},"retryAttempt":{"type":"integer","format":"int32","description":"Tracks consecutive retry attempts for the current state transition.","minimum":0},"status":{"description":"High-level status derived from the internal state.","type":"string","enum":["pending","provisioning","provision-failed","running","updating","update-failed","deleting","delete-failed","teardown-required","deleted","refresh-failed"],"x-readme-ref-name":"ResourceStatus"},"type":{"type":"string","description":"The high-level type of the resource (e.g., Worker::RESOURCE_TYPE, Storage::RESOURCE_TYPE)."}},"x-readme-ref-name":"StackResourceState"},"propertyNames":{"type":"string"}}},"x-readme-ref-name":"StackState"},"suggestedDelayMs":{"type":["integer","null"],"format":"int64","description":"An suggested duration to wait before executing the next step.","minimum":0},"type":{"type":"string","enum":["StackStep"]}}},{"type":"object","description":"Generating CloudFormation template","required":["type"],"properties":{"type":{"type":"string","enum":["GeneratingCloudFormationTemplate"]}}},{"type":"object","description":"Generating infrastructure template","required":["platform","type"],"properties":{"platform":{"type":"string","description":"Platform for which the template is being generated"},"type":{"type":"string","enum":["GeneratingTemplate"]}}},{"type":"object","description":"Provisioning a new agent","required":["agentId","releaseId","type"],"properties":{"agentId":{"type":"string","description":"ID of the agent being provisioned"},"releaseId":{"type":"string","description":"ID of the release being deployed to the agent"},"type":{"type":"string","enum":["ProvisioningAgent"]}}},{"type":"object","description":"Updating an existing agent","required":["agentId","releaseId","type"],"properties":{"agentId":{"type":"string","description":"ID of the agent being updated"},"releaseId":{"type":"string","description":"ID of the new release being deployed to the agent"},"type":{"type":"string","enum":["UpdatingAgent"]}}},{"type":"object","description":"Deleting an agent","required":["agentId","releaseId","type"],"properties":{"agentId":{"type":"string","description":"ID of the agent being deleted"},"releaseId":{"type":"string","description":"ID of the release that was running on the agent"},"type":{"type":"string","enum":["DeletingAgent"]}}},{"type":"object","description":"Starting a debug session for an agent","required":["agentId","debugSessionId","type"],"properties":{"agentId":{"type":"string","description":"ID of the agent being debugged"},"debugSessionId":{"type":"string","description":"ID of the debug session"},"type":{"type":"string","enum":["DebuggingAgent"]}}},{"type":"object","description":"Preparing environment for deployment","required":["strategyName","type"],"properties":{"strategyName":{"type":"string","description":"Name of the deployment strategy being used"},"type":{"type":"string","enum":["PreparingEnvironment"]}}},{"type":"object","description":"Deploying stack with alien-infra","required":["stackName","type"],"properties":{"stackName":{"type":"string","description":"Name of the stack being deployed"},"type":{"type":"string","enum":["DeployingStack"]}}},{"type":"object","description":"Running test function after deployment","required":["stackName","type"],"properties":{"stackName":{"type":"string","description":"Name of the stack being tested"},"type":{"type":"string","enum":["RunningTestWorker"]}}},{"type":"object","description":"Cleaning up deployed stack resources","required":["stackName","strategyName","type"],"properties":{"stackName":{"type":"string","description":"Name of the stack being cleaned up"},"strategyName":{"type":"string","description":"Name of the deployment strategy being used for cleanup"},"type":{"type":"string","enum":["CleaningUpStack"]}}},{"type":"object","description":"Cleaning up deployment environment","required":["stackName","strategyName","type"],"properties":{"stackName":{"type":"string","description":"Name of the stack being cleaned up"},"strategyName":{"type":"string","description":"Name of the deployment strategy being used for cleanup"},"type":{"type":"string","enum":["CleaningUpEnvironment"]}}},{"type":"object","description":"Setting up platform context","required":["platformName","type"],"properties":{"platformName":{"type":"string","description":"Name of the platform (e.g., \"AWS\", \"GCP\")"},"type":{"type":"string","enum":["SettingUpPlatformContext"]}}},{"type":"object","description":"Ensuring docker repository exists","required":["repositoryName","type"],"properties":{"repositoryName":{"type":"string","description":"Name of the docker repository"},"type":{"type":"string","enum":["EnsuringDockerRepository"]}}},{"type":"object","description":"Deploying CloudFormation stack","required":["cfnStackName","currentStatus","type"],"properties":{"cfnStackName":{"type":"string","description":"Name of the CloudFormation stack"},"currentStatus":{"type":"string","description":"Current stack status"},"type":{"type":"string","enum":["DeployingCloudFormationStack"]}}},{"type":"object","description":"Assuming AWS IAM role","required":["roleArn","type"],"properties":{"roleArn":{"type":"string","description":"ARN of the role to assume"},"type":{"type":"string","enum":["AssumingRole"]}}},{"type":"object","description":"Importing stack state from CloudFormation","required":["cfnStackName","type"],"properties":{"cfnStackName":{"type":"string","description":"Name of the CloudFormation stack"},"type":{"type":"string","enum":["ImportingStackStateFromCloudFormation"]}}},{"type":"object","description":"Deleting CloudFormation stack","required":["cfnStackName","currentStatus","type"],"properties":{"cfnStackName":{"type":"string","description":"Name of the CloudFormation stack"},"currentStatus":{"type":"string","description":"Current stack status"},"type":{"type":"string","enum":["DeletingCloudFormationStack"]}}},{"type":"object","description":"Emptying S3 buckets before stack deletion","required":["bucketNames","type"],"properties":{"bucketNames":{"type":"array","items":{"type":"string"},"description":"Names of the S3 buckets being emptied"},"type":{"type":"string","enum":["EmptyingBuckets"]}}}],"description":"Represents all possible events in the Alien system","x-readme-ref-name":"AlienEvent"}
@@ -0,0 +1 @@
1
+ {"type":"object","required":["status","clusterIdentifier","neverPauses"],"properties":{"clusterIdentifier":{"type":"string"},"endpoint":{"type":["string","null"]},"engineVersion":{"type":["string","null"]},"neverPauses":{"type":"boolean","description":"True when a `minCapacity: 0` instance has not reached 0 ACU over the observation\nwindow — it is silently paying always-on prices (auto-pause verification)."},"serverlessCapacity":{"type":["number","null"],"format":"double","description":"Latest sampled `ServerlessDatabaseCapacity` (ACU)."},"status":{"type":"object","required":["health","lifecycle","stale","partial","collectionIssues"],"properties":{"collectionIssues":{"type":"array","items":{"type":"object","required":["source","reason","severity","message"],"properties":{"message":{"type":"string"},"reason":{"type":"string","enum":["forbidden","not-installed","api-unavailable","collection-failed","timed-out"],"x-readme-ref-name":"HeartbeatCollectionIssueReason"},"severity":{"type":"string","enum":["info","warning","error"],"x-readme-ref-name":"HeartbeatIssueSeverity"},"source":{"type":"string"}},"x-readme-ref-name":"HeartbeatCollectionIssue"}},"health":{"type":"string","enum":["unknown","healthy","degraded","unhealthy"],"x-readme-ref-name":"ObservedHealth"},"lifecycle":{"type":"string","enum":["unknown","creating","updating","running","scaling","stopping","stopped","deleting","deleted","failed"],"x-readme-ref-name":"ProviderLifecycleState"},"message":{"type":["string","null"]},"partial":{"type":"boolean"},"stale":{"type":"boolean"}},"x-readme-ref-name":"PostgresHeartbeatStatus"}},"x-readme-ref-name":"AuroraPostgresHeartbeatData"}
@@ -1 +1 @@
1
- {"type":"object","required":["status","nodes","name","capacityGroups","providerFleets"],"properties":{"backendClusterId":{"type":["string","null"]},"capacityGroups":{"type":"array","items":{"type":"object","required":["groupId","currentMachines","desiredMachines"],"properties":{"capacityBlocker":{"oneOf":[{"type":"null"},{"type":"object","required":["category","message","observedAt"],"properties":{"category":{"type":"string","enum":["quota","capacity","allocation","other"],"x-readme-ref-name":"ComputeCapacityBlockerCategory"},"message":{"type":"string"},"observedAt":{"type":"string","format":"date-time"},"providerCode":{"type":["string","null"]},"providerReference":{"type":["string","null"]}},"x-readme-ref-name":"ComputeCapacityBlocker"}]},"currentMachines":{"type":"integer","format":"int32","minimum":0},"desiredMachines":{"type":"integer","format":"int32","minimum":0},"groupId":{"type":"string"},"instanceType":{"type":["string","null"]},"maxMachines":{"type":["integer","null"],"format":"int32","minimum":0},"minMachines":{"type":["integer","null"],"format":"int32","minimum":0},"recommendation":{"oneOf":[{"type":"null"},{"type":"object","required":["desiredMachines"],"properties":{"desiredMachines":{"type":"integer","format":"int32","minimum":0},"reason":{"type":["string","null"]},"unschedulableReplicas":{"type":["integer","null"],"format":"int32","minimum":0},"utilization":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]}},"x-readme-ref-name":"ComputeCapacityRecommendation"}]}},"x-readme-ref-name":"ComputeCapacityGroupStatus"}},"cpu":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]},"memory":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]},"name":{"type":"string"},"nodes":{"type":"object","properties":{"current":{"type":["integer","null"],"format":"int32","minimum":0},"desired":{"type":["integer","null"],"format":"int32","minimum":0},"ready":{"type":["integer","null"],"format":"int32","minimum":0}},"x-readme-ref-name":"ObservedCounts"},"providerFleets":{"type":"array","items":{"type":"object","required":["groupId","providerId","currentMachines","desiredMachines"],"properties":{"currentMachines":{"type":"integer","format":"int32","minimum":0},"desiredMachines":{"type":"integer","format":"int32","minimum":0},"groupId":{"type":"string"},"location":{"type":["string","null"]},"providerId":{"type":"string"}},"x-readme-ref-name":"ProviderFleetStatus"}},"region":{"type":["string","null"]},"status":{"type":"object","required":["health","lifecycle","stale","partial","collectionIssues"],"properties":{"collectionIssues":{"type":"array","items":{"type":"object","required":["source","reason","severity","message"],"properties":{"message":{"type":"string"},"reason":{"type":"string","enum":["forbidden","not-installed","api-unavailable","collection-failed","timed-out"],"x-readme-ref-name":"HeartbeatCollectionIssueReason"},"severity":{"type":"string","enum":["info","warning","error"],"x-readme-ref-name":"HeartbeatIssueSeverity"},"source":{"type":"string"}},"x-readme-ref-name":"HeartbeatCollectionIssue"}},"health":{"type":"string","enum":["unknown","healthy","degraded","unhealthy"],"x-readme-ref-name":"ObservedHealth"},"lifecycle":{"type":"string","enum":["unknown","creating","updating","running","scaling","stopping","stopped","deleting","deleted","failed"],"x-readme-ref-name":"ProviderLifecycleState"},"message":{"type":["string","null"]},"partial":{"type":"boolean"},"stale":{"type":"boolean"}},"x-readme-ref-name":"ComputeClusterHeartbeatStatus"}},"x-readme-ref-name":"AwsComputeClusterHeartbeatData"}
1
+ {"type":"object","required":["status","nodes","name","capacityGroups","providerFleets"],"properties":{"backendClusterId":{"type":["string","null"]},"capacityGroups":{"type":"array","items":{"type":"object","required":["groupId","currentMachines","desiredMachines"],"properties":{"capacityBlocker":{"oneOf":[{"type":"null"},{"type":"object","required":["category","message","observedAt"],"properties":{"category":{"type":"string","enum":["quota","capacity","allocation","other"],"x-readme-ref-name":"ComputeCapacityBlockerCategory"},"message":{"type":"string"},"observedAt":{"type":"string","format":"date-time"},"providerCode":{"type":["string","null"]},"providerReference":{"type":["string","null"]}},"x-readme-ref-name":"ComputeCapacityBlocker"}]},"currentMachines":{"type":"integer","format":"int32","minimum":0},"desiredMachines":{"type":"integer","format":"int32","minimum":0},"drainProgress":{"oneOf":[{"type":"null"},{"type":"object","required":["machineId","status","replicaCount","force","stalled"],"properties":{"blockers":{"type":"array","items":{"type":"object","required":["workloadName","replicaId","schedulingMode","state","reason"],"properties":{"reason":{"type":"string"},"replicaId":{"type":"string"},"schedulingMode":{"type":"string"},"state":{"type":"string"},"workloadName":{"type":"string"}},"x-readme-ref-name":"ComputeDrainBlocker"}},"drainDeadlineAt":{"type":["string","null"]},"drainRequestedAt":{"type":["string","null"]},"drainedAt":{"type":["string","null"]},"force":{"type":"boolean"},"machineId":{"type":"string"},"replicaCount":{"type":"integer","format":"int64"},"stalled":{"type":"boolean"},"status":{"type":"string","enum":["draining","drained","terminating"],"x-readme-ref-name":"ComputeDrainProgressStatus"}},"x-readme-ref-name":"ComputeDrainProgress"}]},"groupId":{"type":"string"},"instanceType":{"type":["string","null"]},"maxMachines":{"type":["integer","null"],"format":"int32","minimum":0},"minMachines":{"type":["integer","null"],"format":"int32","minimum":0},"recommendation":{"oneOf":[{"type":"null"},{"type":"object","required":["desiredMachines"],"properties":{"desiredMachines":{"type":"integer","format":"int32","minimum":0},"reason":{"type":["string","null"]},"unschedulableReplicas":{"type":["integer","null"],"format":"int32","minimum":0},"utilization":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]}},"x-readme-ref-name":"ComputeCapacityRecommendation"}]}},"x-readme-ref-name":"ComputeCapacityGroupStatus"}},"cpu":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]},"memory":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]},"name":{"type":"string"},"nodes":{"type":"object","properties":{"current":{"type":["integer","null"],"format":"int32","minimum":0},"desired":{"type":["integer","null"],"format":"int32","minimum":0},"ready":{"type":["integer","null"],"format":"int32","minimum":0}},"x-readme-ref-name":"ObservedCounts"},"providerFleets":{"type":"array","items":{"type":"object","required":["groupId","providerId","currentMachines","desiredMachines"],"properties":{"currentMachines":{"type":"integer","format":"int32","minimum":0},"desiredMachines":{"type":"integer","format":"int32","minimum":0},"groupId":{"type":"string"},"location":{"type":["string","null"]},"providerId":{"type":"string"}},"x-readme-ref-name":"ProviderFleetStatus"}},"region":{"type":["string","null"]},"status":{"type":"object","required":["health","lifecycle","stale","partial","collectionIssues"],"properties":{"collectionIssues":{"type":"array","items":{"type":"object","required":["source","reason","severity","message"],"properties":{"message":{"type":"string"},"reason":{"type":"string","enum":["forbidden","not-installed","api-unavailable","collection-failed","timed-out"],"x-readme-ref-name":"HeartbeatCollectionIssueReason"},"severity":{"type":"string","enum":["info","warning","error"],"x-readme-ref-name":"HeartbeatIssueSeverity"},"source":{"type":"string"}},"x-readme-ref-name":"HeartbeatCollectionIssue"}},"health":{"type":"string","enum":["unknown","healthy","degraded","unhealthy"],"x-readme-ref-name":"ObservedHealth"},"lifecycle":{"type":"string","enum":["unknown","creating","updating","running","scaling","stopping","stopped","deleting","deleted","failed"],"x-readme-ref-name":"ProviderLifecycleState"},"message":{"type":["string","null"]},"partial":{"type":"boolean"},"stale":{"type":"boolean"}},"x-readme-ref-name":"ComputeClusterHeartbeatStatus"}},"x-readme-ref-name":"AwsComputeClusterHeartbeatData"}
@@ -1 +1 @@
1
- {"type":"object","required":["status","horizonClusterId","daemonName","horizonStatus","capacityGroup","desiredMachines","assignedMachines","healthyInstances","unavailableInstances","commandSupported","latestUpdateTimestamp","daemonInstances","events"],"properties":{"assignedMachines":{"type":"integer","format":"int32","minimum":0},"capacityGroup":{"type":"string"},"commandSupported":{"type":"boolean"},"daemonInstances":{"type":"array","items":{"type":"object","required":["replicaId","name","ready"],"properties":{"cpu":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]},"ip":{"type":["string","null"]},"machineId":{"type":["string","null"]},"memory":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]},"message":{"type":["string","null"]},"metricsHealthy":{"type":["boolean","null"]},"metricsLastUpdated":{"type":["string","null"]},"metricsStatus":{"type":["string","null"]},"name":{"type":"string"},"nodeName":{"type":["string","null"]},"phase":{"type":["string","null"]},"ready":{"type":"boolean"},"reason":{"type":["string","null"]},"replicaId":{"type":"string"},"restartCount":{"type":["integer","null"],"format":"int32","minimum":0},"status":{"type":["string","null"]},"terminatedReason":{"type":["string","null"]},"waitingReason":{"type":["string","null"]}},"x-readme-ref-name":"ManagedRuntimeUnitStatus"}},"daemonName":{"type":"string"},"desiredMachines":{"type":"integer","format":"int32","minimum":0},"events":{"type":"array","items":{"type":"object","required":["reason","message"],"properties":{"count":{"type":["integer","null"],"format":"int32"},"details":{"oneOf":[{"type":"null"},{"x-readme-ref-name":"Value"}]},"eventId":{"type":["string","null"]},"eventTime":{"type":["string","null"],"format":"date-time"},"firstTimestamp":{"type":["string","null"],"format":"date-time"},"involvedObject":{"oneOf":[{"type":"null"},{"type":"object","properties":{"details":{"oneOf":[{"type":"null"},{"x-readme-ref-name":"Value"}]},"id":{"type":["string","null"]},"kind":{"type":["string","null"]},"machineId":{"type":["string","null"]},"name":{"type":["string","null"]},"replicaId":{"type":["string","null"]}},"x-readme-ref-name":"ManagedRuntimeEventInvolvedObject"}]},"lastTimestamp":{"type":["string","null"],"format":"date-time"},"message":{"type":"string"},"raw":{"oneOf":[{"type":"null"},{"x-readme-ref-name":"Value"}]},"reason":{"type":"string"},"source":{"oneOf":[{"type":"null"},{"type":"object","properties":{"component":{"type":["string","null"]},"host":{"type":["string","null"]}},"x-readme-ref-name":"ManagedRuntimeEventSource"}]},"type":{"type":["string","null"]}},"x-readme-ref-name":"ManagedRuntimeEventSnapshot"}},"healthyInstances":{"type":"integer","format":"int32","minimum":0},"horizonClusterId":{"type":"string"},"horizonStatus":{"type":"string"},"horizonStatusMessage":{"type":["string","null"]},"horizonStatusReason":{"type":["string","null"]},"latestUpdateTimestamp":{"type":"string"},"status":{"type":"object","required":["health","lifecycle","stale","partial","collectionIssues"],"properties":{"collectionIssues":{"type":"array","items":{"type":"object","required":["source","reason","severity","message"],"properties":{"message":{"type":"string"},"reason":{"type":"string","enum":["forbidden","not-installed","api-unavailable","collection-failed","timed-out"],"x-readme-ref-name":"HeartbeatCollectionIssueReason"},"severity":{"type":"string","enum":["info","warning","error"],"x-readme-ref-name":"HeartbeatIssueSeverity"},"source":{"type":"string"}},"x-readme-ref-name":"HeartbeatCollectionIssue"}},"health":{"type":"string","enum":["unknown","healthy","degraded","unhealthy"],"x-readme-ref-name":"ObservedHealth"},"lifecycle":{"type":"string","enum":["unknown","creating","updating","running","scaling","stopping","stopped","deleting","deleted","failed"],"x-readme-ref-name":"ProviderLifecycleState"},"message":{"type":["string","null"]},"partial":{"type":"boolean"},"stale":{"type":"boolean"}},"x-readme-ref-name":"WorkloadHeartbeatStatus"},"unavailableInstances":{"type":"integer","format":"int32","minimum":0}},"x-readme-ref-name":"AwsDaemonHeartbeatData"}
1
+ {"type":"object","required":["status","horizonClusterId","horizonStatus","capacityGroup","desiredMachines","assignedMachines","healthyInstances","unavailableInstances","commandSupported","latestUpdateTimestamp","daemonInstances","events"],"properties":{"assignedMachines":{"type":"integer","format":"int32","minimum":0},"capacityGroup":{"type":"string"},"commandSupported":{"type":"boolean"},"daemonInstances":{"type":"array","items":{"type":"object","required":["replicaId","name","ready"],"properties":{"cpu":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]},"ip":{"type":["string","null"]},"machineId":{"type":["string","null"]},"memory":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]},"message":{"type":["string","null"]},"metricsHealthy":{"type":["boolean","null"]},"metricsLastUpdated":{"type":["string","null"]},"metricsStatus":{"type":["string","null"]},"name":{"type":"string"},"nodeName":{"type":["string","null"]},"phase":{"type":["string","null"]},"ready":{"type":"boolean"},"reason":{"type":["string","null"]},"replicaId":{"type":"string"},"restartCount":{"type":["integer","null"],"format":"int32","minimum":0},"status":{"type":["string","null"]},"terminatedReason":{"type":["string","null"]},"waitingReason":{"type":["string","null"]}},"x-readme-ref-name":"ManagedRuntimeUnitStatus"}},"daemonName":{"type":"string"},"desiredMachines":{"type":"integer","format":"int32","minimum":0},"events":{"type":"array","items":{"type":"object","required":["reason","message"],"properties":{"count":{"type":["integer","null"],"format":"int32"},"details":{"oneOf":[{"type":"null"},{"x-readme-ref-name":"Value"}]},"eventId":{"type":["string","null"]},"eventTime":{"type":["string","null"],"format":"date-time"},"firstTimestamp":{"type":["string","null"],"format":"date-time"},"involvedObject":{"oneOf":[{"type":"null"},{"type":"object","properties":{"details":{"oneOf":[{"type":"null"},{"x-readme-ref-name":"Value"}]},"id":{"type":["string","null"]},"kind":{"type":["string","null"]},"machineId":{"type":["string","null"]},"name":{"type":["string","null"]},"replicaId":{"type":["string","null"]}},"x-readme-ref-name":"ManagedRuntimeEventInvolvedObject"}]},"lastTimestamp":{"type":["string","null"],"format":"date-time"},"message":{"type":"string"},"raw":{"oneOf":[{"type":"null"},{"x-readme-ref-name":"Value"}]},"reason":{"type":"string"},"source":{"oneOf":[{"type":"null"},{"type":"object","properties":{"component":{"type":["string","null"]},"host":{"type":["string","null"]}},"x-readme-ref-name":"ManagedRuntimeEventSource"}]},"type":{"type":["string","null"]}},"x-readme-ref-name":"ManagedRuntimeEventSnapshot"}},"healthyInstances":{"type":"integer","format":"int32","minimum":0},"horizonClusterId":{"type":"string"},"horizonStatus":{"type":"string"},"horizonStatusMessage":{"type":["string","null"]},"horizonStatusReason":{"type":["string","null"]},"latestUpdateTimestamp":{"type":"string"},"status":{"type":"object","required":["health","lifecycle","stale","partial","collectionIssues"],"properties":{"collectionIssues":{"type":"array","items":{"type":"object","required":["source","reason","severity","message"],"properties":{"message":{"type":"string"},"reason":{"type":"string","enum":["forbidden","not-installed","api-unavailable","collection-failed","timed-out"],"x-readme-ref-name":"HeartbeatCollectionIssueReason"},"severity":{"type":"string","enum":["info","warning","error"],"x-readme-ref-name":"HeartbeatIssueSeverity"},"source":{"type":"string"}},"x-readme-ref-name":"HeartbeatCollectionIssue"}},"health":{"type":"string","enum":["unknown","healthy","degraded","unhealthy"],"x-readme-ref-name":"ObservedHealth"},"lifecycle":{"type":"string","enum":["unknown","creating","updating","running","scaling","stopping","stopped","deleting","deleted","failed"],"x-readme-ref-name":"ProviderLifecycleState"},"message":{"type":["string","null"]},"partial":{"type":"boolean"},"stale":{"type":"boolean"}},"x-readme-ref-name":"WorkloadHeartbeatStatus"},"unavailableInstances":{"type":"integer","format":"int32","minimum":0}},"x-readme-ref-name":"AwsDaemonHeartbeatData"}
@@ -0,0 +1 @@
1
+ {"type":"object","description":"AWS Postgres (Aurora Serverless v2) registration data: the handles by which a\nsetup-created Aurora cluster is registered as a Frozen Postgres resource. Setup owns\nthe cluster, Alien refreshes and heartbeats it. Carries the master password's Secrets\nManager ARN, never the password.","required":["clusterIdentifier","instanceIdentifier","subnetGroupName","securityGroupId","passwordSecretArn","clusterEndpoint","database","username","engineVersion"],"properties":{"clusterEndpoint":{"type":"string","description":"Cluster writer endpoint (the binding host)."},"clusterIdentifier":{"type":"string","description":"Aurora DB cluster identifier."},"database":{"type":"string","description":"Default database name."},"engineVersion":{"type":"string","description":"Engine version the cluster reports."},"instanceIdentifier":{"type":"string","description":"Writer instance identifier within the cluster."},"passwordSecretArn":{"type":"string","description":"Secrets Manager ARN of the master password (never the password itself)."},"securityGroupId":{"type":"string","description":"Dedicated security group admitting 5432 from the stack security group."},"subnetGroupName":{"type":"string","description":"DB subnet group spanning the private subnets."},"username":{"type":"string","description":"Master username."}},"x-readme-ref-name":"AwsPostgresImportData"}
@@ -1 +1 @@
1
- {"type":"object","required":["status","nodes","name","capacityGroups","providerFleets"],"properties":{"backendClusterId":{"type":["string","null"]},"capacityGroups":{"type":"array","items":{"type":"object","required":["groupId","currentMachines","desiredMachines"],"properties":{"capacityBlocker":{"oneOf":[{"type":"null"},{"type":"object","required":["category","message","observedAt"],"properties":{"category":{"type":"string","enum":["quota","capacity","allocation","other"],"x-readme-ref-name":"ComputeCapacityBlockerCategory"},"message":{"type":"string"},"observedAt":{"type":"string","format":"date-time"},"providerCode":{"type":["string","null"]},"providerReference":{"type":["string","null"]}},"x-readme-ref-name":"ComputeCapacityBlocker"}]},"currentMachines":{"type":"integer","format":"int32","minimum":0},"desiredMachines":{"type":"integer","format":"int32","minimum":0},"groupId":{"type":"string"},"instanceType":{"type":["string","null"]},"maxMachines":{"type":["integer","null"],"format":"int32","minimum":0},"minMachines":{"type":["integer","null"],"format":"int32","minimum":0},"recommendation":{"oneOf":[{"type":"null"},{"type":"object","required":["desiredMachines"],"properties":{"desiredMachines":{"type":"integer","format":"int32","minimum":0},"reason":{"type":["string","null"]},"unschedulableReplicas":{"type":["integer","null"],"format":"int32","minimum":0},"utilization":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]}},"x-readme-ref-name":"ComputeCapacityRecommendation"}]}},"x-readme-ref-name":"ComputeCapacityGroupStatus"}},"cpu":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]},"memory":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]},"name":{"type":"string"},"nodes":{"type":"object","properties":{"current":{"type":["integer","null"],"format":"int32","minimum":0},"desired":{"type":["integer","null"],"format":"int32","minimum":0},"ready":{"type":["integer","null"],"format":"int32","minimum":0}},"x-readme-ref-name":"ObservedCounts"},"providerFleets":{"type":"array","items":{"type":"object","required":["groupId","providerId","currentMachines","desiredMachines"],"properties":{"currentMachines":{"type":"integer","format":"int32","minimum":0},"desiredMachines":{"type":"integer","format":"int32","minimum":0},"groupId":{"type":"string"},"location":{"type":["string","null"]},"providerId":{"type":"string"}},"x-readme-ref-name":"ProviderFleetStatus"}},"region":{"type":["string","null"]},"status":{"type":"object","required":["health","lifecycle","stale","partial","collectionIssues"],"properties":{"collectionIssues":{"type":"array","items":{"type":"object","required":["source","reason","severity","message"],"properties":{"message":{"type":"string"},"reason":{"type":"string","enum":["forbidden","not-installed","api-unavailable","collection-failed","timed-out"],"x-readme-ref-name":"HeartbeatCollectionIssueReason"},"severity":{"type":"string","enum":["info","warning","error"],"x-readme-ref-name":"HeartbeatIssueSeverity"},"source":{"type":"string"}},"x-readme-ref-name":"HeartbeatCollectionIssue"}},"health":{"type":"string","enum":["unknown","healthy","degraded","unhealthy"],"x-readme-ref-name":"ObservedHealth"},"lifecycle":{"type":"string","enum":["unknown","creating","updating","running","scaling","stopping","stopped","deleting","deleted","failed"],"x-readme-ref-name":"ProviderLifecycleState"},"message":{"type":["string","null"]},"partial":{"type":"boolean"},"stale":{"type":"boolean"}},"x-readme-ref-name":"ComputeClusterHeartbeatStatus"}},"x-readme-ref-name":"AzureComputeClusterHeartbeatData"}
1
+ {"type":"object","required":["status","nodes","name","capacityGroups","providerFleets"],"properties":{"backendClusterId":{"type":["string","null"]},"capacityGroups":{"type":"array","items":{"type":"object","required":["groupId","currentMachines","desiredMachines"],"properties":{"capacityBlocker":{"oneOf":[{"type":"null"},{"type":"object","required":["category","message","observedAt"],"properties":{"category":{"type":"string","enum":["quota","capacity","allocation","other"],"x-readme-ref-name":"ComputeCapacityBlockerCategory"},"message":{"type":"string"},"observedAt":{"type":"string","format":"date-time"},"providerCode":{"type":["string","null"]},"providerReference":{"type":["string","null"]}},"x-readme-ref-name":"ComputeCapacityBlocker"}]},"currentMachines":{"type":"integer","format":"int32","minimum":0},"desiredMachines":{"type":"integer","format":"int32","minimum":0},"drainProgress":{"oneOf":[{"type":"null"},{"type":"object","required":["machineId","status","replicaCount","force","stalled"],"properties":{"blockers":{"type":"array","items":{"type":"object","required":["workloadName","replicaId","schedulingMode","state","reason"],"properties":{"reason":{"type":"string"},"replicaId":{"type":"string"},"schedulingMode":{"type":"string"},"state":{"type":"string"},"workloadName":{"type":"string"}},"x-readme-ref-name":"ComputeDrainBlocker"}},"drainDeadlineAt":{"type":["string","null"]},"drainRequestedAt":{"type":["string","null"]},"drainedAt":{"type":["string","null"]},"force":{"type":"boolean"},"machineId":{"type":"string"},"replicaCount":{"type":"integer","format":"int64"},"stalled":{"type":"boolean"},"status":{"type":"string","enum":["draining","drained","terminating"],"x-readme-ref-name":"ComputeDrainProgressStatus"}},"x-readme-ref-name":"ComputeDrainProgress"}]},"groupId":{"type":"string"},"instanceType":{"type":["string","null"]},"maxMachines":{"type":["integer","null"],"format":"int32","minimum":0},"minMachines":{"type":["integer","null"],"format":"int32","minimum":0},"recommendation":{"oneOf":[{"type":"null"},{"type":"object","required":["desiredMachines"],"properties":{"desiredMachines":{"type":"integer","format":"int32","minimum":0},"reason":{"type":["string","null"]},"unschedulableReplicas":{"type":["integer","null"],"format":"int32","minimum":0},"utilization":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]}},"x-readme-ref-name":"ComputeCapacityRecommendation"}]}},"x-readme-ref-name":"ComputeCapacityGroupStatus"}},"cpu":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]},"memory":{"oneOf":[{"type":"null"},{"type":"object","required":["value","unit"],"properties":{"unit":{"type":"string","enum":["count","percent","bytes","cores","milliseconds","requests-per-second"],"x-readme-ref-name":"MetricUnit"},"value":{"type":"number","format":"double"}},"x-readme-ref-name":"MetricSample"}]},"name":{"type":"string"},"nodes":{"type":"object","properties":{"current":{"type":["integer","null"],"format":"int32","minimum":0},"desired":{"type":["integer","null"],"format":"int32","minimum":0},"ready":{"type":["integer","null"],"format":"int32","minimum":0}},"x-readme-ref-name":"ObservedCounts"},"providerFleets":{"type":"array","items":{"type":"object","required":["groupId","providerId","currentMachines","desiredMachines"],"properties":{"currentMachines":{"type":"integer","format":"int32","minimum":0},"desiredMachines":{"type":"integer","format":"int32","minimum":0},"groupId":{"type":"string"},"location":{"type":["string","null"]},"providerId":{"type":"string"}},"x-readme-ref-name":"ProviderFleetStatus"}},"region":{"type":["string","null"]},"status":{"type":"object","required":["health","lifecycle","stale","partial","collectionIssues"],"properties":{"collectionIssues":{"type":"array","items":{"type":"object","required":["source","reason","severity","message"],"properties":{"message":{"type":"string"},"reason":{"type":"string","enum":["forbidden","not-installed","api-unavailable","collection-failed","timed-out"],"x-readme-ref-name":"HeartbeatCollectionIssueReason"},"severity":{"type":"string","enum":["info","warning","error"],"x-readme-ref-name":"HeartbeatIssueSeverity"},"source":{"type":"string"}},"x-readme-ref-name":"HeartbeatCollectionIssue"}},"health":{"type":"string","enum":["unknown","healthy","degraded","unhealthy"],"x-readme-ref-name":"ObservedHealth"},"lifecycle":{"type":"string","enum":["unknown","creating","updating","running","scaling","stopping","stopped","deleting","deleted","failed"],"x-readme-ref-name":"ProviderLifecycleState"},"message":{"type":["string","null"]},"partial":{"type":"boolean"},"stale":{"type":"boolean"}},"x-readme-ref-name":"ComputeClusterHeartbeatStatus"}},"x-readme-ref-name":"AzureComputeClusterHeartbeatData"}