Alibaba Cloud v3.95.0 published on Thursday, Feb 12, 2026 by Pulumi
Alibaba Cloud v3.95.0 published on Thursday, Feb 12, 2026 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 example = alicloud.ecs.getImages({
owners: "system",
nameRegex: "^centos_6",
});
export const imageId = example.then(example => example.images?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
example = alicloud.ecs.get_images(owners="system",
name_regex="^centos_6")
pulumi.export("imageId", example.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 {
example, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
Owners: pulumi.StringRef("system"),
NameRegex: pulumi.StringRef("^centos_6"),
}, nil)
if err != nil {
return err
}
ctx.Export("imageId", example.Images[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var example = AliCloud.Ecs.GetImages.Invoke(new()
{
Owners = "system",
NameRegex = "^centos_6",
});
return new Dictionary<string, object?>
{
["imageId"] = example.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 example = EcsFunctions.getImages(GetImagesArgs.builder()
.owners("system")
.nameRegex("^centos_6")
.build());
ctx.export("imageId", example.images()[0].id());
}
}
variables:
example:
fn::invoke:
function: alicloud:ecs:getImages
arguments:
owners: system
nameRegex: ^centos_6
outputs:
imageId: ${example.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, str]] = 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, pulumi.Input[str]]]] = 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)
public static Output<GetImagesResult> getImages(GetImagesArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:ecs/getImages:getImages
arguments:
# arguments dictionaryThe following arguments are supported:
- Action
Type 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,x86_64,arm64. - Dry
Run bool - Specifies whether the image is running on an ECS instance. Default value:
false. Valid values: - Image
Family 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.
- Image
Id string - The ID of the image.
- Image
Name string - The name of the image.
- Image
Owner stringId - 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 string - The instance type for which the image can be used.
- Is
Support boolCloud Init - Specifies whether the image supports cloud-init.
- Is
Support boolIo Optimized - 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 string - A regex string to filter resulting images by name.
- Os
Type string - The operating system type of the image. Valid values:
windowsandlinux. - Output
File string - File name where to save data source results (after running
pulumi preview). - Owners string
- Filter results by a specific image owner. Valid items are
system,self,others,marketplace. - Resource
Group stringId - The ID of the resource group to which the custom image belongs.
- Snapshot
Id 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.
- Dictionary<string, string>
- 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 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,x86_64,arm64. - Dry
Run bool - Specifies whether the image is running on an ECS instance. Default value:
false. Valid values: - Image
Family 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.
- Image
Id string - The ID of the image.
- Image
Name string - The name of the image.
- Image
Owner stringId - 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 string - The instance type for which the image can be used.
- Is
Support boolCloud Init - Specifies whether the image supports cloud-init.
- Is
Support boolIo Optimized - 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 string - A regex string to filter resulting images by name.
- Os
Type string - The operating system type of the image. Valid values:
windowsandlinux. - Output
File string - File name where to save data source results (after running
pulumi preview). - Owners string
- Filter results by a specific image owner. Valid items are
system,self,others,marketplace. - Resource
Group stringId - The ID of the resource group to which the custom image belongs.
- Snapshot
Id 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.
- map[string]string
- 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 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,x86_64,arm64. - dry
Run Boolean - Specifies whether the image is running on an ECS instance. Default value:
false. Valid values: - image
Family 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.
- image
Id String - The ID of the image.
- image
Name String - The name of the image.
- image
Owner StringId - 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 String - The instance type for which the image can be used.
- is
Support BooleanCloud Init - Specifies whether the image supports cloud-init.
- is
Support BooleanIo Optimized - Specifies whether the image can be used on I/O optimized instances.
- most
Recent Boolean - If more than one result are returned, select the most recent one.
- name
Regex String - A regex string to filter resulting images by name.
- os
Type String - The operating system type of the image. Valid values:
windowsandlinux. - output
File String - File name where to save data source results (after running
pulumi preview). - owners String
- Filter results by a specific image owner. Valid items are
system,self,others,marketplace. - resource
Group StringId - The ID of the resource group to which the custom image belongs.
- snapshot
Id 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.
- Map<String,String>
- 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 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,x86_64,arm64. - dry
Run boolean - Specifies whether the image is running on an ECS instance. Default value:
false. Valid values: - image
Family 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.
- image
Id string - The ID of the image.
- image
Name string - The name of the image.
- image
Owner stringId - 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 string - The instance type for which the image can be used.
- is
Support booleanCloud Init - Specifies whether the image supports cloud-init.
- is
Support booleanIo Optimized - Specifies whether the image can be used on I/O optimized instances.
- most
Recent boolean - If more than one result are returned, select the most recent one.
- name
Regex string - A regex string to filter resulting images by name.
- os
Type string - The operating system type of the image. Valid values:
windowsandlinux. - output
File string - File name where to save data source results (after running
pulumi preview). - owners string
- Filter results by a specific image owner. Valid items are
system,self,others,marketplace. - resource
Group stringId - The ID of the resource group to which the custom image belongs.
- snapshot
Id 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.
- {[key: string]: string}
- 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,x86_64,arm64. - 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_ strid - 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_ boolcloud_ init - Specifies whether the image supports cloud-init.
- is_
support_ boolio_ optimized - 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:
windowsandlinux. - output_
file str - File name where to save data source results (after running
pulumi preview). - owners str
- Filter results by a specific image owner. Valid items are
system,self,others,marketplace. - resource_
group_ strid - 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.
- Mapping[str, str]
- 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:
- action
Type 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,x86_64,arm64. - dry
Run Boolean - Specifies whether the image is running on an ECS instance. Default value:
false. Valid values: - image
Family 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.
- image
Id String - The ID of the image.
- image
Name String - The name of the image.
- image
Owner StringId - 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 String - The instance type for which the image can be used.
- is
Support BooleanCloud Init - Specifies whether the image supports cloud-init.
- is
Support BooleanIo Optimized - Specifies whether the image can be used on I/O optimized instances.
- most
Recent Boolean - If more than one result are returned, select the most recent one.
- name
Regex String - A regex string to filter resulting images by name.
- os
Type String - The operating system type of the image. Valid values:
windowsandlinux. - output
File String - File name where to save data source results (after running
pulumi preview). - owners String
- Filter results by a specific image owner. Valid items are
system,self,others,marketplace. - resource
Group StringId - The ID of the resource group to which the custom image belongs.
- snapshot
Id 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.
- Map<String>
- 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.
Ali Cloud. Ecs. Outputs. Get Images Image> - A
disk_device_mappingsblock as defined below. A list of images. - Action
Type string - Architecture string
- The platform type of the image system: i386 or x86_64.
- Dry
Run bool - Image
Family string - Image
Id string - Image
Name string - Image
Owner stringId - Instance
Type string - Is
Support boolCloud Init - Is
Support boolIo Optimized - Most
Recent bool - Name
Regex string - Os
Type string - Output
File string - Owners string
- Resource
Group stringId - Snapshot
Id string - The snapshot ID.
- Status string
- The status of the image. Possible values:
UnAvailable,Available,CreatingandCreateFailed. - Dictionary<string, string>
- Usage string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of image IDs.
- Images
[]Get
Images Image - A
disk_device_mappingsblock as defined below. A list of images. - Action
Type string - Architecture string
- The platform type of the image system: i386 or x86_64.
- Dry
Run bool - Image
Family string - Image
Id string - Image
Name string - Image
Owner stringId - Instance
Type string - Is
Support boolCloud Init - Is
Support boolIo Optimized - Most
Recent bool - Name
Regex string - Os
Type string - Output
File string - Owners string
- Resource
Group stringId - Snapshot
Id string - The snapshot ID.
- Status string
- The status of the image. Possible values:
UnAvailable,Available,CreatingandCreateFailed. - map[string]string
- Usage string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of image IDs.
- images
List<Get
Images Image> - A
disk_device_mappingsblock as defined below. A list of images. - action
Type String - architecture String
- The platform type of the image system: i386 or x86_64.
- dry
Run Boolean - image
Family String - image
Id String - image
Name String - image
Owner StringId - instance
Type String - is
Support BooleanCloud Init - is
Support BooleanIo Optimized - most
Recent Boolean - name
Regex String - os
Type String - output
File String - owners String
- resource
Group StringId - snapshot
Id String - The snapshot ID.
- status String
- The status of the image. Possible values:
UnAvailable,Available,CreatingandCreateFailed. - Map<String,String>
- usage String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of image IDs.
- images
Get
Images Image[] - A
disk_device_mappingsblock as defined below. A list of images. - action
Type string - architecture string
- The platform type of the image system: i386 or x86_64.
- dry
Run boolean - image
Family string - image
Id string - image
Name string - image
Owner stringId - instance
Type string - is
Support booleanCloud Init - is
Support booleanIo Optimized - most
Recent boolean - name
Regex string - os
Type string - output
File string - owners string
- resource
Group stringId - snapshot
Id string - The snapshot ID.
- status string
- The status of the image. Possible values:
UnAvailable,Available,CreatingandCreateFailed. - {[key: string]: string}
- usage string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of image IDs.
- images
Sequence[Get
Images Image] - A
disk_device_mappingsblock as defined below. A list of images. - action_
type str - architecture str
- The platform type of the image system: i386 or x86_64.
- dry_
run bool - image_
family str - image_
id str - image_
name str - image_
owner_ strid - instance_
type str - is_
support_ boolcloud_ init - is_
support_ boolio_ optimized - most_
recent bool - name_
regex str - os_
type str - output_
file str - owners str
- resource_
group_ strid - snapshot_
id str - The snapshot ID.
- status str
- The status of the image. Possible values:
UnAvailable,Available,CreatingandCreateFailed. - Mapping[str, str]
- 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
disk_device_mappingsblock as defined below. A list of images. - action
Type String - architecture String
- The platform type of the image system: i386 or x86_64.
- dry
Run Boolean - image
Family String - image
Id String - image
Name String - image
Owner StringId - instance
Type String - is
Support BooleanCloud Init - is
Support BooleanIo Optimized - most
Recent Boolean - name
Regex String - os
Type String - output
File String - owners String
- resource
Group StringId - snapshot
Id String - The snapshot ID.
- status String
- The status of the image. Possible values:
UnAvailable,Available,CreatingandCreateFailed. - Map<String>
- usage String
Supporting Types
GetImagesImage
- Architecture string
- The image architecture. Valid values:
i386,x86_64,arm64. - Creation
Time string - The creation time.
- Description string
- The description of the image.
- Disk
Device List<Pulumi.Mappings Ali Cloud. Ecs. Inputs. Get Images Image Disk Device Mapping> - A
disk_device_mappingsblock as defined below. Description of the system with disks and snapshots under the image. - Id string
- The ID of the image.
- Image
Id string - The ID of the image.
- Image
Owner stringAlias - The alias of the image owner.
- Image
Version string - Version of the image.
- Is
Copied bool - string
- Is
Subscribed bool - Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
- Is
Support boolIo Optimized - Specifies whether the image can be used on I/O optimized instances.
- Name string
- Os
Name string - The display Chinese name of the OS.
- Os
Name stringEn - The english name of the OS.
- Os
Type string - The operating system type of the image. Valid values:
windowsandlinux. - Platform string
- Product
Code string - The product code of the image on the image market.
- Progress string
- Progress of image creation, presented in percentages.
- Size int
- The 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:
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Architecture string
- The image architecture. Valid values:
i386,x86_64,arm64. - Creation
Time string - The creation time.
- Description string
- The description of the image.
- Disk
Device []GetMappings Images Image Disk Device Mapping - A
disk_device_mappingsblock as defined below. Description of the system with disks and snapshots under the image. - Id string
- The ID of the image.
- Image
Id string - The ID of the image.
- Image
Owner stringAlias - The alias of the image owner.
- Image
Version string - Version of the image.
- Is
Copied bool - string
- Is
Subscribed bool - Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
- Is
Support boolIo Optimized - Specifies whether the image can be used on I/O optimized instances.
- Name string
- Os
Name string - The display Chinese name of the OS.
- Os
Name stringEn - The english name of the OS.
- Os
Type string - The operating system type of the image. Valid values:
windowsandlinux. - Platform string
- Product
Code string - The product code of the image on the image market.
- Progress string
- Progress of image creation, presented in percentages.
- Size int
- The 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:
- map[string]string
- A mapping of tags to assign to the resource.
- architecture String
- The image architecture. Valid values:
i386,x86_64,arm64. - creation
Time String - The creation time.
- description String
- The description of the image.
- disk
Device List<GetMappings Images Image Disk Device Mapping> - A
disk_device_mappingsblock as defined below. Description of the system with disks and snapshots under the image. - id String
- The ID of the image.
- image
Id String - The ID of the image.
- image
Owner StringAlias - The alias of the image owner.
- image
Version String - Version of the image.
- is
Copied Boolean - String
- is
Subscribed Boolean - Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
- is
Support BooleanIo Optimized - Specifies whether the image can be used on I/O optimized instances.
- name String
- os
Name String - The display Chinese name of the OS.
- os
Name StringEn - The english name of the OS.
- os
Type String - The operating system type of the image. Valid values:
windowsandlinux. - platform String
- product
Code String - The product code of the image on the image market.
- progress String
- Progress of image creation, presented in percentages.
- size Integer
- The 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:
- Map<String,String>
- A mapping of tags to assign to the resource.
- architecture string
- The image architecture. Valid values:
i386,x86_64,arm64. - creation
Time string - The creation time.
- description string
- The description of the image.
- disk
Device GetMappings Images Image Disk Device Mapping[] - A
disk_device_mappingsblock as defined below. Description of the system with disks and snapshots under the image. - id string
- The ID of the image.
- image
Id string - The ID of the image.
- image
Owner stringAlias - The alias of the image owner.
- image
Version string - Version of the image.
- is
Copied boolean - string
- is
Subscribed boolean - Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
- is
Support booleanIo Optimized - Specifies whether the image can be used on I/O optimized instances.
- name string
- os
Name string - The display Chinese name of the OS.
- os
Name stringEn - The english name of the OS.
- os
Type string - The operating system type of the image. Valid values:
windowsandlinux. - platform string
- product
Code string - The product code of the image on the image market.
- progress string
- Progress of image creation, presented in percentages.
- size number
- The 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:
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- architecture str
- The image architecture. Valid values:
i386,x86_64,arm64. - creation_
time str - The creation time.
- description str
- The description of the image.
- disk_
device_ Sequence[Getmappings Images Image Disk Device Mapping] - A
disk_device_mappingsblock as defined below. Description of the system with disks and snapshots under the image. - id str
- The ID of the image.
- image_
id str - The ID of the image.
- image_
owner_ stralias - The alias of the image owner.
- image_
version str - Version of the image.
- is_
copied bool - str
- is_
subscribed bool - Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
- is_
support_ boolio_ optimized - Specifies whether the image can be used on I/O optimized instances.
- name str
- os_
name str - The display Chinese name of the OS.
- os_
name_ stren - The english name of the OS.
- os_
type str - The operating system type of the image. Valid values:
windowsandlinux. - platform str
- product_
code str - The product code of the image on the image market.
- progress str
- Progress of image creation, presented in percentages.
- size int
- The 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:
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- architecture String
- The image architecture. Valid values:
i386,x86_64,arm64. - creation
Time String - The creation time.
- description String
- The description of the image.
- disk
Device List<Property Map>Mappings - A
disk_device_mappingsblock as defined below. Description of the system with disks and snapshots under the image. - id String
- The ID of the image.
- image
Id String - The ID of the image.
- image
Owner StringAlias - The alias of the image owner.
- image
Version String - Version of the image.
- is
Copied Boolean - String
- is
Subscribed Boolean - Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
- is
Support BooleanIo Optimized - Specifies whether the image can be used on I/O optimized instances.
- name String
- os
Name String - The display Chinese name of the OS.
- os
Name StringEn - The english name of the OS.
- os
Type String - The operating system type of the image. Valid values:
windowsandlinux. - platform String
- product
Code String - The product code of the image on the image market.
- progress String
- Progress of image creation, presented in percentages.
- size Number
- The 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:
- Map<String>
- A mapping of tags to assign to the resource.
GetImagesImageDiskDeviceMapping
- Device string
- The device information of the created disk: such as /dev/xvdb.
- Size string
- The size of the created disk.
- Snapshot
Id string - The ID of the snapshot used to create the custom image.
- Device string
- The device information of the created disk: such as /dev/xvdb.
- Size string
- The size of the created disk.
- Snapshot
Id string - The ID of the snapshot used to create the custom image.
- device String
- The device information of the created disk: such as /dev/xvdb.
- size String
- The size of the created disk.
- snapshot
Id String - The ID of the snapshot used to create the custom image.
- device string
- The device information of the created disk: such as /dev/xvdb.
- size string
- The size of the created disk.
- snapshot
Id string - The ID of the snapshot used to create the custom image.
- device str
- The device information of the created disk: such as /dev/xvdb.
- size str
- The size of the created disk.
- snapshot_
id str - The ID of the snapshot used to create the custom image.
- device String
- The device information of the created disk: such as /dev/xvdb.
- size String
- The size of the created disk.
- snapshot
Id 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
alicloudTerraform Provider.
Alibaba Cloud v3.95.0 published on Thursday, Feb 12, 2026 by Pulumi
