Class ImageDiskDeviceMappingArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Ecs.Inputs
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class ImageDiskDeviceMappingArgs : ResourceArgs
Constructors
View SourceImageDiskDeviceMappingArgs()
Declaration
public ImageDiskDeviceMappingArgs()
Properties
View SourceDevice
Specifies the name of a disk in the combined custom image. Value range: /dev/xvda to /dev/xvdz.
Declaration
public Input<string> Device { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DiskType
Specifies the type of a disk in the combined custom image. If you specify this parameter, you can use a data disk snapshot as the data source of a system disk for creating an image. If it is not specified, the disk type is determined by the corresponding snapshot. Valid values: system, data,
Declaration
public Input<string> DiskType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Size
Specifies the size of a disk in the combined custom image, in GiB. Value range: 5 to 2000.
Declaration
public Input<int> Size { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SnapshotId
Specifies a snapshot that is used to create a combined custom image.
Declaration
public Input<string> SnapshotId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |