Class LaunchTemplateDataDisk
Inheritance
System.Object
LaunchTemplateDataDisk
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.Outputs
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class LaunchTemplateDataDisk
Fields
View SourceCategory
The category of the disk:
- cloud: Basic cloud disk.
- cloud_efficiency: Ultra cloud disk.
- cloud_ssd: SSD cloud Disks.
- ephemeral_ssd: local SSD Disks
- cloud_essd: ESSD cloud Disks.
Declaration
public readonly string Category
Field Value
| Type | Description |
|---|---|
| System.String |
DeleteWithInstance
Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloud_ssd and cloud_essd disk. If the category of this data disk was ephemeral_ssd, please don't set this param.
Declaration
public readonly bool? DeleteWithInstance
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Description
The description of the data disk.
Declaration
public readonly string Description
Field Value
| Type | Description |
|---|---|
| System.String |
Encrypted
-(Optional, Bool) Encrypted the data in this disk.
Declaration
public readonly bool? Encrypted
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Name
The name of the data disk.
Declaration
public readonly string Name
Field Value
| Type | Description |
|---|---|
| System.String |
Size
The size of the data disk.
- cloud:[5, 2000]
- cloud_efficiency:[20, 32768]
- cloud_ssd:[20, 32768]
- cloud_essd:[20, 32768]
- ephemeral_ssd: [5, 800]
Declaration
public readonly int? Size
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
SnapshotId
The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
Declaration
public readonly string SnapshotId
Field Value
| Type | Description |
|---|---|
| System.String |