pub struct InstanceSnapshot {
pub arn: Option<String>,
pub created_at: Option<f64>,
pub from_attached_disks: Option<Vec<Disk>>,
pub from_blueprint_id: Option<String>,
pub from_bundle_id: Option<String>,
pub from_instance_arn: Option<String>,
pub from_instance_name: Option<String>,
pub location: Option<ResourceLocation>,
pub name: Option<String>,
pub progress: Option<String>,
pub resource_type: Option<String>,
pub size_in_gb: Option<i64>,
pub state: Option<String>,
pub support_code: Option<String>,
}
Describes the snapshot of the virtual private server, or instance.
The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE
).
The timestamp when the snapshot was created (e.g., 1479907467.024
).
An array of disk objects containing information about all block storage disks.
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.
The bundle ID from which you created the snapshot (e.g., micro_1_0
).
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
).
The instance from which the snapshot was created.
The region name and availability zone where you created the snapshot.
The name of the snapshot.
The progress of the snapshot.
The type of resource (usually InstanceSnapshot
).
The size in GB of the SSD.
The state the snapshot is in.
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.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static