ignoreSnapVirtualDisk=(TRUE | FALSE) |
snapImageID=OLDEST)
Parameters
Parameter Description
snapGroup or snapGroups The name of the snapshot group that has the
snapshot image that you want to delete. Enclose
the name of the snapshot group in double
quotation marks (" "). If you enter more than one
snapshot group name, enclose each of the
snapshot group names in double quotation marks
(" "). Enclose all of the snapshot group names in
parentheses.
If you do not use any other parameters with the
snapGroup parameter or snapGroups parameter,
then by default the oldest snapshot image is
deleted.
deleteCount
The number of snapshot images that you want to
delete from the snapshot group. Use integer
values. This parameter deletes the oldest snapshot
image first and continues to delete the oldest
snapshot images until reaching the number that
you enter.
If the number that you enter is greater than the
actual number of all of the snapshot images in the
snapshot group, all of the snapshot images will be
deleted. The snapshot group is left empty.
retainCount
The number of snapshot images that you want to
keep in the snapshot group. Use integer values.
This parameter keeps the most recent snapshot
images in the snapshot group and deletes older
snapshot images.
If the number of existing snapshot images in the
snapshot group is less than the number that you
enter, none of the snapshot images are deleted.
ignoreSnapVirtual Disk
Use this parameter to make sure that you do not
delete a snapshot image that has a snapshot virtual
disk associated with the snapshot image. You can
use one of these values:
• TRUE—Use this value to delete the snapshot
image even though the snapshot image has an
associated snapshot virtual disk.
• FALSE—Use this value to keep the snapshot
image when the snapshot image has an
associated snapshot virtual disk.
The default value is TRUE.
210