AWS SDK for .NET Documentation
CreateTapesRequest Class
AmazonAmazon.StorageGateway.ModelCreateTapesRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the CreateTapes operation.

Creates one or more virtual tapes. You write data to the virtual tapes and then archive the tapes.

NOTE:Cache storage must be allocated to the gateway before you can create virtual tapes. Use the AddCache operation to add cache storage to a gateway.

Declaration Syntax
C#
public class CreateTapesRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CreateTapesRequest()()()()
Initializes a new instance of the CreateTapesRequest class

ClientToken
A unique identifier that you use to retry a request. If you retry a request, use the same ClientToken you specified in the initial request.
Note:
Using the same ClientToken prevents creating the tape multiple times.

Constraints:

Length
5 - 100


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GatewayARN
The unique Amazon Resource Name(ARN) that represents the gateway to associate the virtual tapes with. Use the ListGateways operation to return a list of gateways for your account and region.

Constraints:

Length
50 - 500


GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
NumTapesToCreate
The number of virtual tapes you want to create.

Constraints:

Range
1 - 10


TapeBarcodePrefix
A prefix you append to the barcode of the virtual tape you are creating. This makes a barcode unique.
Note:
The prefix must be 1 to 4 characters in length and must be upper-case letters A-Z.

Constraints:

Length
1 - 4
Pattern
^[A-Z]*$


TapeSizeInBytes
The size, in bytes, of the virtual tapes you want to create.
Note:
The size must be gigabyte (1024*1024*1024 byte) aligned.

Constraints:

Range
107374182400 - 2748779069440


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithClientToken(String) Obsolete.
Sets the ClientToken property

WithGatewayARN(String) Obsolete.
Sets the GatewayARN property

WithNumTapesToCreate(Int32) Obsolete.
Sets the NumTapesToCreate property

WithTapeBarcodePrefix(String) Obsolete.
Sets the TapeBarcodePrefix property

WithTapeSizeInBytes(Int64) Obsolete.
Sets the TapeSizeInBytes property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 CreateTapesRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)