CreateDiskRequest
public struct CreateDiskRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
An array of objects that represent the add-ons to enable for the new disk.
Declaration
Swift
public let addOns: [AddOnRequest]?
-
The Availability Zone where you want to create the disk (e.g., us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk. Use the get regions operation to list the Availability Zones where Lightsail is currently available.
Declaration
Swift
public let availabilityZone: String
-
The unique Lightsail disk name (e.g., my-disk).
Declaration
Swift
public let diskName: String
-
The size of the disk in GB (e.g., 32).
Declaration
Swift
public let sizeInGb: Int
-
The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it’s created.
Declaration
Swift
public let tags: [Tag]?
-
Undocumented
Declaration
Swift
public init(addOns: [AddOnRequest]? = nil, availabilityZone: String, diskName: String, sizeInGb: Int, tags: [Tag]? = nil)
-
Declaration
Swift
public func validate(name: String) throws