Skip to content

CustomImageProps

Properties for defining a CustomImage.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-customimage

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ecs;
new CustomImageProps {
    object Architecture = null,
    object BootMode = null,
    object Description = null,
    object DetectionStrategy = null,
    object DiskDeviceMapping = null,
    object ImageFamily = null,
    object ImageName = null,
    object ImageVersion = null,
    object InstanceId = null,
    object Platform = null,
    object ResourceGroupId = null,
    object SnapshotId = null,
    object SourceRegionId = null,
    object Tag = null
};

Properties

Name Type Description
Architecture object Property architecture: After specifying the data disk snapshot as the mirrored system disk, you need to determine the system architecture of the system disk through Architecture.
BootMode object Property bootMode: Modify the startup mode of the image.
Description object Property description: The description of the image.
DetectionStrategy object Property detectionStrategy: Image detection policy.
DiskDeviceMapping object Property diskDeviceMapping:.
ImageFamily object Property imageFamily: The name of the image family of the image.
ImageName object Property imageName: Image name.
ImageVersion object Property imageVersion: Image version.
InstanceId object Property instanceId: Instance ID.
Platform object Property platform: After specifying the data disk snapshot as the mirrored system disk, you need to determine the operating system release of the system disk through Platform.
ResourceGroupId object Property resourceGroupId: The ID of the resource group to which to assign the custom image.
SnapshotId object Property snapshotId: The snapshot ID.
SourceRegionId object Property sourceRegionId: ID of the region to where the instance\/snapshot belongs.
Tag object Property tag:.

ArchitectureOptional

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

Property architecture: After specifying the data disk snapshot as the mirrored system disk, you need to determine the system architecture of the system disk through Architecture.

Ranges: I386 X86_64 (default)


BootModeOptional

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

Property bootMode: Modify the startup mode of the image.

Ranges: BIOS: BIOS boot mode. UEFI: UEFI boot mode. You need to know the startup mode supported by the specified image. After modifying the startup mode through this parameter, it must match the startup mode supported by the image itself so that the instance can start normally.


DescriptionOptional

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

Property description: The description of the image.

It can be [0, 256] letters in length. It cannot begin with http:// or https://. Default value: null.


DetectionStrategyOptional

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

Property detectionStrategy: Image detection policy.

If this parameter is not configured, detection will not be triggered. Only Standard detection mode is supported.Currently, most Linux/Windows versions are supported.


DiskDeviceMappingOptional

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

Property diskDeviceMapping:.


ImageFamilyOptional

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

Property imageFamily: The name of the image family of the image.

The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It cannot contain http:// or https://. It must start with a letter and cannot start with acs: or aliyun.This parameter is empty by default.


ImageNameOptional

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

Property imageName: Image name.

Can contain [2, 128] characters in length. Must begin with an English letter or Chinese character. Can contain digits, colons (:), underscores (_), or hyphens (-). Cannot begin with http:// or https://.


ImageVersionOptional

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

Property imageVersion: Image version.

When you specify an instance ID (InstanceId) and the image of the instance is a cloud market image or a custom image created from a cloud market image. This parameter must be the same as the ImageVersion of the current instance image or set to empty.


InstanceIdOptional

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

Property instanceId: Instance ID.


PlatformOptional

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

Property platform: After specifying the data disk snapshot as the mirrored system disk, you need to determine the operating system release of the system disk through Platform.


ResourceGroupIdOptional

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

Property resourceGroupId: The ID of the resource group to which to assign the custom image.


SnapshotIdOptional

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

Property snapshotId: The snapshot ID.

A custom image is created from the specified snapshot.


SourceRegionIdOptional

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

Property sourceRegionId: ID of the region to where the instance\/snapshot belongs.

Default is current region ID.


TagOptional

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

Property tag:.