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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#disk_nameString

The unique name of the source disk (Disk-Virginia-1).

This parameter cannot be defined together with the instance name parameter. The disk name and instance name parameters are mutually exclusive.

Returns:

  • (String)


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_nameString

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

Returns:

  • (String)


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_nameString

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.

This parameter cannot be defined together with the disk name parameter. The instance name and disk name parameters are mutually exclusive.

Returns:

  • (String)


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

#tagsArray<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.

Returns:



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