# NOT RUN {
# Creates a stored volume on a specified stored gateway.
# }
# NOT RUN {
svc$create_storedi_scsi_volume(
DiskId = "pci-0000:03:00.0-scsi-0:0:0:0",
GatewayARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
NetworkInterfaceId = "10.1.1.1",
PreserveExistingData = TRUE,
SnapshotId = "snap-f47b7b94",
TargetName = "my-volume"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab