Interface CfnInstance.IDiskProperty
Disk
is a property of the Hardware property. It describes a disk attached to an instance.
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDiskProperty
Syntax (vb)
Public Interface IDiskProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lightsail;
var diskProperty = new DiskProperty {
DiskName = "diskName",
Path = "path",
// the properties below are optional
AttachedTo = "attachedTo",
AttachmentState = "attachmentState",
Iops = 123,
IsSystemDisk = false,
SizeInGb = "sizeInGb"
};
Synopsis
Properties
Attached |
The resources to which the disk is attached. |
Attachment |
(Deprecated) The attachment state of the disk. |
Disk |
The unique name of the disk. |
Iops | The input/output operations per second (IOPS) of the disk. |
Is |
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it). |
Path | The disk path. |
Size |
The size of the disk in GB. |
Properties
AttachedTo
The resources to which the disk is attached.
virtual string AttachedTo { get; }
Property Value
System.
Remarks
AttachmentState
(Deprecated) The attachment state of the disk.
virtual string AttachmentState { get; }
Property Value
System.
Remarks
In releases prior to November 14, 2017, this parameter returned attached
for system disks in the API response. It is now deprecated, but still included in the response. Use isAttached
instead.
DiskName
The unique name of the disk.
string DiskName { get; }
Property Value
System.
Remarks
Iops
The input/output operations per second (IOPS) of the disk.
virtual Nullable<double> Iops { get; }
Property Value
System.
Remarks
IsSystemDisk
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
virtual object IsSystemDisk { get; }
Property Value
System.
Remarks
Path
The disk path.
string Path { get; }
Property Value
System.
Remarks
SizeInGb
The size of the disk in GB.
virtual string SizeInGb { get; }
Property Value
System.