Vmsvc/snapshot.setoption

From VI-Toolkit
Jump to navigation Jump to search

vimsh vmsvc/snapshot.setoption

Usage: snapshot.setoption [OPTIONS] vmid

Config snapshot behavior on the vm.

Options:

  --locked=bool
      Whether to lock the snapshot

  --disabled=bool
      whether to disable snapshot

  --action=string
      The snapshot power-off behavior

See also: vmsvc/snapshot.create | vmsvc/snapshot.get | vmsvc/snapshot.remove | vmsvc/snapshot.removeall | vmsvc/snapshot.revert