// ID returns the instance ID of this Virtual machine
ID returns the instance ID of this Virtual machine
// ID returns the instance ID of this Virtual machine
func (v *VirtualMachine) ID() (string, error) {
	id, err := v.activeSettingsData.GetProperty("VirtualSystemIdentifier")
	if err != nil {
		return "", errors.Wrap(err, "fetching VM ID")
	}
	return id.Value().(string), nil
}
func ( v * VirtualMachine ) ID ( ) ( string , error ) { id , err := v . activeSettingsData . GetProperty ( " " ) if err != nil { return " " , errors . Wrap ( err , " " ) } return id . Value ( ) . ( string ) , nil }
ID returns the instance ID of this Virtual machine
ID returns the instance ID of this Virtual machine