volcengine.ecs.ImageImport
Explore with Pulumi AI
Provides a resource to manage image import
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@volcengine/pulumi";
const foo = new volcengine.ecs.ImageImport("foo", {
    bootMode: "UEFI",
    description: "acc-test",
    imageName: "acc-test-image",
    platform: "CentOS",
    projectName: "default",
    tags: [{
        key: "k1",
        value: "v1",
    }],
    url: "https://*****_system.qcow2",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.ecs.ImageImport("foo",
    boot_mode="UEFI",
    description="acc-test",
    image_name="acc-test-image",
    platform="CentOS",
    project_name="default",
    tags=[volcengine.ecs.ImageImportTagArgs(
        key="k1",
        value="v1",
    )],
    url="https://*****_system.qcow2")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.NewImageImport(ctx, "foo", &ecs.ImageImportArgs{
			BootMode:    pulumi.String("UEFI"),
			Description: pulumi.String("acc-test"),
			ImageName:   pulumi.String("acc-test-image"),
			Platform:    pulumi.String("CentOS"),
			ProjectName: pulumi.String("default"),
			Tags: ecs.ImageImportTagArray{
				&ecs.ImageImportTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
			Url: pulumi.String("https://*****_system.qcow2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var foo = new Volcengine.Ecs.ImageImport("foo", new()
    {
        BootMode = "UEFI",
        Description = "acc-test",
        ImageName = "acc-test-image",
        Platform = "CentOS",
        ProjectName = "default",
        Tags = new[]
        {
            new Volcengine.Ecs.Inputs.ImageImportTagArgs
            {
                Key = "k1",
                Value = "v1",
            },
        },
        Url = "https://*****_system.qcow2",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.ImageImport;
import com.pulumi.volcengine.ecs.ImageImportArgs;
import com.pulumi.volcengine.ecs.inputs.ImageImportTagArgs;
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 foo = new ImageImport("foo", ImageImportArgs.builder()        
            .bootMode("UEFI")
            .description("acc-test")
            .imageName("acc-test-image")
            .platform("CentOS")
            .projectName("default")
            .tags(ImageImportTagArgs.builder()
                .key("k1")
                .value("v1")
                .build())
            .url("https://*****_system.qcow2")
            .build());
    }
}
resources:
  foo:
    type: volcengine:ecs:ImageImport
    properties:
      bootMode: UEFI
      description: acc-test
      imageName: acc-test-image
      platform: CentOS
      projectName: default
      tags:
        - key: k1
          value: v1
      url: https://*****_system.qcow2
Create ImageImport Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ImageImport(name: string, args: ImageImportArgs, opts?: CustomResourceOptions);@overload
def ImageImport(resource_name: str,
                args: ImageImportArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def ImageImport(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                image_name: Optional[str] = None,
                platform: Optional[str] = None,
                url: Optional[str] = None,
                architecture: Optional[str] = None,
                boot_mode: Optional[str] = None,
                description: Optional[str] = None,
                license_type: Optional[str] = None,
                os_type: Optional[str] = None,
                platform_version: Optional[str] = None,
                project_name: Optional[str] = None,
                tags: Optional[Sequence[ImageImportTagArgs]] = None)func NewImageImport(ctx *Context, name string, args ImageImportArgs, opts ...ResourceOption) (*ImageImport, error)public ImageImport(string name, ImageImportArgs args, CustomResourceOptions? opts = null)
public ImageImport(String name, ImageImportArgs args)
public ImageImport(String name, ImageImportArgs args, CustomResourceOptions options)
type: volcengine:ecs:ImageImport
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 ImageImportArgs
- 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 ImageImportArgs
- 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 ImageImportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImageImportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ImageImportArgs
- 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 imageImportResource = new Volcengine.Ecs.ImageImport("imageImportResource", new()
{
    ImageName = "string",
    Platform = "string",
    Url = "string",
    Architecture = "string",
    BootMode = "string",
    Description = "string",
    LicenseType = "string",
    OsType = "string",
    PlatformVersion = "string",
    ProjectName = "string",
    Tags = new[]
    {
        new Volcengine.Ecs.Inputs.ImageImportTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
});
example, err := ecs.NewImageImport(ctx, "imageImportResource", &ecs.ImageImportArgs{
	ImageName:       pulumi.String("string"),
	Platform:        pulumi.String("string"),
	Url:             pulumi.String("string"),
	Architecture:    pulumi.String("string"),
	BootMode:        pulumi.String("string"),
	Description:     pulumi.String("string"),
	LicenseType:     pulumi.String("string"),
	OsType:          pulumi.String("string"),
	PlatformVersion: pulumi.String("string"),
	ProjectName:     pulumi.String("string"),
	Tags: ecs.ImageImportTagArray{
		&ecs.ImageImportTagArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
})
var imageImportResource = new ImageImport("imageImportResource", ImageImportArgs.builder()
    .imageName("string")
    .platform("string")
    .url("string")
    .architecture("string")
    .bootMode("string")
    .description("string")
    .licenseType("string")
    .osType("string")
    .platformVersion("string")
    .projectName("string")
    .tags(ImageImportTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .build());
image_import_resource = volcengine.ecs.ImageImport("imageImportResource",
    image_name="string",
    platform="string",
    url="string",
    architecture="string",
    boot_mode="string",
    description="string",
    license_type="string",
    os_type="string",
    platform_version="string",
    project_name="string",
    tags=[{
        "key": "string",
        "value": "string",
    }])
const imageImportResource = new volcengine.ecs.ImageImport("imageImportResource", {
    imageName: "string",
    platform: "string",
    url: "string",
    architecture: "string",
    bootMode: "string",
    description: "string",
    licenseType: "string",
    osType: "string",
    platformVersion: "string",
    projectName: "string",
    tags: [{
        key: "string",
        value: "string",
    }],
});
type: volcengine:ecs:ImageImport
properties:
    architecture: string
    bootMode: string
    description: string
    imageName: string
    licenseType: string
    osType: string
    platform: string
    platformVersion: string
    projectName: string
    tags:
        - key: string
          value: string
    url: string
ImageImport 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 ImageImport resource accepts the following input properties:
- ImageName string
- The name of the custom image.
- Platform string
- The platform of the custom image. Valid values: CentOS,Debian,veLinux,Windows Server,Fedora,OpenSUSE,Ubuntu,Rocky Linux,AlmaLinux.
- Url string
- The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- Architecture string
- The architecture of the custom image. Valid values: amd64,arm64.
- BootMode string
- The boot mode of the custom image. Valid values: BIOS,UEFI.
- Description string
- The description of the custom image.
- LicenseType string
- The license type of the custom image. Valid values: VolcanoEngine.
- OsType string
- The os type of the custom image. Valid values: linux,Windows.
- PlatformVersion string
- The platform version of the custom image.
- ProjectName string
- The project name of the custom image.
- 
List<ImageImport Tag> 
- Tags.
- ImageName string
- The name of the custom image.
- Platform string
- The platform of the custom image. Valid values: CentOS,Debian,veLinux,Windows Server,Fedora,OpenSUSE,Ubuntu,Rocky Linux,AlmaLinux.
- Url string
- The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- Architecture string
- The architecture of the custom image. Valid values: amd64,arm64.
- BootMode string
- The boot mode of the custom image. Valid values: BIOS,UEFI.
- Description string
- The description of the custom image.
- LicenseType string
- The license type of the custom image. Valid values: VolcanoEngine.
- OsType string
- The os type of the custom image. Valid values: linux,Windows.
- PlatformVersion string
- The platform version of the custom image.
- ProjectName string
- The project name of the custom image.
- 
[]ImageImport Tag Args 
- Tags.
- imageName String
- The name of the custom image.
- platform String
- The platform of the custom image. Valid values: CentOS,Debian,veLinux,Windows Server,Fedora,OpenSUSE,Ubuntu,Rocky Linux,AlmaLinux.
- url String
- The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- architecture String
- The architecture of the custom image. Valid values: amd64,arm64.
- bootMode String
- The boot mode of the custom image. Valid values: BIOS,UEFI.
- description String
- The description of the custom image.
- licenseType String
- The license type of the custom image. Valid values: VolcanoEngine.
- osType String
- The os type of the custom image. Valid values: linux,Windows.
- platformVersion String
- The platform version of the custom image.
- projectName String
- The project name of the custom image.
- 
List<ImageImport Tag> 
- Tags.
- imageName string
- The name of the custom image.
- platform string
- The platform of the custom image. Valid values: CentOS,Debian,veLinux,Windows Server,Fedora,OpenSUSE,Ubuntu,Rocky Linux,AlmaLinux.
- url string
- The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- architecture string
- The architecture of the custom image. Valid values: amd64,arm64.
- bootMode string
- The boot mode of the custom image. Valid values: BIOS,UEFI.
- description string
- The description of the custom image.
- licenseType string
- The license type of the custom image. Valid values: VolcanoEngine.
- osType string
- The os type of the custom image. Valid values: linux,Windows.
- platformVersion string
- The platform version of the custom image.
- projectName string
- The project name of the custom image.
- 
ImageImport Tag[] 
- Tags.
- image_name str
- The name of the custom image.
- platform str
- The platform of the custom image. Valid values: CentOS,Debian,veLinux,Windows Server,Fedora,OpenSUSE,Ubuntu,Rocky Linux,AlmaLinux.
- url str
- The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- architecture str
- The architecture of the custom image. Valid values: amd64,arm64.
- boot_mode str
- The boot mode of the custom image. Valid values: BIOS,UEFI.
- description str
- The description of the custom image.
- license_type str
- The license type of the custom image. Valid values: VolcanoEngine.
- os_type str
- The os type of the custom image. Valid values: linux,Windows.
- platform_version str
- The platform version of the custom image.
- project_name str
- The project name of the custom image.
- 
Sequence[ImageImport Tag Args] 
- Tags.
- imageName String
- The name of the custom image.
- platform String
- The platform of the custom image. Valid values: CentOS,Debian,veLinux,Windows Server,Fedora,OpenSUSE,Ubuntu,Rocky Linux,AlmaLinux.
- url String
- The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- architecture String
- The architecture of the custom image. Valid values: amd64,arm64.
- bootMode String
- The boot mode of the custom image. Valid values: BIOS,UEFI.
- description String
- The description of the custom image.
- licenseType String
- The license type of the custom image. Valid values: VolcanoEngine.
- osType String
- The os type of the custom image. Valid values: linux,Windows.
- platformVersion String
- The platform version of the custom image.
- projectName String
- The project name of the custom image.
- List<Property Map>
- Tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the ImageImport resource produces the following output properties:
- CreatedAt string
- The create time of Image.
- Id string
- The provider-assigned unique ID for this managed resource.
- IsSupport boolCloud Init 
- Whether the Image support cloud-init.
- OsName string
- The name of Image operating system.
- string
- The share mode of Image.
- Size int
- The size(GiB) of Image.
- Status string
- The status of Image.
- UpdatedAt string
- The update time of Image.
- Visibility string
- The visibility of Image.
- CreatedAt string
- The create time of Image.
- Id string
- The provider-assigned unique ID for this managed resource.
- IsSupport boolCloud Init 
- Whether the Image support cloud-init.
- OsName string
- The name of Image operating system.
- string
- The share mode of Image.
- Size int
- The size(GiB) of Image.
- Status string
- The status of Image.
- UpdatedAt string
- The update time of Image.
- Visibility string
- The visibility of Image.
- createdAt String
- The create time of Image.
- id String
- The provider-assigned unique ID for this managed resource.
- isSupport BooleanCloud Init 
- Whether the Image support cloud-init.
- osName String
- The name of Image operating system.
- String
- The share mode of Image.
- size Integer
- The size(GiB) of Image.
- status String
- The status of Image.
- updatedAt String
- The update time of Image.
- visibility String
- The visibility of Image.
- createdAt string
- The create time of Image.
- id string
- The provider-assigned unique ID for this managed resource.
- isSupport booleanCloud Init 
- Whether the Image support cloud-init.
- osName string
- The name of Image operating system.
- string
- The share mode of Image.
- size number
- The size(GiB) of Image.
- status string
- The status of Image.
- updatedAt string
- The update time of Image.
- visibility string
- The visibility of Image.
- created_at str
- The create time of Image.
- id str
- The provider-assigned unique ID for this managed resource.
- is_support_ boolcloud_ init 
- Whether the Image support cloud-init.
- os_name str
- The name of Image operating system.
- str
- The share mode of Image.
- size int
- The size(GiB) of Image.
- status str
- The status of Image.
- updated_at str
- The update time of Image.
- visibility str
- The visibility of Image.
- createdAt String
- The create time of Image.
- id String
- The provider-assigned unique ID for this managed resource.
- isSupport BooleanCloud Init 
- Whether the Image support cloud-init.
- osName String
- The name of Image operating system.
- String
- The share mode of Image.
- size Number
- The size(GiB) of Image.
- status String
- The status of Image.
- updatedAt String
- The update time of Image.
- visibility String
- The visibility of Image.
Look up Existing ImageImport Resource
Get an existing ImageImport 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?: ImageImportState, opts?: CustomResourceOptions): ImageImport@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        architecture: Optional[str] = None,
        boot_mode: Optional[str] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        image_name: Optional[str] = None,
        is_support_cloud_init: Optional[bool] = None,
        license_type: Optional[str] = None,
        os_name: Optional[str] = None,
        os_type: Optional[str] = None,
        platform: Optional[str] = None,
        platform_version: Optional[str] = None,
        project_name: Optional[str] = None,
        share_status: Optional[str] = None,
        size: Optional[int] = None,
        status: Optional[str] = None,
        tags: Optional[Sequence[ImageImportTagArgs]] = None,
        updated_at: Optional[str] = None,
        url: Optional[str] = None,
        visibility: Optional[str] = None) -> ImageImportfunc GetImageImport(ctx *Context, name string, id IDInput, state *ImageImportState, opts ...ResourceOption) (*ImageImport, error)public static ImageImport Get(string name, Input<string> id, ImageImportState? state, CustomResourceOptions? opts = null)public static ImageImport get(String name, Output<String> id, ImageImportState state, CustomResourceOptions options)resources:  _:    type: volcengine:ecs:ImageImport    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.
- Architecture string
- The architecture of the custom image. Valid values: amd64,arm64.
- BootMode string
- The boot mode of the custom image. Valid values: BIOS,UEFI.
- CreatedAt string
- The create time of Image.
- Description string
- The description of the custom image.
- ImageName string
- The name of the custom image.
- IsSupport boolCloud Init 
- Whether the Image support cloud-init.
- LicenseType string
- The license type of the custom image. Valid values: VolcanoEngine.
- OsName string
- The name of Image operating system.
- OsType string
- The os type of the custom image. Valid values: linux,Windows.
- Platform string
- The platform of the custom image. Valid values: CentOS,Debian,veLinux,Windows Server,Fedora,OpenSUSE,Ubuntu,Rocky Linux,AlmaLinux.
- PlatformVersion string
- The platform version of the custom image.
- ProjectName string
- The project name of the custom image.
- string
- The share mode of Image.
- Size int
- The size(GiB) of Image.
- Status string
- The status of Image.
- 
List<ImageImport Tag> 
- Tags.
- UpdatedAt string
- The update time of Image.
- Url string
- The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- Visibility string
- The visibility of Image.
- Architecture string
- The architecture of the custom image. Valid values: amd64,arm64.
- BootMode string
- The boot mode of the custom image. Valid values: BIOS,UEFI.
- CreatedAt string
- The create time of Image.
- Description string
- The description of the custom image.
- ImageName string
- The name of the custom image.
- IsSupport boolCloud Init 
- Whether the Image support cloud-init.
- LicenseType string
- The license type of the custom image. Valid values: VolcanoEngine.
- OsName string
- The name of Image operating system.
- OsType string
- The os type of the custom image. Valid values: linux,Windows.
- Platform string
- The platform of the custom image. Valid values: CentOS,Debian,veLinux,Windows Server,Fedora,OpenSUSE,Ubuntu,Rocky Linux,AlmaLinux.
- PlatformVersion string
- The platform version of the custom image.
- ProjectName string
- The project name of the custom image.
- string
- The share mode of Image.
- Size int
- The size(GiB) of Image.
- Status string
- The status of Image.
- 
[]ImageImport Tag Args 
- Tags.
- UpdatedAt string
- The update time of Image.
- Url string
- The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- Visibility string
- The visibility of Image.
- architecture String
- The architecture of the custom image. Valid values: amd64,arm64.
- bootMode String
- The boot mode of the custom image. Valid values: BIOS,UEFI.
- createdAt String
- The create time of Image.
- description String
- The description of the custom image.
- imageName String
- The name of the custom image.
- isSupport BooleanCloud Init 
- Whether the Image support cloud-init.
- licenseType String
- The license type of the custom image. Valid values: VolcanoEngine.
- osName String
- The name of Image operating system.
- osType String
- The os type of the custom image. Valid values: linux,Windows.
- platform String
- The platform of the custom image. Valid values: CentOS,Debian,veLinux,Windows Server,Fedora,OpenSUSE,Ubuntu,Rocky Linux,AlmaLinux.
- platformVersion String
- The platform version of the custom image.
- projectName String
- The project name of the custom image.
- String
- The share mode of Image.
- size Integer
- The size(GiB) of Image.
- status String
- The status of Image.
- 
List<ImageImport Tag> 
- Tags.
- updatedAt String
- The update time of Image.
- url String
- The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- visibility String
- The visibility of Image.
- architecture string
- The architecture of the custom image. Valid values: amd64,arm64.
- bootMode string
- The boot mode of the custom image. Valid values: BIOS,UEFI.
- createdAt string
- The create time of Image.
- description string
- The description of the custom image.
- imageName string
- The name of the custom image.
- isSupport booleanCloud Init 
- Whether the Image support cloud-init.
- licenseType string
- The license type of the custom image. Valid values: VolcanoEngine.
- osName string
- The name of Image operating system.
- osType string
- The os type of the custom image. Valid values: linux,Windows.
- platform string
- The platform of the custom image. Valid values: CentOS,Debian,veLinux,Windows Server,Fedora,OpenSUSE,Ubuntu,Rocky Linux,AlmaLinux.
- platformVersion string
- The platform version of the custom image.
- projectName string
- The project name of the custom image.
- string
- The share mode of Image.
- size number
- The size(GiB) of Image.
- status string
- The status of Image.
- 
ImageImport Tag[] 
- Tags.
- updatedAt string
- The update time of Image.
- url string
- The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- visibility string
- The visibility of Image.
- architecture str
- The architecture of the custom image. Valid values: amd64,arm64.
- boot_mode str
- The boot mode of the custom image. Valid values: BIOS,UEFI.
- created_at str
- The create time of Image.
- description str
- The description of the custom image.
- image_name str
- The name of the custom image.
- is_support_ boolcloud_ init 
- Whether the Image support cloud-init.
- license_type str
- The license type of the custom image. Valid values: VolcanoEngine.
- os_name str
- The name of Image operating system.
- os_type str
- The os type of the custom image. Valid values: linux,Windows.
- platform str
- The platform of the custom image. Valid values: CentOS,Debian,veLinux,Windows Server,Fedora,OpenSUSE,Ubuntu,Rocky Linux,AlmaLinux.
- platform_version str
- The platform version of the custom image.
- project_name str
- The project name of the custom image.
- str
- The share mode of Image.
- size int
- The size(GiB) of Image.
- status str
- The status of Image.
- 
Sequence[ImageImport Tag Args] 
- Tags.
- updated_at str
- The update time of Image.
- url str
- The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- visibility str
- The visibility of Image.
- architecture String
- The architecture of the custom image. Valid values: amd64,arm64.
- bootMode String
- The boot mode of the custom image. Valid values: BIOS,UEFI.
- createdAt String
- The create time of Image.
- description String
- The description of the custom image.
- imageName String
- The name of the custom image.
- isSupport BooleanCloud Init 
- Whether the Image support cloud-init.
- licenseType String
- The license type of the custom image. Valid values: VolcanoEngine.
- osName String
- The name of Image operating system.
- osType String
- The os type of the custom image. Valid values: linux,Windows.
- platform String
- The platform of the custom image. Valid values: CentOS,Debian,veLinux,Windows Server,Fedora,OpenSUSE,Ubuntu,Rocky Linux,AlmaLinux.
- platformVersion String
- The platform version of the custom image.
- projectName String
- The project name of the custom image.
- String
- The share mode of Image.
- size Number
- The size(GiB) of Image.
- status String
- The status of Image.
- List<Property Map>
- Tags.
- updatedAt String
- The update time of Image.
- url String
- The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
- visibility String
- The visibility of Image.
Supporting Types
ImageImportTag, ImageImportTagArgs      
Import
ImageImport can be imported using the id, e.g.
$ pulumi import volcengine:ecs/imageImport:ImageImport default resource_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.