vcf_vim_vm_snapshot¶
Execution module for VM snapshots (SOAP — REST has no snapshot surface).
- saltext.vcf.modules.vcf_vim_vm_snapshot.list_(vm, profile=None)[source]¶
List .
CLI Example:
salt '*' vcf_vim_vm_snapshot.list_ <vm>
- saltext.vcf.modules.vcf_vim_vm_snapshot.current(vm, profile=None)[source]¶
Current.
CLI Example:
salt '*' vcf_vim_vm_snapshot.current <vm>
- saltext.vcf.modules.vcf_vim_vm_snapshot.create(vm, name, description='', memory=False, quiesce=False, vss_options=None, profile=None)[source]¶
Create.
Pass
vss_optionsas a dict to use Windows VSS quiesce (CreateSnapshotEx_Taskwith WindowsQuiesceSpec).CLI Example:
salt '*' vcf_vim_vm_snapshot.create <vm> <name> <description> <memory> <quiesce>
- saltext.vcf.modules.vcf_vim_vm_snapshot.revert(vm, snapshot_name, suppress_power_on=False, profile=None)[source]¶
Revert.
CLI Example:
salt '*' vcf_vim_vm_snapshot.revert <vm> <snapshot_name> <suppress_power_on>
- saltext.vcf.modules.vcf_vim_vm_snapshot.remove(vm, snapshot_name, remove_children=False, profile=None)[source]¶
Remove.
CLI Example:
salt '*' vcf_vim_vm_snapshot.remove <vm> <snapshot_name> <remove_children>
- saltext.vcf.modules.vcf_vim_vm_snapshot.remove_all(vm, profile=None)[source]¶
Remove all.
CLI Example:
salt '*' vcf_vim_vm_snapshot.remove_all <vm>