You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Lightsail::Types::CreateDiskSnapshotRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Note:

When making an API call, you may pass CreateDiskSnapshotRequest data as a hash:

{
  disk_name: "ResourceName", # required
  disk_snapshot_name: "ResourceName", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#disk_nameString

The unique name of the source disk (e.g., my-source-disk).

Returns:

  • (String)


528
529
530
531
532
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 528

class CreateDiskSnapshotRequest < Struct.new(
  :disk_name,
  :disk_snapshot_name)
  include Aws::Structure
end

#disk_snapshot_nameString

The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.

Returns:

  • (String)


528
529
530
531
532
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 528

class CreateDiskSnapshotRequest < Struct.new(
  :disk_name,
  :disk_snapshot_name)
  include Aws::Structure
end