import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::ECS::Image */ export declare function getImage(args: GetImageArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getImage. */ export interface GetImageArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getImage. */ export interface GetImageResult { /** * Image architecture type. Options: amd64 (x86 compute), arm64 (ARM compute). */ readonly architecture: string; /** * Image boot mode. You can select BIOS or UEFI */ readonly bootMode: string; /** * Whether to create a full instance image. Values: false: Default, do not create a full instance image. true: Create a full instance image. */ readonly createWholeImage: boolean; /** * Image creation time */ readonly createdAt: string; /** * Image description. Must start with a letter or Chinese character. Can contain Chinese characters, letters, numbers, underscores "_", hyphens "-", equals signs "=", English commas ",", English periods ".", Chinese commas ",", Chinese periods "。", and spaces. Length: 0–255 characters. If left blank, defaults to empty. */ readonly description: string; /** * Image check result. */ readonly detectionResults: outputs.ecs.GetImageDetectionResults; /** * Uniquely identifies the resource. */ readonly id: string; /** * Image ID */ readonly imageId: string; /** * Image name. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscores "_", hyphens "-", and periods ".". Length: 1–128 characters */ readonly imageName: string; /** * Account ID to which the image belongs. */ readonly imageOwnerId: string; /** * Imported image information */ readonly importImage: outputs.ecs.GetImageImportImage; /** * Instance ID. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId. */ readonly instanceId: string; /** * Whether Cloud Assistant Agent is installed in the image */ readonly isInstallRunCommandAgent: boolean; /** * Whether the public image is maintained long-term. */ readonly isLts: boolean; /** * Whether the image supports Cloud-init. */ readonly isSupportCloudInit: boolean; /** * Image kernel version. */ readonly kernel: string; /** * Image license type. VolcanoEngine: Default, uses the official license based on your platform setting. BYOL: Bring Your Own License (BYOL) */ readonly licenseType: string; /** * Whether to perform image check. Values: true: Default, check enabled. false: Check disabled. */ readonly needDetection: boolean; /** * Name of the image operating system. */ readonly osName: string; /** * Operating system type */ readonly osType: string; /** * Release version of the image operating system. Options: CentOS, Debian, veLinux, Windows Server, Fedora, OpenSUSE, Ubuntu. */ readonly platform: string; /** * Image release version. */ readonly platformVersion: string; /** * Product code for marketplace image */ readonly productCode: string; /** * Project to which the resource belongs. If the API caller account only has permissions for certain projects, you must provide a project with the required permissions */ readonly projectName: string; /** * Accounts with which the image is shared */ readonly sharePermissions: string[]; /** * Image sharing status. HasShared: The custom image has been shared with other users. If the custom image is not shared or a public image is used, ShareStatus returns empty. */ readonly shareStatus: string; /** * Image size, in GiB. */ readonly size: number; /** * Snapshot consistency group ID, used to create a custom image from a snapshot consistency group. One of Snapshot consistency group ID, SnapshotId, or InstanceId must be provided */ readonly snapshotGroupId: string; /** * System disk snapshot ID, used to create a custom image from a system disk snapshot. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId. */ readonly snapshotId: string; /** * Information about snapshots associated with the image. */ readonly snapshots: outputs.ecs.GetImageSnapshot[]; /** * Image status. */ readonly status: string; /** * List of tags bound to the image. */ readonly tags: outputs.ecs.GetImageTag[]; /** * Image update time */ readonly updatedAt: string; /** * Image size, in Bytes. */ readonly virtualSize: number; /** * Image visibility. public: Public image. private: Private image. shared: Shared image. */ readonly visibility: string; } /** * Data Source schema for Volcengine::ECS::Image */ export declare function getImageOutput(args: GetImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getImage. */ export interface GetImageOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }