InstanceSnapshot
public struct InstanceSnapshot : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).
Declaration
Swift
public let arn: String?
-
The timestamp when the snapshot was created (e.g., 1479907467.024).
Declaration
Swift
public let createdAt: TimeStamp?
-
An array of disk objects containing information about all block storage disks.
Declaration
Swift
public let fromAttachedDisks: [Disk]?
-
The blueprint ID from which you created the snapshot (e.g., os_debian_8_3). A blueprint is a virtual private server (or instance) image used to create instances quickly.
Declaration
Swift
public let fromBlueprintId: String?
-
The bundle ID from which you created the snapshot (e.g., micro_1_0).
Declaration
Swift
public let fromBundleId: String?
-
The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).
Declaration
Swift
public let fromInstanceArn: String?
-
The instance from which the snapshot was created.
Declaration
Swift
public let fromInstanceName: String?
-
A Boolean value indicating whether the snapshot was created from an automatic snapshot.
Declaration
Swift
public let isFromAutoSnapshot: Bool?
-
The region name and Availability Zone where you created the snapshot.
Declaration
Swift
public let location: ResourceLocation?
-
The name of the snapshot.
Declaration
Swift
public let name: String?
-
The progress of the snapshot.
Declaration
Swift
public let progress: String?
-
The type of resource (usually InstanceSnapshot).
Declaration
Swift
public let resourceType: ResourceType?
-
The size in GB of the SSD.
Declaration
Swift
public let sizeInGb: Int?
-
The state the snapshot is in.
Declaration
Swift
public let state: InstanceSnapshotState?
-
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(arn:createdAt:fromAttachedDisks:fromBlueprintId:fromBundleId:fromInstanceArn:fromInstanceName:isFromAutoSnapshot:location:name:progress:resourceType:sizeInGb:state:supportCode:tags:)
Undocumented
Declaration
Swift
public init(arn: String? = nil, createdAt: TimeStamp? = nil, fromAttachedDisks: [Disk]? = nil, fromBlueprintId: String? = nil, fromBundleId: String? = nil, fromInstanceArn: String? = nil, fromInstanceName: String? = nil, isFromAutoSnapshot: Bool? = nil, location: ResourceLocation? = nil, name: String? = nil, progress: String? = nil, resourceType: ResourceType? = nil, sizeInGb: Int? = nil, state: InstanceSnapshotState? = nil, supportCode: String? = nil, tags: [Tag]? = nil)