1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ecs
  5. getImages
Alibaba Cloud v3.59.0 published on Friday, Jul 12, 2024 by Pulumi

alicloud.ecs.getImages

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.59.0 published on Friday, Jul 12, 2024 by Pulumi

    This data source provides available image resources. It contains user’s private images, system images provided by Alibaba Cloud, other public images and the ones available on the image market.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const imagesDs = alicloud.ecs.getImages({
        owners: "system",
        nameRegex: "^centos_6",
    });
    export const firstImageId = imagesDs.then(imagesDs => imagesDs.images?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    images_ds = alicloud.ecs.get_images(owners="system",
        name_regex="^centos_6")
    pulumi.export("firstImageId", images_ds.images[0].id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		imagesDs, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
    			Owners:    pulumi.StringRef("system"),
    			NameRegex: pulumi.StringRef("^centos_6"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("firstImageId", imagesDs.Images[0].Id)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var imagesDs = AliCloud.Ecs.GetImages.Invoke(new()
        {
            Owners = "system",
            NameRegex = "^centos_6",
        });
    
        return new Dictionary<string, object?>
        {
            ["firstImageId"] = imagesDs.Apply(getImagesResult => getImagesResult.Images[0]?.Id),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.ecs.EcsFunctions;
    import com.pulumi.alicloud.ecs.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 imagesDs = EcsFunctions.getImages(GetImagesArgs.builder()
                .owners("system")
                .nameRegex("^centos_6")
                .build());
    
            ctx.export("firstImageId", imagesDs.applyValue(getImagesResult -> getImagesResult.images()[0].id()));
        }
    }
    
    variables:
      imagesDs:
        fn::invoke:
          Function: alicloud:ecs:getImages
          Arguments:
            owners: system
            nameRegex: ^centos_6
    outputs:
      firstImageId: ${imagesDs.images[0].id}
    

    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(action_type: Optional[str] = None,
                   architecture: Optional[str] = None,
                   dry_run: Optional[bool] = None,
                   image_family: Optional[str] = None,
                   image_id: Optional[str] = None,
                   image_name: Optional[str] = None,
                   image_owner_id: Optional[str] = None,
                   instance_type: Optional[str] = None,
                   is_support_cloud_init: Optional[bool] = None,
                   is_support_io_optimized: Optional[bool] = None,
                   most_recent: Optional[bool] = None,
                   name_regex: Optional[str] = None,
                   os_type: Optional[str] = None,
                   output_file: Optional[str] = None,
                   owners: Optional[str] = None,
                   resource_group_id: Optional[str] = None,
                   snapshot_id: Optional[str] = None,
                   status: Optional[str] = None,
                   tags: Optional[Mapping[str, Any]] = None,
                   usage: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetImagesResult
    def get_images_output(action_type: Optional[pulumi.Input[str]] = None,
                   architecture: Optional[pulumi.Input[str]] = None,
                   dry_run: Optional[pulumi.Input[bool]] = None,
                   image_family: Optional[pulumi.Input[str]] = None,
                   image_id: Optional[pulumi.Input[str]] = None,
                   image_name: Optional[pulumi.Input[str]] = None,
                   image_owner_id: Optional[pulumi.Input[str]] = None,
                   instance_type: Optional[pulumi.Input[str]] = None,
                   is_support_cloud_init: Optional[pulumi.Input[bool]] = None,
                   is_support_io_optimized: Optional[pulumi.Input[bool]] = None,
                   most_recent: Optional[pulumi.Input[bool]] = None,
                   name_regex: Optional[pulumi.Input[str]] = None,
                   os_type: Optional[pulumi.Input[str]] = None,
                   output_file: Optional[pulumi.Input[str]] = None,
                   owners: Optional[pulumi.Input[str]] = None,
                   resource_group_id: Optional[pulumi.Input[str]] = None,
                   snapshot_id: Optional[pulumi.Input[str]] = None,
                   status: Optional[pulumi.Input[str]] = None,
                   tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                   usage: 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:ecs/getImages:getImages
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ActionType string
    The scenario in which the image will be used. Default value: CreateEcs. Valid values:

    • CreateEcs: instance creation.
    • ChangeOS: replacement of the system disk or operating system.
    Architecture string
    The image architecture. Valid values: i386 and x86_64.
    DryRun bool
    Specifies whether the image is running on an ECS instance. Default value: false. Valid values:
    ImageFamily string
    The name of the image family. You can set this parameter to query images of the specified image family. This parameter is empty by default.
    ImageId string
    The ID of the image.
    ImageName string
    The name of the image.
    ImageOwnerId string
    The ID of the Alibaba Cloud account to which the image belongs. This parameter takes effect only when you query shared images or community images.
    InstanceType string
    The instance type for which the image can be used.
    IsSupportCloudInit bool
    Specifies whether the image supports cloud-init.
    IsSupportIoOptimized bool
    Specifies whether the image can be used on I/O optimized instances.
    MostRecent bool
    If more than one result are returned, select the most recent one.
    NameRegex string
    A regex string to filter resulting images by name.
    OsType string
    The operating system type of the image. Valid values: windows and linux.
    OutputFile string

    File name where to save data source results (after running pulumi preview).

    NOTE: At least one of the name_regex, most_recent and owners must be set.

    Owners string
    Filter results by a specific image owner. Valid items are system, self, others, marketplace.
    ResourceGroupId string
    The ID of the resource group to which the custom image belongs.
    SnapshotId string
    The ID of the snapshot used to create the custom image.
    Status string
    The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: Available. Valid values:

    • Creating: The image is being created.
    • Waiting: The image is waiting to be processed.
    • Available: The image is available.
    • UnAvailable: The image is unavailable.
    • CreateFailed: The image failed to be created.
    • Deprecated: The image is discontinued.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    Usage string
    Specifies whether to check the validity of the request without actually making the request. Valid values:
    ActionType string
    The scenario in which the image will be used. Default value: CreateEcs. Valid values:

    • CreateEcs: instance creation.
    • ChangeOS: replacement of the system disk or operating system.
    Architecture string
    The image architecture. Valid values: i386 and x86_64.
    DryRun bool
    Specifies whether the image is running on an ECS instance. Default value: false. Valid values:
    ImageFamily string
    The name of the image family. You can set this parameter to query images of the specified image family. This parameter is empty by default.
    ImageId string
    The ID of the image.
    ImageName string
    The name of the image.
    ImageOwnerId string
    The ID of the Alibaba Cloud account to which the image belongs. This parameter takes effect only when you query shared images or community images.
    InstanceType string
    The instance type for which the image can be used.
    IsSupportCloudInit bool
    Specifies whether the image supports cloud-init.
    IsSupportIoOptimized bool
    Specifies whether the image can be used on I/O optimized instances.
    MostRecent bool
    If more than one result are returned, select the most recent one.
    NameRegex string
    A regex string to filter resulting images by name.
    OsType string
    The operating system type of the image. Valid values: windows and linux.
    OutputFile string

    File name where to save data source results (after running pulumi preview).

    NOTE: At least one of the name_regex, most_recent and owners must be set.

    Owners string
    Filter results by a specific image owner. Valid items are system, self, others, marketplace.
    ResourceGroupId string
    The ID of the resource group to which the custom image belongs.
    SnapshotId string
    The ID of the snapshot used to create the custom image.
    Status string
    The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: Available. Valid values:

    • Creating: The image is being created.
    • Waiting: The image is waiting to be processed.
    • Available: The image is available.
    • UnAvailable: The image is unavailable.
    • CreateFailed: The image failed to be created.
    • Deprecated: The image is discontinued.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    Usage string
    Specifies whether to check the validity of the request without actually making the request. Valid values:
    actionType String
    The scenario in which the image will be used. Default value: CreateEcs. Valid values:

    • CreateEcs: instance creation.
    • ChangeOS: replacement of the system disk or operating system.
    architecture String
    The image architecture. Valid values: i386 and x86_64.
    dryRun Boolean
    Specifies whether the image is running on an ECS instance. Default value: false. Valid values:
    imageFamily String
    The name of the image family. You can set this parameter to query images of the specified image family. This parameter is empty by default.
    imageId String
    The ID of the image.
    imageName String
    The name of the image.
    imageOwnerId String
    The ID of the Alibaba Cloud account to which the image belongs. This parameter takes effect only when you query shared images or community images.
    instanceType String
    The instance type for which the image can be used.
    isSupportCloudInit Boolean
    Specifies whether the image supports cloud-init.
    isSupportIoOptimized Boolean
    Specifies whether the image can be used on I/O optimized instances.
    mostRecent Boolean
    If more than one result are returned, select the most recent one.
    nameRegex String
    A regex string to filter resulting images by name.
    osType String
    The operating system type of the image. Valid values: windows and linux.
    outputFile String

    File name where to save data source results (after running pulumi preview).

    NOTE: At least one of the name_regex, most_recent and owners must be set.

    owners String
    Filter results by a specific image owner. Valid items are system, self, others, marketplace.
    resourceGroupId String
    The ID of the resource group to which the custom image belongs.
    snapshotId String
    The ID of the snapshot used to create the custom image.
    status String
    The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: Available. Valid values:

    • Creating: The image is being created.
    • Waiting: The image is waiting to be processed.
    • Available: The image is available.
    • UnAvailable: The image is unavailable.
    • CreateFailed: The image failed to be created.
    • Deprecated: The image is discontinued.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    usage String
    Specifies whether to check the validity of the request without actually making the request. Valid values:
    actionType string
    The scenario in which the image will be used. Default value: CreateEcs. Valid values:

    • CreateEcs: instance creation.
    • ChangeOS: replacement of the system disk or operating system.
    architecture string
    The image architecture. Valid values: i386 and x86_64.
    dryRun boolean
    Specifies whether the image is running on an ECS instance. Default value: false. Valid values:
    imageFamily string
    The name of the image family. You can set this parameter to query images of the specified image family. This parameter is empty by default.
    imageId string
    The ID of the image.
    imageName string
    The name of the image.
    imageOwnerId string
    The ID of the Alibaba Cloud account to which the image belongs. This parameter takes effect only when you query shared images or community images.
    instanceType string
    The instance type for which the image can be used.
    isSupportCloudInit boolean
    Specifies whether the image supports cloud-init.
    isSupportIoOptimized boolean
    Specifies whether the image can be used on I/O optimized instances.
    mostRecent boolean
    If more than one result are returned, select the most recent one.
    nameRegex string
    A regex string to filter resulting images by name.
    osType string
    The operating system type of the image. Valid values: windows and linux.
    outputFile string

    File name where to save data source results (after running pulumi preview).

    NOTE: At least one of the name_regex, most_recent and owners must be set.

    owners string
    Filter results by a specific image owner. Valid items are system, self, others, marketplace.
    resourceGroupId string
    The ID of the resource group to which the custom image belongs.
    snapshotId string
    The ID of the snapshot used to create the custom image.
    status string
    The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: Available. Valid values:

    • Creating: The image is being created.
    • Waiting: The image is waiting to be processed.
    • Available: The image is available.
    • UnAvailable: The image is unavailable.
    • CreateFailed: The image failed to be created.
    • Deprecated: The image is discontinued.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    usage string
    Specifies whether to check the validity of the request without actually making the request. Valid values:
    action_type str
    The scenario in which the image will be used. Default value: CreateEcs. Valid values:

    • CreateEcs: instance creation.
    • ChangeOS: replacement of the system disk or operating system.
    architecture str
    The image architecture. Valid values: i386 and x86_64.
    dry_run bool
    Specifies whether the image is running on an ECS instance. Default value: false. Valid values:
    image_family str
    The name of the image family. You can set this parameter to query images of the specified image family. This parameter is empty by default.
    image_id str
    The ID of the image.
    image_name str
    The name of the image.
    image_owner_id str
    The ID of the Alibaba Cloud account to which the image belongs. This parameter takes effect only when you query shared images or community images.
    instance_type str
    The instance type for which the image can be used.
    is_support_cloud_init bool
    Specifies whether the image supports cloud-init.
    is_support_io_optimized bool
    Specifies whether the image can be used on I/O optimized instances.
    most_recent bool
    If more than one result are returned, select the most recent one.
    name_regex str
    A regex string to filter resulting images by name.
    os_type str
    The operating system type of the image. Valid values: windows and linux.
    output_file str

    File name where to save data source results (after running pulumi preview).

    NOTE: At least one of the name_regex, most_recent and owners must be set.

    owners str
    Filter results by a specific image owner. Valid items are system, self, others, marketplace.
    resource_group_id str
    The ID of the resource group to which the custom image belongs.
    snapshot_id str
    The ID of the snapshot used to create the custom image.
    status str
    The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: Available. Valid values:

    • Creating: The image is being created.
    • Waiting: The image is waiting to be processed.
    • Available: The image is available.
    • UnAvailable: The image is unavailable.
    • CreateFailed: The image failed to be created.
    • Deprecated: The image is discontinued.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    usage str
    Specifies whether to check the validity of the request without actually making the request. Valid values:
    actionType String
    The scenario in which the image will be used. Default value: CreateEcs. Valid values:

    • CreateEcs: instance creation.
    • ChangeOS: replacement of the system disk or operating system.
    architecture String
    The image architecture. Valid values: i386 and x86_64.
    dryRun Boolean
    Specifies whether the image is running on an ECS instance. Default value: false. Valid values:
    imageFamily String
    The name of the image family. You can set this parameter to query images of the specified image family. This parameter is empty by default.
    imageId String
    The ID of the image.
    imageName String
    The name of the image.
    imageOwnerId String
    The ID of the Alibaba Cloud account to which the image belongs. This parameter takes effect only when you query shared images or community images.
    instanceType String
    The instance type for which the image can be used.
    isSupportCloudInit Boolean
    Specifies whether the image supports cloud-init.
    isSupportIoOptimized Boolean
    Specifies whether the image can be used on I/O optimized instances.
    mostRecent Boolean
    If more than one result are returned, select the most recent one.
    nameRegex String
    A regex string to filter resulting images by name.
    osType String
    The operating system type of the image. Valid values: windows and linux.
    outputFile String

    File name where to save data source results (after running pulumi preview).

    NOTE: At least one of the name_regex, most_recent and owners must be set.

    owners String
    Filter results by a specific image owner. Valid items are system, self, others, marketplace.
    resourceGroupId String
    The ID of the resource group to which the custom image belongs.
    snapshotId String
    The ID of the snapshot used to create the custom image.
    status String
    The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: Available. Valid values:

    • Creating: The image is being created.
    • Waiting: The image is waiting to be processed.
    • Available: The image is available.
    • UnAvailable: The image is unavailable.
    • CreateFailed: The image failed to be created.
    • Deprecated: The image is discontinued.
    tags Map<Any>
    A mapping of tags to assign to the resource.
    usage String
    Specifies whether to check the validity of the request without actually making the request. Valid values:

    getImages Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of image IDs.
    Images List<Pulumi.AliCloud.Ecs.Outputs.GetImagesImage>
    A list of images. Each element contains the following attributes:
    ActionType string
    Architecture string
    Platform type of the image system: i386 or x86_64.
    DryRun bool
    ImageFamily string
    ImageId string
    ImageName string
    ImageOwnerId string
    InstanceType string
    IsSupportCloudInit bool
    IsSupportIoOptimized bool
    MostRecent bool
    NameRegex string
    OsType string
    OutputFile string
    Owners string
    ResourceGroupId string
    SnapshotId string
    Snapshot ID.
    Status string
    Status of the image. Possible values: UnAvailable, Available, Creating and CreateFailed.
    Tags Dictionary<string, object>
    Usage string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of image IDs.
    Images []GetImagesImage
    A list of images. Each element contains the following attributes:
    ActionType string
    Architecture string
    Platform type of the image system: i386 or x86_64.
    DryRun bool
    ImageFamily string
    ImageId string
    ImageName string
    ImageOwnerId string
    InstanceType string
    IsSupportCloudInit bool
    IsSupportIoOptimized bool
    MostRecent bool
    NameRegex string
    OsType string
    OutputFile string
    Owners string
    ResourceGroupId string
    SnapshotId string
    Snapshot ID.
    Status string
    Status of the image. Possible values: UnAvailable, Available, Creating and CreateFailed.
    Tags map[string]interface{}
    Usage string
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of image IDs.
    images List<GetImagesImage>
    A list of images. Each element contains the following attributes:
    actionType String
    architecture String
    Platform type of the image system: i386 or x86_64.
    dryRun Boolean
    imageFamily String
    imageId String
    imageName String
    imageOwnerId String
    instanceType String
    isSupportCloudInit Boolean
    isSupportIoOptimized Boolean
    mostRecent Boolean
    nameRegex String
    osType String
    outputFile String
    owners String
    resourceGroupId String
    snapshotId String
    Snapshot ID.
    status String
    Status of the image. Possible values: UnAvailable, Available, Creating and CreateFailed.
    tags Map<String,Object>
    usage String
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of image IDs.
    images GetImagesImage[]
    A list of images. Each element contains the following attributes:
    actionType string
    architecture string
    Platform type of the image system: i386 or x86_64.
    dryRun boolean
    imageFamily string
    imageId string
    imageName string
    imageOwnerId string
    instanceType string
    isSupportCloudInit boolean
    isSupportIoOptimized boolean
    mostRecent boolean
    nameRegex string
    osType string
    outputFile string
    owners string
    resourceGroupId string
    snapshotId string
    Snapshot ID.
    status string
    Status of the image. Possible values: UnAvailable, Available, Creating and CreateFailed.
    tags {[key: string]: any}
    usage string
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of image IDs.
    images Sequence[GetImagesImage]
    A list of images. Each element contains the following attributes:
    action_type str
    architecture str
    Platform type of the image system: i386 or x86_64.
    dry_run bool
    image_family str
    image_id str
    image_name str
    image_owner_id str
    instance_type str
    is_support_cloud_init bool
    is_support_io_optimized bool
    most_recent bool
    name_regex str
    os_type str
    output_file str
    owners str
    resource_group_id str
    snapshot_id str
    Snapshot ID.
    status str
    Status of the image. Possible values: UnAvailable, Available, Creating and CreateFailed.
    tags Mapping[str, Any]
    usage str
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of image IDs.
    images List<Property Map>
    A list of images. Each element contains the following attributes:
    actionType String
    architecture String
    Platform type of the image system: i386 or x86_64.
    dryRun Boolean
    imageFamily String
    imageId String
    imageName String
    imageOwnerId String
    instanceType String
    isSupportCloudInit Boolean
    isSupportIoOptimized Boolean
    mostRecent Boolean
    nameRegex String
    osType String
    outputFile String
    owners String
    resourceGroupId String
    snapshotId String
    Snapshot ID.
    status String
    Status of the image. Possible values: UnAvailable, Available, Creating and CreateFailed.
    tags Map<Any>
    usage String

    Supporting Types

    GetImagesImage

    Architecture string
    The image architecture. Valid values: i386 and x86_64.
    CreationTime string
    Time of creation.
    Description string
    Description of the image.
    DiskDeviceMappings List<Pulumi.AliCloud.Ecs.Inputs.GetImagesImageDiskDeviceMapping>
    Description of the system with disks and snapshots under the image.
    Id string
    ID of the image.
    ImageId string
    The ID of the image.
    ImageOwnerAlias string
    Alias of the image owner.
    ImageVersion string
    Version of the image.
    IsCopied bool
    IsSelfShared string
    IsSubscribed bool
    Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
    IsSupportIoOptimized bool
    Specifies whether the image can be used on I/O optimized instances.
    Name string
    OsName string
    Display Chinese name of the OS.
    OsNameEn string
    Display English name of the OS.
    OsType string
    The operating system type of the image. Valid values: windows and linux.
    Platform string
    ProductCode string
    Product code of the image on the image market.
    Progress string
    Progress of image creation, presented in percentages.
    Size int
    Size of the created disk.
    State string
    Status string
    The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: Available. Valid values:

    • Creating: The image is being created.
    • Waiting: The image is waiting to be processed.
    • Available: The image is available.
    • UnAvailable: The image is unavailable.
    • CreateFailed: The image failed to be created.
    • Deprecated: The image is discontinued.
    Usage string
    Specifies whether to check the validity of the request without actually making the request. Valid values:
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    Architecture string
    The image architecture. Valid values: i386 and x86_64.
    CreationTime string
    Time of creation.
    Description string
    Description of the image.
    DiskDeviceMappings []GetImagesImageDiskDeviceMapping
    Description of the system with disks and snapshots under the image.
    Id string
    ID of the image.
    ImageId string
    The ID of the image.
    ImageOwnerAlias string
    Alias of the image owner.
    ImageVersion string
    Version of the image.
    IsCopied bool
    IsSelfShared string
    IsSubscribed bool
    Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
    IsSupportIoOptimized bool
    Specifies whether the image can be used on I/O optimized instances.
    Name string
    OsName string
    Display Chinese name of the OS.
    OsNameEn string
    Display English name of the OS.
    OsType string
    The operating system type of the image. Valid values: windows and linux.
    Platform string
    ProductCode string
    Product code of the image on the image market.
    Progress string
    Progress of image creation, presented in percentages.
    Size int
    Size of the created disk.
    State string
    Status string
    The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: Available. Valid values:

    • Creating: The image is being created.
    • Waiting: The image is waiting to be processed.
    • Available: The image is available.
    • UnAvailable: The image is unavailable.
    • CreateFailed: The image failed to be created.
    • Deprecated: The image is discontinued.
    Usage string
    Specifies whether to check the validity of the request without actually making the request. Valid values:
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    architecture String
    The image architecture. Valid values: i386 and x86_64.
    creationTime String
    Time of creation.
    description String
    Description of the image.
    diskDeviceMappings List<GetImagesImageDiskDeviceMapping>
    Description of the system with disks and snapshots under the image.
    id String
    ID of the image.
    imageId String
    The ID of the image.
    imageOwnerAlias String
    Alias of the image owner.
    imageVersion String
    Version of the image.
    isCopied Boolean
    isSelfShared String
    isSubscribed Boolean
    Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
    isSupportIoOptimized Boolean
    Specifies whether the image can be used on I/O optimized instances.
    name String
    osName String
    Display Chinese name of the OS.
    osNameEn String
    Display English name of the OS.
    osType String
    The operating system type of the image. Valid values: windows and linux.
    platform String
    productCode String
    Product code of the image on the image market.
    progress String
    Progress of image creation, presented in percentages.
    size Integer
    Size of the created disk.
    state String
    status String
    The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: Available. Valid values:

    • Creating: The image is being created.
    • Waiting: The image is waiting to be processed.
    • Available: The image is available.
    • UnAvailable: The image is unavailable.
    • CreateFailed: The image failed to be created.
    • Deprecated: The image is discontinued.
    usage String
    Specifies whether to check the validity of the request without actually making the request. Valid values:
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    architecture string
    The image architecture. Valid values: i386 and x86_64.
    creationTime string
    Time of creation.
    description string
    Description of the image.
    diskDeviceMappings GetImagesImageDiskDeviceMapping[]
    Description of the system with disks and snapshots under the image.
    id string
    ID of the image.
    imageId string
    The ID of the image.
    imageOwnerAlias string
    Alias of the image owner.
    imageVersion string
    Version of the image.
    isCopied boolean
    isSelfShared string
    isSubscribed boolean
    Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
    isSupportIoOptimized boolean
    Specifies whether the image can be used on I/O optimized instances.
    name string
    osName string
    Display Chinese name of the OS.
    osNameEn string
    Display English name of the OS.
    osType string
    The operating system type of the image. Valid values: windows and linux.
    platform string
    productCode string
    Product code of the image on the image market.
    progress string
    Progress of image creation, presented in percentages.
    size number
    Size of the created disk.
    state string
    status string
    The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: Available. Valid values:

    • Creating: The image is being created.
    • Waiting: The image is waiting to be processed.
    • Available: The image is available.
    • UnAvailable: The image is unavailable.
    • CreateFailed: The image failed to be created.
    • Deprecated: The image is discontinued.
    usage string
    Specifies whether to check the validity of the request without actually making the request. Valid values:
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    architecture str
    The image architecture. Valid values: i386 and x86_64.
    creation_time str
    Time of creation.
    description str
    Description of the image.
    disk_device_mappings Sequence[GetImagesImageDiskDeviceMapping]
    Description of the system with disks and snapshots under the image.
    id str
    ID of the image.
    image_id str
    The ID of the image.
    image_owner_alias str
    Alias of the image owner.
    image_version str
    Version of the image.
    is_copied bool
    is_self_shared str
    is_subscribed bool
    Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
    is_support_io_optimized bool
    Specifies whether the image can be used on I/O optimized instances.
    name str
    os_name str
    Display Chinese name of the OS.
    os_name_en str
    Display English name of the OS.
    os_type str
    The operating system type of the image. Valid values: windows and linux.
    platform str
    product_code str
    Product code of the image on the image market.
    progress str
    Progress of image creation, presented in percentages.
    size int
    Size of the created disk.
    state str
    status str
    The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: Available. Valid values:

    • Creating: The image is being created.
    • Waiting: The image is waiting to be processed.
    • Available: The image is available.
    • UnAvailable: The image is unavailable.
    • CreateFailed: The image failed to be created.
    • Deprecated: The image is discontinued.
    usage str
    Specifies whether to check the validity of the request without actually making the request. Valid values:
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    architecture String
    The image architecture. Valid values: i386 and x86_64.
    creationTime String
    Time of creation.
    description String
    Description of the image.
    diskDeviceMappings List<Property Map>
    Description of the system with disks and snapshots under the image.
    id String
    ID of the image.
    imageId String
    The ID of the image.
    imageOwnerAlias String
    Alias of the image owner.
    imageVersion String
    Version of the image.
    isCopied Boolean
    isSelfShared String
    isSubscribed Boolean
    Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
    isSupportIoOptimized Boolean
    Specifies whether the image can be used on I/O optimized instances.
    name String
    osName String
    Display Chinese name of the OS.
    osNameEn String
    Display English name of the OS.
    osType String
    The operating system type of the image. Valid values: windows and linux.
    platform String
    productCode String
    Product code of the image on the image market.
    progress String
    Progress of image creation, presented in percentages.
    size Number
    Size of the created disk.
    state String
    status String
    The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: Available. Valid values:

    • Creating: The image is being created.
    • Waiting: The image is waiting to be processed.
    • Available: The image is available.
    • UnAvailable: The image is unavailable.
    • CreateFailed: The image failed to be created.
    • Deprecated: The image is discontinued.
    usage String
    Specifies whether to check the validity of the request without actually making the request. Valid values:
    tags Map<Any>
    A mapping of tags to assign to the resource.

    GetImagesImageDiskDeviceMapping

    Device string
    Device information of the created disk: such as /dev/xvdb.
    Size string
    Size of the created disk.
    SnapshotId string
    The ID of the snapshot used to create the custom image.
    Device string
    Device information of the created disk: such as /dev/xvdb.
    Size string
    Size of the created disk.
    SnapshotId string
    The ID of the snapshot used to create the custom image.
    device String
    Device information of the created disk: such as /dev/xvdb.
    size String
    Size of the created disk.
    snapshotId String
    The ID of the snapshot used to create the custom image.
    device string
    Device information of the created disk: such as /dev/xvdb.
    size string
    Size of the created disk.
    snapshotId string
    The ID of the snapshot used to create the custom image.
    device str
    Device information of the created disk: such as /dev/xvdb.
    size str
    Size of the created disk.
    snapshot_id str
    The ID of the snapshot used to create the custom image.
    device String
    Device information of the created disk: such as /dev/xvdb.
    size String
    Size of the created disk.
    snapshotId String
    The ID of the snapshot used to create the custom image.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.59.0 published on Friday, Jul 12, 2024 by Pulumi