1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getImages
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getImages

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query images.

    Example Usage

    Query all images

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getImages({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_images()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetImages(ctx, &tencentcloud.GetImagesArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetImages.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetImagesArgs;
    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) {
            final var example = TencentcloudFunctions.getImages();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getImages
          arguments: {}
    

    Query images by image ID

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getImages({
        imageId: "img-9qrfy1xt",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_images(image_id="img-9qrfy1xt")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetImages(ctx, &tencentcloud.GetImagesArgs{
    			ImageId: pulumi.StringRef("img-9qrfy1xt"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetImages.Invoke(new()
        {
            ImageId = "img-9qrfy1xt",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetImagesArgs;
    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) {
            final var example = TencentcloudFunctions.getImages(GetImagesArgs.builder()
                .imageId("img-9qrfy1xt")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getImages
          arguments:
            imageId: img-9qrfy1xt
    

    Query images by os name

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getImages({
        osName: "TencentOS Server 3.2 (Final)",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_images(os_name="TencentOS Server 3.2 (Final)")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetImages(ctx, &tencentcloud.GetImagesArgs{
    			OsName: pulumi.StringRef("TencentOS Server 3.2 (Final)"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetImages.Invoke(new()
        {
            OsName = "TencentOS Server 3.2 (Final)",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetImagesArgs;
    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) {
            final var example = TencentcloudFunctions.getImages(GetImagesArgs.builder()
                .osName("TencentOS Server 3.2 (Final)")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getImages
          arguments:
            osName: TencentOS Server 3.2 (Final)
    

    Query images by image name regex

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getImages({
        imageNameRegex: "^TencentOS",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_images(image_name_regex="^TencentOS")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetImages(ctx, &tencentcloud.GetImagesArgs{
    			ImageNameRegex: pulumi.StringRef("^TencentOS"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetImages.Invoke(new()
        {
            ImageNameRegex = "^TencentOS",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetImagesArgs;
    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) {
            final var example = TencentcloudFunctions.getImages(GetImagesArgs.builder()
                .imageNameRegex("^TencentOS")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getImages
          arguments:
            imageNameRegex: ^TencentOS
    

    Query images by image type

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getImages({
        imageTypes: ["PUBLIC_IMAGE"],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_images(image_types=["PUBLIC_IMAGE"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetImages(ctx, &tencentcloud.GetImagesArgs{
    			ImageTypes: []string{
    				"PUBLIC_IMAGE",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetImages.Invoke(new()
        {
            ImageTypes = new[]
            {
                "PUBLIC_IMAGE",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetImagesArgs;
    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) {
            final var example = TencentcloudFunctions.getImages(GetImagesArgs.builder()
                .imageTypes("PUBLIC_IMAGE")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getImages
          arguments:
            imageTypes:
              - PUBLIC_IMAGE
    

    Query images by instance type

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getImages({
        instanceType: "S1.SMALL1",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_images(instance_type="S1.SMALL1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetImages(ctx, &tencentcloud.GetImagesArgs{
    			InstanceType: pulumi.StringRef("S1.SMALL1"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetImages.Invoke(new()
        {
            InstanceType = "S1.SMALL1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetImagesArgs;
    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) {
            final var example = TencentcloudFunctions.getImages(GetImagesArgs.builder()
                .instanceType("S1.SMALL1")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getImages
          arguments:
            instanceType: S1.SMALL1
    

    Using getImages

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getImages(args: GetImagesArgs, opts?: InvokeOptions): Promise<GetImagesResult>
    function getImagesOutput(args: GetImagesOutputArgs, opts?: InvokeOptions): Output<GetImagesResult>
    def get_images(id: Optional[str] = None,
                   image_id: Optional[str] = None,
                   image_name_regex: Optional[str] = None,
                   image_types: Optional[Sequence[str]] = None,
                   instance_type: Optional[str] = None,
                   os_name: Optional[str] = None,
                   result_output_file: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetImagesResult
    def get_images_output(id: Optional[pulumi.Input[str]] = None,
                   image_id: Optional[pulumi.Input[str]] = None,
                   image_name_regex: Optional[pulumi.Input[str]] = None,
                   image_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   instance_type: Optional[pulumi.Input[str]] = None,
                   os_name: Optional[pulumi.Input[str]] = None,
                   result_output_file: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetImagesResult]
    func GetImages(ctx *Context, args *GetImagesArgs, opts ...InvokeOption) (*GetImagesResult, error)
    func GetImagesOutput(ctx *Context, args *GetImagesOutputArgs, opts ...InvokeOption) GetImagesResultOutput

    > Note: This function is named GetImages in the Go SDK.

    public static class GetImages 
    {
        public static Task<GetImagesResult> InvokeAsync(GetImagesArgs args, InvokeOptions? opts = null)
        public static Output<GetImagesResult> Invoke(GetImagesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetImagesResult> getImages(GetImagesArgs args, InvokeOptions options)
    public static Output<GetImagesResult> getImages(GetImagesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getImages:getImages
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ImageId string
    ID of the image to be queried.
    ImageNameRegex string
    A regex string to apply to the image list returned by TencentCloud, conflict with 'os_name'. NOTE: it is not wildcard, should look like image_name_regex = "^CentOS\s+6\.8\s+64\w*".
    ImageTypes List<string>
    A list of the image type to be queried. Valid values: 'PUBLIC_IMAGE', 'PRIVATE_IMAGE', 'SHARED_IMAGE', 'MARKET_IMAGE'.
    InstanceType string
    Instance type, such as S1.SMALL1.
    OsName string
    A string to apply with fuzzy match to the os_name attribute on the image list returned by TencentCloud, conflict with 'image_name_regex'.
    ResultOutputFile string
    Used to save results.
    Id string
    ImageId string
    ID of the image to be queried.
    ImageNameRegex string
    A regex string to apply to the image list returned by TencentCloud, conflict with 'os_name'. NOTE: it is not wildcard, should look like image_name_regex = "^CentOS\s+6\.8\s+64\w*".
    ImageTypes []string
    A list of the image type to be queried. Valid values: 'PUBLIC_IMAGE', 'PRIVATE_IMAGE', 'SHARED_IMAGE', 'MARKET_IMAGE'.
    InstanceType string
    Instance type, such as S1.SMALL1.
    OsName string
    A string to apply with fuzzy match to the os_name attribute on the image list returned by TencentCloud, conflict with 'image_name_regex'.
    ResultOutputFile string
    Used to save results.
    id String
    imageId String
    ID of the image to be queried.
    imageNameRegex String
    A regex string to apply to the image list returned by TencentCloud, conflict with 'os_name'. NOTE: it is not wildcard, should look like image_name_regex = "^CentOS\s+6\.8\s+64\w*".
    imageTypes List<String>
    A list of the image type to be queried. Valid values: 'PUBLIC_IMAGE', 'PRIVATE_IMAGE', 'SHARED_IMAGE', 'MARKET_IMAGE'.
    instanceType String
    Instance type, such as S1.SMALL1.
    osName String
    A string to apply with fuzzy match to the os_name attribute on the image list returned by TencentCloud, conflict with 'image_name_regex'.
    resultOutputFile String
    Used to save results.
    id string
    imageId string
    ID of the image to be queried.
    imageNameRegex string
    A regex string to apply to the image list returned by TencentCloud, conflict with 'os_name'. NOTE: it is not wildcard, should look like image_name_regex = "^CentOS\s+6\.8\s+64\w*".
    imageTypes string[]
    A list of the image type to be queried. Valid values: 'PUBLIC_IMAGE', 'PRIVATE_IMAGE', 'SHARED_IMAGE', 'MARKET_IMAGE'.
    instanceType string
    Instance type, such as S1.SMALL1.
    osName string
    A string to apply with fuzzy match to the os_name attribute on the image list returned by TencentCloud, conflict with 'image_name_regex'.
    resultOutputFile string
    Used to save results.
    id str
    image_id str
    ID of the image to be queried.
    image_name_regex str
    A regex string to apply to the image list returned by TencentCloud, conflict with 'os_name'. NOTE: it is not wildcard, should look like image_name_regex = "^CentOS\s+6\.8\s+64\w*".
    image_types Sequence[str]
    A list of the image type to be queried. Valid values: 'PUBLIC_IMAGE', 'PRIVATE_IMAGE', 'SHARED_IMAGE', 'MARKET_IMAGE'.
    instance_type str
    Instance type, such as S1.SMALL1.
    os_name str
    A string to apply with fuzzy match to the os_name attribute on the image list returned by TencentCloud, conflict with 'image_name_regex'.
    result_output_file str
    Used to save results.
    id String
    imageId String
    ID of the image to be queried.
    imageNameRegex String
    A regex string to apply to the image list returned by TencentCloud, conflict with 'os_name'. NOTE: it is not wildcard, should look like image_name_regex = "^CentOS\s+6\.8\s+64\w*".
    imageTypes List<String>
    A list of the image type to be queried. Valid values: 'PUBLIC_IMAGE', 'PRIVATE_IMAGE', 'SHARED_IMAGE', 'MARKET_IMAGE'.
    instanceType String
    Instance type, such as S1.SMALL1.
    osName String
    A string to apply with fuzzy match to the os_name attribute on the image list returned by TencentCloud, conflict with 'image_name_regex'.
    resultOutputFile String
    Used to save results.

    getImages Result

    The following output properties are available:

    Id string
    Images List<GetImagesImage>
    An information list of image. Each element contains the following attributes:
    ImageId string
    ID of the image.
    ImageNameRegex string
    ImageTypes List<string>
    Type of the image.
    InstanceType string
    OsName string
    OS name of the image.
    ResultOutputFile string
    Id string
    Images []GetImagesImage
    An information list of image. Each element contains the following attributes:
    ImageId string
    ID of the image.
    ImageNameRegex string
    ImageTypes []string
    Type of the image.
    InstanceType string
    OsName string
    OS name of the image.
    ResultOutputFile string
    id String
    images List<GetImagesImage>
    An information list of image. Each element contains the following attributes:
    imageId String
    ID of the image.
    imageNameRegex String
    imageTypes List<String>
    Type of the image.
    instanceType String
    osName String
    OS name of the image.
    resultOutputFile String
    id string
    images GetImagesImage[]
    An information list of image. Each element contains the following attributes:
    imageId string
    ID of the image.
    imageNameRegex string
    imageTypes string[]
    Type of the image.
    instanceType string
    osName string
    OS name of the image.
    resultOutputFile string
    id str
    images Sequence[GetImagesImage]
    An information list of image. Each element contains the following attributes:
    image_id str
    ID of the image.
    image_name_regex str
    image_types Sequence[str]
    Type of the image.
    instance_type str
    os_name str
    OS name of the image.
    result_output_file str
    id String
    images List<Property Map>
    An information list of image. Each element contains the following attributes:
    imageId String
    ID of the image.
    imageNameRegex String
    imageTypes List<String>
    Type of the image.
    instanceType String
    osName String
    OS name of the image.
    resultOutputFile String

    Supporting Types

    GetImagesImage

    Architecture string
    Architecture of the image.
    CreatedTime string
    Created time of the image.
    ImageCreator string
    Image creator of the image.
    ImageDescription string
    Description of the image.
    ImageId string
    ID of the image to be queried.
    ImageName string
    Name of the image.
    ImageSize double
    Size of the image.
    ImageSource string
    Image source of the image.
    ImageState string
    State of the image.
    ImageType string
    A list of the image type to be queried. Valid values: 'PUBLIC_IMAGE', 'PRIVATE_IMAGE', 'SHARED_IMAGE', 'MARKET_IMAGE'.
    OsName string
    A string to apply with fuzzy match to the os_name attribute on the image list returned by TencentCloud, conflict with 'image_name_regex'.
    Platform string
    Platform of the image.
    Snapshots List<GetImagesImageSnapshot>
    List of snapshot details.
    SupportCloudInit bool
    Whether support cloud-init.
    SyncPercent double
    Sync percent of the image.
    Architecture string
    Architecture of the image.
    CreatedTime string
    Created time of the image.
    ImageCreator string
    Image creator of the image.
    ImageDescription string
    Description of the image.
    ImageId string
    ID of the image to be queried.
    ImageName string
    Name of the image.
    ImageSize float64
    Size of the image.
    ImageSource string
    Image source of the image.
    ImageState string
    State of the image.
    ImageType string
    A list of the image type to be queried. Valid values: 'PUBLIC_IMAGE', 'PRIVATE_IMAGE', 'SHARED_IMAGE', 'MARKET_IMAGE'.
    OsName string
    A string to apply with fuzzy match to the os_name attribute on the image list returned by TencentCloud, conflict with 'image_name_regex'.
    Platform string
    Platform of the image.
    Snapshots []GetImagesImageSnapshot
    List of snapshot details.
    SupportCloudInit bool
    Whether support cloud-init.
    SyncPercent float64
    Sync percent of the image.
    architecture String
    Architecture of the image.
    createdTime String
    Created time of the image.
    imageCreator String
    Image creator of the image.
    imageDescription String
    Description of the image.
    imageId String
    ID of the image to be queried.
    imageName String
    Name of the image.
    imageSize Double
    Size of the image.
    imageSource String
    Image source of the image.
    imageState String
    State of the image.
    imageType String
    A list of the image type to be queried. Valid values: 'PUBLIC_IMAGE', 'PRIVATE_IMAGE', 'SHARED_IMAGE', 'MARKET_IMAGE'.
    osName String
    A string to apply with fuzzy match to the os_name attribute on the image list returned by TencentCloud, conflict with 'image_name_regex'.
    platform String
    Platform of the image.
    snapshots List<GetImagesImageSnapshot>
    List of snapshot details.
    supportCloudInit Boolean
    Whether support cloud-init.
    syncPercent Double
    Sync percent of the image.
    architecture string
    Architecture of the image.
    createdTime string
    Created time of the image.
    imageCreator string
    Image creator of the image.
    imageDescription string
    Description of the image.
    imageId string
    ID of the image to be queried.
    imageName string
    Name of the image.
    imageSize number
    Size of the image.
    imageSource string
    Image source of the image.
    imageState string
    State of the image.
    imageType string
    A list of the image type to be queried. Valid values: 'PUBLIC_IMAGE', 'PRIVATE_IMAGE', 'SHARED_IMAGE', 'MARKET_IMAGE'.
    osName string
    A string to apply with fuzzy match to the os_name attribute on the image list returned by TencentCloud, conflict with 'image_name_regex'.
    platform string
    Platform of the image.
    snapshots GetImagesImageSnapshot[]
    List of snapshot details.
    supportCloudInit boolean
    Whether support cloud-init.
    syncPercent number
    Sync percent of the image.
    architecture str
    Architecture of the image.
    created_time str
    Created time of the image.
    image_creator str
    Image creator of the image.
    image_description str
    Description of the image.
    image_id str
    ID of the image to be queried.
    image_name str
    Name of the image.
    image_size float
    Size of the image.
    image_source str
    Image source of the image.
    image_state str
    State of the image.
    image_type str
    A list of the image type to be queried. Valid values: 'PUBLIC_IMAGE', 'PRIVATE_IMAGE', 'SHARED_IMAGE', 'MARKET_IMAGE'.
    os_name str
    A string to apply with fuzzy match to the os_name attribute on the image list returned by TencentCloud, conflict with 'image_name_regex'.
    platform str
    Platform of the image.
    snapshots Sequence[GetImagesImageSnapshot]
    List of snapshot details.
    support_cloud_init bool
    Whether support cloud-init.
    sync_percent float
    Sync percent of the image.
    architecture String
    Architecture of the image.
    createdTime String
    Created time of the image.
    imageCreator String
    Image creator of the image.
    imageDescription String
    Description of the image.
    imageId String
    ID of the image to be queried.
    imageName String
    Name of the image.
    imageSize Number
    Size of the image.
    imageSource String
    Image source of the image.
    imageState String
    State of the image.
    imageType String
    A list of the image type to be queried. Valid values: 'PUBLIC_IMAGE', 'PRIVATE_IMAGE', 'SHARED_IMAGE', 'MARKET_IMAGE'.
    osName String
    A string to apply with fuzzy match to the os_name attribute on the image list returned by TencentCloud, conflict with 'image_name_regex'.
    platform String
    Platform of the image.
    snapshots List<Property Map>
    List of snapshot details.
    supportCloudInit Boolean
    Whether support cloud-init.
    syncPercent Number
    Sync percent of the image.

    GetImagesImageSnapshot

    DiskSize double
    Size of the cloud disk used to create the snapshot; unit: GB.
    DiskUsage string
    Type of the cloud disk used to create the snapshot.
    SnapshotId string
    Snapshot ID.
    SnapshotName string
    Snapshot name, the user-defined snapshot alias.
    DiskSize float64
    Size of the cloud disk used to create the snapshot; unit: GB.
    DiskUsage string
    Type of the cloud disk used to create the snapshot.
    SnapshotId string
    Snapshot ID.
    SnapshotName string
    Snapshot name, the user-defined snapshot alias.
    diskSize Double
    Size of the cloud disk used to create the snapshot; unit: GB.
    diskUsage String
    Type of the cloud disk used to create the snapshot.
    snapshotId String
    Snapshot ID.
    snapshotName String
    Snapshot name, the user-defined snapshot alias.
    diskSize number
    Size of the cloud disk used to create the snapshot; unit: GB.
    diskUsage string
    Type of the cloud disk used to create the snapshot.
    snapshotId string
    Snapshot ID.
    snapshotName string
    Snapshot name, the user-defined snapshot alias.
    disk_size float
    Size of the cloud disk used to create the snapshot; unit: GB.
    disk_usage str
    Type of the cloud disk used to create the snapshot.
    snapshot_id str
    Snapshot ID.
    snapshot_name str
    Snapshot name, the user-defined snapshot alias.
    diskSize Number
    Size of the cloud disk used to create the snapshot; unit: GB.
    diskUsage String
    Type of the cloud disk used to create the snapshot.
    snapshotId String
    Snapshot ID.
    snapshotName String
    Snapshot name, the user-defined snapshot alias.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack