Skip to content

ImagesProps

Properties for defining a Images.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-images

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ecs;
new ImagesProps {
    object ActionType = null,
    object Architecture = null,
    object ImageFamily = null,
    object ImageId = null,
    object ImageName = null,
    object ImageOwnerAlias = null,
    object InstanceType = null,
    object IsPublic = null,
    object IsSupportCloudinit = null,
    object IsSupportIoOptimized = null,
    object OsType = null,
    object RefreshOptions = null,
    object ResourceGroupId = null,
    object SnapshotId = null,
    object Status = null,
    TagsProperty[] Tags = null,
    object Usage = null
};

Properties

Name Type Description
ActionType object Property actionType: The scenario in which the image is used.
Architecture object Property architecture: The image architecture.
ImageFamily object Property imageFamily: The name of the image family.
ImageId object Property imageId: The ID of the image.
ImageName object Property imageName: The name of the image.
ImageOwnerAlias object Property imageOwnerAlias: The source of the image.
InstanceType object Property instanceType: The instance type for which the image can be used.
IsPublic object Property isPublic: Specifies whether to query published community images.
IsSupportCloudinit object Property isSupportCloudinit: Specifies whether the image supports cloud-init.
IsSupportIoOptimized object Property isSupportIoOptimized: Specifies whether the image can be used on I\/O optimized instances.
OsType object Property osType: The operating system type of the image.
RefreshOptions object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ResourceGroupId object Property resourceGroupId: The ID of the resource group to which the custom image belongs.
SnapshotId object Property snapshotId: The ID of the snapshot used to create the custom image.
Status object Property status: The state of the image.
Tags AlibabaCloud.SDK.ROS.CDK.Ecs.datasource.RosImages.TagsProperty[] Property tags: Tags of image.
Usage object Property usage: Specifies whether the image is running on an Elastic Compute Service (ECS) instance.

ActionTypeOptional

public object ActionType { get; set; }
  • Type: object

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


ArchitectureOptional

public object Architecture { get; set; }
  • Type: object

Property architecture: The image architecture.

Valid values: i38 x86_64 arm64


ImageFamilyOptional

public object ImageFamily { get; set; }
  • Type: object

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.


ImageIdOptional

public object ImageId { get; set; }
  • Type: object

Property imageId: The ID of the image.


ImageNameOptional

public object ImageName { get; set; }
  • Type: object

Property imageName: The name of the image.

Support for fuzzy queries using *.


ImageOwnerAliasOptional

public object ImageOwnerAlias { get; set; }
  • Type: object

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.

InstanceTypeOptional

public object InstanceType { get; set; }
  • Type: object

Property instanceType: The instance type for which the image can be used.


IsPublicOptional

public object IsPublic { get; set; }
  • Type: object

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.


IsSupportCloudinitOptional

public object IsSupportCloudinit { get; set; }
  • Type: object

Property isSupportCloudinit: Specifies whether the image supports cloud-init.


IsSupportIoOptimizedOptional

public object IsSupportIoOptimized { get; set; }
  • Type: object

Property isSupportIoOptimized: Specifies whether the image can be used on I\/O optimized instances.


OsTypeOptional

public object OsType { get; set; }
  • Type: object

Property osType: The operating system type of the image.

Valid values: windows linux


RefreshOptionsOptional

public object RefreshOptions { get; set; }
  • Type: object

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.

ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

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.


SnapshotIdOptional

public object SnapshotId { get; set; }
  • Type: object

Property snapshotId: The ID of the snapshot used to create the custom image.


StatusOptional

public object Status { get; set; }
  • Type: object

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 (,).


TagsOptional

public TagsProperty[] Tags { get; set; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Ecs.datasource.RosImages.TagsProperty[]

Property tags: Tags of image.


UsageOptional

public object Usage { get; set; }
  • Type: object

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.