The dpmvc getsnapshots command lists the snapshots of a VM.
This command has the following format:
dpmvc getsnapshots [-sc sc_url] -datacenter_name datacentername -vm_name vmname [-vc_server vcserver] [-pre] [-post] [-ws_user wsuser] [-ws_password wspassword] [-prompt {yes|no}] [-locale iso639value]
(Optional) Defines the URL for the service controller host.
Example: https://hostname:port/...
Defines the fully qualified host where the service controller is installed.
Example: localhost.ca.com
Defines the listening port for the service controller server.
Example: 80
Specifies the data center where the VM is located.
Specifies the VM.
Specifies the vCenter Server to access when you have multiple vCenter Servers. Optional for single vCenter Server environments.
(Optional) Specifies whether to generate an event before the operation is performed.
(Optional) Specifies whether to generate an event after the operation is performed.
(Optional) Specifies the web service user name to connect to the VC Platform Management Module (PMM).
(Optional) Specifies the password for the web service user to connect to the VC Performance Management Module (PMM).
(Optional) Specifies whether you are prompted for the web service user ID and password.
Default: Yes
(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".
Example: List Snapshots
This example lists the snapshots of a VM.
dpmvc getsnapshots -vc_server my_server1 -datacenter_name my_dc -vm_name my_vm
Copyright © 2013 CA. All rights reserved. |
|