ImagesProps
Properties for defining a Images
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-images
Initializer
import { datasource } from '@alicloud/ros-cdk-ecs'
const imagesProps: datasource.ImagesProps = { ... }
Properties
Name | Type | Description |
---|---|---|
actionType |
string | @alicloud/ros-cdk-core.IResolvable |
Property actionType: The scenario in which the image is used. |
architecture |
string | @alicloud/ros-cdk-core.IResolvable |
Property architecture: The image architecture. |
imageFamily |
string | @alicloud/ros-cdk-core.IResolvable |
Property imageFamily: The name of the image family. |
imageId |
string | @alicloud/ros-cdk-core.IResolvable |
Property imageId: The ID of the image. |
imageName |
string | @alicloud/ros-cdk-core.IResolvable |
Property imageName: The name of the image. |
imageOwnerAlias |
string | @alicloud/ros-cdk-core.IResolvable |
Property imageOwnerAlias: The source of the image. |
instanceType |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceType: The instance type for which the image can be used. |
isPublic |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property isPublic: Specifies whether to query published community images. |
isSupportCloudinit |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property isSupportCloudinit: Specifies whether the image supports cloud-init. |
isSupportIoOptimized |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property isSupportIoOptimized: Specifies whether the image can be used on I\/O optimized instances. |
osType |
string | @alicloud/ros-cdk-core.IResolvable |
Property osType: The operating system type of the image. |
refreshOptions |
string | @alicloud/ros-cdk-core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: The ID of the resource group to which the custom image belongs. |
snapshotId |
string | @alicloud/ros-cdk-core.IResolvable |
Property snapshotId: The ID of the snapshot used to create the custom image. |
status |
string | @alicloud/ros-cdk-core.IResolvable |
Property status: The state of the image. |
tags |
@alicloud/ros-cdk-ecs.datasource.RosImages.TagsProperty[] |
Property tags: Tags of image. |
usage |
string | @alicloud/ros-cdk-core.IResolvable |
Property usage: Specifies whether the image is running on an Elastic Compute Service (ECS) instance. |
actionType
Optional
public readonly actionType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property actionType: The scenario in which the image is used.
Default value: CreateEcs. Valid values: CreateEcs: instance creation ChangeOS: replacement of the system disk or operating system
architecture
Optional
public readonly architecture: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property architecture: The image architecture.
Valid values: i38 x86_64 arm64
imageFamily
Optional
public readonly imageFamily: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property imageFamily: 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
Optional
public readonly imageId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property imageId: The ID of the image.
imageName
Optional
public readonly imageName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property imageName: The name of the image.
Support for fuzzy queries using *.
imageOwnerAlias
Optional
public readonly imageOwnerAlias: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property imageOwnerAlias: The source of the image.
Valid values: system: public images provided by Alibaba Cloud. self: your custom images. others: shared images from other Alibaba Cloud accounts, or community images published by other Alibaba Cloud accounts. Take note of the following items: - To query community images, you must set IsPublic to true. To query shared images, you must set IsPublic to false or leave the IsPublic parameter empty. marketplace: Alibaba Cloud Marketplace images. If Alibaba Cloud Marketplace images are returned in the response, you can use the images without subscription. You must pay attention to the billing details of Alibaba Cloud Marketplace images. This parameter is empty by default, which indicates that the results that match system, self, and others are returned.
instanceType
Optional
public readonly instanceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceType: The instance type for which the image can be used.
isPublic
Optional
public readonly isPublic: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property isPublic: Specifies whether to query published community images.
Valid values: true: queries published community images. When you set this parameter to true, you must set ImageOwnerAlias to others. false: queries other image types than community images. The specific image types to be queried are determined by the ImageOwnerAlias value. Default value: false.
isSupportCloudinit
Optional
public readonly isSupportCloudinit: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property isSupportCloudinit: Specifies whether the image supports cloud-init.
isSupportIoOptimized
Optional
public readonly isSupportIoOptimized: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property isSupportIoOptimized: Specifies whether the image can be used on I\/O optimized instances.
osType
Optional
public readonly osType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property osType: The operating system type of the image.
Valid values: windows linux
refreshOptions
Optional
public readonly refreshOptions: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values: - Never: Never refresh the datasource resource when the stack is updated. - Always: Always refresh the datasource resource when the stack is updated. Default is Never.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group to which the custom image belongs.
If this parameter is specified to query resources, up to 1,000 resources that belong to the specified resource group can be displayed in the response.
snapshotId
Optional
public readonly snapshotId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property snapshotId: The ID of the snapshot used to create the custom image.
status
Optional
public readonly status: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property status: The state of the image.
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. You can specify multiple values. Separate multiple values with commas (,).
tags
Optional
public readonly tags: TagsProperty[];
- Type: @alicloud/ros-cdk-ecs.datasource.RosImages.TagsProperty[]
Property tags: Tags of image.
usage
Optional
public readonly usage: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property usage: Specifies whether the image is running on an Elastic Compute Service (ECS) instance.
Valid values: instance: The image is already in use and running on an ECS instance. none: The image is not in use.