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

Class: Aws::StorageGateway::Types::CreateTapeWithBarcodeInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateTapeWithBarcodeInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  gateway_arn: "GatewayARN", # required
  tape_size_in_bytes: 1, # required
  tape_barcode: "TapeBarcode", # required
}

CreateTapeWithBarcodeInput

Instance Attribute Summary collapse

Instance Attribute Details

#gateway_arnString

The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with. Use the ListGateways operation to return a list of gateways for your account and region.

Returns:

  • (String)

    The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with.

#tape_barcodeString

The barcode that you want to assign to the tape.

Barcodes cannot be reused. This includes barcodes used for tapes that have been deleted.

Returns:

  • (String)

    The barcode that you want to assign to the tape.

#tape_size_in_bytesInteger

The size, in bytes, of the virtual tape that you want to create.

The size must be aligned by gigabyte (1024*1024*1024 byte).

Returns:

  • (Integer)

    The size, in bytes, of the virtual tape that you want to create.