DiskSnapshot
public struct DiskSnapshot : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The Amazon Resource Name (ARN) of the disk snapshot.
Declaration
Swift
public let arn: String?
-
The date when the disk snapshot was created.
Declaration
Swift
public let createdAt: TimeStamp?
-
The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.
Declaration
Swift
public let fromDiskArn: String?
-
The unique name of the source disk from which the disk snapshot was created.
Declaration
Swift
public let fromDiskName: String?
-
The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.
Declaration
Swift
public let fromInstanceArn: String?
-
The unique name of the source instance from which the disk (system volume) 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 AWS Region and Availability Zone where the disk snapshot was created.
Declaration
Swift
public let location: ResourceLocation?
-
The name of the disk snapshot (e.g., my-disk-snapshot).
Declaration
Swift
public let name: String?
-
The progress of the disk snapshot operation.
Declaration
Swift
public let progress: String?
-
The Lightsail resource type (e.g., DiskSnapshot).
Declaration
Swift
public let resourceType: ResourceType?
-
The size of the disk in GB.
Declaration
Swift
public let sizeInGb: Int?
-
The status of the disk snapshot operation.
Declaration
Swift
public let state: DiskSnapshotState?
-
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:fromDiskArn:fromDiskName:fromInstanceArn:fromInstanceName:isFromAutoSnapshot:location:name:progress:resourceType:sizeInGb:state:supportCode:tags:)
Undocumented
Declaration
Swift
public init(arn: String? = nil, createdAt: TimeStamp? = nil, fromDiskArn: String? = nil, fromDiskName: 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: DiskSnapshotState? = nil, supportCode: String? = nil, tags: [Tag]? = nil)