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 CreateTapesResponse CreateTapes( CreateTapesRequest createTapesRequest )
Parameters
- createTapesRequest (CreateTapesRequest)
- Container for the necessary parameters to execute the CreateTapes service method on AmazonStorageGateway.
Return Value
The response from the CreateTapes service method, as returned by AmazonStorageGateway.
Exceptions
Exception | Condition |
---|---|
InternalServerErrorException | |
InvalidGatewayRequestException |