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

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

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

Overview

Note:

When making an API call, you may pass CreateTapeWithBarcodeInput data as a 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)


922
923
924
925
926
927
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 922

class CreateTapeWithBarcodeInput < Struct.new(
  :gateway_arn,
  :tape_size_in_bytes,
  :tape_barcode)
  include Aws::Structure
end

#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)


922
923
924
925
926
927
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 922

class CreateTapeWithBarcodeInput < Struct.new(
  :gateway_arn,
  :tape_size_in_bytes,
  :tape_barcode)
  include Aws::Structure
end

#tape_size_in_bytesInteger

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

The size must be aligned by gigabyte (102410241024 byte).

Returns:

  • (Integer)


922
923
924
925
926
927
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 922

class CreateTapeWithBarcodeInput < Struct.new(
  :gateway_arn,
  :tape_size_in_bytes,
  :tape_barcode)
  include Aws::Structure
end