alicloud.ecs.getImages
Explore with Pulumi AI
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:
- 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
andx86_64
. - 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:
windows
andlinux
. - Output
File string File name where to save data source results (after running
pulumi preview
).NOTE: At least one of the
name_regex
,most_recent
andowners
must be set.- 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, 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:
- 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
andx86_64
. - 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:
windows
andlinux
. - Output
File string File name where to save data source results (after running
pulumi preview
).NOTE: At least one of the
name_regex
,most_recent
andowners
must be set.- 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]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:
- 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
andx86_64
. - 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:
windows
andlinux
. - output
File String File name where to save data source results (after running
pulumi preview
).NOTE: At least one of the
name_regex
,most_recent
andowners
must be set.- 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,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:
- 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
andx86_64
. - 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:
windows
andlinux
. - output
File string File name where to save data source results (after running
pulumi preview
).NOTE: At least one of the
name_regex
,most_recent
andowners
must be set.- 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]: 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
andx86_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_ 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:
windows
andlinux
. - 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
andowners
must be set.- 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, 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:
- 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
andx86_64
. - 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:
windows
andlinux
. - output
File String File name where to save data source results (after running
pulumi preview
).NOTE: At least one of the
name_regex
,most_recent
andowners
must be set.- 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<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.
Ali Cloud. Ecs. Outputs. Get Images Image> - A list of images. Each element contains the following attributes:
- Action
Type string - Architecture string
- 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 - Snapshot ID.
- Status string
- Status of the image. Possible values:
UnAvailable
,Available
,Creating
andCreateFailed
. - Dictionary<string, object>
- 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 list of images. Each element contains the following attributes:
- Action
Type string - Architecture string
- 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 - Snapshot ID.
- Status string
- Status of the image. Possible values:
UnAvailable
,Available
,Creating
andCreateFailed
. - 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<Get
Images Image> - A list of images. Each element contains the following attributes:
- action
Type String - architecture String
- 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 - Snapshot ID.
- status String
- Status of the image. Possible values:
UnAvailable
,Available
,Creating
andCreateFailed
. - Map<String,Object>
- 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 list of images. Each element contains the following attributes:
- action
Type string - architecture string
- 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 - Snapshot ID.
- status string
- Status of the image. Possible values:
UnAvailable
,Available
,Creating
andCreateFailed
. - {[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[Get
Images Image] - 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_ 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 - Snapshot ID.
- status str
- Status of the image. Possible values:
UnAvailable
,Available
,Creating
andCreateFailed
. - 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:
- action
Type String - architecture String
- 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 - Snapshot ID.
- status String
- Status of the image. Possible values:
UnAvailable
,Available
,Creating
andCreateFailed
. - Map<Any>
- usage String
Supporting Types
GetImagesImage
- Architecture string
- The image architecture. Valid values:
i386
andx86_64
. - Creation
Time string - Time of creation.
- Description string
- Description of the image.
- Disk
Device List<Pulumi.Mappings Ali Cloud. Ecs. Inputs. Get Images Image Disk Device Mapping> - Description of the system with disks and snapshots under the image.
- Id string
- ID of the image.
- Image
Id string - The ID of the image.
- Image
Owner stringAlias - 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 - Display Chinese name of the OS.
- Os
Name stringEn - Display English name of the OS.
- Os
Type string - The operating system type of the image. Valid values:
windows
andlinux
. - Platform string
- Product
Code 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:
- Dictionary<string, object>
- A mapping of tags to assign to the resource.
- Architecture string
- The image architecture. Valid values:
i386
andx86_64
. - Creation
Time string - Time of creation.
- Description string
- Description of the image.
- Disk
Device []GetMappings Images Image Disk Device Mapping - Description of the system with disks and snapshots under the image.
- Id string
- ID of the image.
- Image
Id string - The ID of the image.
- Image
Owner stringAlias - 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 - Display Chinese name of the OS.
- Os
Name stringEn - Display English name of the OS.
- Os
Type string - The operating system type of the image. Valid values:
windows
andlinux
. - Platform string
- Product
Code 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:
- map[string]interface{}
- A mapping of tags to assign to the resource.
- architecture String
- The image architecture. Valid values:
i386
andx86_64
. - creation
Time String - Time of creation.
- description String
- Description of the image.
- disk
Device List<GetMappings Images Image Disk Device Mapping> - Description of the system with disks and snapshots under the image.
- id String
- ID of the image.
- image
Id String - The ID of the image.
- image
Owner StringAlias - 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 - Display Chinese name of the OS.
- os
Name StringEn - Display English name of the OS.
- os
Type String - The operating system type of the image. Valid values:
windows
andlinux
. - platform String
- product
Code 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:
- Map<String,Object>
- A mapping of tags to assign to the resource.
- architecture string
- The image architecture. Valid values:
i386
andx86_64
. - creation
Time string - Time of creation.
- description string
- Description of the image.
- disk
Device GetMappings Images Image Disk Device Mapping[] - Description of the system with disks and snapshots under the image.
- id string
- ID of the image.
- image
Id string - The ID of the image.
- image
Owner stringAlias - 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 - Display Chinese name of the OS.
- os
Name stringEn - Display English name of the OS.
- os
Type string - The operating system type of the image. Valid values:
windows
andlinux
. - platform string
- product
Code 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:
- {[key: string]: any}
- A mapping of tags to assign to the resource.
- architecture str
- The image architecture. Valid values:
i386
andx86_64
. - creation_
time str - Time of creation.
- description str
- Description of the image.
- disk_
device_ Sequence[Getmappings Images Image Disk Device Mapping] - 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_ stralias - 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 - Display Chinese name of the OS.
- os_
name_ stren - Display English name of the OS.
- os_
type str - The operating system type of the image. Valid values:
windows
andlinux
. - 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:
- Mapping[str, Any]
- A mapping of tags to assign to the resource.
- architecture String
- The image architecture. Valid values:
i386
andx86_64
. - creation
Time String - Time of creation.
- description String
- Description of the image.
- disk
Device List<Property Map>Mappings - Description of the system with disks and snapshots under the image.
- id String
- ID of the image.
- image
Id String - The ID of the image.
- image
Owner StringAlias - 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 - Display Chinese name of the OS.
- os
Name StringEn - Display English name of the OS.
- os
Type String - The operating system type of the image. Valid values:
windows
andlinux
. - platform String
- product
Code 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:
- 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.
- Snapshot
Id 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.
- Snapshot
Id 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.
- snapshot
Id 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.
- snapshot
Id 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.
- 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
alicloud
Terraform Provider.