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 CfnInstance.IDiskProperty
Syntax (vb)
Public Interface CfnInstance.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
AttachedTo | The resources to which the disk is attached. |
AttachmentState | (Deprecated) The attachment state of the disk. |
DiskName | The unique name of the disk. |
Iops | The input/output operations per second (IOPS) of the disk. |
IsSystemDisk | A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it). |
Path | The disk path. |
SizeInGb | The size of the disk in GB. |
Properties
AttachedTo
The resources to which the disk is attached.
string? AttachedTo { get; }
Property Value
Remarks
AttachmentState
(Deprecated) The attachment state of the disk.
string? AttachmentState { get; }
Property Value
Remarks
In releases prior to November 14, 2017, this parameter returned <code>attached</code> for system disks in the API response. It is now deprecated, but still included in the response. Use <code>isAttached</code> instead.
DiskName
The unique name of the disk.
string DiskName { get; }
Property Value
Remarks
Iops
The input/output operations per second (IOPS) of the disk.
double? Iops { get; }
Property Value
Remarks
IsSystemDisk
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
object? IsSystemDisk { get; }
Property Value
Remarks
Path
The disk path.
string Path { get; }
Property Value
Remarks
SizeInGb
The size of the disk in GB.
string? SizeInGb { get; }