Class: Aws::Lightsail::Types::CreateDiskSnapshotRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::CreateDiskSnapshotRequest
- Defined in:
- gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#disk_name ⇒ String
The unique name of the source disk (
Disk-Virginia-1
). -
#disk_snapshot_name ⇒ String
The name of the destination disk snapshot (
my-disk-snapshot
) based on the source disk. -
#instance_name ⇒ String
The unique name of the source instance (
Amazon_Linux-512MB-Virginia-1
). -
#tags ⇒ Array<Types::Tag>
The tag keys and optional values to add to the resource during create.
Instance Attribute Details
#disk_name ⇒ String
The unique name of the source disk (Disk-Virginia-1
).
instance name
parameter. The disk name
and instance name
parameters are
mutually exclusive.
3532 3533 3534 3535 3536 3537 3538 3539 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3532 class CreateDiskSnapshotRequest < Struct.new( :disk_name, :disk_snapshot_name, :instance_name, :tags) SENSITIVE = [] include Aws::Structure end |
#disk_snapshot_name ⇒ String
The name of the destination disk snapshot (my-disk-snapshot
) based
on the source disk.
3532 3533 3534 3535 3536 3537 3538 3539 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3532 class CreateDiskSnapshotRequest < Struct.new( :disk_name, :disk_snapshot_name, :instance_name, :tags) SENSITIVE = [] include Aws::Structure end |
#instance_name ⇒ String
The unique name of the source instance
(Amazon_Linux-512MB-Virginia-1
). When this is defined, a snapshot
of the instance's system volume is created.
disk name
parameter. The instance name
and disk name
parameters are
mutually exclusive.
3532 3533 3534 3535 3536 3537 3538 3539 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3532 class CreateDiskSnapshotRequest < Struct.new( :disk_name, :disk_snapshot_name, :instance_name, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
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.
3532 3533 3534 3535 3536 3537 3538 3539 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3532 class CreateDiskSnapshotRequest < Struct.new( :disk_name, :disk_snapshot_name, :instance_name, :tags) SENSITIVE = [] include Aws::Structure end |