1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. ecs
  6. Image
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    An image is a special file containing the basic operating system and application data required for a cloud server instance. You must select an image when creating an instance.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const imageDemo = new volcenginecc.ecs.Image("ImageDemo", {
        description: "ImageDemo Example",
        imageName: "image-demo",
        instanceId: "i-ydzhj1el8gr9cxxdnxxxx",
        projectName: "default",
        sharePermissions: ["2000000***"],
        tags: [{
            key: "env",
            value: "test",
        }],
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    image_demo = volcenginecc.ecs.Image("ImageDemo",
        description="ImageDemo Example",
        image_name="image-demo",
        instance_id="i-ydzhj1el8gr9cxxdnxxxx",
        project_name="default",
        share_permissions=["2000000***"],
        tags=[{
            "key": "env",
            "value": "test",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/ecs"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ecs.NewImage(ctx, "ImageDemo", &ecs.ImageArgs{
    			Description: pulumi.String("ImageDemo Example"),
    			ImageName:   pulumi.String("image-demo"),
    			InstanceId:  pulumi.String("i-ydzhj1el8gr9cxxdnxxxx"),
    			ProjectName: pulumi.String("default"),
    			SharePermissions: pulumi.StringArray{
    				pulumi.String("2000000***"),
    			},
    			Tags: ecs.ImageTagArray{
    				&ecs.ImageTagArgs{
    					Key:   pulumi.String("env"),
    					Value: pulumi.String("test"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var imageDemo = new Volcenginecc.Ecs.Image("ImageDemo", new()
        {
            Description = "ImageDemo Example",
            ImageName = "image-demo",
            InstanceId = "i-ydzhj1el8gr9cxxdnxxxx",
            ProjectName = "default",
            SharePermissions = new[]
            {
                "2000000***",
            },
            Tags = new[]
            {
                new Volcenginecc.Ecs.Inputs.ImageTagArgs
                {
                    Key = "env",
                    Value = "test",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.ecs.Image;
    import com.volcengine.volcenginecc.ecs.ImageArgs;
    import com.pulumi.volcenginecc.ecs.inputs.ImageTagArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var imageDemo = new Image("imageDemo", ImageArgs.builder()
                .description("ImageDemo Example")
                .imageName("image-demo")
                .instanceId("i-ydzhj1el8gr9cxxdnxxxx")
                .projectName("default")
                .sharePermissions("2000000***")
                .tags(ImageTagArgs.builder()
                    .key("env")
                    .value("test")
                    .build())
                .build());
    
        }
    }
    
    resources:
      imageDemo:
        type: volcenginecc:ecs:Image
        name: ImageDemo
        properties:
          description: ImageDemo Example
          imageName: image-demo
          instanceId: i-ydzhj1el8gr9cxxdnxxxx
          projectName: default
          sharePermissions:
            - 2000000***
          tags:
            - key: env
              value: test
    

    Create Image Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Image(name: string, args: ImageArgs, opts?: CustomResourceOptions);
    @overload
    def Image(resource_name: str,
              args: ImageArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Image(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              image_name: Optional[str] = None,
              need_detection: Optional[bool] = None,
              platform: Optional[str] = None,
              description: Optional[str] = None,
              boot_mode: Optional[str] = None,
              import_image: Optional[ImageImportImageArgs] = None,
              instance_id: Optional[str] = None,
              create_whole_image: Optional[bool] = None,
              license_type: Optional[str] = None,
              os_type: Optional[str] = None,
              architecture: Optional[str] = None,
              platform_version: Optional[str] = None,
              project_name: Optional[str] = None,
              share_permissions: Optional[Sequence[str]] = None,
              snapshot_group_id: Optional[str] = None,
              snapshot_id: Optional[str] = None,
              tags: Optional[Sequence[ImageTagArgs]] = None)
    func NewImage(ctx *Context, name string, args ImageArgs, opts ...ResourceOption) (*Image, error)
    public Image(string name, ImageArgs args, CustomResourceOptions? opts = null)
    public Image(String name, ImageArgs args)
    public Image(String name, ImageArgs args, CustomResourceOptions options)
    
    type: volcenginecc:ecs:Image
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ImageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ImageArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ImageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ImageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ImageArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var imageResource = new Volcenginecc.Ecs.Image("imageResource", new()
    {
        ImageName = "string",
        NeedDetection = false,
        Platform = "string",
        Description = "string",
        BootMode = "string",
        ImportImage = new Volcenginecc.Ecs.Inputs.ImageImportImageArgs
        {
            ImportDataVolumes = new[]
            {
                "string",
            },
            Url = "string",
        },
        InstanceId = "string",
        CreateWholeImage = false,
        LicenseType = "string",
        OsType = "string",
        Architecture = "string",
        PlatformVersion = "string",
        ProjectName = "string",
        SharePermissions = new[]
        {
            "string",
        },
        SnapshotGroupId = "string",
        SnapshotId = "string",
        Tags = new[]
        {
            new Volcenginecc.Ecs.Inputs.ImageTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := ecs.NewImage(ctx, "imageResource", &ecs.ImageArgs{
    	ImageName:     pulumi.String("string"),
    	NeedDetection: pulumi.Bool(false),
    	Platform:      pulumi.String("string"),
    	Description:   pulumi.String("string"),
    	BootMode:      pulumi.String("string"),
    	ImportImage: &ecs.ImageImportImageArgs{
    		ImportDataVolumes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Url: pulumi.String("string"),
    	},
    	InstanceId:       pulumi.String("string"),
    	CreateWholeImage: pulumi.Bool(false),
    	LicenseType:      pulumi.String("string"),
    	OsType:           pulumi.String("string"),
    	Architecture:     pulumi.String("string"),
    	PlatformVersion:  pulumi.String("string"),
    	ProjectName:      pulumi.String("string"),
    	SharePermissions: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SnapshotGroupId: pulumi.String("string"),
    	SnapshotId:      pulumi.String("string"),
    	Tags: ecs.ImageTagArray{
    		&ecs.ImageTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var imageResource = new Image("imageResource", ImageArgs.builder()
        .imageName("string")
        .needDetection(false)
        .platform("string")
        .description("string")
        .bootMode("string")
        .importImage(ImageImportImageArgs.builder()
            .importDataVolumes("string")
            .url("string")
            .build())
        .instanceId("string")
        .createWholeImage(false)
        .licenseType("string")
        .osType("string")
        .architecture("string")
        .platformVersion("string")
        .projectName("string")
        .sharePermissions("string")
        .snapshotGroupId("string")
        .snapshotId("string")
        .tags(ImageTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    image_resource = volcenginecc.ecs.Image("imageResource",
        image_name="string",
        need_detection=False,
        platform="string",
        description="string",
        boot_mode="string",
        import_image={
            "import_data_volumes": ["string"],
            "url": "string",
        },
        instance_id="string",
        create_whole_image=False,
        license_type="string",
        os_type="string",
        architecture="string",
        platform_version="string",
        project_name="string",
        share_permissions=["string"],
        snapshot_group_id="string",
        snapshot_id="string",
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const imageResource = new volcenginecc.ecs.Image("imageResource", {
        imageName: "string",
        needDetection: false,
        platform: "string",
        description: "string",
        bootMode: "string",
        importImage: {
            importDataVolumes: ["string"],
            url: "string",
        },
        instanceId: "string",
        createWholeImage: false,
        licenseType: "string",
        osType: "string",
        architecture: "string",
        platformVersion: "string",
        projectName: "string",
        sharePermissions: ["string"],
        snapshotGroupId: "string",
        snapshotId: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: volcenginecc:ecs:Image
    properties:
        architecture: string
        bootMode: string
        createWholeImage: false
        description: string
        imageName: string
        importImage:
            importDataVolumes:
                - string
            url: string
        instanceId: string
        licenseType: string
        needDetection: false
        osType: string
        platform: string
        platformVersion: string
        projectName: string
        sharePermissions:
            - string
        snapshotGroupId: string
        snapshotId: string
        tags:
            - key: string
              value: string
    

    Image Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Image resource accepts the following input properties:

    ImageName 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
    Architecture string
    Image architecture type. Options: amd64 (x86 compute), arm64 (ARM compute).
    BootMode string
    Image boot mode. You can select BIOS or UEFI
    CreateWholeImage bool
    Whether to create a full instance image. Values: false: Default, do not create a full instance image. true: Create a full instance image.
    Description 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.
    ImportImage Volcengine.ImageImportImage
    Imported image information
    InstanceId string
    Instance ID. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    LicenseType string
    Image license type. VolcanoEngine: Default, uses the official license based on your platform setting. BYOL: Bring Your Own License (BYOL)
    NeedDetection bool
    Whether to perform image check. Values: true: Default, check enabled. false: Check disabled.
    OsType string
    Operating system type
    Platform string
    Release version of the image operating system. Options: CentOS, Debian, veLinux, Windows Server, Fedora, OpenSUSE, Ubuntu.
    PlatformVersion string
    Image release version.
    ProjectName 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
    SharePermissions List<string>
    Accounts with which the image is shared
    SnapshotGroupId string
    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
    SnapshotId 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.
    Tags List<Volcengine.ImageTag>
    ImageName 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
    Architecture string
    Image architecture type. Options: amd64 (x86 compute), arm64 (ARM compute).
    BootMode string
    Image boot mode. You can select BIOS or UEFI
    CreateWholeImage bool
    Whether to create a full instance image. Values: false: Default, do not create a full instance image. true: Create a full instance image.
    Description 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.
    ImportImage ImageImportImageArgs
    Imported image information
    InstanceId string
    Instance ID. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    LicenseType string
    Image license type. VolcanoEngine: Default, uses the official license based on your platform setting. BYOL: Bring Your Own License (BYOL)
    NeedDetection bool
    Whether to perform image check. Values: true: Default, check enabled. false: Check disabled.
    OsType string
    Operating system type
    Platform string
    Release version of the image operating system. Options: CentOS, Debian, veLinux, Windows Server, Fedora, OpenSUSE, Ubuntu.
    PlatformVersion string
    Image release version.
    ProjectName 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
    SharePermissions []string
    Accounts with which the image is shared
    SnapshotGroupId string
    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
    SnapshotId 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.
    Tags []ImageTagArgs
    imageName 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
    architecture String
    Image architecture type. Options: amd64 (x86 compute), arm64 (ARM compute).
    bootMode String
    Image boot mode. You can select BIOS or UEFI
    createWholeImage Boolean
    Whether to create a full instance image. Values: false: Default, do not create a full instance image. true: Create a full instance image.
    description 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.
    importImage ImageImportImage
    Imported image information
    instanceId String
    Instance ID. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    licenseType String
    Image license type. VolcanoEngine: Default, uses the official license based on your platform setting. BYOL: Bring Your Own License (BYOL)
    needDetection Boolean
    Whether to perform image check. Values: true: Default, check enabled. false: Check disabled.
    osType String
    Operating system type
    platform String
    Release version of the image operating system. Options: CentOS, Debian, veLinux, Windows Server, Fedora, OpenSUSE, Ubuntu.
    platformVersion String
    Image release version.
    projectName 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
    sharePermissions List<String>
    Accounts with which the image is shared
    snapshotGroupId String
    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
    snapshotId 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.
    tags List<ImageTag>
    imageName 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
    architecture string
    Image architecture type. Options: amd64 (x86 compute), arm64 (ARM compute).
    bootMode string
    Image boot mode. You can select BIOS or UEFI
    createWholeImage boolean
    Whether to create a full instance image. Values: false: Default, do not create a full instance image. true: Create a full instance image.
    description 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.
    importImage ImageImportImage
    Imported image information
    instanceId string
    Instance ID. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    licenseType string
    Image license type. VolcanoEngine: Default, uses the official license based on your platform setting. BYOL: Bring Your Own License (BYOL)
    needDetection boolean
    Whether to perform image check. Values: true: Default, check enabled. false: Check disabled.
    osType string
    Operating system type
    platform string
    Release version of the image operating system. Options: CentOS, Debian, veLinux, Windows Server, Fedora, OpenSUSE, Ubuntu.
    platformVersion string
    Image release version.
    projectName 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
    sharePermissions string[]
    Accounts with which the image is shared
    snapshotGroupId string
    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
    snapshotId 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.
    tags ImageTag[]
    image_name str
    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
    architecture str
    Image architecture type. Options: amd64 (x86 compute), arm64 (ARM compute).
    boot_mode str
    Image boot mode. You can select BIOS or UEFI
    create_whole_image bool
    Whether to create a full instance image. Values: false: Default, do not create a full instance image. true: Create a full instance image.
    description str
    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.
    import_image ImageImportImageArgs
    Imported image information
    instance_id str
    Instance ID. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    license_type str
    Image license type. VolcanoEngine: Default, uses the official license based on your platform setting. BYOL: Bring Your Own License (BYOL)
    need_detection bool
    Whether to perform image check. Values: true: Default, check enabled. false: Check disabled.
    os_type str
    Operating system type
    platform str
    Release version of the image operating system. Options: CentOS, Debian, veLinux, Windows Server, Fedora, OpenSUSE, Ubuntu.
    platform_version str
    Image release version.
    project_name str
    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
    share_permissions Sequence[str]
    Accounts with which the image is shared
    snapshot_group_id str
    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
    snapshot_id str
    System disk snapshot ID, used to create a custom image from a system disk snapshot. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    tags Sequence[ImageTagArgs]
    imageName 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
    architecture String
    Image architecture type. Options: amd64 (x86 compute), arm64 (ARM compute).
    bootMode String
    Image boot mode. You can select BIOS or UEFI
    createWholeImage Boolean
    Whether to create a full instance image. Values: false: Default, do not create a full instance image. true: Create a full instance image.
    description 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.
    importImage Property Map
    Imported image information
    instanceId String
    Instance ID. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    licenseType String
    Image license type. VolcanoEngine: Default, uses the official license based on your platform setting. BYOL: Bring Your Own License (BYOL)
    needDetection Boolean
    Whether to perform image check. Values: true: Default, check enabled. false: Check disabled.
    osType String
    Operating system type
    platform String
    Release version of the image operating system. Options: CentOS, Debian, veLinux, Windows Server, Fedora, OpenSUSE, Ubuntu.
    platformVersion String
    Image release version.
    projectName 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
    sharePermissions List<String>
    Accounts with which the image is shared
    snapshotGroupId String
    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
    snapshotId 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.
    tags List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Image resource produces the following output properties:

    CreatedAt string
    Image creation time
    DetectionResults Volcengine.ImageDetectionResults
    Image check result.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageId string
    Image ID
    ImageOwnerId string
    Account ID to which the image belongs.
    IsInstallRunCommandAgent bool
    Whether Cloud Assistant Agent is installed in the image
    IsLts bool
    Whether the public image is maintained long-term.
    IsSupportCloudInit bool
    Whether the image supports Cloud-init.
    Kernel string
    Image kernel version.
    OsName string
    Name of the image operating system.
    ProductCode string
    Product code for marketplace image
    ShareStatus 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.
    Size int
    Image size, in GiB.
    Snapshots List<Volcengine.ImageSnapshot>
    Status string
    Image status.
    UpdatedAt string
    Image update time
    VirtualSize double
    Image size, in Bytes.
    Visibility string
    Image visibility. public: Public image. private: Private image. shared: Shared image.
    CreatedAt string
    Image creation time
    DetectionResults ImageDetectionResults
    Image check result.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImageId string
    Image ID
    ImageOwnerId string
    Account ID to which the image belongs.
    IsInstallRunCommandAgent bool
    Whether Cloud Assistant Agent is installed in the image
    IsLts bool
    Whether the public image is maintained long-term.
    IsSupportCloudInit bool
    Whether the image supports Cloud-init.
    Kernel string
    Image kernel version.
    OsName string
    Name of the image operating system.
    ProductCode string
    Product code for marketplace image
    ShareStatus 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.
    Size int
    Image size, in GiB.
    Snapshots []ImageSnapshot
    Status string
    Image status.
    UpdatedAt string
    Image update time
    VirtualSize float64
    Image size, in Bytes.
    Visibility string
    Image visibility. public: Public image. private: Private image. shared: Shared image.
    createdAt String
    Image creation time
    detectionResults ImageDetectionResults
    Image check result.
    id String
    The provider-assigned unique ID for this managed resource.
    imageId String
    Image ID
    imageOwnerId String
    Account ID to which the image belongs.
    isInstallRunCommandAgent Boolean
    Whether Cloud Assistant Agent is installed in the image
    isLts Boolean
    Whether the public image is maintained long-term.
    isSupportCloudInit Boolean
    Whether the image supports Cloud-init.
    kernel String
    Image kernel version.
    osName String
    Name of the image operating system.
    productCode String
    Product code for marketplace image
    shareStatus 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.
    size Integer
    Image size, in GiB.
    snapshots List<ImageSnapshot>
    status String
    Image status.
    updatedAt String
    Image update time
    virtualSize Double
    Image size, in Bytes.
    visibility String
    Image visibility. public: Public image. private: Private image. shared: Shared image.
    createdAt string
    Image creation time
    detectionResults ImageDetectionResults
    Image check result.
    id string
    The provider-assigned unique ID for this managed resource.
    imageId string
    Image ID
    imageOwnerId string
    Account ID to which the image belongs.
    isInstallRunCommandAgent boolean
    Whether Cloud Assistant Agent is installed in the image
    isLts boolean
    Whether the public image is maintained long-term.
    isSupportCloudInit boolean
    Whether the image supports Cloud-init.
    kernel string
    Image kernel version.
    osName string
    Name of the image operating system.
    productCode string
    Product code for marketplace image
    shareStatus 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.
    size number
    Image size, in GiB.
    snapshots ImageSnapshot[]
    status string
    Image status.
    updatedAt string
    Image update time
    virtualSize number
    Image size, in Bytes.
    visibility string
    Image visibility. public: Public image. private: Private image. shared: Shared image.
    created_at str
    Image creation time
    detection_results ImageDetectionResults
    Image check result.
    id str
    The provider-assigned unique ID for this managed resource.
    image_id str
    Image ID
    image_owner_id str
    Account ID to which the image belongs.
    is_install_run_command_agent bool
    Whether Cloud Assistant Agent is installed in the image
    is_lts bool
    Whether the public image is maintained long-term.
    is_support_cloud_init bool
    Whether the image supports Cloud-init.
    kernel str
    Image kernel version.
    os_name str
    Name of the image operating system.
    product_code str
    Product code for marketplace image
    share_status str
    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.
    size int
    Image size, in GiB.
    snapshots Sequence[ImageSnapshot]
    status str
    Image status.
    updated_at str
    Image update time
    virtual_size float
    Image size, in Bytes.
    visibility str
    Image visibility. public: Public image. private: Private image. shared: Shared image.
    createdAt String
    Image creation time
    detectionResults Property Map
    Image check result.
    id String
    The provider-assigned unique ID for this managed resource.
    imageId String
    Image ID
    imageOwnerId String
    Account ID to which the image belongs.
    isInstallRunCommandAgent Boolean
    Whether Cloud Assistant Agent is installed in the image
    isLts Boolean
    Whether the public image is maintained long-term.
    isSupportCloudInit Boolean
    Whether the image supports Cloud-init.
    kernel String
    Image kernel version.
    osName String
    Name of the image operating system.
    productCode String
    Product code for marketplace image
    shareStatus 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.
    size Number
    Image size, in GiB.
    snapshots List<Property Map>
    status String
    Image status.
    updatedAt String
    Image update time
    virtualSize Number
    Image size, in Bytes.
    visibility String
    Image visibility. public: Public image. private: Private image. shared: Shared image.

    Look up Existing Image Resource

    Get an existing Image resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ImageState, opts?: CustomResourceOptions): Image
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            architecture: Optional[str] = None,
            boot_mode: Optional[str] = None,
            create_whole_image: Optional[bool] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            detection_results: Optional[ImageDetectionResultsArgs] = None,
            image_id: Optional[str] = None,
            image_name: Optional[str] = None,
            image_owner_id: Optional[str] = None,
            import_image: Optional[ImageImportImageArgs] = None,
            instance_id: Optional[str] = None,
            is_install_run_command_agent: Optional[bool] = None,
            is_lts: Optional[bool] = None,
            is_support_cloud_init: Optional[bool] = None,
            kernel: Optional[str] = None,
            license_type: Optional[str] = None,
            need_detection: Optional[bool] = None,
            os_name: Optional[str] = None,
            os_type: Optional[str] = None,
            platform: Optional[str] = None,
            platform_version: Optional[str] = None,
            product_code: Optional[str] = None,
            project_name: Optional[str] = None,
            share_permissions: Optional[Sequence[str]] = None,
            share_status: Optional[str] = None,
            size: Optional[int] = None,
            snapshot_group_id: Optional[str] = None,
            snapshot_id: Optional[str] = None,
            snapshots: Optional[Sequence[ImageSnapshotArgs]] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[ImageTagArgs]] = None,
            updated_at: Optional[str] = None,
            virtual_size: Optional[float] = None,
            visibility: Optional[str] = None) -> Image
    func GetImage(ctx *Context, name string, id IDInput, state *ImageState, opts ...ResourceOption) (*Image, error)
    public static Image Get(string name, Input<string> id, ImageState? state, CustomResourceOptions? opts = null)
    public static Image get(String name, Output<String> id, ImageState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:ecs:Image    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Architecture string
    Image architecture type. Options: amd64 (x86 compute), arm64 (ARM compute).
    BootMode string
    Image boot mode. You can select BIOS or UEFI
    CreateWholeImage bool
    Whether to create a full instance image. Values: false: Default, do not create a full instance image. true: Create a full instance image.
    CreatedAt string
    Image creation time
    Description 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.
    DetectionResults Volcengine.ImageDetectionResults
    Image check result.
    ImageId string
    Image ID
    ImageName 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
    ImageOwnerId string
    Account ID to which the image belongs.
    ImportImage Volcengine.ImageImportImage
    Imported image information
    InstanceId string
    Instance ID. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    IsInstallRunCommandAgent bool
    Whether Cloud Assistant Agent is installed in the image
    IsLts bool
    Whether the public image is maintained long-term.
    IsSupportCloudInit bool
    Whether the image supports Cloud-init.
    Kernel string
    Image kernel version.
    LicenseType string
    Image license type. VolcanoEngine: Default, uses the official license based on your platform setting. BYOL: Bring Your Own License (BYOL)
    NeedDetection bool
    Whether to perform image check. Values: true: Default, check enabled. false: Check disabled.
    OsName string
    Name of the image operating system.
    OsType string
    Operating system type
    Platform string
    Release version of the image operating system. Options: CentOS, Debian, veLinux, Windows Server, Fedora, OpenSUSE, Ubuntu.
    PlatformVersion string
    Image release version.
    ProductCode string
    Product code for marketplace image
    ProjectName 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
    SharePermissions List<string>
    Accounts with which the image is shared
    ShareStatus 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.
    Size int
    Image size, in GiB.
    SnapshotGroupId string
    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
    SnapshotId 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.
    Snapshots List<Volcengine.ImageSnapshot>
    Status string
    Image status.
    Tags List<Volcengine.ImageTag>
    UpdatedAt string
    Image update time
    VirtualSize double
    Image size, in Bytes.
    Visibility string
    Image visibility. public: Public image. private: Private image. shared: Shared image.
    Architecture string
    Image architecture type. Options: amd64 (x86 compute), arm64 (ARM compute).
    BootMode string
    Image boot mode. You can select BIOS or UEFI
    CreateWholeImage bool
    Whether to create a full instance image. Values: false: Default, do not create a full instance image. true: Create a full instance image.
    CreatedAt string
    Image creation time
    Description 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.
    DetectionResults ImageDetectionResultsArgs
    Image check result.
    ImageId string
    Image ID
    ImageName 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
    ImageOwnerId string
    Account ID to which the image belongs.
    ImportImage ImageImportImageArgs
    Imported image information
    InstanceId string
    Instance ID. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    IsInstallRunCommandAgent bool
    Whether Cloud Assistant Agent is installed in the image
    IsLts bool
    Whether the public image is maintained long-term.
    IsSupportCloudInit bool
    Whether the image supports Cloud-init.
    Kernel string
    Image kernel version.
    LicenseType string
    Image license type. VolcanoEngine: Default, uses the official license based on your platform setting. BYOL: Bring Your Own License (BYOL)
    NeedDetection bool
    Whether to perform image check. Values: true: Default, check enabled. false: Check disabled.
    OsName string
    Name of the image operating system.
    OsType string
    Operating system type
    Platform string
    Release version of the image operating system. Options: CentOS, Debian, veLinux, Windows Server, Fedora, OpenSUSE, Ubuntu.
    PlatformVersion string
    Image release version.
    ProductCode string
    Product code for marketplace image
    ProjectName 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
    SharePermissions []string
    Accounts with which the image is shared
    ShareStatus 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.
    Size int
    Image size, in GiB.
    SnapshotGroupId string
    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
    SnapshotId 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.
    Snapshots []ImageSnapshotArgs
    Status string
    Image status.
    Tags []ImageTagArgs
    UpdatedAt string
    Image update time
    VirtualSize float64
    Image size, in Bytes.
    Visibility string
    Image visibility. public: Public image. private: Private image. shared: Shared image.
    architecture String
    Image architecture type. Options: amd64 (x86 compute), arm64 (ARM compute).
    bootMode String
    Image boot mode. You can select BIOS or UEFI
    createWholeImage Boolean
    Whether to create a full instance image. Values: false: Default, do not create a full instance image. true: Create a full instance image.
    createdAt String
    Image creation time
    description 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.
    detectionResults ImageDetectionResults
    Image check result.
    imageId String
    Image ID
    imageName 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
    imageOwnerId String
    Account ID to which the image belongs.
    importImage ImageImportImage
    Imported image information
    instanceId String
    Instance ID. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    isInstallRunCommandAgent Boolean
    Whether Cloud Assistant Agent is installed in the image
    isLts Boolean
    Whether the public image is maintained long-term.
    isSupportCloudInit Boolean
    Whether the image supports Cloud-init.
    kernel String
    Image kernel version.
    licenseType String
    Image license type. VolcanoEngine: Default, uses the official license based on your platform setting. BYOL: Bring Your Own License (BYOL)
    needDetection Boolean
    Whether to perform image check. Values: true: Default, check enabled. false: Check disabled.
    osName String
    Name of the image operating system.
    osType String
    Operating system type
    platform String
    Release version of the image operating system. Options: CentOS, Debian, veLinux, Windows Server, Fedora, OpenSUSE, Ubuntu.
    platformVersion String
    Image release version.
    productCode String
    Product code for marketplace image
    projectName 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
    sharePermissions List<String>
    Accounts with which the image is shared
    shareStatus 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.
    size Integer
    Image size, in GiB.
    snapshotGroupId String
    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
    snapshotId 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.
    snapshots List<ImageSnapshot>
    status String
    Image status.
    tags List<ImageTag>
    updatedAt String
    Image update time
    virtualSize Double
    Image size, in Bytes.
    visibility String
    Image visibility. public: Public image. private: Private image. shared: Shared image.
    architecture string
    Image architecture type. Options: amd64 (x86 compute), arm64 (ARM compute).
    bootMode string
    Image boot mode. You can select BIOS or UEFI
    createWholeImage boolean
    Whether to create a full instance image. Values: false: Default, do not create a full instance image. true: Create a full instance image.
    createdAt string
    Image creation time
    description 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.
    detectionResults ImageDetectionResults
    Image check result.
    imageId string
    Image ID
    imageName 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
    imageOwnerId string
    Account ID to which the image belongs.
    importImage ImageImportImage
    Imported image information
    instanceId string
    Instance ID. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    isInstallRunCommandAgent boolean
    Whether Cloud Assistant Agent is installed in the image
    isLts boolean
    Whether the public image is maintained long-term.
    isSupportCloudInit boolean
    Whether the image supports Cloud-init.
    kernel string
    Image kernel version.
    licenseType string
    Image license type. VolcanoEngine: Default, uses the official license based on your platform setting. BYOL: Bring Your Own License (BYOL)
    needDetection boolean
    Whether to perform image check. Values: true: Default, check enabled. false: Check disabled.
    osName string
    Name of the image operating system.
    osType string
    Operating system type
    platform string
    Release version of the image operating system. Options: CentOS, Debian, veLinux, Windows Server, Fedora, OpenSUSE, Ubuntu.
    platformVersion string
    Image release version.
    productCode string
    Product code for marketplace image
    projectName 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
    sharePermissions string[]
    Accounts with which the image is shared
    shareStatus 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.
    size number
    Image size, in GiB.
    snapshotGroupId string
    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
    snapshotId 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.
    snapshots ImageSnapshot[]
    status string
    Image status.
    tags ImageTag[]
    updatedAt string
    Image update time
    virtualSize number
    Image size, in Bytes.
    visibility string
    Image visibility. public: Public image. private: Private image. shared: Shared image.
    architecture str
    Image architecture type. Options: amd64 (x86 compute), arm64 (ARM compute).
    boot_mode str
    Image boot mode. You can select BIOS or UEFI
    create_whole_image bool
    Whether to create a full instance image. Values: false: Default, do not create a full instance image. true: Create a full instance image.
    created_at str
    Image creation time
    description str
    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.
    detection_results ImageDetectionResultsArgs
    Image check result.
    image_id str
    Image ID
    image_name str
    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
    image_owner_id str
    Account ID to which the image belongs.
    import_image ImageImportImageArgs
    Imported image information
    instance_id str
    Instance ID. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    is_install_run_command_agent bool
    Whether Cloud Assistant Agent is installed in the image
    is_lts bool
    Whether the public image is maintained long-term.
    is_support_cloud_init bool
    Whether the image supports Cloud-init.
    kernel str
    Image kernel version.
    license_type str
    Image license type. VolcanoEngine: Default, uses the official license based on your platform setting. BYOL: Bring Your Own License (BYOL)
    need_detection bool
    Whether to perform image check. Values: true: Default, check enabled. false: Check disabled.
    os_name str
    Name of the image operating system.
    os_type str
    Operating system type
    platform str
    Release version of the image operating system. Options: CentOS, Debian, veLinux, Windows Server, Fedora, OpenSUSE, Ubuntu.
    platform_version str
    Image release version.
    product_code str
    Product code for marketplace image
    project_name str
    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
    share_permissions Sequence[str]
    Accounts with which the image is shared
    share_status str
    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.
    size int
    Image size, in GiB.
    snapshot_group_id str
    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
    snapshot_id str
    System disk snapshot ID, used to create a custom image from a system disk snapshot. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    snapshots Sequence[ImageSnapshotArgs]
    status str
    Image status.
    tags Sequence[ImageTagArgs]
    updated_at str
    Image update time
    virtual_size float
    Image size, in Bytes.
    visibility str
    Image visibility. public: Public image. private: Private image. shared: Shared image.
    architecture String
    Image architecture type. Options: amd64 (x86 compute), arm64 (ARM compute).
    bootMode String
    Image boot mode. You can select BIOS or UEFI
    createWholeImage Boolean
    Whether to create a full instance image. Values: false: Default, do not create a full instance image. true: Create a full instance image.
    createdAt String
    Image creation time
    description 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.
    detectionResults Property Map
    Image check result.
    imageId String
    Image ID
    imageName 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
    imageOwnerId String
    Account ID to which the image belongs.
    importImage Property Map
    Imported image information
    instanceId String
    Instance ID. You must specify one of InstanceId, SnapshotId, or SnapshotGroupId.
    isInstallRunCommandAgent Boolean
    Whether Cloud Assistant Agent is installed in the image
    isLts Boolean
    Whether the public image is maintained long-term.
    isSupportCloudInit Boolean
    Whether the image supports Cloud-init.
    kernel String
    Image kernel version.
    licenseType String
    Image license type. VolcanoEngine: Default, uses the official license based on your platform setting. BYOL: Bring Your Own License (BYOL)
    needDetection Boolean
    Whether to perform image check. Values: true: Default, check enabled. false: Check disabled.
    osName String
    Name of the image operating system.
    osType String
    Operating system type
    platform String
    Release version of the image operating system. Options: CentOS, Debian, veLinux, Windows Server, Fedora, OpenSUSE, Ubuntu.
    platformVersion String
    Image release version.
    productCode String
    Product code for marketplace image
    projectName 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
    sharePermissions List<String>
    Accounts with which the image is shared
    shareStatus 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.
    size Number
    Image size, in GiB.
    snapshotGroupId String
    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
    snapshotId 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.
    snapshots List<Property Map>
    status String
    Image status.
    tags List<Property Map>
    updatedAt String
    Image update time
    virtualSize Number
    Image size, in Bytes.
    visibility String
    Image visibility. public: Public image. private: Private image. shared: Shared image.

    Supporting Types

    ImageDetectionResults, ImageDetectionResultsArgs

    DetectionStatus string
    Check status. Options: Finished (completed), Processing (in progress).
    Items List<Volcengine.ImageDetectionResultsItem>
    DetectionStatus string
    Check status. Options: Finished (completed), Processing (in progress).
    Items []ImageDetectionResultsItem
    detectionStatus String
    Check status. Options: Finished (completed), Processing (in progress).
    items List<ImageDetectionResultsItem>
    detectionStatus string
    Check status. Options: Finished (completed), Processing (in progress).
    items ImageDetectionResultsItem[]
    detection_status str
    Check status. Options: Finished (completed), Processing (in progress).
    items Sequence[ImageDetectionResultsItem]
    detectionStatus String
    Check status. Options: Finished (completed), Processing (in progress).
    items List<Property Map>

    ImageDetectionResultsItem, ImageDetectionResultsItemArgs

    Name string
    Check item name
    Result string
    Result for this check item.
    RiskCode string
    Risk description code
    RiskLevel string
    Risk level. If this parameter is empty, it means no risk
    Name string
    Check item name
    Result string
    Result for this check item.
    RiskCode string
    Risk description code
    RiskLevel string
    Risk level. If this parameter is empty, it means no risk
    name String
    Check item name
    result String
    Result for this check item.
    riskCode String
    Risk description code
    riskLevel String
    Risk level. If this parameter is empty, it means no risk
    name string
    Check item name
    result string
    Result for this check item.
    riskCode string
    Risk description code
    riskLevel string
    Risk level. If this parameter is empty, it means no risk
    name str
    Check item name
    result str
    Result for this check item.
    risk_code str
    Risk description code
    risk_level str
    Risk level. If this parameter is empty, it means no risk
    name String
    Check item name
    result String
    Result for this check item.
    riskCode String
    Risk description code
    riskLevel String
    Risk level. If this parameter is empty, it means no risk

    ImageImportImage, ImageImportImageArgs

    ImportDataVolumes List<string>
    Data disk files included in the custom image, at the TOS bucket URL.
    Url string
    System disk files included in the custom image, at the TOS bucket URL.
    ImportDataVolumes []string
    Data disk files included in the custom image, at the TOS bucket URL.
    Url string
    System disk files included in the custom image, at the TOS bucket URL.
    importDataVolumes List<String>
    Data disk files included in the custom image, at the TOS bucket URL.
    url String
    System disk files included in the custom image, at the TOS bucket URL.
    importDataVolumes string[]
    Data disk files included in the custom image, at the TOS bucket URL.
    url string
    System disk files included in the custom image, at the TOS bucket URL.
    import_data_volumes Sequence[str]
    Data disk files included in the custom image, at the TOS bucket URL.
    url str
    System disk files included in the custom image, at the TOS bucket URL.
    importDataVolumes List<String>
    Data disk files included in the custom image, at the TOS bucket URL.
    url String
    System disk files included in the custom image, at the TOS bucket URL.

    ImageSnapshot, ImageSnapshotArgs

    Size int
    Snapshot size (GiB)
    SnapshotId string
    Snapshot ID
    VolumeKind string
    Cloud disk type. system: System disk. data: Data disk.
    Size int
    Snapshot size (GiB)
    SnapshotId string
    Snapshot ID
    VolumeKind string
    Cloud disk type. system: System disk. data: Data disk.
    size Integer
    Snapshot size (GiB)
    snapshotId String
    Snapshot ID
    volumeKind String
    Cloud disk type. system: System disk. data: Data disk.
    size number
    Snapshot size (GiB)
    snapshotId string
    Snapshot ID
    volumeKind string
    Cloud disk type. system: System disk. data: Data disk.
    size int
    Snapshot size (GiB)
    snapshot_id str
    Snapshot ID
    volume_kind str
    Cloud disk type. system: System disk. data: Data disk.
    size Number
    Snapshot size (GiB)
    snapshotId String
    Snapshot ID
    volumeKind String
    Cloud disk type. system: System disk. data: Data disk.

    ImageTag, ImageTagArgs

    Key string
    Tag key for the image label.
    Value string
    Image tag value
    Key string
    Tag key for the image label.
    Value string
    Image tag value
    key String
    Tag key for the image label.
    value String
    Image tag value
    key string
    Tag key for the image label.
    value string
    Image tag value
    key str
    Tag key for the image label.
    value str
    Image tag value
    key String
    Tag key for the image label.
    value String
    Image tag value

    Import

    $ pulumi import volcenginecc:ecs/image:Image example "image_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.