示例#1
0
        public void StorageGatewayCreateTapes()
        {
            #region to-create-a-virtual-tape-1471372061659

            var client   = new AmazonStorageGatewayClient();
            var response = client.CreateTapes(new CreateTapesRequest
            {
                ClientToken       = "77777",
                GatewayARN        = "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B",
                NumTapesToCreate  = 3,
                TapeBarcodePrefix = "TEST",
                TapeSizeInBytes   = 107374182400
            });

            List <string> tapeARNs = response.TapeARNs;

            #endregion
        }