Class: Aws::StorageGateway::Types::AutomaticTapeCreationRule

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 AutomaticTapeCreationRule data as a hash:

{
  tape_barcode_prefix: "TapeBarcodePrefix", # required
  pool_id: "PoolId", # required
  tape_size_in_bytes: 1, # required
  minimum_num_tapes: 1, # required
  worm: false,
}

An automatic tape creation policy consists of automatic tape creation rules where each rule defines when and how to create new tapes. For more information about automatic tape creation, see Creating Tapes Automatically.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#minimum_num_tapesInteger

The minimum number of available virtual tapes that the gateway maintains at all times. If the number of tapes on the gateway goes below this value, the gateway creates as many new tapes as are needed to have MinimumNumTapes on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.

Returns:

  • (Integer)


703
704
705
706
707
708
709
710
711
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 703

class AutomaticTapeCreationRule < Struct.new(
  :tape_barcode_prefix,
  :pool_id,
  :tape_size_in_bytes,
  :minimum_num_tapes,
  :worm)
  SENSITIVE = []
  include Aws::Structure
end

#pool_idString

The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

Valid Values: GLACIER | DEEP_ARCHIVE

Returns:

  • (String)


703
704
705
706
707
708
709
710
711
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 703

class AutomaticTapeCreationRule < Struct.new(
  :tape_barcode_prefix,
  :pool_id,
  :tape_size_in_bytes,
  :minimum_num_tapes,
  :worm)
  SENSITIVE = []
  include Aws::Structure
end

#tape_barcode_prefixString

A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

Returns:

  • (String)


703
704
705
706
707
708
709
710
711
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 703

class AutomaticTapeCreationRule < Struct.new(
  :tape_barcode_prefix,
  :pool_id,
  :tape_size_in_bytes,
  :minimum_num_tapes,
  :worm)
  SENSITIVE = []
  include Aws::Structure
end

#tape_size_in_bytesInteger

The size, in bytes, of the virtual tape capacity.

Returns:

  • (Integer)


703
704
705
706
707
708
709
710
711
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 703

class AutomaticTapeCreationRule < Struct.new(
  :tape_barcode_prefix,
  :pool_id,
  :tape_size_in_bytes,
  :minimum_num_tapes,
  :worm)
  SENSITIVE = []
  include Aws::Structure
end

#wormBoolean

Set to true to indicate that tapes are to be archived as write-once-read-many (WORM). Set to false when WORM is not enabled for tapes.

Returns:

  • (Boolean)


703
704
705
706
707
708
709
710
711
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 703

class AutomaticTapeCreationRule < Struct.new(
  :tape_barcode_prefix,
  :pool_id,
  :tape_size_in_bytes,
  :minimum_num_tapes,
  :worm)
  SENSITIVE = []
  include Aws::Structure
end