src/bosh-softlayer-cpi/softlayer/client/client.go
func (c *ClientManager) EnableSnapshot(volumeId int, scheduleType string, retentionCount int, minute int, hour int, dayOfWeek string) error {
	_, err := c.StorageService.Id(volumeId).EnableSnapshots(sl.String(scheduleType), sl.Int(retentionCount), sl.Int(minute), sl.Int(hour), sl.String(dayOfWeek))
	return err
}
func (c *ClientManager) EnableSnapshot(volumeId int, scheduleType string, retentionCount int, minute int, hour int, dayOfWeek string) error {
	_, err := c.StorageService.Id(volumeId).EnableSnapshots(sl.String(scheduleType), sl.Int(retentionCount), sl.Int(minute), sl.Int(hour), sl.String(dayOfWeek))
	return err
}
func ( c * ClientManager ) EnableSnapshot ( volumeId int , scheduleType string , retentionCount int , minute int , hour int , dayOfWeek string ) error { _ , err := c . StorageService . Id ( volumeId ) . EnableSnapshots ( sl . String ( scheduleType ) , sl . Int ( retentionCount ) , sl . Int ( minute ) , sl . Int ( hour ) , sl . String ( dayOfWeek ) ) return err }
// Enables snapshots for a specific block volume at a given schedule.
// volumeId: The id of the volume
// scheduleType: 'HOURLY'|'DAILY'|'WEEKLY'
// retentionCount: Number of snapshots to be kept
// minute: Minute when to take snapshot
// hour: Hour when to take snapshot
// dayOfWeek: Day when to take snapshot
Enables snapshots for a specific block volume at a given schedule . volumeId : The id of the volume scheduleType : HOURLY | DAILY | WEEKLY retentionCount : Number of snapshots to be kept minute : Minute when to take snapshot hour : Hour when to take snapshot dayOfWeek : Day when to take snapshot