CustomImageProps
Properties for defining a CustomImage
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-customimage
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.CustomImageProps {
Architecture: interface{},
BootMode: interface{},
Description: interface{},
DetectionStrategy: interface{},
DiskDeviceMapping: interface{},
ImageFamily: interface{},
ImageName: interface{},
ImageVersion: interface{},
InstanceId: interface{},
Platform: interface{},
ResourceGroupId: interface{},
SnapshotId: interface{},
SourceRegionId: interface{},
Tag: interface{},
}
Properties
Name | Type | Description |
---|---|---|
Architecture |
interface{} |
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 |
interface{} |
Property bootMode: Modify the startup mode of the image. |
Description |
interface{} |
Property description: The description of the image. |
DetectionStrategy |
interface{} |
Property detectionStrategy: Image detection policy. |
DiskDeviceMapping |
interface{} |
Property diskDeviceMapping:. |
ImageFamily |
interface{} |
Property imageFamily: The name of the image family of the image. |
ImageName |
interface{} |
Property imageName: Image name. |
ImageVersion |
interface{} |
Property imageVersion: Image version. |
InstanceId |
interface{} |
Property instanceId: Instance ID. |
Platform |
interface{} |
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 |
interface{} |
Property resourceGroupId: The ID of the resource group to which to assign the custom image. |
SnapshotId |
interface{} |
Property snapshotId: The snapshot ID. |
SourceRegionId |
interface{} |
Property sourceRegionId: ID of the region to where the instance\/snapshot belongs. |
Tag |
interface{} |
Property tag:. |
Architecture
Optional
Architecture interface{}
- Type: interface{}
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)
BootMode
Optional
BootMode interface{}
- Type: interface{}
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.
Description
Optional
Description interface{}
- Type: interface{}
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.
DetectionStrategy
Optional
DetectionStrategy interface{}
- Type: interface{}
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.
DiskDeviceMapping
Optional
DiskDeviceMapping interface{}
- Type: interface{}
Property diskDeviceMapping:.
ImageFamily
Optional
ImageFamily interface{}
- Type: interface{}
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.
ImageName
Optional
ImageName interface{}
- Type: interface{}
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://.
ImageVersion
Optional
ImageVersion interface{}
- Type: interface{}
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.
InstanceId
Optional
InstanceId interface{}
- Type: interface{}
Property instanceId: Instance ID.
Platform
Optional
Platform interface{}
- Type: interface{}
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
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group to which to assign the custom image.
SnapshotId
Optional
SnapshotId interface{}
- Type: interface{}
Property snapshotId: The snapshot ID.
A custom image is created from the specified snapshot.
SourceRegionId
Optional
SourceRegionId interface{}
- Type: interface{}
Property sourceRegionId: ID of the region to where the instance\/snapshot belongs.
Default is current region ID.
Tag
Optional
Tag interface{}
- Type: interface{}
Property tag:.