Disk
public struct Disk : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
An array of objects representing the add-ons enabled on the disk.
Declaration
Swift
public let addOns: [AddOn]?
-
The Amazon Resource Name (ARN) of the disk.
Declaration
Swift
public let arn: String?
-
The resources to which the disk is attached.
Declaration
Swift
public let attachedTo: String?
-
The date when the disk was created.
Declaration
Swift
public let createdAt: TimeStamp?
-
The input/output operations per second (IOPS) of the disk.
Declaration
Swift
public let iops: Int?
-
A Boolean value indicating whether the disk is attached.
Declaration
Swift
public let isAttached: Bool?
-
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
Declaration
Swift
public let isSystemDisk: Bool?
-
The AWS Region and Availability Zone where the disk is located.
Declaration
Swift
public let location: ResourceLocation?
-
The unique name of the disk.
Declaration
Swift
public let name: String?
-
The disk path.
Declaration
Swift
public let path: String?
-
The Lightsail resource type (e.g., Disk).
Declaration
Swift
public let resourceType: ResourceType?
-
The size of the disk in GB.
Declaration
Swift
public let sizeInGb: Int?
-
Describes the status of the disk.
Declaration
Swift
public let state: DiskState?
-
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
Declaration
Swift
public let supportCode: String?
-
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
Declaration
Swift
public let tags: [Tag]?
-
init(addOns:arn:attachedTo:createdAt:iops:isAttached:isSystemDisk:location:name:path:resourceType:sizeInGb:state:supportCode:tags:)
Undocumented
Declaration
Swift
public init(addOns: [AddOn]? = nil, arn: String? = nil, attachedTo: String? = nil, createdAt: TimeStamp? = nil, iops: Int? = nil, isAttached: Bool? = nil, isSystemDisk: Bool? = nil, location: ResourceLocation? = nil, name: String? = nil, path: String? = nil, resourceType: ResourceType? = nil, sizeInGb: Int? = nil, state: DiskState? = nil, supportCode: String? = nil, tags: [Tag]? = nil)