releaseSnapshot

Undocumented in source. Be warned that the author may not have intended to support it.
@SILdoc(`Release user holds on snapshots. If the snapshot has been marked for deferred destroy (by destroySnapshots({defer:true}), it does not have any clones, and all the user holds are removed, then the snapshot will be destroyed. The snapshots must all be in the same pool. Params: string[string] holdsMap: a map where keys are snapshot names and values are lists of hold tags to remove. Returns: an array of any snapshots that do not exist and of any tags that do not exist for existing snapshots. Such tags are qualified with a corresponding snapshot name using the following format :file:{pool}/{fs}@{snap}#{tag} Errors: HoldReleaseFailure: if one or more existing holds could not be released. Holds which failed to release because they didnt exist will have an entry added to errlist, but will not cause an overall failure. This call is success if holds was empty or all holds that existed, were successfully removed. Otherwise an exception will be raised. `)
void
releaseSnapshot
(
string[string] holdsMap
)

Meta