Show / Hide Table of Contents

Class InstanceDataDiskArgs

Inheritance
System.Object
InputArgs
ResourceArgs
InstanceDataDiskArgs
Inherited Members
ResourceArgs.Empty
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 InstanceDataDiskArgs : ResourceArgs

Constructors

View Source

InstanceDataDiskArgs()

Declaration
public InstanceDataDiskArgs()

Properties

View Source

AutoSnapshotPolicyId

The ID of the automatic snapshot policy applied to the system disk.

Declaration
public Input<string> AutoSnapshotPolicyId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Category

The category of the disk:

  • cloud: The general cloud disk.
  • cloud_efficiency: The efficiency cloud disk.
  • cloud_ssd: The SSD cloud disk.
  • cloud_essd: The ESSD cloud disk.
  • ephemeral_ssd: The local SSD disk. Default to cloud_efficiency.
Declaration
public Input<string> Category { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DeleteWithInstance

Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloud_essd, cloud_ssd disk. If the category of this data disk was ephemeral_ssd, please don't set this param.

Declaration
public Input<bool> DeleteWithInstance { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Description

The description of the data disk.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Encrypted

-(Optional, Bool, ForceNew) Encrypted the data in this disk.

Declaration
public Input<bool> Encrypted { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Name

The name of the data disk.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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 Input<int> Size { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

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 Input<string> SnapshotId { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.