Struct aws_sdk_lightsail::input::CreateDiskSnapshotInput [−][src]
#[non_exhaustive]pub struct CreateDiskSnapshotInput {
pub disk_name: Option<String>,
pub disk_snapshot_name: Option<String>,
pub instance_name: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.disk_name: Option<String>
The unique name of the source disk (e.g., Disk-Virginia-1
).
This parameter cannot be defined together with the instance name
parameter.
The disk name
and instance name
parameters are mutually
exclusive.
disk_snapshot_name: Option<String>
The name of the destination disk snapshot (e.g., my-disk-snapshot
) based on
the source disk.
instance_name: Option<String>
The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1
).
When this is defined, a snapshot of the instance's system volume is created.
This parameter cannot be defined together with the disk name
parameter. The
instance name
and disk name
parameters are mutually
exclusive.
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDiskSnapshot, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDiskSnapshot, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateDiskSnapshot
>
Creates a new builder-style object to manufacture CreateDiskSnapshotInput
The unique name of the source disk (e.g., Disk-Virginia-1
).
This parameter cannot be defined together with the instance name
parameter.
The disk name
and instance name
parameters are mutually
exclusive.
The name of the destination disk snapshot (e.g., my-disk-snapshot
) based on
the source disk.
The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1
).
When this is defined, a snapshot of the instance's system volume is created.
This parameter cannot be defined together with the disk name
parameter. The
instance name
and disk name
parameters are mutually
exclusive.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateDiskSnapshotInput
impl Send for CreateDiskSnapshotInput
impl Sync for CreateDiskSnapshotInput
impl Unpin for CreateDiskSnapshotInput
impl UnwindSafe for CreateDiskSnapshotInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more