-
I found create/remove/revert/list api, but no update snapshot name/description api. |
Beta Was this translation helpful? Give feedback.
Answered by
dougm
Apr 8, 2024
Replies: 1 comment 1 reply
-
The method is RenameSnapshot req := types.RenameSnapshot{
This: snapshotRef,
Name: "current-snapshot",
Description: "The Current Snapshot",
}
_, err := methods.RenameSnapshot(ctx, vm.Client(), &req)
if err != nil {
return err
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dougm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The method is RenameSnapshot
Currently the generated method is available, but looks like we don't have any govc command or helper methods. Untested example: