import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; /** * Backend whose observer produced this snapshot. */ export declare const ObservedInventoryBatchBackend: { readonly Aws: "aws"; readonly Gcp: "gcp"; readonly Azure: "azure"; readonly Kubernetes: "kubernetes"; readonly Local: "local"; readonly Managed: "managed"; readonly External: "external"; readonly Test: "test"; }; /** * Backend whose observer produced this snapshot. */ export type ObservedInventoryBatchBackend = ClosedEnum; /** * Represents the target cloud platform. */ export declare const ObservedInventoryBatchControllerPlatform: { readonly Aws: "aws"; readonly Gcp: "gcp"; readonly Azure: "azure"; readonly Kubernetes: "kubernetes"; readonly Machines: "machines"; readonly Local: "local"; readonly Test: "test"; }; /** * Represents the target cloud platform. */ export type ObservedInventoryBatchControllerPlatform = ClosedEnum; export declare const ObservedInventoryBatchReason: { readonly Forbidden: "forbidden"; readonly NotInstalled: "not-installed"; readonly ApiUnavailable: "api-unavailable"; readonly CollectionFailed: "collection-failed"; readonly TimedOut: "timed-out"; }; export type ObservedInventoryBatchReason = ClosedEnum; export declare const ObservedInventoryBatchSeverity: { readonly Info: "info"; readonly Warning: "warning"; readonly Error: "error"; }; export type ObservedInventoryBatchSeverity = ClosedEnum; export type ObservedInventoryBatchCollectionIssue = { message: string; reason: ObservedInventoryBatchReason; severity: ObservedInventoryBatchSeverity; source: string; }; export type Counts = { current?: number | null | undefined; desired?: number | null | undefined; ready?: number | null | undefined; }; export type CountsUnion = Counts | any; export declare const ObservedInventoryBatchHealth: { readonly Unknown: "unknown"; readonly Healthy: "healthy"; readonly Degraded: "degraded"; readonly Unhealthy: "unhealthy"; }; export type ObservedInventoryBatchHealth = ClosedEnum; export declare const ObservedInventoryBatchLifecycle: { readonly Unknown: "unknown"; readonly Creating: "creating"; readonly Updating: "updating"; readonly Running: "running"; readonly Scaling: "scaling"; readonly Stopping: "stopping"; readonly Stopped: "stopped"; readonly Deleting: "deleting"; readonly Deleted: "deleted"; readonly Failed: "failed"; }; export type ObservedInventoryBatchLifecycle = ClosedEnum; export declare const ObservedInventoryBatchFormat: { readonly Json: "json"; readonly Yaml: "yaml"; readonly Text: "text"; }; export type ObservedInventoryBatchFormat = ClosedEnum; export type ObservedInventoryBatchRaw = { body: string; collectedAt: Date; format: ObservedInventoryBatchFormat; source: string; truncated: boolean; }; export type ResourceTypeHint = string | any; export type ObservedInventoryBatchResource = { alienResourceId?: string | null | undefined; attributes?: { [k: string]: any | null; } | undefined; collectionIssues?: Array | undefined; counts?: Counts | any | null | undefined; deploymentId?: string | null | undefined; displayName: string; health: ObservedInventoryBatchHealth; labels?: { [k: string]: string; } | undefined; lifecycle: ObservedInventoryBatchLifecycle; message?: string | null | undefined; namespace?: string | null | undefined; partial: boolean; /** * Provider-native kind, such as `apps/v1/Deployment`, * * @remarks * `AWS::S3::Bucket`, `storage.googleapis.com/Bucket`, or an Azure * resource type. */ providerKind: string; providerStale: boolean; raw?: Array | undefined; /** * Provider-native stable identity: Kubernetes object identity, cloud ARN, * * @remarks * GCP full resource name, Azure resource id, etc. */ rawIdentity: string; region?: string | null | undefined; resourceTypeHint?: string | any | null | undefined; scope?: string | null | undefined; /** * Release/version identity observed from the provider resource, when available. */ version?: string | null | undefined; }; export type ObservedInventoryBatch = { /** * Backend whose observer produced this snapshot. */ backend: ObservedInventoryBatchBackend; /** * Whether this batch is a complete replacement for the scope. Complete * * @remarks * batches tombstone previously observed rows in the same scope when they * are absent from `resources`. */ complete: boolean; /** * Represents the target cloud platform. */ controllerPlatform: ObservedInventoryBatchControllerPlatform; /** * Stable scope for the provider list operation that produced this batch. */ inventoryScope: string; /** * Time the inventory scope was observed. */ observedAt: Date; resources: Array; /** * Writer/source for this inventory pass, such as `operator` or * * @remarks * `manager-observer`. */ sourceKind: string; }; /** @internal */ export declare const ObservedInventoryBatchBackend$outboundSchema: z.ZodEnum; /** @internal */ export declare const ObservedInventoryBatchControllerPlatform$outboundSchema: z.ZodEnum; /** @internal */ export declare const ObservedInventoryBatchReason$outboundSchema: z.ZodEnum; /** @internal */ export declare const ObservedInventoryBatchSeverity$outboundSchema: z.ZodEnum; /** @internal */ export type ObservedInventoryBatchCollectionIssue$Outbound = { message: string; reason: string; severity: string; source: string; }; /** @internal */ export declare const ObservedInventoryBatchCollectionIssue$outboundSchema: z.ZodType; export declare function observedInventoryBatchCollectionIssueToJSON(observedInventoryBatchCollectionIssue: ObservedInventoryBatchCollectionIssue): string; /** @internal */ export type Counts$Outbound = { current?: number | null | undefined; desired?: number | null | undefined; ready?: number | null | undefined; }; /** @internal */ export declare const Counts$outboundSchema: z.ZodType; export declare function countsToJSON(counts: Counts): string; /** @internal */ export type CountsUnion$Outbound = Counts$Outbound | any; /** @internal */ export declare const CountsUnion$outboundSchema: z.ZodType; export declare function countsUnionToJSON(countsUnion: CountsUnion): string; /** @internal */ export declare const ObservedInventoryBatchHealth$outboundSchema: z.ZodEnum; /** @internal */ export declare const ObservedInventoryBatchLifecycle$outboundSchema: z.ZodEnum; /** @internal */ export declare const ObservedInventoryBatchFormat$outboundSchema: z.ZodEnum; /** @internal */ export type ObservedInventoryBatchRaw$Outbound = { body: string; collectedAt: string; format: string; source: string; truncated: boolean; }; /** @internal */ export declare const ObservedInventoryBatchRaw$outboundSchema: z.ZodType; export declare function observedInventoryBatchRawToJSON(observedInventoryBatchRaw: ObservedInventoryBatchRaw): string; /** @internal */ export type ResourceTypeHint$Outbound = string | any; /** @internal */ export declare const ResourceTypeHint$outboundSchema: z.ZodType; export declare function resourceTypeHintToJSON(resourceTypeHint: ResourceTypeHint): string; /** @internal */ export type ObservedInventoryBatchResource$Outbound = { alienResourceId?: string | null | undefined; attributes?: { [k: string]: any | null; } | undefined; collectionIssues?: Array | undefined; counts?: Counts$Outbound | any | null | undefined; deploymentId?: string | null | undefined; displayName: string; health: string; labels?: { [k: string]: string; } | undefined; lifecycle: string; message?: string | null | undefined; namespace?: string | null | undefined; partial: boolean; providerKind: string; providerStale: boolean; raw?: Array | undefined; rawIdentity: string; region?: string | null | undefined; resourceTypeHint?: string | any | null | undefined; scope?: string | null | undefined; version?: string | null | undefined; }; /** @internal */ export declare const ObservedInventoryBatchResource$outboundSchema: z.ZodType; export declare function observedInventoryBatchResourceToJSON(observedInventoryBatchResource: ObservedInventoryBatchResource): string; /** @internal */ export type ObservedInventoryBatch$Outbound = { backend: string; complete: boolean; controllerPlatform: string; inventoryScope: string; observedAt: string; resources: Array; sourceKind: string; }; /** @internal */ export declare const ObservedInventoryBatch$outboundSchema: z.ZodType; export declare function observedInventoryBatchToJSON(observedInventoryBatch: ObservedInventoryBatch): string; //# sourceMappingURL=observedinventorybatch.d.ts.map